MPC5676R.h 677 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441
  1. /**************************************************************************/
  2. /* FILE NAME: mpc567xR_c.h COPYRIGHT (c) Freescale 2011 */
  3. /* VERSION: 1.0c All Rights Reserved */
  4. /* */
  5. /* DESCRIPTION: */
  6. /* This file contains all of the register and bit field definitions for */
  7. /* MPC567xR with modifications and conditional definitions to support */
  8. /* Monaco header file version 1.6. A #define COMP_TO_MPC5634M_V1_6_ON */
  9. /* must be added to enable the Monaco V1.6 compatibility. */
  10. /*========================================================================*/
  11. /* UPDATE HISTORY */
  12. /* REV AUTHOR DATE DESCRIPTION OF CHANGE */
  13. /* --- ----------- --------- --------------------- */
  14. /* 0.1 R. Dees 08/Jan/2010 Split from revision 1.03 of the */
  15. /* MPC5674F.h. Added DTS module */
  16. /* Added SIU Core MMU PID Control Registers */
  17. /* 0.2 D. Erazmus 18/Jun/2010 Merged updates from revision 1.08 of */
  18. /* MPC5674f.h. */
  19. /* 0.3 D. Erazmus 02/Nov/2010 Merged updates from revision 1.09 of */
  20. /* MPC5674f.h */
  21. /* - Added FlexCAN RXFIFO structure. */
  22. /* - Added CLKCFG_DIS field to ESYNCR2 */
  23. /* 0.4 D. Erazmus 09/Dec/2010 Initial complete MPC567xR header file. */
  24. /* 0.5 D. Erazmus 03/Mar/2011 Updated Flexray ECC and buffer regs. */
  25. /* 0.6 D. Erazmus 24/Mar/2011 Added EDMA GWRH/GWRL */
  26. /* 0.7 D. Erazmus 31/Mar/2011 Reversed bit-field order in SIU.DECFIL */
  27. /* registers due to reference manual errata.*/
  28. /* 0.8 D. Erazmus 05/Apr/2011 Fixed BIUCR3 M1PFE field. Removed M0PFE. */
  29. /* 0.8c D. Erazmus 05/Apr/2011 Added MPC5634M compatibility with #define*/
  30. /* Branches from standard MPC5676R header */
  31. /* file starting at rev 0.8. */
  32. /* 0.9c D. Erazmus 26/May/2011 Added missing fields to MPU RGD and */
  33. /* RDGAAC registers. */
  34. /* 1.0c D. Erazmus 18/Jul/2011 Fixed ETPU_DATA_RAM_END. It is 6k total */
  35. /* for ETPUA and ETPUB (3k per engine). */
  36. /* Fixed definition of flash registers HLR */
  37. /* and HSR. HBLOCK and HBSEL fields are 10 */
  38. /* bits wide for MPC5676R. */
  39. /**************************************************************************/
  40. #ifndef _MPC567xR_H_
  41. #define _MPC567xR_H_
  42. #include "../util/typedefs.h"
  43. #include "s32_core_e200.h"
  44. #ifdef __cplusplus
  45. extern "C" {
  46. #endif
  47. #ifdef __MWERKS__
  48. #pragma push
  49. #pragma ANSI_strict off
  50. #endif
  51. /* ----------------------------------------------------------------------------
  52. -- Generic macros
  53. ---------------------------------------------------------------------------- */
  54. /* IO definitions (access restrictions to peripheral registers) */
  55. /**
  56. * IO Type Qualifiers are used
  57. * \li to specify the access to peripheral variables.
  58. * \li for automatic generation of peripheral register debug information.
  59. */
  60. #ifndef __IO
  61. #ifdef __cplusplus
  62. #define __I volatile /*!< Defines 'read only' permissions */
  63. #else
  64. #define __I volatile const /*!< Defines 'read only' permissions */
  65. #endif
  66. #define __O volatile /*!< Defines 'write only' permissions */
  67. #define __IO volatile /*!< Defines 'read / write' permissions */
  68. #endif
  69. #define MPC5676R_SERIES
  70. /* ----------------------------------------------------------------------------
  71. -- Interrupt vector numbers for MPC5777C
  72. ---------------------------------------------------------------------------- */
  73. /*!
  74. * @addtogroup Interrupt_vector_numbers_MPC5777C Interrupt vector numbers for MPC5777C
  75. * @{
  76. */
  77. /** Interrupt Number Definitions */
  78. #define NUMBER_OF_INT_VECTORS 512u /**< Number of interrupts in the Vector table */
  79. /**
  80. * @brief Defines the Interrupt Numbers definitions
  81. *
  82. * This enumeration is used to configure the interrupts.
  83. *
  84. * Implements : IRQn_Type_Class
  85. */
  86. typedef enum
  87. {
  88. /* Auxiliary constants */
  89. NotAvail_IRQn = -128, /**< Not available device specific interrupt */
  90. /* Core interrupts */
  91. /* Device specific interrupts */
  92. SS0_IRQn = 0u, /**< Software setable flag 0 SSCIR0[CLR0] */
  93. SS1_IRQn = 1u, /**< Software setable flag 1 SSCIR0[CLR1] */
  94. SS2_IRQn = 2u, /**< Software setable flag 2 SSCIR0[CLR2] */
  95. SS3_IRQn = 3u, /**< Software setable flag 3 SSCIR0[CLR3] */
  96. SS4_IRQn = 4u, /**< Software setable flag 4 SSCIR0[CLR4] */
  97. SS5_IRQn = 5u, /**< Software setable flag 5 SSCIR0[CLR5] */
  98. SS6_IRQn = 6u, /**< Software setable flag 6 SSCIR0[CLR6] */
  99. SS7_IRQn = 7u, /**< Software setable flag 7 SSCIR0[CLR7] */
  100. SWT0_IRQn = 8u, /**< Software Watchdog 0 Interrupt flag */
  101. FCCU_MISC_IRQn = 9u, /**< FCCU ALARM state entry | FCCU CONFIG state watchdog timeout */
  102. DMA0_ERR0_31_IRQn = 10u, /**< eDMA0 channel Error flags 0-31 */
  103. DMA0_0_IRQn = 11u, /**< eDMA0 channel Interrupt 0 */
  104. DMA0_1_IRQn = 12u, /**< eDMA0 channel Interrupt 1 */
  105. DMA0_2_IRQn = 13u, /**< eDMA0 channel Interrupt 2 */
  106. DMA0_3_IRQn = 14u, /**< eDMA0 channel Interrupt 3 */
  107. DMA0_4_IRQn = 15u, /**< eDMA0 channel Interrupt 4 */
  108. DMA0_5_IRQn = 16u, /**< eDMA0 channel Interrupt 5 */
  109. DMA0_6_IRQn = 17u, /**< eDMA0 channel Interrupt 6 */
  110. DMA0_7_IRQn = 18u, /**< eDMA0 channel Interrupt 7 */
  111. DMA0_8_IRQn = 19u, /**< eDMA0 channel Interrupt 8 */
  112. DMA0_9_IRQn = 20u, /**< eDMA0 channel Interrupt 9 */
  113. DMA0_10_IRQn = 21u, /**< eDMA0 channel Interrupt 10 */
  114. DMA0_11_IRQn = 22u, /**< eDMA0 channel Interrupt 11 */
  115. DMA0_12_IRQn = 23u, /**< eDMA0 channel Interrupt 12 */
  116. DMA0_13_IRQn = 24u, /**< eDMA0 channel Interrupt 13 */
  117. DMA0_14_IRQn = 25u, /**< eDMA0 channel Interrupt 14 */
  118. DMA0_15_IRQn = 26u, /**< eDMA0 channel Interrupt 15 */
  119. DMA0_16_IRQn = 27u, /**< eDMA0 channel Interrupt 16 */
  120. DMA0_17_IRQn = 28u, /**< eDMA0 channel Interrupt 17 */
  121. DMA0_18_IRQn = 29u, /**< eDMA0 channel Interrupt 18 */
  122. DMA0_19_IRQn = 30u, /**< eDMA0 channel Interrupt 19 */
  123. DMA0_20_IRQn = 31u, /**< eDMA0 channel Interrupt 20 */
  124. DMA0_21_IRQn = 32u, /**< eDMA0 channel Interrupt 21 */
  125. DMA0_22_IRQn = 33u, /**< eDMA0 channel Interrupt 22 */
  126. DMA0_23_IRQn = 34u, /**< eDMA0 channel Interrupt 23 */
  127. DMA0_24_IRQn = 35u, /**< eDMA0 channel Interrupt 24 */
  128. DMA0_25_IRQn = 36u, /**< eDMA0 channel Interrupt 25 */
  129. DMA0_26_IRQn = 37u, /**< eDMA0 channel Interrupt 26 */
  130. DMA0_27_IRQn = 38u, /**< eDMA0 channel Interrupt 27 */
  131. DMA0_28_IRQn = 39u, /**< eDMA0 channel Interrupt 28 */
  132. DMA0_29_IRQn = 40u, /**< eDMA0 channel Interrupt 29 */
  133. DMA0_30_IRQn = 41u, /**< eDMA0 channel Interrupt 30 */
  134. DMA0_31_IRQn = 42u, /**< eDMA0 channel Interrupt 31 */
  135. PCS_IRQn = 43u, /**< Progressive Clock Switch Interrupt SIU_PCSIFR[PCSI] */
  136. PLL_IRQn = 44u, /**< PLL Loss of Lock Flags PLL0_SR[LOLF] | PLL1_SR[LOLF] */
  137. SIU_OVF_IRQn = 45u, /**< SIU combined overrun interrupt requests of the external interrupt Overrun Flags */
  138. SIU_0_IRQn = 46u, /**< SIU External Interrupt Flag 0 SIU_EIISR[EIF0] */
  139. SIU_1_IRQn = 47u, /**< SIU External Interrupt Flag 1 SIU_EIISR[EIF1] */
  140. SIU_2_IRQn = 48u, /**< SIU External Interrupt Flag 2 SIU_EIISR[EIF2] */
  141. SIU_3_IRQn = 49u, /**< SIU External Interrupt Flag 3 SIU_EIISR[EIF3] */
  142. SIU_4_15_IRQn = 50u, /**< SIU External Interrupt Flag 15-4 SIU_EIISR[EIF15:EIF4] */
  143. EMIOS0_F0_IRQn = 51u, /**< eMIOS_0 channel 0 Flag */
  144. EMIOS0_F1_IRQn = 52u, /**< eMIOS_0 channel 1 Flag */
  145. EMIOS0_F2_IRQn = 53u, /**< eMIOS_0 channel 2 Flag */
  146. EMIOS0_F3_IRQn = 54u, /**< eMIOS_0 channel 3 Flag */
  147. EMIOS0_F4_IRQn = 55u, /**< eMIOS_0 channel 4 Flag */
  148. EMIOS0_F5_IRQn = 56u, /**< eMIOS_0 channel 5 Flag */
  149. EMIOS0_F6_IRQn = 57u, /**< eMIOS_0 channel 6 Flag */
  150. EMIOS0_F7_IRQn = 58u, /**< eMIOS_0 channel 7 Flag */
  151. EMIOS1_F0_IRQn = 59u, /**< eMIOS_1 channel 0 Flag */
  152. EMIOS1_F1_IRQn = 60u, /**< eMIOS_1 channel 1 Flag */
  153. EMIOS1_F2_IRQn = 61u, /**< eMIOS_1 channel 2 Flag */
  154. EMIOS1_F3_IRQn = 62u, /**< eMIOS_1 channel 3 Flag */
  155. EMIOS1_F4_IRQn = 63u, /**< eMIOS_1 channel 4 Flag */
  156. EMIOS1_F5_IRQn = 64u, /**< eMIOS_1 channel 5 Flag */
  157. EMIOS1_F6_IRQn = 65u, /**< eMIOS_1 channel 6 Flag */
  158. EMIOS1_F7_IRQn = 66u, /**< eMIOS_1 channel 7 Flag */
  159. ETPU01_GE_IRQn = 67u, /**< eTPU Engine 0 and 1 Global Exception */
  160. ETPU0_CIS0_IRQn = 68u, /**< eTPU Engine 0 Channel 0 Interrupt Status */
  161. ETPU0_CIS1_IRQn = 69u, /**< eTPU Engine 0 Channel 1 Interrupt Status */
  162. ETPU0_CIS2_IRQn = 70u, /**< eTPU Engine 0 Channel 2 Interrupt Status */
  163. ETPU0_CIS3_IRQn = 71u, /**< eTPU Engine 0 Channel 3 Interrupt Status */
  164. ETPU0_CIS4_IRQn = 72u, /**< eTPU Engine 0 Channel 4 Interrupt Status */
  165. ETPU0_CIS5_IRQn = 73u, /**< eTPU Engine 0 Channel 5 Interrupt Status */
  166. ETPU0_CIS6_IRQn = 74u, /**< eTPU Engine 0 Channel 6 Interrupt Status */
  167. ETPU0_CIS7_IRQn = 75u, /**< eTPU Engine 0 Channel 7 Interrupt Status */
  168. ETPU0_CIS8_IRQn = 76u, /**< eTPU Engine 0 Channel 8 Interrupt Status */
  169. ETPU0_CIS9_IRQn = 77u, /**< eTPU Engine 0 Channel 9 Interrupt Status */
  170. ETPU0_CIS10_IRQn = 78u, /**< eTPU Engine 0 Channel 10 Interrupt Status */
  171. ETPU0_CIS11_IRQn = 79u, /**< eTPU Engine 0 Channel 11 Interrupt Status */
  172. ETPU0_CIS12_IRQn = 80u, /**< eTPU Engine 0 Channel 12 Interrupt Status */
  173. ETPU0_CIS13_IRQn = 81u, /**< eTPU Engine 0 Channel 13 Interrupt Status */
  174. ETPU0_CIS14_IRQn = 82u, /**< eTPU Engine 0 Channel 14 Interrupt Status */
  175. ETPU0_CIS15_IRQn = 83u, /**< eTPU Engine 0 Channel 15 Interrupt Status */
  176. ETPU0_CIS16_IRQn = 84u, /**< eTPU Engine 0 Channel 16 Interrupt Status */
  177. ETPU0_CIS17_IRQn = 85u, /**< eTPU Engine 0 Channel 17 Interrupt Status */
  178. ETPU0_CIS18_IRQn = 86u, /**< eTPU Engine 0 Channel 18 Interrupt Status */
  179. ETPU0_CIS19_IRQn = 87u, /**< eTPU Engine 0 Channel 19 Interrupt Status */
  180. ETPU0_CIS20_IRQn = 88u, /**< eTPU Engine 0 Channel 20 Interrupt Status */
  181. ETPU0_CIS21_IRQn = 89u, /**< eTPU Engine 0 Channel 21 Interrupt Status */
  182. ETPU0_CIS22_IRQn = 90u, /**< eTPU Engine 0 Channel 22 Interrupt Status */
  183. ETPU0_CIS23_IRQn = 91u, /**< eTPU Engine 0 Channel 23 Interrupt Status */
  184. ETPU0_CIS24_IRQn = 92u, /**< eTPU Engine 0 Channel 24 Interrupt Status */
  185. ETPU0_CIS25_IRQn = 93u, /**< eTPU Engine 0 Channel 25 Interrupt Status */
  186. ETPU0_CIS26_IRQn = 94u, /**< eTPU Engine 0 Channel 26 Interrupt Status */
  187. ETPU0_CIS27_IRQn = 95u, /**< eTPU Engine 0 Channel 27 Interrupt Status */
  188. ETPU0_CIS28_IRQn = 96u, /**< eTPU Engine 0 Channel 28 Interrupt Status */
  189. ETPU0_CIS29_IRQn = 97u, /**< eTPU Engine 0 Channel 29 Interrupt Status */
  190. ETPU0_CIS30_IRQn = 98u, /**< eTPU Engine 0 Channel 30 Interrupt Status */
  191. ETPU0_CIS31_IRQn = 99u, /**< eTPU Engine 0 Channel 31 Interrupt Status */
  192. EQADC0_OVRx_IRQn = 100u, /**< eQADC combined overrun interrupt requests from all of the FIFOs: Trigger Overrun, Receive FIFO Overflow and command FIFO Underflow */
  193. EQADC0_FIFO0_NCF_IRQn = 101u, /**< eQADC command FIFO 0 Non-Coherency Flag */
  194. EQADC0_FIFO0_PF_IRQn = 102u, /**< eQADC command FIFO 0 Pause Flag */
  195. EQADC0_FIFO0_EOQF_IRQn = 103u, /**< eQADC command FIFO 0 command queue End of Queue Flag */
  196. EQADC0_FIFO0_CFFF_IRQn = 104u, /**< eQADC Command FIFO 0 Fill Flag */
  197. EQADC0_FIFO0_RFDF_IRQn = 105u, /**< eQADC Receive FIFO 0 Drain Flag */
  198. EQADC0_FIFO1_NCF_IRQn = 106u, /**< eQADC command FIFO 1 Non-Coherency Flag */
  199. EQADC0_FIFO1_PF_IRQn = 107u, /**< eQADC command FIFO 1 Pause Flag */
  200. EQADC0_FIFO1_EOQF_IRQn = 108u, /**< eQADC command FIFO 1 command queue End of Queue Flag */
  201. EQADC0_FIFO1_CFFF_IRQn = 109u, /**< eQADC Command FIFO 1 Fill Flag */
  202. EQADC0_FIFO1_RFDF_IRQn = 110u, /**< eQADC Receive FIFO 1 Drain Flag */
  203. EQADC0_FIFO2_NCF_IRQn = 111u, /**< eQADC command FIFO 2 Non-Coherency Flag */
  204. EQADC0_FIFO2_PF_IRQn = 112u, /**< eQADC command FIFO 2 Pause Flag */
  205. EQADC0_FIFO2_EOQF_IRQn = 113u, /**< eQADC command FIFO 2 command queue End of Queue Flag */
  206. EQADC0_FIFO2_CFFF_IRQn = 114u, /**< eQADC Command FIFO 2 Fill Flag */
  207. EQADC0_FIFO2_RFDF_IRQn = 115u, /**< eQADC Receive FIFO 2 Drain Flag */
  208. EQADC0_FIFO3_NCF_IRQn = 116u, /**< eQADC command FIFO 3 Non-Coherency Flag */
  209. EQADC0_FIFO3_PF_IRQn = 117u, /**< eQADC command FIFO 3 Pause Flag */
  210. EQADC0_FIFO3_EOQF_IRQn = 118u, /**< eQADC command FIFO 3 command queue End of Queue Flag */
  211. EQADC0_FIFO3_CFFF_IRQn = 119u, /**< eQADC Command FIFO 3 Fill Flag */
  212. EQADC0_FIFO3_RFDF_IRQn = 120u, /**< eQADC Receive FIFO 3 Drain Flag */
  213. EQADC0_FIFO4_NCF_IRQn = 121u, /**< eQADC command FIFO 4 Non-Coherency Flag */
  214. EQADC0_FIFO4_PF_IRQn = 122u, /**< eQADC command FIFO 4 Pause Flag */
  215. EQADC0_FIFO4_EOQF_IRQn = 123u, /**< eQADC command FIFO 4 command queue End of Queue Flag */
  216. EQADC0_FIFO4_CFFF_IRQn = 124u, /**< eQADC Command FIFO 4 Fill Flag */
  217. EQADC0_FIFO4_RFDF_IRQn = 125u, /**< eQADC Receive FIFO 4 Drain Flag */
  218. EQADC0_FIFO5_NCF_IRQn = 126u, /**< eQADC command FIFO 5 Non-Coherency Flag */
  219. EQADC0_FIFO5_PF_IRQn = 127u, /**< eQADC command FIFO 5 Pause Flag */
  220. EQADC0_FIFO5_EOQF_IRQn = 128u, /**< eQADC command FIFO 5 command queue End of Queue Flag */
  221. EQADC0_FIFO5_CFFF_IRQn = 129u, /**< eQADC Command FIFO 5 Fill Flag */
  222. EQADC0_FIFO5_RFDF_IRQn = 130u, /**< eQADC Receive FIFO 5 Drain Flag */
  223. DSPI1_ERR_IRQn = 131u, /**< DSPI_1 combined overrun and parity error interrupt requests: Transmit FIFO Underflow/Receive FIFO Overflow SPI Parity Error/DSI Parity Error */
  224. DSPI1_TXFIFO_EOQF_IRQn = 132u, /**< DSPI_1 transmit FIFO End of Queue Flag */
  225. DSPI1_TXFIFO_TFFF_IRQn = 133u, /**< DSPI_1 Transmit FIFO Fill Flag */
  226. DSPI1_TCF_IRQn = 134u, /**< DSPI_1 Transfer Complete/DSI Data Match Flag */
  227. DSPI1_RXFIFO_RFDF_IRQn = 135u, /**< DSPI_1 Receive FIFO Drain Flag */
  228. DSPI2_ERR_IRQn = 136u, /**< DSPI_2 combined overrun and parity error interrupt requests: Transmit FIFO Underflow/Receive FIFO Overflow SPI Parity Error/DSI Parity Error */
  229. DSPI2_TXFIFO_EOQF_IRQn = 137u, /**< DSPI_2 transmit FIFO End of Queue Flag */
  230. DSPI2_TXFIFO_TFFF_IRQn = 138u, /**< DSPI_2 Transmit FIFO Fill Flag */
  231. DSPI2_TCF_IRQn = 139u, /**< DSPI_2 Transfer Complete/DSI Data Match Flag */
  232. DSPI2_RXFIFO_RFDF_IRQn = 140u, /**< DSPI_2 Receive FIFO Drain Flag */
  233. DSPI3_ERR_IRQn = 141u, /**< DSPI_3 combined overrun and parity error interrupt requests: Transmit FIFO Underflow/Receive FIFO Overflow SPI Parity Error/DSI Parity Error */
  234. DSPI3_TXFIFO_EOQF_IRQn = 142u, /**< DSPI_3 transmit FIFO End of Queue Flag */
  235. DSPI3_TXFIFO_TFFF_IRQn = 143u, /**< DSPI_3 Transmit FIFO Fill Flag */
  236. DSPI3_TCF_IRQn = 144u, /**< DSPI_3 Transfer Complete/DSI Data Match Flag */
  237. DSPI3_RXFIFO_RFDF_IRQn = 145u, /**< DSPI_3 Receive FIFO Drain Flag */
  238. ESCI0_CIR_IRQn = 146u, /**< Combined Interrupt Requests of ESCI Module 0 */
  239. PCU_MASTER0_IRQn = 147u, /**< PCU_IR0[OIF] | PCU_IR0[EIF] */
  240. PCU_MASTER1_IRQn = 148u, /**< PCU_IR1[OIF] | PCU_IR1[EIF] */
  241. ESCI1_CIR_IRQn = 149u, /**< Combined Interrupt Requests of ESCI Module 1 */
  242. PSI50_SDOE_IRQn = 150u, /**< PSI5_0 DMA Status, New data, OverWrite, Error interrupts */
  243. PSI51_SDOE_IRQn = 151u, /**< PSI5_1 DMA Status, New data, OverWrite, Error interrupts */
  244. CAN0_ESR1_IRQn = 152u, /**< FlexCAN_0 Bus Off, Transmit Warning, Receive Warning */
  245. CAN0_ESR2_IRQn = 153u, /**< FlexCAN_0 Error, FlexCAN_0 ECC Correctable Error, FlexCAN_0 ECC Host Access Non-Correctable Error, FlexCAN_0 ECC CAN Access Non-Correctable Error */
  246. CAN0_BUF0_IRQn = 155u, /**< FlexCAN_0 Buffer 0 Interrupt */
  247. CAN0_BUF1_IRQn = 156u, /**< FlexCAN_0 Buffer 1 Interrupt */
  248. CAN0_BUF2_IRQn = 157u, /**< FlexCAN_0 Buffer 2 Interrupt */
  249. CAN0_BUF3_IRQn = 158u, /**< FlexCAN_0 Buffer 3 Interrupt */
  250. CAN0_BUF4_IRQn = 159u, /**< FlexCAN_0 Buffer 4 Interrupt */
  251. CAN0_BUF5_IRQn = 160u, /**< FlexCAN_0 Buffer 5 Interrupt */
  252. CAN0_BUF6_IRQn = 161u, /**< FlexCAN_0 Buffer 6 Interrupt */
  253. CAN0_BUF7_IRQn = 162u, /**< FlexCAN_0 Buffer 7 Interrupt */
  254. CAN0_BUF8_IRQn = 163u, /**< FlexCAN_0 Buffer 8 Interrupt */
  255. CAN0_BUF9_IRQn = 164u, /**< FlexCAN_0 Buffer 9 Interrupt */
  256. CAN0_BUF10_IRQn = 165u, /**< FlexCAN_0 Buffer 10 Interrupt */
  257. CAN0_BUF11_IRQn = 166u, /**< FlexCAN_0 Buffer 11 Interrupt */
  258. CAN0_BUF12_IRQn = 167u, /**< FlexCAN_0 Buffer 12 Interrupt */
  259. CAN0_BUF13_IRQn = 168u, /**< FlexCAN_0 Buffer 13 Interrupt */
  260. CAN0_BUF14_IRQn = 169u, /**< FlexCAN_0 Buffer 14 Interrupt */
  261. CAN0_BUF15_IRQn = 170u, /**< FlexCAN_0 Buffer 15 Interrupt */
  262. CAN0_BUF16_31_IRQn = 171u, /**< FlexCAN_0 Buffers 31-16 Interrupts */
  263. CAN0_BUF32_63_IRQn = 172u, /**< FlexCAN_0 Buffers 63-32 Interrupts */
  264. CAN2_ESR1_IRQn = 173u, /**< FlexCAN_2 Bus Off, Transmit Warning, Receive Warning */
  265. CAN2_ESR2_IRQn = 174u, /**< FlexCAN_2 Error, FlexCAN_2 ECC Correctable Error, FlexCAN_2 ECC Host Access Non-Correctable Error, FlexCAN_2 ECC CAN Access Non-Correctable Error */
  266. CAN2_BUF0_IRQn = 176u, /**< FlexCAN_2 Buffer 0 Interrupt */
  267. CAN2_BUF1_IRQn = 177u, /**< FlexCAN_2 Buffer 1 Interrupt */
  268. CAN2_BUF2_IRQn = 178u, /**< FlexCAN_2 Buffer 2 Interrupt */
  269. CAN2_BUF3_IRQn = 179u, /**< FlexCAN_2 Buffer 3 Interrupt */
  270. CAN2_BUF4_IRQn = 180u, /**< FlexCAN_2 Buffer 4 Interrupt */
  271. CAN2_BUF5_IRQn = 181u, /**< FlexCAN_2 Buffer 5 Interrupt */
  272. CAN2_BUF6_IRQn = 182u, /**< FlexCAN_2 Buffer 6 Interrupt */
  273. CAN2_BUF7_IRQn = 183u, /**< FlexCAN_2 Buffer 7 Interrupt */
  274. CAN2_BUF8_IRQn = 184u, /**< FlexCAN_2 Buffer 8 Interrupt */
  275. CAN2_BUF9_IRQn = 185u, /**< FlexCAN_2 Buffer 9 Interrupt */
  276. CAN2_BUF10_IRQn = 186u, /**< FlexCAN_2 Buffer 10 Interrupt */
  277. CAN2_BUF11_IRQn = 187u, /**< FlexCAN_2 Buffer 11 Interrupt */
  278. CAN2_BUF12_IRQn = 188u, /**< FlexCAN_2 Buffer 12 Interrupt */
  279. CAN2_BUF13_IRQn = 189u, /**< FlexCAN_2 Buffer 13 Interrupt */
  280. CAN2_BUF14_IRQn = 190u, /**< FlexCAN_2 Buffer 14 Interrupt */
  281. CAN2_BUF15_IRQn = 191u, /**< FlexCAN_2 Buffer 15 Interrupt */
  282. CAN2_BUF16_31_IRQn = 192u, /**< FlexCAN_2 Buffers 31-16 Interrupts */
  283. CAN2_BUF32_63_IRQn = 193u, /**< FlexCAN_2 Buffers 63-32 Interrupts */
  284. FEC_TXF_IRQn = 194u, /**< FEC Transmit Frame flag */
  285. FEC_RXF_IRQn = 195u, /**< FEC Receive Frame flag */
  286. FEC_ERR_IRQn = 196u, /**< Combined Interrupt Requests of the FEC Ethernet Interrupt Event Register */
  287. DEC0_IDF_IRQn = 197u, /**< Decimation 0 Input (Fill) */
  288. DEC0_OD_SD_IRQn = 198u, /**< Decimation 0 Output/Integ (Drain/Integ) */
  289. DEC0_ERR_IRQn = 199u, /**< Decimation 0 Error */
  290. STM_Ch0_IRQn = 200u, /**< System Timer Module Interrupt 0 */
  291. STM_Ch123_IRQn = 201u, /**< System Timer Module Interrupts 1, 2, 3 */
  292. EMIOS0_CH16_IRQn = 202u, /**< eMIOS_0 channel 16 Flag */
  293. EMIOS0_CH17_IRQn = 203u, /**< eMIOS_0 channel 17 Flag */
  294. EMIOS0_CH18_IRQn = 204u, /**< eMIOS_0 channel 18 Flag */
  295. EMIOS0_CH19_IRQn = 205u, /**< eMIOS_0 channel 19 Flag */
  296. EMIOS0_CH20_IRQn = 206u, /**< eMIOS_0 channel 20 Flag */
  297. EMIOS0_CH21_IRQn = 207u, /**< eMIOS_0 channel 21 Flag */
  298. EMIOS0_CH22_IRQn = 208u, /**< eMIOS_0 channel 22 Flag */
  299. EMIOS0_CH23_IRQn = 209u, /**< eMIOS_0 channel 23 Flag */
  300. DMA0_ERR32_63_IRQn = 210u, /**< eDMA0 channel Error flags 32-63 */
  301. DMA0_32_IRQn = 211u, /**< eDMA0 channel Interrupt 32 */
  302. DMA0_33_IRQn = 212u, /**< eDMA0 channel Interrupt 33 */
  303. DMA0_34_IRQn = 213u, /**< eDMA0 channel Interrupt 34 */
  304. DMA0_35_IRQn = 214u, /**< eDMA0 channel Interrupt 35 */
  305. DMA0_36_IRQn = 215u, /**< eDMA0 channel Interrupt 36 */
  306. DMA0_37_IRQn = 216u, /**< eDMA0 channel Interrupt 37 */
  307. DMA0_38_IRQn = 217u, /**< eDMA0 channel Interrupt 38 */
  308. DMA0_39_IRQn = 218u, /**< eDMA0 channel Interrupt 39 */
  309. DMA0_40_IRQn = 219u, /**< eDMA0 channel Interrupt 40 */
  310. DMA0_41_IRQn = 220u, /**< eDMA0 channel Interrupt 41 */
  311. DMA0_42_IRQn = 221u, /**< eDMA0 channel Interrupt 42 */
  312. DMA0_43_IRQn = 222u, /**< eDMA0 channel Interrupt 43 */
  313. DMA0_44_IRQn = 223u, /**< eDMA0 channel Interrupt 44 */
  314. DMA0_45_IRQn = 224u, /**< eDMA0 channel Interrupt 45 */
  315. DMA0_46_IRQn = 225u, /**< eDMA0 channel Interrupt 46 */
  316. DMA0_47_IRQn = 226u, /**< eDMA0 channel Interrupt 47 */
  317. DMA0_48_IRQn = 227u, /**< eDMA0 channel Interrupt 48 */
  318. DMA0_49_IRQn = 228u, /**< eDMA0 channel Interrupt 49 */
  319. DMA0_50_IRQn = 229u, /**< eDMA0 channel Interrupt 50 */
  320. DMA0_51_IRQn = 230u, /**< eDMA0 channel Interrupt 51 */
  321. DMA0_52_IRQn = 231u, /**< eDMA0 channel Interrupt 52 */
  322. DMA0_53_IRQn = 232u, /**< eDMA0 channel Interrupt 53 */
  323. DMA0_54_IRQn = 233u, /**< eDMA0 channel Interrupt 54 */
  324. DMA0_55_IRQn = 234u, /**< eDMA0 channel Interrupt 55 */
  325. DMA0_56_IRQn = 235u, /**< eDMA0 channel Interrupt 56 */
  326. DMA0_57_IRQn = 236u, /**< eDMA0 channel Interrupt 57 */
  327. DMA0_58_IRQn = 237u, /**< eDMA0 channel Interrupt 58 */
  328. DMA0_59_IRQn = 238u, /**< eDMA0 channel Interrupt 59 */
  329. DMA0_60_IRQn = 239u, /**< eDMA0 channel Interrupt 60 */
  330. DMA0_61_IRQn = 240u, /**< eDMA0 channel Interrupt 61 */
  331. DMA0_62_IRQn = 241u, /**< eDMA0 channel Interrupt 62 */
  332. DMA0_63_IRQn = 242u, /**< eDMA0 channel Interrupt 63 */
  333. ETPU1_CIS0_IRQn = 243u, /**< eTPU Engine 1 Channel 0 Interrupt Status */
  334. ETPU1_CIS1_IRQn = 244u, /**< eTPU Engine 1 Channel 1 Interrupt Status */
  335. ETPU1_CIS2_IRQn = 245u, /**< eTPU Engine 1 Channel 2 Interrupt Status */
  336. ETPU1_CIS3_IRQn = 246u, /**< eTPU Engine 1 Channel 3 Interrupt Status */
  337. ETPU1_CIS4_IRQn = 247u, /**< eTPU Engine 1 Channel 4 Interrupt Status */
  338. ETPU1_CIS5_IRQn = 248u, /**< eTPU Engine 1 Channel 5 Interrupt Status */
  339. ETPU1_CIS6_IRQn = 249u, /**< eTPU Engine 1 Channel 6 Interrupt Status */
  340. ETPU1_CIS7_IRQn = 250u, /**< eTPU Engine 1 Channel 7 Interrupt Status */
  341. ETPU1_CIS8_IRQn = 251u, /**< eTPU Engine 1 Channel 8 Interrupt Status */
  342. ETPU1_CIS9_IRQn = 252u, /**< eTPU Engine 1 Channel 9 Interrupt Status */
  343. ETPU1_CIS10_IRQn = 253u, /**< eTPU Engine 1 Channel 10 Interrupt Status */
  344. ETPU1_CIS11_IRQn = 254u, /**< eTPU Engine 1 Channel 11 Interrupt Status */
  345. ETPU1_CIS12_IRQn = 255u, /**< eTPU Engine 1 Channel 12 Interrupt Status */
  346. ETPU1_CIS13_IRQn = 256u, /**< eTPU Engine 1 Channel 13 Interrupt Status */
  347. ETPU1_CIS14_IRQn = 257u, /**< eTPU Engine 1 Channel 14 Interrupt Status */
  348. ETPU1_CIS15_IRQn = 258u, /**< eTPU Engine 1 Channel 15 Interrupt Status */
  349. ETPU1_CIS16_IRQn = 259u, /**< eTPU Engine 1 Channel 16 Interrupt Status */
  350. ETPU1_CIS17_IRQn = 260u, /**< eTPU Engine 1 Channel 17 Interrupt Status */
  351. ETPU1_CIS18_IRQn = 261u, /**< eTPU Engine 1 Channel 18 Interrupt Status */
  352. ETPU1_CIS19_IRQn = 262u, /**< eTPU Engine 1 Channel 19 Interrupt Status */
  353. ETPU1_CIS20_IRQn = 263u, /**< eTPU Engine 1 Channel 20 Interrupt Status */
  354. ETPU1_CIS21_IRQn = 264u, /**< eTPU Engine 1 Channel 21 Interrupt Status */
  355. ETPU1_CIS22_IRQn = 265u, /**< eTPU Engine 1 Channel 22 Interrupt Status */
  356. ETPU1_CIS23_IRQn = 266u, /**< eTPU Engine 1 Channel 23 Interrupt Status */
  357. ETPU1_CIS24_IRQn = 267u, /**< eTPU Engine 1 Channel 24 Interrupt Status */
  358. ETPU1_CIS25_IRQn = 268u, /**< eTPU Engine 1 Channel 25 Interrupt Status */
  359. ETPU1_CIS26_IRQn = 269u, /**< eTPU Engine 1 Channel 26 Interrupt Status */
  360. ETPU1_CIS27_IRQn = 270u, /**< eTPU Engine 1 Channel 27 Interrupt Status */
  361. ETPU1_CIS28_IRQn = 271u, /**< eTPU Engine 1 Channel 28 Interrupt Status */
  362. ETPU1_CIS29_IRQn = 272u, /**< eTPU Engine 1 Channel 29 Interrupt Status */
  363. ETPU1_CIS30_IRQn = 273u, /**< eTPU Engine 1 Channel 30 Interrupt Status */
  364. ETPU1_CIS31_IRQn = 274u, /**< eTPU Engine 1 Channel 31 Interrupt Status */
  365. DSPI0_ERR_IRQn = 275u, /**< DSPI_0 combined overrun and parity error interrupt requests: Transmit FIFO Underflow/Receive FIFO Overflow SPI Parity Error/DSI Parity Error */
  366. DSPI0_TXFIFO_EOQF_IRQn = 276u, /**< DSPI_0 transmit FIFO End of Queue Flag */
  367. DSPI0_TXFIFO_TFFF_IRQn = 277u, /**< DSPI_0 Transmit FIFO Fill Flag */
  368. DSPI0_TCF_IRQn = 278u, /**< DSPI_0 Transfer Complete/DSI Data Match Flag */
  369. DSPI0_RXFIFO_RFDF_IRQn = 279u, /**< DSPI_0 Receive FIFO Drain Flag */
  370. CAN1_ESR1_IRQn = 280u, /**< FlexCAN_1 Bus Off, Transmit Warning, Receive Warning */
  371. CAN1_ESR2_IRQn = 281u, /**< FlexCAN_1 Error, FlexCAN_1 ECC Correctable Error, FlexCAN_1 ECC Host Access Non-Correctable Error, FlexCAN_1 ECC CAN Access Non-Correctable Error */
  372. CAN1_BUF0_IRQn = 283u, /**< FlexCAN_1 Buffer 0 Interrupt */
  373. CAN1_BUF1_IRQn = 284u, /**< FlexCAN_1 Buffer 1 Interrupt */
  374. CAN1_BUF2_IRQn = 285u, /**< FlexCAN_1 Buffer 2 Interrupt */
  375. CAN1_BUF3_IRQn = 286u, /**< FlexCAN_1 Buffer 3 Interrupt */
  376. CAN1_BUF4_IRQn = 287u, /**< FlexCAN_1 Buffer 4 Interrupt */
  377. CAN1_BUF5_IRQn = 288u, /**< FlexCAN_1 Buffer 5 Interrupt */
  378. CAN1_BUF6_IRQn = 289u, /**< FlexCAN_1 Buffer 6 Interrupt */
  379. CAN1_BUF7_IRQn = 290u, /**< FlexCAN_1 Buffer 7 Interrupt */
  380. CAN1_BUF8_IRQn = 291u, /**< FlexCAN_1 Buffer 8 Interrupt */
  381. CAN1_BUF9_IRQn = 292u, /**< FlexCAN_1 Buffer 9 Interrupt */
  382. CAN1_BUF10_IRQn = 293u, /**< FlexCAN_1 Buffer 10 Interrupt */
  383. CAN1_BUF11_IRQn = 294u, /**< FlexCAN_1 Buffer 11 Interrupt */
  384. CAN1_BUF12_IRQn = 295u, /**< FlexCAN_1 Buffer 12 Interrupt */
  385. CAN1_BUF13_IRQn = 296u, /**< FlexCAN_1 Buffer 13 Interrupt */
  386. CAN1_BUF14_IRQn = 297u, /**< FlexCAN_1 Buffer 14 Interrupt */
  387. CAN1_BUF15_IRQn = 298u, /**< FlexCAN_1 Buffer 15 Interrupt */
  388. CAN1_BUF16_31_IRQn = 299u, /**< FlexCAN_1 Buffers 31-16 Interrupts */
  389. CAN1_BUF32_63_IRQn = 300u, /**< FlexCAN_1 Buffers 63-32 Interrupts */
  390. PIT_RTI0_IRQn = 301u, /**< Periodic Interrupt Timer Interrupt 0 */
  391. PIT_RTI1_IRQn = 302u, /**< Periodic Interrupt Timer Interrupt 1 */
  392. PIT_RTI2_IRQn = 303u, /**< Periodic Interrupt Timer Interrupt 2 */
  393. PIT_RTI3_IRQn = 304u, /**< Periodic Interrupt Timer Interrupt 3 */
  394. PIT_RTIINT_IRQn = 305u, /**< Real Time Interrupt Interrupt */
  395. FMC_Done_IRQn = 307u, /**< Flash memory program/erase complete */
  396. CAN3_ESR1_IRQn = 308u, /**< FlexCAN_3 Bus Off, Transmit Warning, Receive Warning */
  397. CAN3_ESR2_IRQn = 309u, /**< FlexCAN_3 Error, FlexCAN_3 ECC Correctable Error, FlexCAN_3 ECC Host Access Non-Correctable Error, FlexCAN_3 ECC CAN Access Non-Correctable Error */
  398. CAN3_BUF0_IRQn = 311u, /**< FlexCAN_3 Buffer 0 Interrupt */
  399. CAN3_BUF1_IRQn = 312u, /**< FlexCAN_3 Buffer 1 Interrupt */
  400. CAN3_BUF2_IRQn = 313u, /**< FlexCAN_3 Buffer 2 Interrupt */
  401. CAN3_BUF3_IRQn = 314u, /**< FlexCAN_3 Buffer 3 Interrupt */
  402. CAN3_BUF4_IRQn = 315u, /**< FlexCAN_3 Buffer 4 Interrupt */
  403. CAN3_BUF5_IRQn = 316u, /**< FlexCAN_3 Buffer 5 Interrupt */
  404. CAN3_BUF6_IRQn = 317u, /**< FlexCAN_3 Buffer 6 Interrupt */
  405. CAN3_BUF7_IRQn = 318u, /**< FlexCAN_3 Buffer 7 Interrupt */
  406. CAN3_BUF8_IRQn = 319u, /**< FlexCAN_3 Buffer 8 Interrupt */
  407. CAN3_BUF9_IRQn = 320u, /**< FlexCAN_3 Buffer 9 Interrupt */
  408. CAN3_BUF10_IRQn = 321u, /**< FlexCAN_3 Buffer 10 Interrupt */
  409. CAN3_BUF11_IRQn = 322u, /**< FlexCAN_3 Buffer 11 Interrupt */
  410. CAN3_BUF12_IRQn = 323u, /**< FlexCAN_3 Buffer 12 Interrupt */
  411. CAN3_BUF13_IRQn = 324u, /**< FlexCAN_3 Buffer 13 Interrupt */
  412. CAN3_BUF14_IRQn = 325u, /**< FlexCAN_3 Buffer 14 Interrupt */
  413. CAN3_BUF15_IRQn = 326u, /**< FlexCAN_3 Buffer 15 Interrupt */
  414. CAN3_BUF16_31_IRQn = 327u, /**< FlexCAN_3 Buffers 31-16 Interrupts */
  415. CAN3_BUF32_63_IRQn = 328u, /**< FlexCAN_3 Buffers 63-32 Interrupts */
  416. SRX0_GBL_STATUS_IRQn = 329u, /**< SENT_0 Module Interrupts */
  417. SRX0_CH0_IRQn = 330u, /**< SENT_0_CH0 Interrupts */
  418. SRX0_CH1_IRQn = 331u, /**< SENT_0_CH1 Interrupts */
  419. SRX0_CH2_IRQn = 332u, /**< SENT_0_CH2 Interrupts */
  420. SRX0_CH3_IRQn = 333u, /**< SENT_0_CH3 Interrupts */
  421. SRX0_CH4_IRQn = 334u, /**< SENT_0_CH4 Interrupts */
  422. SRX0_CH5_IRQn = 335u, /**< SENT_0_CH5 Interrupts */
  423. SRX1_GBL_STATUS_IRQn = 336u, /**< SENT_1 Module Interrupts */
  424. SRX1_CH0_IRQn = 337u, /**< SENT_1_CH0 Interrupts */
  425. SRX1_CH1_IRQn = 338u, /**< SENT_1_CH1 Interrupts */
  426. SRX1_CH2_IRQn = 339u, /**< SENT_1_CH2 Interrupts */
  427. SRX1_CH3_IRQn = 340u, /**< SENT_1_CH3 Interrupts */
  428. SRX1_CH4_IRQn = 341u, /**< SENT_1_CH4 Interrupts */
  429. SRX1_CH5_IRQn = 342u, /**< SENT_1_CH5 Interrupts */
  430. PMC_IRQn = 343u, /**< Power Management Controller Interrupts */
  431. PMC_TEMP_IRQn = 344u, /**< Temperature Sensor Interrupts: TEMP0_0, TEMP0_2, TEMP0_3, TEMP1_0, TEMP1_2, TEMP1_3 of PMC_ESR_TD */
  432. JDC_IRQn = 345u, /**< JDC Interrupts: JDC_MSR[JIN_INT] | JDC_MSR[JOUT_INT] */
  433. SIPI0_IRQn = 346u, /**< SIPI Combined Interrupts: SIPI_ERR | SIPI_SR | SIPI_CSR0 */
  434. LFAST_IRQn = 347u, /**< LFAST Combined Interrupts */
  435. MCAN_IRQn = 348u, /**< M_CAN0_0, M_CAN0_1, M_CAN1_0, M_CAN1_1 Combined Interrupts */
  436. ERM_IRQn = 349u, /**< ERM Combined Interrupts: Single bit Correction | Multi bit Detection */
  437. CMU01_IRQn = 350u, /**< CMU_0, CMU_1 Clock Error Interrupts */
  438. CMU23_IRQn = 351u, /**< CMU_2, CMU_3 Clock Error Interrupts */
  439. CMU45_IRQn = 352u, /**< CMU_4, CMU_5 Clock Error Interrupts */
  440. CMU67_IRQn = 353u, /**< CMU_6, CMU_7 Clock Error Interrupts */
  441. CMU8_IRQn = 354u, /**< CMU_8 Clock Error Interrupts */
  442. CMU_RSV0_IRQn = 355u, /**< CMU_RSV0 */
  443. CMU_RSV1_IRQn = 356u, /**< CMU_RSV1 */
  444. CMU_RSV2_IRQn = 357u, /**< CMU_RSV2 */
  445. REACM_GBL_IRQn = 358u, /**< Reaction Module Global Interrupt: REACM_GEFR[OVR|EF7:0] */
  446. REACM_CH01_IRQn = 359u, /**< Reaction Channel 0 and Reaction Channel 1 Combined Interrupts */
  447. REACM_CH23_IRQn = 360u, /**< Reaction Channel 2 and Reaction Channel 3 Combined Interrupts */
  448. REACM_CH45_IRQn = 361u, /**< Reaction Channel 4 and Reaction Channel 5 Combined Interrupts */
  449. REACM_CH67_IRQn = 362u, /**< Reaction Channel 6 and Reaction Channel 7 Combined Interrupts */
  450. REACM_CH89_IRQn = 363u, /**< Reaction Channel 8 and Reaction Channel 9 Combined Interrupts */
  451. REACM_RSV0_IRQn = 364u, /**< REACM_RSV0 */
  452. REACM_RSV1_IRQn = 365u, /**< REACM_RSV1 */
  453. DEC1_IDF_IRQn = 366u, /**< Decimation 1 Input (Fill) */
  454. DEC1_OD_SD_IRQn = 367u, /**< Decimation 1 Output/Integ (Drain/Integ) */
  455. DEC1_ERR_IRQn = 368u, /**< Decimation 1 Error */
  456. ETPU2_GE_IRQn = 369u, /**< eTPU Engine 2 and 1 Global Exception */
  457. ETPU2_CIS0_IRQn = 370u, /**< eTPU Engine 2 Channel 0 Interrupt Status */
  458. ETPU2_CIS1_IRQn = 371u, /**< eTPU Engine 2 Channel 1 Interrupt Status */
  459. ETPU2_CIS2_IRQn = 372u, /**< eTPU Engine 2 Channel 2 Interrupt Status */
  460. ETPU2_CIS3_IRQn = 373u, /**< eTPU Engine 2 Channel 3 Interrupt Status */
  461. ETPU2_CIS4_IRQn = 374u, /**< eTPU Engine 2 Channel 4 Interrupt Status */
  462. ETPU2_CIS5_IRQn = 375u, /**< eTPU Engine 2 Channel 5 Interrupt Status */
  463. ETPU2_CIS6_IRQn = 376u, /**< eTPU Engine 2 Channel 6 Interrupt Status */
  464. ETPU2_CIS7_IRQn = 377u, /**< eTPU Engine 2 Channel 7 Interrupt Status */
  465. ETPU2_CIS8_IRQn = 378u, /**< eTPU Engine 2 Channel 8 Interrupt Status */
  466. ETPU2_CIS9_IRQn = 379u, /**< eTPU Engine 2 Channel 9 Interrupt Status */
  467. ETPU2_CIS10_IRQn = 380u, /**< eTPU Engine 2 Channel 10 Interrupt Status */
  468. ETPU2_CIS11_IRQn = 381u, /**< eTPU Engine 2 Channel 11 Interrupt Status */
  469. ETPU2_CIS12_IRQn = 382u, /**< eTPU Engine 2 Channel 12 Interrupt Status */
  470. ETPU2_CIS13_IRQn = 383u, /**< eTPU Engine 2 Channel 13 Interrupt Status */
  471. ETPU2_CIS14_IRQn = 384u, /**< eTPU Engine 2 Channel 14 Interrupt Status */
  472. ETPU2_CIS15_IRQn = 385u, /**< eTPU Engine 2 Channel 15 Interrupt Status */
  473. ETPU2_CIS16_IRQn = 386u, /**< eTPU Engine 2 Channel 16 Interrupt Status */
  474. ETPU2_CIS17_IRQn = 387u, /**< eTPU Engine 2 Channel 17 Interrupt Status */
  475. ETPU2_CIS18_IRQn = 388u, /**< eTPU Engine 2 Channel 18 Interrupt Status */
  476. ETPU2_CIS19_IRQn = 389u, /**< eTPU Engine 2 Channel 19 Interrupt Status */
  477. ETPU2_CIS20_IRQn = 390u, /**< eTPU Engine 2 Channel 20 Interrupt Status */
  478. ETPU2_CIS21_IRQn = 391u, /**< eTPU Engine 2 Channel 21 Interrupt Status */
  479. ETPU2_CIS22_IRQn = 392u, /**< eTPU Engine 2 Channel 22 Interrupt Status */
  480. ETPU2_CIS23_IRQn = 393u, /**< eTPU Engine 2 Channel 23 Interrupt Status */
  481. EQADC1_OVRx_IRQn = 394u, /**< eQADC combined overrun interrupt requests from all of the FIFOs: Trigger Overrun, Receive FIFO Overflow and command FIFO Underflow */
  482. EQADC1_FIFO0_NCF_IRQn = 395u, /**< eQADC command FIFO 0 Non-Coherency Flag */
  483. EQADC1_FIFO0_PF_IRQn = 396u, /**< eQADC command FIFO 0 Pause Flag */
  484. EQADC1_FIFO0_EOQF_IRQn = 397u, /**< eQADC command FIFO 0 command queue End of Queue Flag */
  485. EQADC1_FIFO0_CFFF_IRQn = 398u, /**< eQADC Command FIFO 0 Fill Flag */
  486. EQADC1_FIFO0_RFDF_IRQn = 399u, /**< eQADC Receive FIFO 0 Drain Flag */
  487. EQADC1_FIFO1_NCF_IRQn = 400u, /**< eQADC command FIFO 1 Non-Coherency Flag */
  488. EQADC1_FIFO1_PF_IRQn = 401u, /**< eQADC command FIFO 1 Pause Flag */
  489. EQADC1_FIFO1_EOQF_IRQn = 402u, /**< eQADC command FIFO 1 command queue End of Queue Flag */
  490. EQADC1_FIFO1_CFFF_IRQn = 403u, /**< eQADC Command FIFO 1 Fill Flag */
  491. EQADC1_FIFO1_RFDF_IRQn = 404u, /**< eQADC Receive FIFO 1 Drain Flag */
  492. EQADC1_FIFO2_NCF_IRQn = 405u, /**< eQADC command FIFO 2 Non-Coherency Flag */
  493. EQADC1_FIFO2_PF_IRQn = 406u, /**< eQADC command FIFO 2 Pause Flag */
  494. EQADC1_FIFO2_EOQF_IRQn = 407u, /**< eQADC command FIFO 2 command queue End of Queue Flag */
  495. EQADC1_FIFO2_CFFF_IRQn = 408u, /**< eQADC Command FIFO 2 Fill Flag */
  496. EQADC1_FIFO2_RFDF_IRQn = 409u, /**< eQADC Receive FIFO 2 Drain Flag */
  497. EQADC1_FIFO3_NCF_IRQn = 410u, /**< eQADC command FIFO 3 Non-Coherency Flag */
  498. EQADC1_FIFO3_PF_IRQn = 411u, /**< eQADC command FIFO 3 Pause Flag */
  499. EQADC1_FIFO3_EOQF_IRQn = 412u, /**< eQADC command FIFO 3 command queue End of Queue Flag */
  500. EQADC1_FIFO3_CFFF_IRQn = 413u, /**< eQADC Command FIFO 3 Fill Flag */
  501. EQADC1_FIFO3_RFDF_IRQn = 414u, /**< eQADC Receive FIFO 3 Drain Flag */
  502. EQADC1_FIFO4_NCF_IRQn = 415u, /**< eQADC command FIFO 4 Non-Coherency Flag */
  503. EQADC1_FIFO4_PF_IRQn = 416u, /**< eQADC command FIFO 4 Pause Flag */
  504. EQADC1_FIFO4_EOQF_IRQn = 417u, /**< eQADC command FIFO 4 command queue End of Queue Flag */
  505. EQADC1_FIFO4_CFFF_IRQn = 418u, /**< eQADC Command FIFO 4 Fill Flag */
  506. EQADC1_FIFO4_RFDF_IRQn = 419u, /**< eQADC Receive FIFO 4 Drain Flag */
  507. EQADC1_FIFO5_NCF_IRQn = 420u, /**< eQADC command FIFO 5 Non-Coherency Flag */
  508. EQADC1_FIFO5_PF_IRQn = 421u, /**< eQADC command FIFO 5 Pause Flag */
  509. EQADC1_FIFO5_EOQF_IRQn = 422u, /**< eQADC command FIFO 5 command queue End of Queue Flag */
  510. EQADC1_FIFO5_CFFF_IRQn = 423u, /**< eQADC Command FIFO 5 Fill Flag */
  511. EQADC1_FIFO5_RFDF_IRQn = 424u, /**< eQADC Receive FIFO 5 Drain Flag */
  512. DMA1_ERR0_31_IRQn = 425u, /**< eDMA1 channel Error flags 0-31 */
  513. DMA1_0_IRQn = 426u, /**< eDMA1 channel Interrupt 0 */
  514. DMA1_1_IRQn = 427u, /**< eDMA1 channel Interrupt 1 */
  515. DMA1_2_IRQn = 428u, /**< eDMA1 channel Interrupt 2 */
  516. DMA1_3_IRQn = 429u, /**< eDMA1 channel Interrupt 3 */
  517. DMA1_4_IRQn = 430u, /**< eDMA1 channel Interrupt 4 */
  518. DMA1_5_IRQn = 431u, /**< eDMA1 channel Interrupt 5 */
  519. DMA1_6_IRQn = 432u, /**< eDMA1 channel Interrupt 6 */
  520. DMA1_7_IRQn = 433u, /**< eDMA1 channel Interrupt 7 */
  521. DMA1_8_IRQn = 434u, /**< eDMA1 channel Interrupt 8 */
  522. DMA1_9_IRQn = 435u, /**< eDMA1 channel Interrupt 9 */
  523. DMA1_10_IRQn = 436u, /**< eDMA1 channel Interrupt 10 */
  524. DMA1_11_IRQn = 437u, /**< eDMA1 channel Interrupt 11 */
  525. DMA1_12_IRQn = 438u, /**< eDMA1 channel Interrupt 12 */
  526. DMA1_13_IRQn = 439u, /**< eDMA1 channel Interrupt 13 */
  527. DMA1_14_IRQn = 440u, /**< eDMA1 channel Interrupt 14 */
  528. DMA1_15_IRQn = 441u, /**< eDMA1 channel Interrupt 15 */
  529. DMA1_16_IRQn = 442u, /**< eDMA1 channel Interrupt 16 */
  530. DMA1_17_IRQn = 443u, /**< eDMA1 channel Interrupt 17 */
  531. DMA1_18_IRQn = 444u, /**< eDMA1 channel Interrupt 18 */
  532. DMA1_19_IRQn = 445u, /**< eDMA1 channel Interrupt 19 */
  533. DMA1_20_IRQn = 446u, /**< eDMA1 channel Interrupt 20 */
  534. DMA1_21_IRQn = 447u, /**< eDMA1 channel Interrupt 21 */
  535. DMA1_22_IRQn = 448u, /**< eDMA1 channel Interrupt 22 */
  536. DMA1_23_IRQn = 449u, /**< eDMA1 channel Interrupt 23 */
  537. DMA1_24_IRQn = 450u, /**< eDMA1 channel Interrupt 24 */
  538. DMA1_25_IRQn = 451u, /**< eDMA1 channel Interrupt 25 */
  539. DMA1_26_IRQn = 452u, /**< eDMA1 channel Interrupt 26 */
  540. DMA1_27_IRQn = 453u, /**< eDMA1 channel Interrupt 27 */
  541. DMA1_28_IRQn = 454u, /**< eDMA1 channel Interrupt 28 */
  542. DMA1_29_IRQn = 455u, /**< eDMA1 channel Interrupt 29 */
  543. DMA1_30_IRQn = 456u, /**< eDMA1 channel Interrupt 30 */
  544. DMA1_31_IRQn = 457u, /**< eDMA1 channel Interrupt 31 */
  545. SDADC1234_IRQn = 458u, /**< SDADC1 to SDADC4 Interrupts */
  546. EMIOS1_CH16_IRQn = 459u, /**< eMIOS_1 channel 16 Flag */
  547. EMIOS1_CH17_IRQn = 460u, /**< eMIOS_1 channel 17 Flag */
  548. EMIOS1_CH18_IRQn = 461u, /**< eMIOS_1 channel 18 Flag */
  549. EMIOS1_CH19_IRQn = 462u, /**< eMIOS_1 channel 19 Flag */
  550. EMIOS1_CH20_IRQn = 463u, /**< eMIOS_1 channel 20 Flag */
  551. EMIOS1_CH21_IRQn = 464u, /**< eMIOS_1 channel 21 Flag */
  552. EMIOS1_CH22_IRQn = 465u, /**< eMIOS_1 channel 22 Flag */
  553. EMIOS1_CH23_IRQn = 466u, /**< eMIOS_1 channel 23 Flag */
  554. DEC2_IDF_IRQn = 467u, /**< Decimation 2 Input (Fill) */
  555. DEC2_OD_SD_IRQn = 468u, /**< Decimation 2 Output/Integ (Drain/Integ) */
  556. DEC2_ERR_IRQn = 469u, /**< Decimation 2 Error */
  557. DEC3_IDF_IRQn = 470u, /**< Decimation 3 Input (Fill) */
  558. DEC3_OD_SD_IRQn = 471u, /**< Decimation 3 Output/Integ (Drain/Integ) */
  559. DEC3_ERR_IRQn = 472u, /**< Decimation 3 Error */
  560. ESCI2_CIR_IRQn = 473u, /**< Combined Interrupt Requests of ESCI Module 2 */
  561. ESCI3_CIR_IRQn = 474u, /**< Combined Interrupt Requests of ESCI Module 3 */
  562. ESCI4_CIR_IRQn = 475u, /**< Combined Interrupt Requests of ESCI Module 4 */
  563. DECFILTER4_IRQn = 476u, /**< Decimation Filter 4 Input/Output/Err/Intg (Fill/Drain/Error/Intg) */
  564. DECFILTER5_IRQn = 477u, /**< Decimation Filter 5 Input/Output/Err/Intg (Fill/Drain/Error/Intg) */
  565. DECFILTER6_IRQn = 478u, /**< Decimation Filter 6 Input/Output/Err/Intg (Fill/Drain/Error/Intg) */
  566. DECFILTER7_IRQn = 479u, /**< Decimation Filter 7 Input/Output/Err/Intg (Fill/Drain/Error/Intg) */
  567. DECFILTER8_IRQn = 480u, /**< Decimation Filter 8 Input/Output/Err/Intg (Fill/Drain/Error/Intg) */
  568. DECFILTER9_IRQn = 481u, /**< Decimation Filter 9 Input/Output/Err/Intg (Fill/Drain/Error/Intg) */
  569. DECFILTER10_IRQn = 482u, /**< Decimation Filter 10 Input/Output/Err/Intg (Fill/Drain/Error/Intg) */
  570. DECFILTER11_IRQn = 483u, /**< Decimation Filter 11 Input/Output/Err/Intg (Fill/Drain/Error/Intg) */
  571. DMA1_ERR32_63_IRQn = 488u, /**< eDMA1 channel Error flags 32-63 */
  572. DMA1_32_39_IRQn = 489u, /**< eDMA1 channel Interrupts 32-39 */
  573. DMA1_40_47_IRQn = 490u, /**< eDMA1 channel Interrupts 40-47 */
  574. DMA1_48_55_IRQn = 491u, /**< eDMA1 channel Interrupts 48-55 */
  575. DMA1_56_63_IRQn = 492u, /**< eDMA1 channel Interrupts 56-63 */
  576. ETPU2_CIS24_IRQn = 493u, /**< eTPU Engine 2 Channel 24 Interrupt Status */
  577. ETPU2_CIS25_IRQn = 494u, /**< eTPU Engine 2 Channel 25 Interrupt Status */
  578. ETPU2_CIS26_IRQn = 495u, /**< eTPU Engine 2 Channel 26 Interrupt Status */
  579. ETPU2_CIS27_IRQn = 496u, /**< eTPU Engine 2 Channel 27 Interrupt Status */
  580. ETPU2_CIS28_IRQn = 497u, /**< eTPU Engine 2 Channel 28 Interrupt Status */
  581. ETPU2_CIS29_IRQn = 498u, /**< eTPU Engine 2 Channel 29 Interrupt Status */
  582. ETPU2_CIS30_IRQn = 499u, /**< eTPU Engine 2 Channel 30 Interrupt Status */
  583. ETPU2_CIS31_IRQn = 500u, /**< eTPU Engine 2 Channel 31 Interrupt Status */
  584. SWT1_IRQn = 501u, /**< Software Watchdog 1 Interrupt flag */
  585. SEMA4_CORE0_IRQn = 502u, /**< Core 0 requested semaphore has unlocked */
  586. SEMA4_CORE1_IRQn = 503u, /**< Core 1 requested semaphore has unlocked */
  587. CSE_IRQ_IRQn = 504u, /**< CSE Interrupt */
  588. ESCI5_CIR_IRQn = 505u, /**< Combined Interrupt Requests of ESCI Module 5 */
  589. DSPI4_ERR_IRQn = 506u, /**< DSPI_4 combined overrun and parity error interrupt requests: Transmit FIFO Underflow/Receive FIFO Overflow SPI Parity Error/DSI Parity Error */
  590. DSPI4_TXFIFO_EOQF_IRQn = 507u, /**< DSPI_4 transmit FIFO End of Queue Flag */
  591. DSPI4_TXFIFO_TFFF_IRQn = 508u, /**< DSPI_4 Transmit FIFO Fill Flag */
  592. DSPI4_TCF_IRQn = 509u, /**< DSPI_4 Transfer Complete/DSI Data Match Flag */
  593. DSPI4_RXFIFO_RFDF_IRQn = 510u, /**< DSPI_4 Receive FIFO Drain Flag */
  594. STCU_IRQn = 511u /**< MBIST interrupt */
  595. } IRQn_Type;
  596. /*!
  597. * @}
  598. */ /* end of group Interrupt_vector_numbers_MPC5777C */
  599. /* ---------------------------------------------------------------*/
  600. /****************************************************************************/
  601. /* MODULE : FMPLL */
  602. /****************************************************************************/
  603. struct FMPLL_tag {
  604. uint32_t FMPLL_reserved0000; /* 0x0000-0x0003 */
  605. union { /* FMPLL Synthesizer Status Register */
  606. vuint32_t R;
  607. struct {
  608. vuint32_t:22;
  609. vuint32_t LOLF:1;
  610. vuint32_t LOC:1;
  611. vuint32_t MODE:1;
  612. vuint32_t PLLSEL:1;
  613. vuint32_t PLLREF:1;
  614. vuint32_t LOCKS:1;
  615. vuint32_t LOCK:1;
  616. vuint32_t LOCF:1;
  617. vuint32_t :2;
  618. } B;
  619. } SYNSR;
  620. union { /* FMPLL Enhanced Synthesizer Control Register 1 */
  621. vuint32_t R;
  622. struct {
  623. vuint32_t:1;
  624. vuint32_t CLKCFG:3;
  625. vuint32_t:8;
  626. vuint32_t EPREDIV:4;
  627. vuint32_t :8;
  628. vuint32_t EMFD:8;
  629. } B;
  630. } ESYNCR1;
  631. union { /* FMPLL Enhanced Synthesizer Control Register 2 */
  632. vuint32_t R;
  633. struct {
  634. vuint32_t:8;
  635. vuint32_t LOCEN:1;
  636. vuint32_t LOLRE:1;
  637. vuint32_t LOCRE:1;
  638. vuint32_t LOLIRQ:1;
  639. vuint32_t LOCIRQ:1;
  640. vuint32_t:1;
  641. vuint32_t ERATE:2;
  642. vuint32_t CLKCFG_DIS:1;
  643. vuint32_t:4;
  644. vuint32_t EDEPTH:3;
  645. vuint32_t:2;
  646. vuint32_t ERFD:6;
  647. } B;
  648. } ESYNCR2;
  649. uint32_t FMPLL_reserved0010[4]; /* 0x0010-0x001C */
  650. union { /* FMPLL Synthesizer FM Control Register */
  651. vuint32_t R;
  652. struct {
  653. vuint32_t:1;
  654. vuint32_t FMDAC_EN:1;
  655. vuint32_t:9;
  656. vuint32_t FMDAC_CTL:5;
  657. vuint32_t :16;
  658. } B;
  659. } SYNFMCR;
  660. uint32_t FMPLL_reserved0024[4090]; /* 0x0024-0x3FFF */
  661. };
  662. /****************************************************************************/
  663. /* MODULE : External Bus Interface (EBI) */
  664. /****************************************************************************/
  665. struct CAL_CS_tag {
  666. union { /* Calibration Base Register Bank */
  667. vuint32_t R;
  668. struct {
  669. vuint32_t BA:17;
  670. vuint32_t:2;
  671. vuint32_t LWRN:1;
  672. vuint32_t PS:1;
  673. vuint32_t EOE:2;
  674. vuint32_t SBL:1;
  675. vuint32_t AD_MUX:1;
  676. vuint32_t BL:1;
  677. vuint32_t WEBS:1;
  678. vuint32_t TBDIP:1;
  679. vuint32_t GCSN:1;
  680. vuint32_t SETA:1;
  681. vuint32_t BI:1;
  682. vuint32_t V:1;
  683. } B;
  684. } BR;
  685. union { /* Calibration Option Register Bank */
  686. vuint32_t R;
  687. struct {
  688. vuint32_t AM:17;
  689. vuint32_t:7;
  690. vuint32_t SCY:4;
  691. vuint32_t:1;
  692. vuint32_t BSCY:2;
  693. vuint32_t:1;
  694. } B;
  695. } OR;
  696. };
  697. struct EBI_tag {
  698. union { /* Module Configuration Register */
  699. vuint32_t R;
  700. struct {
  701. vuint32_t:16;
  702. vuint32_t ACGE:1;
  703. vuint32_t:8;
  704. vuint32_t MDIS:1;
  705. vuint32_t:3;
  706. vuint32_t D16_31:1;
  707. vuint32_t AD_MUX:1;
  708. vuint32_t DBM:1;
  709. } B;
  710. } MCR;
  711. uint32_t EBI_reserved0004; /* 0x0004-0x0007 */
  712. union { /* Transfer Error Status Register */
  713. vuint32_t R;
  714. struct {
  715. vuint32_t:30;
  716. vuint32_t TEAF:1;
  717. vuint32_t BMTF:1;
  718. } B;
  719. } TESR;
  720. union { /* Bus Monitor Control Register */
  721. vuint32_t R;
  722. struct {
  723. vuint32_t:16;
  724. vuint32_t BMT:8;
  725. vuint32_t BME:1;
  726. vuint32_t:7;
  727. } B;
  728. } BMCR;
  729. /* Base/Option registers */
  730. uint32_t EBI_reserved0010[8]; /* 0x0010-0x002F */
  731. uint32_t EBI_reserved0030[4]; /* 0x0030-0x003F */
  732. /* Calibration registers */
  733. struct CAL_CS_tag CS[4];
  734. uint32_t EBI_reserved0060[4000]; /* 0x0060-0x3FFF */
  735. };
  736. /****************************************************************************/
  737. /* MODULE : FLASH */
  738. /****************************************************************************/
  739. struct FLASH_tag {
  740. union { /* Module Configuration Register */
  741. vuint32_t R;
  742. struct {
  743. vuint32_t:5;
  744. vuint32_t SIZE:3;
  745. vuint32_t:1;
  746. vuint32_t LAS:3;
  747. vuint32_t:3;
  748. vuint32_t MAS:1;
  749. vuint32_t EER:1;
  750. vuint32_t RWE:1;
  751. vuint32_t SBC:1;
  752. vuint32_t:1;
  753. vuint32_t PEAS:1;
  754. vuint32_t DONE:1;
  755. vuint32_t PEG:1;
  756. vuint32_t:4;
  757. vuint32_t PGM:1;
  758. vuint32_t PSUS:1;
  759. vuint32_t ERS:1;
  760. vuint32_t ESUS:1;
  761. vuint32_t EHV:1;
  762. } B;
  763. } MCR;
  764. union { /* Low/Mid Address Space Block Locking Register */
  765. vuint32_t R;
  766. struct {
  767. vuint32_t LME:1;
  768. vuint32_t:10;
  769. vuint32_t SLOCK:1;
  770. vuint32_t:2;
  771. vuint32_t MLOCK:2;
  772. vuint32_t:6;
  773. vuint32_t LLOCK:10;
  774. } B;
  775. } LMLR; /* Legacy naming - refer to LML in Reference Manual */
  776. union { /* High Address Space Block Locking Register */
  777. vuint32_t R;
  778. struct {
  779. vuint32_t HBE:1;
  780. vuint32_t:21;
  781. vuint32_t HBLOCK:10; /* Legacy naming - refer to HLOCK in Reference Manual */
  782. } B;
  783. } HLR; /* Legacy naming - refer to HBL in Reference Manual */
  784. union { /* Secondary Low/Mid Block Locking Register */
  785. vuint32_t R;
  786. struct {
  787. vuint32_t SLE:1;
  788. vuint32_t:10;
  789. vuint32_t SSLOCK:1;
  790. vuint32_t:2;
  791. vuint32_t SMLOCK:2;
  792. vuint32_t:6;
  793. vuint32_t SLLOCK:10;
  794. } B;
  795. } SLMLR; /* Legacy naming - refer to SLL in Reference Manual */
  796. union { /* Low/Mid Address Space Block Select Register */
  797. vuint32_t R;
  798. struct {
  799. vuint32_t:14;
  800. vuint32_t MSEL:2;
  801. vuint32_t:6;
  802. vuint32_t LSEL:10;
  803. } B;
  804. } LMSR; /* Legacy naming - refer to LMS in Reference Manual */
  805. union { /* High Address Space Block Select Register */
  806. vuint32_t R;
  807. struct {
  808. vuint32_t:22;
  809. vuint32_t HBSEL:10; /* Legacy naming - refer to HSEL in Reference Manual */
  810. } B;
  811. } HSR; /* Legacy naming - refer to HBS in Reference Manual */
  812. union { /* Address Register */
  813. vuint32_t R;
  814. struct {
  815. vuint32_t SAD:1;
  816. vuint32_t:13;
  817. vuint32_t ADDR:15;
  818. vuint32_t:3;
  819. } B;
  820. } AR; /* Legacy naming - refer to ADR in Reference Manual */
  821. union { /* Platform Flash Configuration Register 1 */
  822. vuint32_t R;
  823. struct {
  824. vuint32_t:7;
  825. #ifdef COMP_TO_MPC5634M_V1_6_ON
  826. vuint32_t GCE:1;
  827. #else
  828. vuint32_t M8PFE:1; /* Core 0 Nexus */
  829. #endif
  830. vuint32_t:1; /* EBI Testing - Reserved */
  831. vuint32_t:1; /* Reserved */
  832. vuint32_t:1; /* Reserved */
  833. vuint32_t:1; /* Reserved */
  834. vuint32_t:1; /* Reserved */
  835. vuint32_t:1; /* Reserved */
  836. vuint32_t:1; /* Reserved */
  837. vuint32_t M0PFE:1; /* Core 0 */
  838. vuint32_t APC:3;
  839. vuint32_t WWSC:2;
  840. vuint32_t RWSC:3;
  841. vuint32_t:1;
  842. vuint32_t DPFEN:1;
  843. vuint32_t ARB:1;
  844. vuint32_t IPFEN:1;
  845. vuint32_t PRI:1;
  846. vuint32_t PFLIM:2;
  847. vuint32_t BFEN:1;
  848. } B;
  849. } BIUCR; /* Legacy naming - PFCR1 */
  850. union { /*Platform Flash Access Protection Register */
  851. vuint32_t R;
  852. struct {
  853. vuint32_t:12;
  854. vuint32_t M9AP:2; /* Core 1 Nexus */
  855. vuint32_t M8AP:2; /* Core 0 Nexus */
  856. vuint32_t:2; /* EBI Testing - Reserved */
  857. vuint32_t M6AP:2; /* FlexRay */
  858. vuint32_t M5AP:2; /* eDMA_B */
  859. vuint32_t M4AP:2; /* eDMA_A */
  860. vuint32_t:2; /* Reserved */
  861. vuint32_t:2; /* Reserved */
  862. vuint32_t M1AP:2; /* Core 1 */
  863. vuint32_t M0AP:2; /* Core 0 */
  864. } B;
  865. } BIUAPR; /* Legacy naming - refer to PFAPR in Reference Manual */
  866. union { /* Platform Flash Configuration Register 2 */
  867. vuint32_t R;
  868. struct {
  869. vuint32_t LBCFG_P0:2;
  870. vuint32_t LBCFG_P1:2;
  871. vuint32_t:28;
  872. } B;
  873. } BIUCR2;
  874. union { /* Platform Flash Configuration Register 3 */
  875. vuint32_t R;
  876. struct {
  877. vuint32_t:6;
  878. vuint32_t M9PFE:1;
  879. vuint32_t:2;
  880. vuint32_t M6PFE:1;
  881. vuint32_t M5PFE:1;
  882. vuint32_t M4PFE:1;
  883. vuint32_t:2;
  884. vuint32_t M1PFE:1;
  885. vuint32_t:10;
  886. vuint32_t DPFEN:1;
  887. vuint32_t:1;
  888. vuint32_t IPFEN:1;
  889. vuint32_t:1;
  890. vuint32_t PFLIM:2;
  891. vuint32_t BFEN:1;
  892. } B;
  893. } BIUCR3;
  894. uint32_t FLASH_reserved002C[4]; /* 0x002C-0x003B */
  895. union { /* User Test Register 0 */
  896. vuint32_t R;
  897. struct {
  898. vuint32_t UTE:1;
  899. vuint32_t SCBE:1;
  900. vuint32_t:6;
  901. vuint32_t DSI:8;
  902. vuint32_t:8;
  903. vuint32_t EA:1;
  904. vuint32_t:1;
  905. vuint32_t MRE:1;
  906. vuint32_t MRV:1;
  907. vuint32_t EIE:1;
  908. vuint32_t AIS:1;
  909. vuint32_t AIE:1;
  910. vuint32_t AID:1;
  911. } B;
  912. } UT0;
  913. union { /* User Test Register 1 */
  914. vuint32_t R;
  915. struct {
  916. vuint32_t DAI:32;
  917. } B;
  918. } UT1;
  919. union { /* User Test Register 2 */
  920. vuint32_t R;
  921. struct {
  922. vuint32_t DAI:32;
  923. } B;
  924. } UT2;
  925. uint32_t FLASH_reserved0048[4078]; /* 0x0048-0x3FFF */
  926. };
  927. /****************************************************************************/
  928. /* MODULE : SIU */
  929. /****************************************************************************/
  930. /* ----------------------------------------------------------------------------
  931. -- SIU Peripheral Access Layer
  932. ---------------------------------------------------------------------------- */
  933. /*!
  934. * @addtogroup SIU_Peripheral_Access_Layer SIU Peripheral Access Layer
  935. * @{
  936. */
  937. /** SIU - Size of Registers Arrays */
  938. #define SIU_PCR_COUNT 512u
  939. #define SIU_GPDO_COUNT 512u
  940. #define SIU_GPDIL_COUNT 256u
  941. #define SIU_TBG_CR_A_COUNT 6u
  942. #define SIU_TBG_CR_B_COUNT 6u
  943. #define SIU_PGPDO_COUNT 16u
  944. #define SIU_PGPDI_COUNT 16u
  945. #define SIU_MPGPDO_COUNT 32u
  946. #define SIU_DSPIx_COUNT 4u
  947. #define SIU_GPDI_COUNT 512u
  948. /** SIU - Register Layout Typedef */
  949. typedef struct {
  950. uint8_t RESERVED_0[4];
  951. __I uint32_t MIDR; /**< MCU Identification Register, offset: 0x4 */
  952. uint8_t RESERVED_1[4];
  953. __IO uint32_t RSR; /**< Reset Status Register, offset: 0xC */
  954. __IO uint32_t SRCR; /**< System Reset Control Register, offset: 0x10 */
  955. __IO uint32_t EISR; /**< External IRQ Status Register, offset: 0x14 */
  956. __IO uint32_t DIRER; /**< DMA/Interrupt Request Enable Register, offset: 0x18 */
  957. __IO uint32_t DIRSR; /**< DMA/Interrupt Request Select Register, offset: 0x1C */
  958. __IO uint32_t OSR; /**< Overrun Status Register, offset: 0x20 */
  959. __IO uint32_t ORER; /**< Overrun Request Enable Register, offset: 0x24 */
  960. __IO uint32_t IREER; /**< IRQ Rising-Edge Event Enable Register, offset: 0x28 */
  961. __IO uint32_t IFEER; /**< IRQ Falling-Edge Event Enable Register, offset: 0x2C */
  962. __IO uint32_t IDFR; /**< IRQ Digital Filter Register, offset: 0x30 */
  963. __I uint32_t IFIR; /**< IRQ Filtered Input Register, offset: 0x34 */
  964. uint8_t RESERVED_2[8];
  965. __IO uint16_t PCR[SIU_PCR_COUNT]; /**< Pad Configuration Register, array offset: 0x40, array step: 0x2 */
  966. uint8_t RESERVED_3[448];
  967. __IO uint8_t GPDO[SIU_GPDO_COUNT]; /**< GPIO Pin Data Output Register, array offset: 0x600, array step: 0x1 */
  968. __I uint8_t GPDIL[SIU_GPDIL_COUNT]; /**< GPIO Pin Data Input Register (legacy), array offset: 0x800, array step: 0x1 */
  969. uint8_t RESERVED_4[4];
  970. __IO uint32_t EIISR; /**< External IRQ Input Select Register, offset: 0x904 */
  971. __IO uint32_t DISR; /**< DSPI Input Select Register, offset: 0x908 */
  972. uint8_t RESERVED_5[4];
  973. __IO uint32_t ISEL4; /**< eQADC Command FIFO Trigger Source Registers, offset: 0x910 */
  974. __IO uint32_t ISEL5; /**< eQADC Command FIFO Trigger Source Registers, offset: 0x914 */
  975. __IO uint32_t ISEL6; /**< eQADC Command FIFO Trigger Source Registers, offset: 0x918 */
  976. __IO uint32_t ISEL7; /**< eQADC Command FIFO Trigger Source Registers, offset: 0x91C */
  977. __IO uint32_t ISEL8; /**< eTPU_A Input Select Register, offset: 0x920 */
  978. __IO uint32_t ISEL9; /**< eQADC Advance Trigger Source Register, offset: 0x924 */
  979. __IO uint32_t DECFIL1; /**< Decimation Filter Register 1, offset: 0x928 */
  980. __IO uint32_t DECFIL2; /**< Decimation Filter Register 2, offset: 0x92C */
  981. __IO uint32_t DECFIL3; /**< Decimation Filter Register 3, offset: 0x930 */
  982. __IO uint32_t DECFIL4; /**< Decimation Filter Register 4, offset: 0x934 */
  983. __IO uint32_t DECFIL5; /**< Decimation Filter Register 5, offset: 0x938 */
  984. uint32_t RESERVED_6[20];
  985. __IO uint32_t CCR; /**< Chip Configuration Register, offset: 0x980 */
  986. __IO uint32_t ECCR; /**< External Clock Control Register, offset: 0x984 */
  987. uint8_t RESERVED_7[12];
  988. __IO uint32_t SYSDIV; /**< System Clock Register, offset: 0x9A0 */
  989. __IO uint32_t HLT1; /**< Halt Register 1, offset: 0x9A4 */
  990. __I uint32_t HLTACK1; /**< Halt Acknowledge Register 1, offset: 0x9A8 */
  991. __IO uint32_t RSTVEC0; /**< Core0 Reset Vector Register, offset: 0x9AC */
  992. __IO uint32_t RSTVEC1; /**< Core1 Reset Vector Register, offset: 0x9B0 */
  993. __IO uint32_t C0PID; /**< Core0 PID mapping control register, offset: 0x9B4 */
  994. __IO uint32_t C1PID; /**< Core1 PID mapping control register, offset: 0x9B8 */
  995. uint32_t RESERVED_8[145];
  996. __IO uint32_t PGPDO[SIU_PGPDO_COUNT]; /**< Parallel GPIO Pin Data Output Registers, array offset: 0xC00, array step: 0x4 */
  997. __I uint32_t PGPDI[SIU_PGPDI_COUNT]; /**< Parallel GPIO Pin Data Input Registers, array offset: 0xC40, array step: 0x4 */
  998. __O uint32_t MPGPDO[SIU_MPGPDO_COUNT]; /**< Masked Parallel GPIO Pin Data Output Registers, array offset: 0xC80, array step: 0x4 */
  999. struct { /* offset: 0xD00, array step: 0x8 */
  1000. __IO uint32_t DSPIH; /**< Mask-Output High Register, array offset: 0xD00, array step: 0x8 */
  1001. __IO uint32_t DSPIL; /**< Mask-Output Low Register, array offset: 0xD04, array step: 0x8 */
  1002. } DSPIx[SIU_DSPIx_COUNT];
  1003. uint8_t RESERVED_9[32];
  1004. __IO uint32_t ETPUBA; /**< Serialized Output Signal Selection Register for DSPI_A, offset: 0xD40 */
  1005. __IO uint32_t EMIOSA; /**< Serialized Output Signal Selection Register for DSPI_A, offset: 0xD44 */
  1006. __IO uint32_t DSPIAHLA; /**< Serialized Output Signal Selection Register for DSPI_A, offset: 0xD48 */
  1007. uint8_t RESERVED_10[4];
  1008. __IO uint32_t ETPUAB; /**< Serialized Output Signal Selection Register for DSPI_B, offset: 0xD50 */
  1009. __IO uint32_t EMIOSB; /**< Serialized Output Signal Selection Register for DSPI_B, offset: 0xD54 */
  1010. __IO uint32_t DSPIBHLB; /**< Serialized Output Signal Selection Register for DSPI_B, offset: 0xD58 */
  1011. uint8_t RESERVED_11[4];
  1012. __IO uint32_t ETPUAC; /**< Serialized Output Signal Selection Register for DSPI_C, offset: 0xD60 */
  1013. __IO uint32_t EMIOSC; /**< Serialized Output Signal Selection Register for DSPI_C, offset: 0xD64 */
  1014. __IO uint32_t DSPICHLC; /**< Serialized Output Signal Selection Register for DSPI_C, offset: 0xD68 */
  1015. __IO uint32_t ETPUBC; /**< Serialized Output Signal Selection Register for DSPI_C, offset: 0xD6C */
  1016. __IO uint32_t ETPUBD; /**< Serialized Output Signal Selection Register for DSPI_D, offset: 0xD70 */
  1017. __IO uint32_t EMIOSD; /**< Serialized Output Signal Selection Register for DSPI_D, offset: 0xD74 */
  1018. __IO uint32_t DSPIDHLD; /**< Serialized Output Signal Selection Register for DSPI_D, offset: 0xD78 */
  1019. uint8_t RESERVED_12[132];
  1020. __I uint8_t GPDI[SIU_GPDI_COUNT]; /**< GPIO Pin Data Input Register, array offset: 0xE00, array step: 0x1 */
  1021. uint32_t RESERVED_13[512];
  1022. } SIU_Type, *SIU_MemMapPtr;
  1023. /** Number of instances of the SIU module. */
  1024. #define SIU_INSTANCE_COUNT (1u)
  1025. /* SIU - Peripheral instance base addresses */
  1026. /** Peripheral SIU base address */
  1027. #define SIU_BASE (0xC3F90000u)
  1028. /** Peripheral SIU base pointer */
  1029. #define SIU ((SIU_Type *)SIU_BASE)
  1030. /** Array initializer of SIU peripheral base addresses */
  1031. #define SIU_BASE_ADDRS { SIU_BASE }
  1032. /** Array initializer of SIU peripheral base pointers */
  1033. #define SIU_BASE_PTRS { SIU }
  1034. /* ----------------------------------------------------------------------------
  1035. -- SIU Register Masks
  1036. ---------------------------------------------------------------------------- */
  1037. /*!
  1038. * @addtogroup SIU_Register_Masks SIU Register Masks
  1039. * @{
  1040. */
  1041. /* MIDR Bit Fields */
  1042. #define SIU_MIDR_MASKNUM_MINOR_MASK 0xFu
  1043. #define SIU_MIDR_MASKNUM_MINOR_SHIFT 0u
  1044. #define SIU_MIDR_MASKNUM_MINOR_WIDTH 4u
  1045. #define SIU_MIDR_MASKNUM_MINOR(x) (((uint32_t)(((uint32_t)(x))<<SIU_MIDR_MASKNUM_MINOR_SHIFT))&SIU_MIDR_MASKNUM_MINOR_MASK)
  1046. #define SIU_MIDR_MASKNUM_MAJOR_MASK 0xF0u
  1047. #define SIU_MIDR_MASKNUM_MAJOR_SHIFT 4u
  1048. #define SIU_MIDR_MASKNUM_MAJOR_WIDTH 4u
  1049. #define SIU_MIDR_MASKNUM_MAJOR(x) (((uint32_t)(((uint32_t)(x))<<SIU_MIDR_MASKNUM_MAJOR_SHIFT))&SIU_MIDR_MASKNUM_MAJOR_MASK)
  1050. #define SIU_MIDR_PKG_MASK 0xF000u
  1051. #define SIU_MIDR_PKG_SHIFT 12u
  1052. #define SIU_MIDR_PKG_WIDTH 4u
  1053. #define SIU_MIDR_PKG(x) (((uint32_t)(((uint32_t)(x))<<SIU_MIDR_PKG_SHIFT))&SIU_MIDR_PKG_MASK)
  1054. #define SIU_MIDR_PARTNUM_MASK 0xFFFF0000u
  1055. #define SIU_MIDR_PARTNUM_SHIFT 16u
  1056. #define SIU_MIDR_PARTNUM_WIDTH 16u
  1057. #define SIU_MIDR_PARTNUM(x) (((uint32_t)(((uint32_t)(x))<<SIU_MIDR_PARTNUM_SHIFT))&SIU_MIDR_PARTNUM_MASK)
  1058. /* RSR Bit Fields */
  1059. #define SIU_RSR_RGF_MASK 0x1u
  1060. #define SIU_RSR_RGF_SHIFT 0u
  1061. #define SIU_RSR_RGF_WIDTH 1u
  1062. #define SIU_RSR_RGF(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_RGF_SHIFT))&SIU_RSR_RGF_MASK)
  1063. #define SIU_RSR_BOOTCFG_MASK 0x6u
  1064. #define SIU_RSR_BOOTCFG_SHIFT 1u
  1065. #define SIU_RSR_BOOTCFG_WIDTH 2u
  1066. #define SIU_RSR_BOOTCFG(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_BOOTCFG_SHIFT))&SIU_RSR_BOOTCFG_MASK)
  1067. #define SIU_RSR_ABR_MASK 0x8u
  1068. #define SIU_RSR_ABR_SHIFT 3u
  1069. #define SIU_RSR_ABR_WIDTH 1u
  1070. #define SIU_RSR_ABR(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_ABR_SHIFT))&SIU_RSR_ABR_MASK)
  1071. #define SIU_RSR_XOSCHIGH_MASK 0x10u
  1072. #define SIU_RSR_XOSCHIGH_SHIFT 4u
  1073. #define SIU_RSR_XOSCHIGH_WIDTH 1u
  1074. #define SIU_RSR_XOSCHIGH(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_XOSCHIGH_SHIFT))&SIU_RSR_XOSCHIGH_MASK)
  1075. #define SIU_RSR_XOSC_MASK 0x80u
  1076. #define SIU_RSR_XOSC_SHIFT 7u
  1077. #define SIU_RSR_XOSC_WIDTH 1u
  1078. #define SIU_RSR_XOSC(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_XOSC_SHIFT))&SIU_RSR_XOSC_MASK)
  1079. #define SIU_RSR_WKPCFG_MASK 0x8000u
  1080. #define SIU_RSR_WKPCFG_SHIFT 15u
  1081. #define SIU_RSR_WKPCFG_WIDTH 1u
  1082. #define SIU_RSR_WKPCFG(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_WKPCFG_SHIFT))&SIU_RSR_WKPCFG_MASK)
  1083. #define SIU_RSR_SERF_MASK 0x10000u
  1084. #define SIU_RSR_SERF_SHIFT 16u
  1085. #define SIU_RSR_SERF_WIDTH 1u
  1086. #define SIU_RSR_SERF(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_SERF_SHIFT))&SIU_RSR_SERF_MASK)
  1087. #define SIU_RSR_SSRS_MASK 0x20000u
  1088. #define SIU_RSR_SSRS_SHIFT 17u
  1089. #define SIU_RSR_SSRS_WIDTH 1u
  1090. #define SIU_RSR_SSRS(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_SSRS_SHIFT))&SIU_RSR_SSRS_MASK)
  1091. #define SIU_RSR_STCURS_MASK 0x40000u
  1092. #define SIU_RSR_STCURS_SHIFT 18u
  1093. #define SIU_RSR_STCURS_WIDTH 1u
  1094. #define SIU_RSR_STCURS(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_STCURS_SHIFT))&SIU_RSR_STCURS_MASK)
  1095. #define SIU_RSR_FCCURS_MASK 0x80000u
  1096. #define SIU_RSR_FCCURS_SHIFT 19u
  1097. #define SIU_RSR_FCCURS_WIDTH 1u
  1098. #define SIU_RSR_FCCURS(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_FCCURS_SHIFT))&SIU_RSR_FCCURS_MASK)
  1099. #define SIU_RSR_FOSURS_MASK 0x100000u
  1100. #define SIU_RSR_FOSURS_SHIFT 20u
  1101. #define SIU_RSR_FOSURS_WIDTH 1u
  1102. #define SIU_RSR_FOSURS(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_FOSURS_SHIFT))&SIU_RSR_FOSURS_MASK)
  1103. #define SIU_RSR_CPURS_MASK 0x400000u
  1104. #define SIU_RSR_CPURS_SHIFT 22u
  1105. #define SIU_RSR_CPURS_WIDTH 1u
  1106. #define SIU_RSR_CPURS(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_CPURS_SHIFT))&SIU_RSR_CPURS_MASK)
  1107. #define SIU_RSR_ERS_MASK 0x40000000u
  1108. #define SIU_RSR_ERS_SHIFT 30u
  1109. #define SIU_RSR_ERS_WIDTH 1u
  1110. #define SIU_RSR_ERS(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_ERS_SHIFT))&SIU_RSR_ERS_MASK)
  1111. #define SIU_RSR_PORS_MASK 0x80000000u
  1112. #define SIU_RSR_PORS_SHIFT 31u
  1113. #define SIU_RSR_PORS_WIDTH 1u
  1114. #define SIU_RSR_PORS(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSR_PORS_SHIFT))&SIU_RSR_PORS_MASK)
  1115. /* SRCR Bit Fields */
  1116. #define SIU_SRCR_SER_MASK 0x40000000u
  1117. #define SIU_SRCR_SER_SHIFT 30u
  1118. #define SIU_SRCR_SER_WIDTH 1u
  1119. #define SIU_SRCR_SER(x) (((uint32_t)(((uint32_t)(x))<<SIU_SRCR_SER_SHIFT))&SIU_SRCR_SER_MASK)
  1120. #define SIU_SRCR_SSR_MASK 0x80000000u
  1121. #define SIU_SRCR_SSR_SHIFT 31u
  1122. #define SIU_SRCR_SSR_WIDTH 1u
  1123. #define SIU_SRCR_SSR(x) (((uint32_t)(((uint32_t)(x))<<SIU_SRCR_SSR_SHIFT))&SIU_SRCR_SSR_MASK)
  1124. /* EISR Bit Fields */
  1125. #define SIU_EISR_EIF0_MASK 0x1u
  1126. #define SIU_EISR_EIF0_SHIFT 0u
  1127. #define SIU_EISR_EIF0_WIDTH 1u
  1128. #define SIU_EISR_EIF0(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF0_SHIFT))&SIU_EISR_EIF0_MASK)
  1129. #define SIU_EISR_EIF1_MASK 0x2u
  1130. #define SIU_EISR_EIF1_SHIFT 1u
  1131. #define SIU_EISR_EIF1_WIDTH 1u
  1132. #define SIU_EISR_EIF1(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF1_SHIFT))&SIU_EISR_EIF1_MASK)
  1133. #define SIU_EISR_EIF2_MASK 0x4u
  1134. #define SIU_EISR_EIF2_SHIFT 2u
  1135. #define SIU_EISR_EIF2_WIDTH 1u
  1136. #define SIU_EISR_EIF2(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF2_SHIFT))&SIU_EISR_EIF2_MASK)
  1137. #define SIU_EISR_EIF3_MASK 0x8u
  1138. #define SIU_EISR_EIF3_SHIFT 3u
  1139. #define SIU_EISR_EIF3_WIDTH 1u
  1140. #define SIU_EISR_EIF3(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF3_SHIFT))&SIU_EISR_EIF3_MASK)
  1141. #define SIU_EISR_EIF4_MASK 0x10u
  1142. #define SIU_EISR_EIF4_SHIFT 4u
  1143. #define SIU_EISR_EIF4_WIDTH 1u
  1144. #define SIU_EISR_EIF4(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF4_SHIFT))&SIU_EISR_EIF4_MASK)
  1145. #define SIU_EISR_EIF5_MASK 0x20u
  1146. #define SIU_EISR_EIF5_SHIFT 5u
  1147. #define SIU_EISR_EIF5_WIDTH 1u
  1148. #define SIU_EISR_EIF5(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF5_SHIFT))&SIU_EISR_EIF5_MASK)
  1149. #define SIU_EISR_EIF6_MASK 0x40u
  1150. #define SIU_EISR_EIF6_SHIFT 6u
  1151. #define SIU_EISR_EIF6_WIDTH 1u
  1152. #define SIU_EISR_EIF6(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF6_SHIFT))&SIU_EISR_EIF6_MASK)
  1153. #define SIU_EISR_EIF7_MASK 0x80u
  1154. #define SIU_EISR_EIF7_SHIFT 7u
  1155. #define SIU_EISR_EIF7_WIDTH 1u
  1156. #define SIU_EISR_EIF7(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF7_SHIFT))&SIU_EISR_EIF7_MASK)
  1157. #define SIU_EISR_EIF8_MASK 0x100u
  1158. #define SIU_EISR_EIF8_SHIFT 8u
  1159. #define SIU_EISR_EIF8_WIDTH 1u
  1160. #define SIU_EISR_EIF8(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF8_SHIFT))&SIU_EISR_EIF8_MASK)
  1161. #define SIU_EISR_EIF9_MASK 0x200u
  1162. #define SIU_EISR_EIF9_SHIFT 9u
  1163. #define SIU_EISR_EIF9_WIDTH 1u
  1164. #define SIU_EISR_EIF9(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF9_SHIFT))&SIU_EISR_EIF9_MASK)
  1165. #define SIU_EISR_EIF10_MASK 0x400u
  1166. #define SIU_EISR_EIF10_SHIFT 10u
  1167. #define SIU_EISR_EIF10_WIDTH 1u
  1168. #define SIU_EISR_EIF10(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF10_SHIFT))&SIU_EISR_EIF10_MASK)
  1169. #define SIU_EISR_EIF11_MASK 0x800u
  1170. #define SIU_EISR_EIF11_SHIFT 11u
  1171. #define SIU_EISR_EIF11_WIDTH 1u
  1172. #define SIU_EISR_EIF11(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF11_SHIFT))&SIU_EISR_EIF11_MASK)
  1173. #define SIU_EISR_EIF12_MASK 0x1000u
  1174. #define SIU_EISR_EIF12_SHIFT 12u
  1175. #define SIU_EISR_EIF12_WIDTH 1u
  1176. #define SIU_EISR_EIF12(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF12_SHIFT))&SIU_EISR_EIF12_MASK)
  1177. #define SIU_EISR_EIF13_MASK 0x2000u
  1178. #define SIU_EISR_EIF13_SHIFT 13u
  1179. #define SIU_EISR_EIF13_WIDTH 1u
  1180. #define SIU_EISR_EIF13(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF13_SHIFT))&SIU_EISR_EIF13_MASK)
  1181. #define SIU_EISR_EIF14_MASK 0x4000u
  1182. #define SIU_EISR_EIF14_SHIFT 14u
  1183. #define SIU_EISR_EIF14_WIDTH 1u
  1184. #define SIU_EISR_EIF14(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF14_SHIFT))&SIU_EISR_EIF14_MASK)
  1185. #define SIU_EISR_EIF15_MASK 0x8000u
  1186. #define SIU_EISR_EIF15_SHIFT 15u
  1187. #define SIU_EISR_EIF15_WIDTH 1u
  1188. #define SIU_EISR_EIF15(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_EIF15_SHIFT))&SIU_EISR_EIF15_MASK)
  1189. #define SIU_EISR_NMI1_MASK 0x40000000u
  1190. #define SIU_EISR_NMI1_SHIFT 30u
  1191. #define SIU_EISR_NMI1_WIDTH 1u
  1192. #define SIU_EISR_NMI1(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_NMI1_SHIFT))&SIU_EISR_NMI1_MASK)
  1193. #define SIU_EISR_NMI0_MASK 0x80000000u
  1194. #define SIU_EISR_NMI0_SHIFT 31u
  1195. #define SIU_EISR_NMI0_WIDTH 1u
  1196. #define SIU_EISR_NMI0(x) (((uint32_t)(((uint32_t)(x))<<SIU_EISR_NMI0_SHIFT))&SIU_EISR_NMI0_MASK)
  1197. /* DIRER Bit Fields */
  1198. #define SIU_DIRER_EIRE0_MASK 0x1u
  1199. #define SIU_DIRER_EIRE0_SHIFT 0u
  1200. #define SIU_DIRER_EIRE0_WIDTH 1u
  1201. #define SIU_DIRER_EIRE0(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE0_SHIFT))&SIU_DIRER_EIRE0_MASK)
  1202. #define SIU_DIRER_EIRE1_MASK 0x2u
  1203. #define SIU_DIRER_EIRE1_SHIFT 1u
  1204. #define SIU_DIRER_EIRE1_WIDTH 1u
  1205. #define SIU_DIRER_EIRE1(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE1_SHIFT))&SIU_DIRER_EIRE1_MASK)
  1206. #define SIU_DIRER_EIRE2_MASK 0x4u
  1207. #define SIU_DIRER_EIRE2_SHIFT 2u
  1208. #define SIU_DIRER_EIRE2_WIDTH 1u
  1209. #define SIU_DIRER_EIRE2(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE2_SHIFT))&SIU_DIRER_EIRE2_MASK)
  1210. #define SIU_DIRER_EIRE3_MASK 0x8u
  1211. #define SIU_DIRER_EIRE3_SHIFT 3u
  1212. #define SIU_DIRER_EIRE3_WIDTH 1u
  1213. #define SIU_DIRER_EIRE3(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE3_SHIFT))&SIU_DIRER_EIRE3_MASK)
  1214. #define SIU_DIRER_EIRE4_MASK 0x10u
  1215. #define SIU_DIRER_EIRE4_SHIFT 4u
  1216. #define SIU_DIRER_EIRE4_WIDTH 1u
  1217. #define SIU_DIRER_EIRE4(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE4_SHIFT))&SIU_DIRER_EIRE4_MASK)
  1218. #define SIU_DIRER_EIRE5_MASK 0x20u
  1219. #define SIU_DIRER_EIRE5_SHIFT 5u
  1220. #define SIU_DIRER_EIRE5_WIDTH 1u
  1221. #define SIU_DIRER_EIRE5(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE5_SHIFT))&SIU_DIRER_EIRE5_MASK)
  1222. #define SIU_DIRER_EIRE6_MASK 0x40u
  1223. #define SIU_DIRER_EIRE6_SHIFT 6u
  1224. #define SIU_DIRER_EIRE6_WIDTH 1u
  1225. #define SIU_DIRER_EIRE6(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE6_SHIFT))&SIU_DIRER_EIRE6_MASK)
  1226. #define SIU_DIRER_EIRE7_MASK 0x80u
  1227. #define SIU_DIRER_EIRE7_SHIFT 7u
  1228. #define SIU_DIRER_EIRE7_WIDTH 1u
  1229. #define SIU_DIRER_EIRE7(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE7_SHIFT))&SIU_DIRER_EIRE7_MASK)
  1230. #define SIU_DIRER_EIRE8_MASK 0x100u
  1231. #define SIU_DIRER_EIRE8_SHIFT 8u
  1232. #define SIU_DIRER_EIRE8_WIDTH 1u
  1233. #define SIU_DIRER_EIRE8(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE8_SHIFT))&SIU_DIRER_EIRE8_MASK)
  1234. #define SIU_DIRER_EIRE9_MASK 0x200u
  1235. #define SIU_DIRER_EIRE9_SHIFT 9u
  1236. #define SIU_DIRER_EIRE9_WIDTH 1u
  1237. #define SIU_DIRER_EIRE9(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE9_SHIFT))&SIU_DIRER_EIRE9_MASK)
  1238. #define SIU_DIRER_EIRE10_MASK 0x400u
  1239. #define SIU_DIRER_EIRE10_SHIFT 10u
  1240. #define SIU_DIRER_EIRE10_WIDTH 1u
  1241. #define SIU_DIRER_EIRE10(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE10_SHIFT))&SIU_DIRER_EIRE10_MASK)
  1242. #define SIU_DIRER_EIRE11_MASK 0x800u
  1243. #define SIU_DIRER_EIRE11_SHIFT 11u
  1244. #define SIU_DIRER_EIRE11_WIDTH 1u
  1245. #define SIU_DIRER_EIRE11(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE11_SHIFT))&SIU_DIRER_EIRE11_MASK)
  1246. #define SIU_DIRER_EIRE12_MASK 0x1000u
  1247. #define SIU_DIRER_EIRE12_SHIFT 12u
  1248. #define SIU_DIRER_EIRE12_WIDTH 1u
  1249. #define SIU_DIRER_EIRE12(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE12_SHIFT))&SIU_DIRER_EIRE12_MASK)
  1250. #define SIU_DIRER_EIRE13_MASK 0x2000u
  1251. #define SIU_DIRER_EIRE13_SHIFT 13u
  1252. #define SIU_DIRER_EIRE13_WIDTH 1u
  1253. #define SIU_DIRER_EIRE13(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE13_SHIFT))&SIU_DIRER_EIRE13_MASK)
  1254. #define SIU_DIRER_EIRE14_MASK 0x4000u
  1255. #define SIU_DIRER_EIRE14_SHIFT 14u
  1256. #define SIU_DIRER_EIRE14_WIDTH 1u
  1257. #define SIU_DIRER_EIRE14(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE14_SHIFT))&SIU_DIRER_EIRE14_MASK)
  1258. #define SIU_DIRER_EIRE15_MASK 0x8000u
  1259. #define SIU_DIRER_EIRE15_SHIFT 15u
  1260. #define SIU_DIRER_EIRE15_WIDTH 1u
  1261. #define SIU_DIRER_EIRE15(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_EIRE15_SHIFT))&SIU_DIRER_EIRE15_MASK)
  1262. #define SIU_DIRER_NMISEL1_MASK 0x400000u
  1263. #define SIU_DIRER_NMISEL1_SHIFT 22u
  1264. #define SIU_DIRER_NMISEL1_WIDTH 1u
  1265. #define SIU_DIRER_NMISEL1(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_NMISEL1_SHIFT))&SIU_DIRER_NMISEL1_MASK)
  1266. #define SIU_DIRER_NMISEL0_MASK 0x800000u
  1267. #define SIU_DIRER_NMISEL0_SHIFT 23u
  1268. #define SIU_DIRER_NMISEL0_WIDTH 1u
  1269. #define SIU_DIRER_NMISEL0(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_NMISEL0_SHIFT))&SIU_DIRER_NMISEL0_MASK)
  1270. #define SIU_DIRER_NMISEL7_MASK 0x40000000u
  1271. #define SIU_DIRER_NMISEL7_SHIFT 30u
  1272. #define SIU_DIRER_NMISEL7_WIDTH 1u
  1273. #define SIU_DIRER_NMISEL7(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_NMISEL7_SHIFT))&SIU_DIRER_NMISEL7_MASK)
  1274. #define SIU_DIRER_NMISEL8_MASK 0x80000000u
  1275. #define SIU_DIRER_NMISEL8_SHIFT 31u
  1276. #define SIU_DIRER_NMISEL8_WIDTH 1u
  1277. #define SIU_DIRER_NMISEL8(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRER_NMISEL8_SHIFT))&SIU_DIRER_NMISEL8_MASK)
  1278. /* DIRSR Bit Fields */
  1279. #define SIU_DIRSR_DIRS0_MASK 0x1u
  1280. #define SIU_DIRSR_DIRS0_SHIFT 0u
  1281. #define SIU_DIRSR_DIRS0_WIDTH 1u
  1282. #define SIU_DIRSR_DIRS0(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRSR_DIRS0_SHIFT))&SIU_DIRSR_DIRS0_MASK)
  1283. #define SIU_DIRSR_DIRS1_MASK 0x2u
  1284. #define SIU_DIRSR_DIRS1_SHIFT 1u
  1285. #define SIU_DIRSR_DIRS1_WIDTH 1u
  1286. #define SIU_DIRSR_DIRS1(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRSR_DIRS1_SHIFT))&SIU_DIRSR_DIRS1_MASK)
  1287. #define SIU_DIRSR_DIRS2_MASK 0x4u
  1288. #define SIU_DIRSR_DIRS2_SHIFT 2u
  1289. #define SIU_DIRSR_DIRS2_WIDTH 1u
  1290. #define SIU_DIRSR_DIRS2(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRSR_DIRS2_SHIFT))&SIU_DIRSR_DIRS2_MASK)
  1291. #define SIU_DIRSR_DIRS3_MASK 0x8u
  1292. #define SIU_DIRSR_DIRS3_SHIFT 3u
  1293. #define SIU_DIRSR_DIRS3_WIDTH 1u
  1294. #define SIU_DIRSR_DIRS3(x) (((uint32_t)(((uint32_t)(x))<<SIU_DIRSR_DIRS3_SHIFT))&SIU_DIRSR_DIRS3_MASK)
  1295. /* OSR Bit Fields */
  1296. #define SIU_OSR_OVF0_MASK 0x1u
  1297. #define SIU_OSR_OVF0_SHIFT 0u
  1298. #define SIU_OSR_OVF0_WIDTH 1u
  1299. #define SIU_OSR_OVF0(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF0_SHIFT))&SIU_OSR_OVF0_MASK)
  1300. #define SIU_OSR_OVF1_MASK 0x2u
  1301. #define SIU_OSR_OVF1_SHIFT 1u
  1302. #define SIU_OSR_OVF1_WIDTH 1u
  1303. #define SIU_OSR_OVF1(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF1_SHIFT))&SIU_OSR_OVF1_MASK)
  1304. #define SIU_OSR_OVF2_MASK 0x4u
  1305. #define SIU_OSR_OVF2_SHIFT 2u
  1306. #define SIU_OSR_OVF2_WIDTH 1u
  1307. #define SIU_OSR_OVF2(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF2_SHIFT))&SIU_OSR_OVF2_MASK)
  1308. #define SIU_OSR_OVF3_MASK 0x8u
  1309. #define SIU_OSR_OVF3_SHIFT 3u
  1310. #define SIU_OSR_OVF3_WIDTH 1u
  1311. #define SIU_OSR_OVF3(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF3_SHIFT))&SIU_OSR_OVF3_MASK)
  1312. #define SIU_OSR_OVF4_MASK 0x10u
  1313. #define SIU_OSR_OVF4_SHIFT 4u
  1314. #define SIU_OSR_OVF4_WIDTH 1u
  1315. #define SIU_OSR_OVF4(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF4_SHIFT))&SIU_OSR_OVF4_MASK)
  1316. #define SIU_OSR_OVF5_MASK 0x20u
  1317. #define SIU_OSR_OVF5_SHIFT 5u
  1318. #define SIU_OSR_OVF5_WIDTH 1u
  1319. #define SIU_OSR_OVF5(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF5_SHIFT))&SIU_OSR_OVF5_MASK)
  1320. #define SIU_OSR_OVF6_MASK 0x40u
  1321. #define SIU_OSR_OVF6_SHIFT 6u
  1322. #define SIU_OSR_OVF6_WIDTH 1u
  1323. #define SIU_OSR_OVF6(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF6_SHIFT))&SIU_OSR_OVF6_MASK)
  1324. #define SIU_OSR_OVF7_MASK 0x80u
  1325. #define SIU_OSR_OVF7_SHIFT 7u
  1326. #define SIU_OSR_OVF7_WIDTH 1u
  1327. #define SIU_OSR_OVF7(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF7_SHIFT))&SIU_OSR_OVF7_MASK)
  1328. #define SIU_OSR_OVF8_MASK 0x100u
  1329. #define SIU_OSR_OVF8_SHIFT 8u
  1330. #define SIU_OSR_OVF8_WIDTH 1u
  1331. #define SIU_OSR_OVF8(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF8_SHIFT))&SIU_OSR_OVF8_MASK)
  1332. #define SIU_OSR_OVF9_MASK 0x200u
  1333. #define SIU_OSR_OVF9_SHIFT 9u
  1334. #define SIU_OSR_OVF9_WIDTH 1u
  1335. #define SIU_OSR_OVF9(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF9_SHIFT))&SIU_OSR_OVF9_MASK)
  1336. #define SIU_OSR_OVF10_MASK 0x400u
  1337. #define SIU_OSR_OVF10_SHIFT 10u
  1338. #define SIU_OSR_OVF10_WIDTH 1u
  1339. #define SIU_OSR_OVF10(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF10_SHIFT))&SIU_OSR_OVF10_MASK)
  1340. #define SIU_OSR_OVF11_MASK 0x800u
  1341. #define SIU_OSR_OVF11_SHIFT 11u
  1342. #define SIU_OSR_OVF11_WIDTH 1u
  1343. #define SIU_OSR_OVF11(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF11_SHIFT))&SIU_OSR_OVF11_MASK)
  1344. #define SIU_OSR_OVF12_MASK 0x1000u
  1345. #define SIU_OSR_OVF12_SHIFT 12u
  1346. #define SIU_OSR_OVF12_WIDTH 1u
  1347. #define SIU_OSR_OVF12(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF12_SHIFT))&SIU_OSR_OVF12_MASK)
  1348. #define SIU_OSR_OVF13_MASK 0x2000u
  1349. #define SIU_OSR_OVF13_SHIFT 13u
  1350. #define SIU_OSR_OVF13_WIDTH 1u
  1351. #define SIU_OSR_OVF13(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF13_SHIFT))&SIU_OSR_OVF13_MASK)
  1352. #define SIU_OSR_OVF14_MASK 0x4000u
  1353. #define SIU_OSR_OVF14_SHIFT 14u
  1354. #define SIU_OSR_OVF14_WIDTH 1u
  1355. #define SIU_OSR_OVF14(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF14_SHIFT))&SIU_OSR_OVF14_MASK)
  1356. #define SIU_OSR_OVF15_MASK 0x8000u
  1357. #define SIU_OSR_OVF15_SHIFT 15u
  1358. #define SIU_OSR_OVF15_WIDTH 1u
  1359. #define SIU_OSR_OVF15(x) (((uint32_t)(((uint32_t)(x))<<SIU_OSR_OVF15_SHIFT))&SIU_OSR_OVF15_MASK)
  1360. /* ORER Bit Fields */
  1361. #define SIU_ORER_ORE0_MASK 0x1u
  1362. #define SIU_ORER_ORE0_SHIFT 0u
  1363. #define SIU_ORER_ORE0_WIDTH 1u
  1364. #define SIU_ORER_ORE0(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE0_SHIFT))&SIU_ORER_ORE0_MASK)
  1365. #define SIU_ORER_ORE1_MASK 0x2u
  1366. #define SIU_ORER_ORE1_SHIFT 1u
  1367. #define SIU_ORER_ORE1_WIDTH 1u
  1368. #define SIU_ORER_ORE1(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE1_SHIFT))&SIU_ORER_ORE1_MASK)
  1369. #define SIU_ORER_ORE2_MASK 0x4u
  1370. #define SIU_ORER_ORE2_SHIFT 2u
  1371. #define SIU_ORER_ORE2_WIDTH 1u
  1372. #define SIU_ORER_ORE2(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE2_SHIFT))&SIU_ORER_ORE2_MASK)
  1373. #define SIU_ORER_ORE3_MASK 0x8u
  1374. #define SIU_ORER_ORE3_SHIFT 3u
  1375. #define SIU_ORER_ORE3_WIDTH 1u
  1376. #define SIU_ORER_ORE3(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE3_SHIFT))&SIU_ORER_ORE3_MASK)
  1377. #define SIU_ORER_ORE4_MASK 0x10u
  1378. #define SIU_ORER_ORE4_SHIFT 4u
  1379. #define SIU_ORER_ORE4_WIDTH 1u
  1380. #define SIU_ORER_ORE4(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE4_SHIFT))&SIU_ORER_ORE4_MASK)
  1381. #define SIU_ORER_ORE5_MASK 0x20u
  1382. #define SIU_ORER_ORE5_SHIFT 5u
  1383. #define SIU_ORER_ORE5_WIDTH 1u
  1384. #define SIU_ORER_ORE5(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE5_SHIFT))&SIU_ORER_ORE5_MASK)
  1385. #define SIU_ORER_ORE6_MASK 0x40u
  1386. #define SIU_ORER_ORE6_SHIFT 6u
  1387. #define SIU_ORER_ORE6_WIDTH 1u
  1388. #define SIU_ORER_ORE6(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE6_SHIFT))&SIU_ORER_ORE6_MASK)
  1389. #define SIU_ORER_ORE7_MASK 0x80u
  1390. #define SIU_ORER_ORE7_SHIFT 7u
  1391. #define SIU_ORER_ORE7_WIDTH 1u
  1392. #define SIU_ORER_ORE7(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE7_SHIFT))&SIU_ORER_ORE7_MASK)
  1393. #define SIU_ORER_ORE8_MASK 0x100u
  1394. #define SIU_ORER_ORE8_SHIFT 8u
  1395. #define SIU_ORER_ORE8_WIDTH 1u
  1396. #define SIU_ORER_ORE8(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE8_SHIFT))&SIU_ORER_ORE8_MASK)
  1397. #define SIU_ORER_ORE9_MASK 0x200u
  1398. #define SIU_ORER_ORE9_SHIFT 9u
  1399. #define SIU_ORER_ORE9_WIDTH 1u
  1400. #define SIU_ORER_ORE9(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE9_SHIFT))&SIU_ORER_ORE9_MASK)
  1401. #define SIU_ORER_ORE10_MASK 0x400u
  1402. #define SIU_ORER_ORE10_SHIFT 10u
  1403. #define SIU_ORER_ORE10_WIDTH 1u
  1404. #define SIU_ORER_ORE10(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE10_SHIFT))&SIU_ORER_ORE10_MASK)
  1405. #define SIU_ORER_ORE11_MASK 0x800u
  1406. #define SIU_ORER_ORE11_SHIFT 11u
  1407. #define SIU_ORER_ORE11_WIDTH 1u
  1408. #define SIU_ORER_ORE11(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE11_SHIFT))&SIU_ORER_ORE11_MASK)
  1409. #define SIU_ORER_ORE12_MASK 0x1000u
  1410. #define SIU_ORER_ORE12_SHIFT 12u
  1411. #define SIU_ORER_ORE12_WIDTH 1u
  1412. #define SIU_ORER_ORE12(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE12_SHIFT))&SIU_ORER_ORE12_MASK)
  1413. #define SIU_ORER_ORE13_MASK 0x2000u
  1414. #define SIU_ORER_ORE13_SHIFT 13u
  1415. #define SIU_ORER_ORE13_WIDTH 1u
  1416. #define SIU_ORER_ORE13(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE13_SHIFT))&SIU_ORER_ORE13_MASK)
  1417. #define SIU_ORER_ORE14_MASK 0x4000u
  1418. #define SIU_ORER_ORE14_SHIFT 14u
  1419. #define SIU_ORER_ORE14_WIDTH 1u
  1420. #define SIU_ORER_ORE14(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE14_SHIFT))&SIU_ORER_ORE14_MASK)
  1421. #define SIU_ORER_ORE15_MASK 0x8000u
  1422. #define SIU_ORER_ORE15_SHIFT 15u
  1423. #define SIU_ORER_ORE15_WIDTH 1u
  1424. #define SIU_ORER_ORE15(x) (((uint32_t)(((uint32_t)(x))<<SIU_ORER_ORE15_SHIFT))&SIU_ORER_ORE15_MASK)
  1425. /* IREER Bit Fields */
  1426. #define SIU_IREER_IREE0_MASK 0x1u
  1427. #define SIU_IREER_IREE0_SHIFT 0u
  1428. #define SIU_IREER_IREE0_WIDTH 1u
  1429. #define SIU_IREER_IREE0(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE0_SHIFT))&SIU_IREER_IREE0_MASK)
  1430. #define SIU_IREER_IREE1_MASK 0x2u
  1431. #define SIU_IREER_IREE1_SHIFT 1u
  1432. #define SIU_IREER_IREE1_WIDTH 1u
  1433. #define SIU_IREER_IREE1(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE1_SHIFT))&SIU_IREER_IREE1_MASK)
  1434. #define SIU_IREER_IREE2_MASK 0x4u
  1435. #define SIU_IREER_IREE2_SHIFT 2u
  1436. #define SIU_IREER_IREE2_WIDTH 1u
  1437. #define SIU_IREER_IREE2(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE2_SHIFT))&SIU_IREER_IREE2_MASK)
  1438. #define SIU_IREER_IREE3_MASK 0x8u
  1439. #define SIU_IREER_IREE3_SHIFT 3u
  1440. #define SIU_IREER_IREE3_WIDTH 1u
  1441. #define SIU_IREER_IREE3(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE3_SHIFT))&SIU_IREER_IREE3_MASK)
  1442. #define SIU_IREER_IREE4_MASK 0x10u
  1443. #define SIU_IREER_IREE4_SHIFT 4u
  1444. #define SIU_IREER_IREE4_WIDTH 1u
  1445. #define SIU_IREER_IREE4(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE4_SHIFT))&SIU_IREER_IREE4_MASK)
  1446. #define SIU_IREER_IREE5_MASK 0x20u
  1447. #define SIU_IREER_IREE5_SHIFT 5u
  1448. #define SIU_IREER_IREE5_WIDTH 1u
  1449. #define SIU_IREER_IREE5(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE5_SHIFT))&SIU_IREER_IREE5_MASK)
  1450. #define SIU_IREER_IREE6_MASK 0x40u
  1451. #define SIU_IREER_IREE6_SHIFT 6u
  1452. #define SIU_IREER_IREE6_WIDTH 1u
  1453. #define SIU_IREER_IREE6(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE6_SHIFT))&SIU_IREER_IREE6_MASK)
  1454. #define SIU_IREER_IREE7_MASK 0x80u
  1455. #define SIU_IREER_IREE7_SHIFT 7u
  1456. #define SIU_IREER_IREE7_WIDTH 1u
  1457. #define SIU_IREER_IREE7(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE7_SHIFT))&SIU_IREER_IREE7_MASK)
  1458. #define SIU_IREER_IREE8_MASK 0x100u
  1459. #define SIU_IREER_IREE8_SHIFT 8u
  1460. #define SIU_IREER_IREE8_WIDTH 1u
  1461. #define SIU_IREER_IREE8(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE8_SHIFT))&SIU_IREER_IREE8_MASK)
  1462. #define SIU_IREER_IREE9_MASK 0x200u
  1463. #define SIU_IREER_IREE9_SHIFT 9u
  1464. #define SIU_IREER_IREE9_WIDTH 1u
  1465. #define SIU_IREER_IREE9(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE9_SHIFT))&SIU_IREER_IREE9_MASK)
  1466. #define SIU_IREER_IREE10_MASK 0x400u
  1467. #define SIU_IREER_IREE10_SHIFT 10u
  1468. #define SIU_IREER_IREE10_WIDTH 1u
  1469. #define SIU_IREER_IREE10(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE10_SHIFT))&SIU_IREER_IREE10_MASK)
  1470. #define SIU_IREER_IREE11_MASK 0x800u
  1471. #define SIU_IREER_IREE11_SHIFT 11u
  1472. #define SIU_IREER_IREE11_WIDTH 1u
  1473. #define SIU_IREER_IREE11(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE11_SHIFT))&SIU_IREER_IREE11_MASK)
  1474. #define SIU_IREER_IREE12_MASK 0x1000u
  1475. #define SIU_IREER_IREE12_SHIFT 12u
  1476. #define SIU_IREER_IREE12_WIDTH 1u
  1477. #define SIU_IREER_IREE12(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE12_SHIFT))&SIU_IREER_IREE12_MASK)
  1478. #define SIU_IREER_IREE13_MASK 0x2000u
  1479. #define SIU_IREER_IREE13_SHIFT 13u
  1480. #define SIU_IREER_IREE13_WIDTH 1u
  1481. #define SIU_IREER_IREE13(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE13_SHIFT))&SIU_IREER_IREE13_MASK)
  1482. #define SIU_IREER_IREE14_MASK 0x4000u
  1483. #define SIU_IREER_IREE14_SHIFT 14u
  1484. #define SIU_IREER_IREE14_WIDTH 1u
  1485. #define SIU_IREER_IREE14(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE14_SHIFT))&SIU_IREER_IREE14_MASK)
  1486. #define SIU_IREER_IREE15_MASK 0x8000u
  1487. #define SIU_IREER_IREE15_SHIFT 15u
  1488. #define SIU_IREER_IREE15_WIDTH 1u
  1489. #define SIU_IREER_IREE15(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE15_SHIFT))&SIU_IREER_IREE15_MASK)
  1490. #define SIU_IREER_IREE_NMI7_MASK 0x40000000u
  1491. #define SIU_IREER_IREE_NMI7_SHIFT 30u
  1492. #define SIU_IREER_IREE_NMI7_WIDTH 1u
  1493. #define SIU_IREER_IREE_NMI7(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE_NMI7_SHIFT))&SIU_IREER_IREE_NMI7_MASK)
  1494. #define SIU_IREER_IREE_NMI8_MASK 0x80000000u
  1495. #define SIU_IREER_IREE_NMI8_SHIFT 31u
  1496. #define SIU_IREER_IREE_NMI8_WIDTH 1u
  1497. #define SIU_IREER_IREE_NMI8(x) (((uint32_t)(((uint32_t)(x))<<SIU_IREER_IREE_NMI8_SHIFT))&SIU_IREER_IREE_NMI8_MASK)
  1498. /* IFEER Bit Fields */
  1499. #define SIU_IFEER_IFEEN0_MASK 0x1u
  1500. #define SIU_IFEER_IFEEN0_SHIFT 0u
  1501. #define SIU_IFEER_IFEEN0_WIDTH 1u
  1502. #define SIU_IFEER_IFEEN0(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN0_SHIFT))&SIU_IFEER_IFEEN0_MASK)
  1503. #define SIU_IFEER_IFEEN1_MASK 0x2u
  1504. #define SIU_IFEER_IFEEN1_SHIFT 1u
  1505. #define SIU_IFEER_IFEEN1_WIDTH 1u
  1506. #define SIU_IFEER_IFEEN1(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN1_SHIFT))&SIU_IFEER_IFEEN1_MASK)
  1507. #define SIU_IFEER_IFEEN2_MASK 0x4u
  1508. #define SIU_IFEER_IFEEN2_SHIFT 2u
  1509. #define SIU_IFEER_IFEEN2_WIDTH 1u
  1510. #define SIU_IFEER_IFEEN2(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN2_SHIFT))&SIU_IFEER_IFEEN2_MASK)
  1511. #define SIU_IFEER_IFEEN3_MASK 0x8u
  1512. #define SIU_IFEER_IFEEN3_SHIFT 3u
  1513. #define SIU_IFEER_IFEEN3_WIDTH 1u
  1514. #define SIU_IFEER_IFEEN3(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN3_SHIFT))&SIU_IFEER_IFEEN3_MASK)
  1515. #define SIU_IFEER_IFEEN4_MASK 0x10u
  1516. #define SIU_IFEER_IFEEN4_SHIFT 4u
  1517. #define SIU_IFEER_IFEEN4_WIDTH 1u
  1518. #define SIU_IFEER_IFEEN4(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN4_SHIFT))&SIU_IFEER_IFEEN4_MASK)
  1519. #define SIU_IFEER_IFEEN5_MASK 0x20u
  1520. #define SIU_IFEER_IFEEN5_SHIFT 5u
  1521. #define SIU_IFEER_IFEEN5_WIDTH 1u
  1522. #define SIU_IFEER_IFEEN5(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN5_SHIFT))&SIU_IFEER_IFEEN5_MASK)
  1523. #define SIU_IFEER_IFEEN6_MASK 0x40u
  1524. #define SIU_IFEER_IFEEN6_SHIFT 6u
  1525. #define SIU_IFEER_IFEEN6_WIDTH 1u
  1526. #define SIU_IFEER_IFEEN6(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN6_SHIFT))&SIU_IFEER_IFEEN6_MASK)
  1527. #define SIU_IFEER_IFEEN7_MASK 0x80u
  1528. #define SIU_IFEER_IFEEN7_SHIFT 7u
  1529. #define SIU_IFEER_IFEEN7_WIDTH 1u
  1530. #define SIU_IFEER_IFEEN7(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN7_SHIFT))&SIU_IFEER_IFEEN7_MASK)
  1531. #define SIU_IFEER_IFEEN8_MASK 0x100u
  1532. #define SIU_IFEER_IFEEN8_SHIFT 8u
  1533. #define SIU_IFEER_IFEEN8_WIDTH 1u
  1534. #define SIU_IFEER_IFEEN8(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN8_SHIFT))&SIU_IFEER_IFEEN8_MASK)
  1535. #define SIU_IFEER_IFEEN9_MASK 0x200u
  1536. #define SIU_IFEER_IFEEN9_SHIFT 9u
  1537. #define SIU_IFEER_IFEEN9_WIDTH 1u
  1538. #define SIU_IFEER_IFEEN9(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN9_SHIFT))&SIU_IFEER_IFEEN9_MASK)
  1539. #define SIU_IFEER_IFEEN10_MASK 0x400u
  1540. #define SIU_IFEER_IFEEN10_SHIFT 10u
  1541. #define SIU_IFEER_IFEEN10_WIDTH 1u
  1542. #define SIU_IFEER_IFEEN10(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN10_SHIFT))&SIU_IFEER_IFEEN10_MASK)
  1543. #define SIU_IFEER_IFEEN11_MASK 0x800u
  1544. #define SIU_IFEER_IFEEN11_SHIFT 11u
  1545. #define SIU_IFEER_IFEEN11_WIDTH 1u
  1546. #define SIU_IFEER_IFEEN11(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN11_SHIFT))&SIU_IFEER_IFEEN11_MASK)
  1547. #define SIU_IFEER_IFEEN12_MASK 0x1000u
  1548. #define SIU_IFEER_IFEEN12_SHIFT 12u
  1549. #define SIU_IFEER_IFEEN12_WIDTH 1u
  1550. #define SIU_IFEER_IFEEN12(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN12_SHIFT))&SIU_IFEER_IFEEN12_MASK)
  1551. #define SIU_IFEER_IFEEN13_MASK 0x2000u
  1552. #define SIU_IFEER_IFEEN13_SHIFT 13u
  1553. #define SIU_IFEER_IFEEN13_WIDTH 1u
  1554. #define SIU_IFEER_IFEEN13(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN13_SHIFT))&SIU_IFEER_IFEEN13_MASK)
  1555. #define SIU_IFEER_IFEEN14_MASK 0x4000u
  1556. #define SIU_IFEER_IFEEN14_SHIFT 14u
  1557. #define SIU_IFEER_IFEEN14_WIDTH 1u
  1558. #define SIU_IFEER_IFEEN14(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN14_SHIFT))&SIU_IFEER_IFEEN14_MASK)
  1559. #define SIU_IFEER_IFEEN15_MASK 0x8000u
  1560. #define SIU_IFEER_IFEEN15_SHIFT 15u
  1561. #define SIU_IFEER_IFEEN15_WIDTH 1u
  1562. #define SIU_IFEER_IFEEN15(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEEN15_SHIFT))&SIU_IFEER_IFEEN15_MASK)
  1563. #define SIU_IFEER_IFEE_NMI7_MASK 0x40000000u
  1564. #define SIU_IFEER_IFEE_NMI7_SHIFT 30u
  1565. #define SIU_IFEER_IFEE_NMI7_WIDTH 1u
  1566. #define SIU_IFEER_IFEE_NMI7(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEE_NMI7_SHIFT))&SIU_IFEER_IFEE_NMI7_MASK)
  1567. #define SIU_IFEER_IFEE_NMI8_MASK 0x80000000u
  1568. #define SIU_IFEER_IFEE_NMI8_SHIFT 31u
  1569. #define SIU_IFEER_IFEE_NMI8_WIDTH 1u
  1570. #define SIU_IFEER_IFEE_NMI8(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFEER_IFEE_NMI8_SHIFT))&SIU_IFEER_IFEE_NMI8_MASK)
  1571. /* IDFR Bit Fields */
  1572. #define SIU_IDFR_DFL_MASK 0xFu
  1573. #define SIU_IDFR_DFL_SHIFT 0u
  1574. #define SIU_IDFR_DFL_WIDTH 4u
  1575. #define SIU_IDFR_DFL(x) (((uint32_t)(((uint32_t)(x))<<SIU_IDFR_DFL_SHIFT))&SIU_IDFR_DFL_MASK)
  1576. /* IFIR Bit Fields */
  1577. #define SIU_IFIR_IFI0_MASK 0x1u
  1578. #define SIU_IFIR_IFI0_SHIFT 0u
  1579. #define SIU_IFIR_IFI0_WIDTH 1u
  1580. #define SIU_IFIR_IFI0(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI0_SHIFT))&SIU_IFIR_IFI0_MASK)
  1581. #define SIU_IFIR_IFI1_MASK 0x2u
  1582. #define SIU_IFIR_IFI1_SHIFT 1u
  1583. #define SIU_IFIR_IFI1_WIDTH 1u
  1584. #define SIU_IFIR_IFI1(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI1_SHIFT))&SIU_IFIR_IFI1_MASK)
  1585. #define SIU_IFIR_IFI2_MASK 0x4u
  1586. #define SIU_IFIR_IFI2_SHIFT 2u
  1587. #define SIU_IFIR_IFI2_WIDTH 1u
  1588. #define SIU_IFIR_IFI2(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI2_SHIFT))&SIU_IFIR_IFI2_MASK)
  1589. #define SIU_IFIR_IFI3_MASK 0x8u
  1590. #define SIU_IFIR_IFI3_SHIFT 3u
  1591. #define SIU_IFIR_IFI3_WIDTH 1u
  1592. #define SIU_IFIR_IFI3(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI3_SHIFT))&SIU_IFIR_IFI3_MASK)
  1593. #define SIU_IFIR_IFI4_MASK 0x10u
  1594. #define SIU_IFIR_IFI4_SHIFT 4u
  1595. #define SIU_IFIR_IFI4_WIDTH 1u
  1596. #define SIU_IFIR_IFI4(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI4_SHIFT))&SIU_IFIR_IFI4_MASK)
  1597. #define SIU_IFIR_IFI5_MASK 0x20u
  1598. #define SIU_IFIR_IFI5_SHIFT 5u
  1599. #define SIU_IFIR_IFI5_WIDTH 1u
  1600. #define SIU_IFIR_IFI5(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI5_SHIFT))&SIU_IFIR_IFI5_MASK)
  1601. #define SIU_IFIR_IFI6_MASK 0x40u
  1602. #define SIU_IFIR_IFI6_SHIFT 6u
  1603. #define SIU_IFIR_IFI6_WIDTH 1u
  1604. #define SIU_IFIR_IFI6(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI6_SHIFT))&SIU_IFIR_IFI6_MASK)
  1605. #define SIU_IFIR_IFI7_MASK 0x80u
  1606. #define SIU_IFIR_IFI7_SHIFT 7u
  1607. #define SIU_IFIR_IFI7_WIDTH 1u
  1608. #define SIU_IFIR_IFI7(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI7_SHIFT))&SIU_IFIR_IFI7_MASK)
  1609. #define SIU_IFIR_IFI8_MASK 0x100u
  1610. #define SIU_IFIR_IFI8_SHIFT 8u
  1611. #define SIU_IFIR_IFI8_WIDTH 1u
  1612. #define SIU_IFIR_IFI8(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI8_SHIFT))&SIU_IFIR_IFI8_MASK)
  1613. #define SIU_IFIR_IFI9_MASK 0x200u
  1614. #define SIU_IFIR_IFI9_SHIFT 9u
  1615. #define SIU_IFIR_IFI9_WIDTH 1u
  1616. #define SIU_IFIR_IFI9(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI9_SHIFT))&SIU_IFIR_IFI9_MASK)
  1617. #define SIU_IFIR_IFI10_MASK 0x400u
  1618. #define SIU_IFIR_IFI10_SHIFT 10u
  1619. #define SIU_IFIR_IFI10_WIDTH 1u
  1620. #define SIU_IFIR_IFI10(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI10_SHIFT))&SIU_IFIR_IFI10_MASK)
  1621. #define SIU_IFIR_IFI11_MASK 0x800u
  1622. #define SIU_IFIR_IFI11_SHIFT 11u
  1623. #define SIU_IFIR_IFI11_WIDTH 1u
  1624. #define SIU_IFIR_IFI11(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI11_SHIFT))&SIU_IFIR_IFI11_MASK)
  1625. #define SIU_IFIR_IFI12_MASK 0x1000u
  1626. #define SIU_IFIR_IFI12_SHIFT 12u
  1627. #define SIU_IFIR_IFI12_WIDTH 1u
  1628. #define SIU_IFIR_IFI12(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI12_SHIFT))&SIU_IFIR_IFI12_MASK)
  1629. #define SIU_IFIR_IFI13_MASK 0x2000u
  1630. #define SIU_IFIR_IFI13_SHIFT 13u
  1631. #define SIU_IFIR_IFI13_WIDTH 1u
  1632. #define SIU_IFIR_IFI13(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI13_SHIFT))&SIU_IFIR_IFI13_MASK)
  1633. #define SIU_IFIR_IFI14_MASK 0x4000u
  1634. #define SIU_IFIR_IFI14_SHIFT 14u
  1635. #define SIU_IFIR_IFI14_WIDTH 1u
  1636. #define SIU_IFIR_IFI14(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI14_SHIFT))&SIU_IFIR_IFI14_MASK)
  1637. #define SIU_IFIR_IFI15_MASK 0x8000u
  1638. #define SIU_IFIR_IFI15_SHIFT 15u
  1639. #define SIU_IFIR_IFI15_WIDTH 1u
  1640. #define SIU_IFIR_IFI15(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI15_SHIFT))&SIU_IFIR_IFI15_MASK)
  1641. #define SIU_IFIR_IFI_NMI7_MASK 0x40000000u
  1642. #define SIU_IFIR_IFI_NMI7_SHIFT 30u
  1643. #define SIU_IFIR_IFI_NMI7_WIDTH 1u
  1644. #define SIU_IFIR_IFI_NMI7(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI_NMI7_SHIFT))&SIU_IFIR_IFI_NMI7_MASK)
  1645. #define SIU_IFIR_IFI_NMI8_MASK 0x80000000u
  1646. #define SIU_IFIR_IFI_NMI8_SHIFT 31u
  1647. #define SIU_IFIR_IFI_NMI8_WIDTH 1u
  1648. #define SIU_IFIR_IFI_NMI8(x) (((uint32_t)(((uint32_t)(x))<<SIU_IFIR_IFI_NMI8_SHIFT))&SIU_IFIR_IFI_NMI8_MASK)
  1649. /* PCR Bit Fields */
  1650. #define SIU_PCR_WPS_MASK 0x1u
  1651. #define SIU_PCR_WPS_SHIFT 0u
  1652. #define SIU_PCR_WPS_WIDTH 1u
  1653. #define SIU_PCR_WPS(x) (((uint16_t)(((uint16_t)(x))<<SIU_PCR_WPS_SHIFT))&SIU_PCR_WPS_MASK)
  1654. #define SIU_PCR_WPE_MASK 0x2u
  1655. #define SIU_PCR_WPE_SHIFT 1u
  1656. #define SIU_PCR_WPE_WIDTH 1u
  1657. #define SIU_PCR_WPE(x) (((uint16_t)(((uint16_t)(x))<<SIU_PCR_WPE_SHIFT))&SIU_PCR_WPE_MASK)
  1658. #define SIU_PCR_SRC_MASK 0xCu
  1659. #define SIU_PCR_SRC_SHIFT 2u
  1660. #define SIU_PCR_SRC_WIDTH 2u
  1661. #define SIU_PCR_SRC(x) (((uint16_t)(((uint16_t)(x))<<SIU_PCR_SRC_SHIFT))&SIU_PCR_SRC_MASK)
  1662. #define SIU_PCR_HYS_MASK 0x10u
  1663. #define SIU_PCR_HYS_SHIFT 4u
  1664. #define SIU_PCR_HYS_WIDTH 1u
  1665. #define SIU_PCR_HYS(x) (((uint16_t)(((uint16_t)(x))<<SIU_PCR_HYS_SHIFT))&SIU_PCR_HYS_MASK)
  1666. #define SIU_PCR_ODE_MASK 0x20u
  1667. #define SIU_PCR_ODE_SHIFT 5u
  1668. #define SIU_PCR_ODE_WIDTH 1u
  1669. #define SIU_PCR_ODE(x) (((uint16_t)(((uint16_t)(x))<<SIU_PCR_ODE_SHIFT))&SIU_PCR_ODE_MASK)
  1670. #define SIU_PCR_DSC_MASK 0xC0u
  1671. #define SIU_PCR_DSC_SHIFT 6u
  1672. #define SIU_PCR_DSC_WIDTH 2u
  1673. #define SIU_PCR_DSC(x) (((uint16_t)(((uint16_t)(x))<<SIU_PCR_DSC_SHIFT))&SIU_PCR_DSC_MASK)
  1674. #define SIU_PCR_IBE_MASK 0x100u
  1675. #define SIU_PCR_IBE_SHIFT 8u
  1676. #define SIU_PCR_IBE_WIDTH 1u
  1677. #define SIU_PCR_IBE(x) (((uint16_t)(((uint16_t)(x))<<SIU_PCR_IBE_SHIFT))&SIU_PCR_IBE_MASK)
  1678. #define SIU_PCR_OBE_MASK 0x200u
  1679. #define SIU_PCR_OBE_SHIFT 9u
  1680. #define SIU_PCR_OBE_WIDTH 1u
  1681. #define SIU_PCR_OBE(x) (((uint16_t)(((uint16_t)(x))<<SIU_PCR_OBE_SHIFT))&SIU_PCR_OBE_MASK)
  1682. #define SIU_PCR_PA_MASK 0x1C00u
  1683. #define SIU_PCR_PA_SHIFT 10u
  1684. #define SIU_PCR_PA_WIDTH 3u
  1685. #define SIU_PCR_PA(x) (((uint16_t)(((uint16_t)(x))<<SIU_PCR_PA_SHIFT))&SIU_PCR_PA_MASK)
  1686. /* GPDO Bit Fields */
  1687. #define SIU_GPDO_PDOn_MASK 0x1u
  1688. #define SIU_GPDO_PDOn_SHIFT 0u
  1689. #define SIU_GPDO_PDOn_WIDTH 1u
  1690. #define SIU_GPDO_PDOn(x) (((uint8_t)(((uint8_t)(x))<<SIU_GPDO_PDOn_SHIFT))&SIU_GPDO_PDOn_MASK)
  1691. /* GPDIL Bit Fields */
  1692. #define SIU_GPDIL_PDIn_MASK 0x1u
  1693. #define SIU_GPDIL_PDIn_SHIFT 0u
  1694. #define SIU_GPDIL_PDIn_WIDTH 1u
  1695. #define SIU_GPDIL_PDIn(x) (((uint8_t)(((uint8_t)(x))<<SIU_GPDIL_PDIn_SHIFT))&SIU_GPDIL_PDIn_MASK)
  1696. /* EIISR Bit Fields */
  1697. #define SIU_EIISR_ESEL0_MASK 0x3u
  1698. #define SIU_EIISR_ESEL0_SHIFT 0u
  1699. #define SIU_EIISR_ESEL0_WIDTH 2u
  1700. #define SIU_EIISR_ESEL0(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL0_SHIFT))&SIU_EIISR_ESEL0_MASK)
  1701. #define SIU_EIISR_ESEL1_MASK 0xCu
  1702. #define SIU_EIISR_ESEL1_SHIFT 2u
  1703. #define SIU_EIISR_ESEL1_WIDTH 2u
  1704. #define SIU_EIISR_ESEL1(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL1_SHIFT))&SIU_EIISR_ESEL1_MASK)
  1705. #define SIU_EIISR_ESEL2_MASK 0x30u
  1706. #define SIU_EIISR_ESEL2_SHIFT 4u
  1707. #define SIU_EIISR_ESEL2_WIDTH 2u
  1708. #define SIU_EIISR_ESEL2(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL2_SHIFT))&SIU_EIISR_ESEL2_MASK)
  1709. #define SIU_EIISR_ESEL3_MASK 0xC0u
  1710. #define SIU_EIISR_ESEL3_SHIFT 6u
  1711. #define SIU_EIISR_ESEL3_WIDTH 2u
  1712. #define SIU_EIISR_ESEL3(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL3_SHIFT))&SIU_EIISR_ESEL3_MASK)
  1713. #define SIU_EIISR_ESEL4_MASK 0x300u
  1714. #define SIU_EIISR_ESEL4_SHIFT 8u
  1715. #define SIU_EIISR_ESEL4_WIDTH 2u
  1716. #define SIU_EIISR_ESEL4(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL4_SHIFT))&SIU_EIISR_ESEL4_MASK)
  1717. #define SIU_EIISR_ESEL5_MASK 0xC00u
  1718. #define SIU_EIISR_ESEL5_SHIFT 10u
  1719. #define SIU_EIISR_ESEL5_WIDTH 2u
  1720. #define SIU_EIISR_ESEL5(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL5_SHIFT))&SIU_EIISR_ESEL5_MASK)
  1721. #define SIU_EIISR_ESEL6_MASK 0x3000u
  1722. #define SIU_EIISR_ESEL6_SHIFT 12u
  1723. #define SIU_EIISR_ESEL6_WIDTH 2u
  1724. #define SIU_EIISR_ESEL6(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL6_SHIFT))&SIU_EIISR_ESEL6_MASK)
  1725. #define SIU_EIISR_ESEL7_MASK 0xC000u
  1726. #define SIU_EIISR_ESEL7_SHIFT 14u
  1727. #define SIU_EIISR_ESEL7_WIDTH 2u
  1728. #define SIU_EIISR_ESEL7(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL7_SHIFT))&SIU_EIISR_ESEL7_MASK)
  1729. #define SIU_EIISR_ESEL8_MASK 0x30000u
  1730. #define SIU_EIISR_ESEL8_SHIFT 16u
  1731. #define SIU_EIISR_ESEL8_WIDTH 2u
  1732. #define SIU_EIISR_ESEL8(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL8_SHIFT))&SIU_EIISR_ESEL8_MASK)
  1733. #define SIU_EIISR_ESEL9_MASK 0xC0000u
  1734. #define SIU_EIISR_ESEL9_SHIFT 18u
  1735. #define SIU_EIISR_ESEL9_WIDTH 2u
  1736. #define SIU_EIISR_ESEL9(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL9_SHIFT))&SIU_EIISR_ESEL9_MASK)
  1737. #define SIU_EIISR_ESEL10_MASK 0x300000u
  1738. #define SIU_EIISR_ESEL10_SHIFT 20u
  1739. #define SIU_EIISR_ESEL10_WIDTH 2u
  1740. #define SIU_EIISR_ESEL10(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL10_SHIFT))&SIU_EIISR_ESEL10_MASK)
  1741. #define SIU_EIISR_ESEL11_MASK 0xC00000u
  1742. #define SIU_EIISR_ESEL11_SHIFT 22u
  1743. #define SIU_EIISR_ESEL11_WIDTH 2u
  1744. #define SIU_EIISR_ESEL11(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL11_SHIFT))&SIU_EIISR_ESEL11_MASK)
  1745. #define SIU_EIISR_ESEL12_MASK 0x3000000u
  1746. #define SIU_EIISR_ESEL12_SHIFT 24u
  1747. #define SIU_EIISR_ESEL12_WIDTH 2u
  1748. #define SIU_EIISR_ESEL12(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL12_SHIFT))&SIU_EIISR_ESEL12_MASK)
  1749. #define SIU_EIISR_ESEL13_MASK 0xC000000u
  1750. #define SIU_EIISR_ESEL13_SHIFT 26u
  1751. #define SIU_EIISR_ESEL13_WIDTH 2u
  1752. #define SIU_EIISR_ESEL13(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL13_SHIFT))&SIU_EIISR_ESEL13_MASK)
  1753. #define SIU_EIISR_ESEL14_MASK 0x30000000u
  1754. #define SIU_EIISR_ESEL14_SHIFT 28u
  1755. #define SIU_EIISR_ESEL14_WIDTH 2u
  1756. #define SIU_EIISR_ESEL14(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL14_SHIFT))&SIU_EIISR_ESEL14_MASK)
  1757. #define SIU_EIISR_ESEL15_MASK 0xC0000000u
  1758. #define SIU_EIISR_ESEL15_SHIFT 30u
  1759. #define SIU_EIISR_ESEL15_WIDTH 2u
  1760. #define SIU_EIISR_ESEL15(x) (((uint32_t)(((uint32_t)(x))<<SIU_EIISR_ESEL15_SHIFT))&SIU_EIISR_ESEL15_MASK)
  1761. /* DISR Bit Fields */
  1762. #define SIU_DISR_SCKSELD_MASK 0xCu
  1763. #define SIU_DISR_SCKSELD_SHIFT 2u
  1764. #define SIU_DISR_SCKSELD_WIDTH 2u
  1765. #define SIU_DISR_SCKSELD(x) (((uint32_t)(((uint32_t)(x))<<SIU_DISR_SCKSELD_SHIFT))&SIU_DISR_SCKSELD_MASK)
  1766. #define SIU_DISR_SSSELD_MASK 0x30u
  1767. #define SIU_DISR_SSSELD_SHIFT 4u
  1768. #define SIU_DISR_SSSELD_WIDTH 2u
  1769. #define SIU_DISR_SSSELD(x) (((uint32_t)(((uint32_t)(x))<<SIU_DISR_SSSELD_SHIFT))&SIU_DISR_SSSELD_MASK)
  1770. #define SIU_DISR_SINSELD_MASK 0xC0u
  1771. #define SIU_DISR_SINSELD_SHIFT 6u
  1772. #define SIU_DISR_SINSELD_WIDTH 2u
  1773. #define SIU_DISR_SINSELD(x) (((uint32_t)(((uint32_t)(x))<<SIU_DISR_SINSELD_SHIFT))&SIU_DISR_SINSELD_MASK)
  1774. #define SIU_DISR_SCKSELC_MASK 0xC00u
  1775. #define SIU_DISR_SCKSELC_SHIFT 10u
  1776. #define SIU_DISR_SCKSELC_WIDTH 2u
  1777. #define SIU_DISR_SCKSELC(x) (((uint32_t)(((uint32_t)(x))<<SIU_DISR_SCKSELC_SHIFT))&SIU_DISR_SCKSELC_MASK)
  1778. #define SIU_DISR_SSSELC_MASK 0x3000u
  1779. #define SIU_DISR_SSSELC_SHIFT 12u
  1780. #define SIU_DISR_SSSELC_WIDTH 2u
  1781. #define SIU_DISR_SSSELC(x) (((uint32_t)(((uint32_t)(x))<<SIU_DISR_SSSELC_SHIFT))&SIU_DISR_SSSELC_MASK)
  1782. #define SIU_DISR_SINSELC_MASK 0xC000u
  1783. #define SIU_DISR_SINSELC_SHIFT 14u
  1784. #define SIU_DISR_SINSELC_WIDTH 2u
  1785. #define SIU_DISR_SINSELC(x) (((uint32_t)(((uint32_t)(x))<<SIU_DISR_SINSELC_SHIFT))&SIU_DISR_SINSELC_MASK)
  1786. #define SIU_DISR_SCKSELB_MASK 0xC0000u
  1787. #define SIU_DISR_SCKSELB_SHIFT 18u
  1788. #define SIU_DISR_SCKSELB_WIDTH 2u
  1789. #define SIU_DISR_SCKSELB(x) (((uint32_t)(((uint32_t)(x))<<SIU_DISR_SCKSELB_SHIFT))&SIU_DISR_SCKSELB_MASK)
  1790. #define SIU_DISR_SSSELB_MASK 0x300000u
  1791. #define SIU_DISR_SSSELB_SHIFT 20u
  1792. #define SIU_DISR_SSSELB_WIDTH 2u
  1793. #define SIU_DISR_SSSELB(x) (((uint32_t)(((uint32_t)(x))<<SIU_DISR_SSSELB_SHIFT))&SIU_DISR_SSSELB_MASK)
  1794. #define SIU_DISR_SINSELB_MASK 0xC00000u
  1795. #define SIU_DISR_SINSELB_SHIFT 22u
  1796. #define SIU_DISR_SINSELB_WIDTH 2u
  1797. #define SIU_DISR_SINSELB(x) (((uint32_t)(((uint32_t)(x))<<SIU_DISR_SINSELB_SHIFT))&SIU_DISR_SINSELB_MASK)
  1798. #define SIU_DISR_SCKSELA_MASK 0xC000000u
  1799. #define SIU_DISR_SCKSELA_SHIFT 26u
  1800. #define SIU_DISR_SCKSELA_WIDTH 2u
  1801. #define SIU_DISR_SCKSELA(x) (((uint32_t)(((uint32_t)(x))<<SIU_DISR_SCKSELA_SHIFT))&SIU_DISR_SCKSELA_MASK)
  1802. #define SIU_DISR_SSSELA_MASK 0x30000000u
  1803. #define SIU_DISR_SSSELA_SHIFT 28u
  1804. #define SIU_DISR_SSSELA_WIDTH 2u
  1805. #define SIU_DISR_SSSELA(x) (((uint32_t)(((uint32_t)(x))<<SIU_DISR_SSSELA_SHIFT))&SIU_DISR_SSSELA_MASK)
  1806. #define SIU_DISR_SINSELA_MASK 0xC0000000u
  1807. #define SIU_DISR_SINSELA_SHIFT 30u
  1808. #define SIU_DISR_SINSELA_WIDTH 2u
  1809. #define SIU_DISR_SINSELA(x) (((uint32_t)(((uint32_t)(x))<<SIU_DISR_SINSELA_SHIFT))&SIU_DISR_SINSELA_MASK)
  1810. /* ISEL4 Bit Fields */
  1811. #define SIU_ISEL4_CTSEL2_A_MASK 0x7Fu
  1812. #define SIU_ISEL4_CTSEL2_A_SHIFT 0u
  1813. #define SIU_ISEL4_CTSEL2_A_WIDTH 7u
  1814. #define SIU_ISEL4_CTSEL2_A(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL4_CTSEL2_A_SHIFT))&SIU_ISEL4_CTSEL2_A_MASK)
  1815. #define SIU_ISEL4_CTSEL3_A_MASK 0x7F00u
  1816. #define SIU_ISEL4_CTSEL3_A_SHIFT 8u
  1817. #define SIU_ISEL4_CTSEL3_A_WIDTH 7u
  1818. #define SIU_ISEL4_CTSEL3_A(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL4_CTSEL3_A_SHIFT))&SIU_ISEL4_CTSEL3_A_MASK)
  1819. #define SIU_ISEL4_CTSEL4_A_MASK 0x7F0000u
  1820. #define SIU_ISEL4_CTSEL4_A_SHIFT 16u
  1821. #define SIU_ISEL4_CTSEL4_A_WIDTH 7u
  1822. #define SIU_ISEL4_CTSEL4_A(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL4_CTSEL4_A_SHIFT))&SIU_ISEL4_CTSEL4_A_MASK)
  1823. #define SIU_ISEL4_CTSEL5_A_MASK 0x7F000000u
  1824. #define SIU_ISEL4_CTSEL5_A_SHIFT 24u
  1825. #define SIU_ISEL4_CTSEL5_A_WIDTH 7u
  1826. #define SIU_ISEL4_CTSEL5_A(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL4_CTSEL5_A_SHIFT))&SIU_ISEL4_CTSEL5_A_MASK)
  1827. /* ISEL5 Bit Fields */
  1828. #define SIU_ISEL5_CTSEL0_A_MASK 0x7F0000u
  1829. #define SIU_ISEL5_CTSEL0_A_SHIFT 16u
  1830. #define SIU_ISEL5_CTSEL0_A_WIDTH 7u
  1831. #define SIU_ISEL5_CTSEL0_A(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL5_CTSEL0_A_SHIFT))&SIU_ISEL5_CTSEL0_A_MASK)
  1832. #define SIU_ISEL5_CTSEL1_A_MASK 0x7F000000u
  1833. #define SIU_ISEL5_CTSEL1_A_SHIFT 24u
  1834. #define SIU_ISEL5_CTSEL1_A_WIDTH 7u
  1835. #define SIU_ISEL5_CTSEL1_A(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL5_CTSEL1_A_SHIFT))&SIU_ISEL5_CTSEL1_A_MASK)
  1836. /* ISEL6 Bit Fields */
  1837. #define SIU_ISEL6_CTSEL2_B_MASK 0x7Fu
  1838. #define SIU_ISEL6_CTSEL2_B_SHIFT 0u
  1839. #define SIU_ISEL6_CTSEL2_B_WIDTH 7u
  1840. #define SIU_ISEL6_CTSEL2_B(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL6_CTSEL2_B_SHIFT))&SIU_ISEL6_CTSEL2_B_MASK)
  1841. #define SIU_ISEL6_CTSEL3_B_MASK 0x7F00u
  1842. #define SIU_ISEL6_CTSEL3_B_SHIFT 8u
  1843. #define SIU_ISEL6_CTSEL3_B_WIDTH 7u
  1844. #define SIU_ISEL6_CTSEL3_B(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL6_CTSEL3_B_SHIFT))&SIU_ISEL6_CTSEL3_B_MASK)
  1845. #define SIU_ISEL6_CTSEL4_B_MASK 0x7F0000u
  1846. #define SIU_ISEL6_CTSEL4_B_SHIFT 16u
  1847. #define SIU_ISEL6_CTSEL4_B_WIDTH 7u
  1848. #define SIU_ISEL6_CTSEL4_B(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL6_CTSEL4_B_SHIFT))&SIU_ISEL6_CTSEL4_B_MASK)
  1849. #define SIU_ISEL6_CTSEL5_B_MASK 0x7F000000u
  1850. #define SIU_ISEL6_CTSEL5_B_SHIFT 24u
  1851. #define SIU_ISEL6_CTSEL5_B_WIDTH 7u
  1852. #define SIU_ISEL6_CTSEL5_B(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL6_CTSEL5_B_SHIFT))&SIU_ISEL6_CTSEL5_B_MASK)
  1853. /* ISEL7 Bit Fields */
  1854. #define SIU_ISEL7_CTSEL0_B_MASK 0x7F0000u
  1855. #define SIU_ISEL7_CTSEL0_B_SHIFT 16u
  1856. #define SIU_ISEL7_CTSEL0_B_WIDTH 7u
  1857. #define SIU_ISEL7_CTSEL0_B(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL7_CTSEL0_B_SHIFT))&SIU_ISEL7_CTSEL0_B_MASK)
  1858. #define SIU_ISEL7_CTSEL1_B_MASK 0x7F000000u
  1859. #define SIU_ISEL7_CTSEL1_B_SHIFT 24u
  1860. #define SIU_ISEL7_CTSEL1_B_WIDTH 7u
  1861. #define SIU_ISEL7_CTSEL1_B(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL7_CTSEL1_B_SHIFT))&SIU_ISEL7_CTSEL1_B_MASK)
  1862. /* ISEL8 Bit Fields */
  1863. #define SIU_ISEL8_ETPU24_MASK 0x1u
  1864. #define SIU_ISEL8_ETPU24_SHIFT 0u
  1865. #define SIU_ISEL8_ETPU24_WIDTH 1u
  1866. #define SIU_ISEL8_ETPU24(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL8_ETPU24_SHIFT))&SIU_ISEL8_ETPU24_MASK)
  1867. #define SIU_ISEL8_ETPU25_MASK 0x10u
  1868. #define SIU_ISEL8_ETPU25_SHIFT 4u
  1869. #define SIU_ISEL8_ETPU25_WIDTH 1u
  1870. #define SIU_ISEL8_ETPU25(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL8_ETPU25_SHIFT))&SIU_ISEL8_ETPU25_MASK)
  1871. #define SIU_ISEL8_ETPU26_MASK 0x100u
  1872. #define SIU_ISEL8_ETPU26_SHIFT 8u
  1873. #define SIU_ISEL8_ETPU26_WIDTH 1u
  1874. #define SIU_ISEL8_ETPU26(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL8_ETPU26_SHIFT))&SIU_ISEL8_ETPU26_MASK)
  1875. #define SIU_ISEL8_ETPU27_MASK 0x1000u
  1876. #define SIU_ISEL8_ETPU27_SHIFT 12u
  1877. #define SIU_ISEL8_ETPU27_WIDTH 1u
  1878. #define SIU_ISEL8_ETPU27(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL8_ETPU27_SHIFT))&SIU_ISEL8_ETPU27_MASK)
  1879. #define SIU_ISEL8_ETPU28_MASK 0x10000u
  1880. #define SIU_ISEL8_ETPU28_SHIFT 16u
  1881. #define SIU_ISEL8_ETPU28_WIDTH 1u
  1882. #define SIU_ISEL8_ETPU28(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL8_ETPU28_SHIFT))&SIU_ISEL8_ETPU28_MASK)
  1883. #define SIU_ISEL8_ETPU29_MASK 0x100000u
  1884. #define SIU_ISEL8_ETPU29_SHIFT 20u
  1885. #define SIU_ISEL8_ETPU29_WIDTH 1u
  1886. #define SIU_ISEL8_ETPU29(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL8_ETPU29_SHIFT))&SIU_ISEL8_ETPU29_MASK)
  1887. /* ISEL9 Bit Fields */
  1888. #define SIU_ISEL9_EETSEL0ADV_B_MASK 0x1Fu
  1889. #define SIU_ISEL9_EETSEL0ADV_B_SHIFT 0u
  1890. #define SIU_ISEL9_EETSEL0ADV_B_WIDTH 5u
  1891. #define SIU_ISEL9_EETSEL0ADV_B(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL9_EETSEL0ADV_B_SHIFT))&SIU_ISEL9_EETSEL0ADV_B_MASK)
  1892. #define SIU_ISEL9_EETSEL0ADV_A_MASK 0x1F0000u
  1893. #define SIU_ISEL9_EETSEL0ADV_A_SHIFT 16u
  1894. #define SIU_ISEL9_EETSEL0ADV_A_WIDTH 5u
  1895. #define SIU_ISEL9_EETSEL0ADV_A(x) (((uint32_t)(((uint32_t)(x))<<SIU_ISEL9_EETSEL0ADV_A_SHIFT))&SIU_ISEL9_EETSEL0ADV_A_MASK)
  1896. /* DECFIL1 Bit Fields */
  1897. #define SIU_DECFIL1_ZSELA_MASK 0xFu
  1898. #define SIU_DECFIL1_ZSELA_SHIFT 0u
  1899. #define SIU_DECFIL1_ZSELA_WIDTH 4u
  1900. #define SIU_DECFIL1_ZSELA(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL1_ZSELA_SHIFT))&SIU_DECFIL1_ZSELA_MASK)
  1901. #define SIU_DECFIL1_HSELA_MASK 0xF0u
  1902. #define SIU_DECFIL1_HSELA_SHIFT 4u
  1903. #define SIU_DECFIL1_HSELA_WIDTH 4u
  1904. #define SIU_DECFIL1_HSELA(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL1_HSELA_SHIFT))&SIU_DECFIL1_HSELA_MASK)
  1905. #define SIU_DECFIL1_ZSELB_MASK 0xF00u
  1906. #define SIU_DECFIL1_ZSELB_SHIFT 8u
  1907. #define SIU_DECFIL1_ZSELB_WIDTH 4u
  1908. #define SIU_DECFIL1_ZSELB(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL1_ZSELB_SHIFT))&SIU_DECFIL1_ZSELB_MASK)
  1909. #define SIU_DECFIL1_HSELB_MASK 0xF000u
  1910. #define SIU_DECFIL1_HSELB_SHIFT 12u
  1911. #define SIU_DECFIL1_HSELB_WIDTH 4u
  1912. #define SIU_DECFIL1_HSELB(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL1_HSELB_SHIFT))&SIU_DECFIL1_HSELB_MASK)
  1913. #define SIU_DECFIL1_ZSELC_MASK 0xF0000u
  1914. #define SIU_DECFIL1_ZSELC_SHIFT 16u
  1915. #define SIU_DECFIL1_ZSELC_WIDTH 4u
  1916. #define SIU_DECFIL1_ZSELC(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL1_ZSELC_SHIFT))&SIU_DECFIL1_ZSELC_MASK)
  1917. #define SIU_DECFIL1_HSELC_MASK 0xF00000u
  1918. #define SIU_DECFIL1_HSELC_SHIFT 20u
  1919. #define SIU_DECFIL1_HSELC_WIDTH 4u
  1920. #define SIU_DECFIL1_HSELC(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL1_HSELC_SHIFT))&SIU_DECFIL1_HSELC_MASK)
  1921. #define SIU_DECFIL1_ZSELD_MASK 0xF000000u
  1922. #define SIU_DECFIL1_ZSELD_SHIFT 24u
  1923. #define SIU_DECFIL1_ZSELD_WIDTH 4u
  1924. #define SIU_DECFIL1_ZSELD(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL1_ZSELD_SHIFT))&SIU_DECFIL1_ZSELD_MASK)
  1925. #define SIU_DECFIL1_HSELD_MASK 0xF0000000u
  1926. #define SIU_DECFIL1_HSELD_SHIFT 28u
  1927. #define SIU_DECFIL1_HSELD_WIDTH 4u
  1928. #define SIU_DECFIL1_HSELD(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL1_HSELD_SHIFT))&SIU_DECFIL1_HSELD_MASK)
  1929. /* DECFIL2 Bit Fields */
  1930. #define SIU_DECFIL2_ZSELE_MASK 0xFu
  1931. #define SIU_DECFIL2_ZSELE_SHIFT 0u
  1932. #define SIU_DECFIL2_ZSELE_WIDTH 4u
  1933. #define SIU_DECFIL2_ZSELE(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL2_ZSELE_SHIFT))&SIU_DECFIL2_ZSELE_MASK)
  1934. #define SIU_DECFIL2_HSELE_MASK 0xF0u
  1935. #define SIU_DECFIL2_HSELE_SHIFT 4u
  1936. #define SIU_DECFIL2_HSELE_WIDTH 4u
  1937. #define SIU_DECFIL2_HSELE(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL2_HSELE_SHIFT))&SIU_DECFIL2_HSELE_MASK)
  1938. #define SIU_DECFIL2_ZSELF_MASK 0xF00u
  1939. #define SIU_DECFIL2_ZSELF_SHIFT 8u
  1940. #define SIU_DECFIL2_ZSELF_WIDTH 4u
  1941. #define SIU_DECFIL2_ZSELF(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL2_ZSELF_SHIFT))&SIU_DECFIL2_ZSELF_MASK)
  1942. #define SIU_DECFIL2_HSELF_MASK 0xF000u
  1943. #define SIU_DECFIL2_HSELF_SHIFT 12u
  1944. #define SIU_DECFIL2_HSELF_WIDTH 4u
  1945. #define SIU_DECFIL2_HSELF(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL2_HSELF_SHIFT))&SIU_DECFIL2_HSELF_MASK)
  1946. #define SIU_DECFIL2_ZSELG_MASK 0xF0000u
  1947. #define SIU_DECFIL2_ZSELG_SHIFT 16u
  1948. #define SIU_DECFIL2_ZSELG_WIDTH 4u
  1949. #define SIU_DECFIL2_ZSELG(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL2_ZSELG_SHIFT))&SIU_DECFIL2_ZSELG_MASK)
  1950. #define SIU_DECFIL2_HSELG_MASK 0xF00000u
  1951. #define SIU_DECFIL2_HSELG_SHIFT 20u
  1952. #define SIU_DECFIL2_HSELG_WIDTH 4u
  1953. #define SIU_DECFIL2_HSELG(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL2_HSELG_SHIFT))&SIU_DECFIL2_HSELG_MASK)
  1954. #define SIU_DECFIL2_ZSELH_MASK 0xF000000u
  1955. #define SIU_DECFIL2_ZSELH_SHIFT 24u
  1956. #define SIU_DECFIL2_ZSELH_WIDTH 4u
  1957. #define SIU_DECFIL2_ZSELH(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL2_ZSELH_SHIFT))&SIU_DECFIL2_ZSELH_MASK)
  1958. #define SIU_DECFIL2_HSELH_MASK 0xF0000000u
  1959. #define SIU_DECFIL2_HSELH_SHIFT 28u
  1960. #define SIU_DECFIL2_HSELH_WIDTH 4u
  1961. #define SIU_DECFIL2_HSELH(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL2_HSELH_SHIFT))&SIU_DECFIL2_HSELH_MASK)
  1962. /* DECFIL3 Bit Fields */
  1963. #define SIU_DECFIL3_ZSELI_MASK 0xFu
  1964. #define SIU_DECFIL3_ZSELI_SHIFT 0u
  1965. #define SIU_DECFIL3_ZSELI_WIDTH 4u
  1966. #define SIU_DECFIL3_ZSELI(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL3_ZSELI_SHIFT))&SIU_DECFIL3_ZSELI_MASK)
  1967. #define SIU_DECFIL3_HSELI_MASK 0xF0u
  1968. #define SIU_DECFIL3_HSELI_SHIFT 4u
  1969. #define SIU_DECFIL3_HSELI_WIDTH 4u
  1970. #define SIU_DECFIL3_HSELI(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL3_HSELI_SHIFT))&SIU_DECFIL3_HSELI_MASK)
  1971. #define SIU_DECFIL3_ZSELJ_MASK 0xF00u
  1972. #define SIU_DECFIL3_ZSELJ_SHIFT 8u
  1973. #define SIU_DECFIL3_ZSELJ_WIDTH 4u
  1974. #define SIU_DECFIL3_ZSELJ(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL3_ZSELJ_SHIFT))&SIU_DECFIL3_ZSELJ_MASK)
  1975. #define SIU_DECFIL3_HSELJ_MASK 0xF000u
  1976. #define SIU_DECFIL3_HSELJ_SHIFT 12u
  1977. #define SIU_DECFIL3_HSELJ_WIDTH 4u
  1978. #define SIU_DECFIL3_HSELJ(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL3_HSELJ_SHIFT))&SIU_DECFIL3_HSELJ_MASK)
  1979. #define SIU_DECFIL3_ZSELK_MASK 0xF0000u
  1980. #define SIU_DECFIL3_ZSELK_SHIFT 16u
  1981. #define SIU_DECFIL3_ZSELK_WIDTH 4u
  1982. #define SIU_DECFIL3_ZSELK(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL3_ZSELK_SHIFT))&SIU_DECFIL3_ZSELK_MASK)
  1983. #define SIU_DECFIL3_HSELK_MASK 0xF00000u
  1984. #define SIU_DECFIL3_HSELK_SHIFT 20u
  1985. #define SIU_DECFIL3_HSELK_WIDTH 4u
  1986. #define SIU_DECFIL3_HSELK(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL3_HSELK_SHIFT))&SIU_DECFIL3_HSELK_MASK)
  1987. #define SIU_DECFIL3_ZSELL_MASK 0xF000000u
  1988. #define SIU_DECFIL3_ZSELL_SHIFT 24u
  1989. #define SIU_DECFIL3_ZSELL_WIDTH 4u
  1990. #define SIU_DECFIL3_ZSELL(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL3_ZSELL_SHIFT))&SIU_DECFIL3_ZSELL_MASK)
  1991. #define SIU_DECFIL3_HSELL_MASK 0xF0000000u
  1992. #define SIU_DECFIL3_HSELL_SHIFT 28u
  1993. #define SIU_DECFIL3_HSELL_WIDTH 4u
  1994. #define SIU_DECFIL3_HSELL(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL3_HSELL_SHIFT))&SIU_DECFIL3_HSELL_MASK)
  1995. /* DECFIL4 Bit Fields */
  1996. #define SIU_DECFIL4_TRIG_SRCA_MASK 0xFu
  1997. #define SIU_DECFIL4_TRIG_SRCA_SHIFT 0u
  1998. #define SIU_DECFIL4_TRIG_SRCA_WIDTH 4u
  1999. #define SIU_DECFIL4_TRIG_SRCA(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL4_TRIG_SRCA_SHIFT))&SIU_DECFIL4_TRIG_SRCA_MASK)
  2000. #define SIU_DECFIL4_TRIG_SRCB_MASK 0xF0u
  2001. #define SIU_DECFIL4_TRIG_SRCB_SHIFT 4u
  2002. #define SIU_DECFIL4_TRIG_SRCB_WIDTH 4u
  2003. #define SIU_DECFIL4_TRIG_SRCB(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL4_TRIG_SRCB_SHIFT))&SIU_DECFIL4_TRIG_SRCB_MASK)
  2004. #define SIU_DECFIL4_TRIG_SRCC_MASK 0xF00u
  2005. #define SIU_DECFIL4_TRIG_SRCC_SHIFT 8u
  2006. #define SIU_DECFIL4_TRIG_SRCC_WIDTH 4u
  2007. #define SIU_DECFIL4_TRIG_SRCC(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL4_TRIG_SRCC_SHIFT))&SIU_DECFIL4_TRIG_SRCC_MASK)
  2008. #define SIU_DECFIL4_TRIG_SRCD_MASK 0xF000u
  2009. #define SIU_DECFIL4_TRIG_SRCD_SHIFT 12u
  2010. #define SIU_DECFIL4_TRIG_SRCD_WIDTH 4u
  2011. #define SIU_DECFIL4_TRIG_SRCD(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL4_TRIG_SRCD_SHIFT))&SIU_DECFIL4_TRIG_SRCD_MASK)
  2012. #define SIU_DECFIL4_TRIG_SRCE_MASK 0xF0000u
  2013. #define SIU_DECFIL4_TRIG_SRCE_SHIFT 16u
  2014. #define SIU_DECFIL4_TRIG_SRCE_WIDTH 4u
  2015. #define SIU_DECFIL4_TRIG_SRCE(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL4_TRIG_SRCE_SHIFT))&SIU_DECFIL4_TRIG_SRCE_MASK)
  2016. #define SIU_DECFIL4_TRIG_SRCF_MASK 0xF00000u
  2017. #define SIU_DECFIL4_TRIG_SRCF_SHIFT 20u
  2018. #define SIU_DECFIL4_TRIG_SRCF_WIDTH 4u
  2019. #define SIU_DECFIL4_TRIG_SRCF(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL4_TRIG_SRCF_SHIFT))&SIU_DECFIL4_TRIG_SRCF_MASK)
  2020. #define SIU_DECFIL4_TRIG_SRCG_MASK 0xF000000u
  2021. #define SIU_DECFIL4_TRIG_SRCG_SHIFT 24u
  2022. #define SIU_DECFIL4_TRIG_SRCG_WIDTH 4u
  2023. #define SIU_DECFIL4_TRIG_SRCG(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL4_TRIG_SRCG_SHIFT))&SIU_DECFIL4_TRIG_SRCG_MASK)
  2024. #define SIU_DECFIL4_TRIG_SRCH_MASK 0xF0000000u
  2025. #define SIU_DECFIL4_TRIG_SRCH_SHIFT 28u
  2026. #define SIU_DECFIL4_TRIG_SRCH_WIDTH 4u
  2027. #define SIU_DECFIL4_TRIG_SRCH(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL4_TRIG_SRCH_SHIFT))&SIU_DECFIL4_TRIG_SRCH_MASK)
  2028. /* DECFIL5 Bit Fields */
  2029. #define SIU_DECFIL5_TRIG_SRCI_MASK 0xF0000u
  2030. #define SIU_DECFIL5_TRIG_SRCI_SHIFT 16u
  2031. #define SIU_DECFIL5_TRIG_SRCI_WIDTH 4u
  2032. #define SIU_DECFIL5_TRIG_SRCI(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL5_TRIG_SRCI_SHIFT))&SIU_DECFIL5_TRIG_SRCI_MASK)
  2033. #define SIU_DECFIL5_TRIG_SRCJ_MASK 0xF00000u
  2034. #define SIU_DECFIL5_TRIG_SRCJ_SHIFT 20u
  2035. #define SIU_DECFIL5_TRIG_SRCJ_WIDTH 4u
  2036. #define SIU_DECFIL5_TRIG_SRCJ(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL5_TRIG_SRCJ_SHIFT))&SIU_DECFIL5_TRIG_SRCJ_MASK)
  2037. #define SIU_DECFIL5_TRIG_SRCK_MASK 0xF000000u
  2038. #define SIU_DECFIL5_TRIG_SRCK_SHIFT 24u
  2039. #define SIU_DECFIL5_TRIG_SRCK_WIDTH 4u
  2040. #define SIU_DECFIL5_TRIG_SRCK(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL5_TRIG_SRCK_SHIFT))&SIU_DECFIL5_TRIG_SRCK_MASK)
  2041. #define SIU_DECFIL5_TRIG_SRCL_MASK 0xF0000000u
  2042. #define SIU_DECFIL5_TRIG_SRCL_SHIFT 28u
  2043. #define SIU_DECFIL5_TRIG_SRCL_WIDTH 4u
  2044. #define SIU_DECFIL5_TRIG_SRCL(x) (((uint32_t)(((uint32_t)(x))<<SIU_DECFIL5_TRIG_SRCL_SHIFT))&SIU_DECFIL5_TRIG_SRCL_MASK)
  2045. /* REACTSR Bit Fields */
  2046. #define SIU_REACTSR_TS0_MASK 0x3u
  2047. #define SIU_REACTSR_TS0_SHIFT 0u
  2048. #define SIU_REACTSR_TS0_WIDTH 2u
  2049. #define SIU_REACTSR_TS0(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS0_SHIFT))&SIU_REACTSR_TS0_MASK)
  2050. #define SIU_REACTSR_TS1_MASK 0xCu
  2051. #define SIU_REACTSR_TS1_SHIFT 2u
  2052. #define SIU_REACTSR_TS1_WIDTH 2u
  2053. #define SIU_REACTSR_TS1(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS1_SHIFT))&SIU_REACTSR_TS1_MASK)
  2054. #define SIU_REACTSR_TS2_MASK 0x30u
  2055. #define SIU_REACTSR_TS2_SHIFT 4u
  2056. #define SIU_REACTSR_TS2_WIDTH 2u
  2057. #define SIU_REACTSR_TS2(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS2_SHIFT))&SIU_REACTSR_TS2_MASK)
  2058. #define SIU_REACTSR_TS3_MASK 0xC0u
  2059. #define SIU_REACTSR_TS3_SHIFT 6u
  2060. #define SIU_REACTSR_TS3_WIDTH 2u
  2061. #define SIU_REACTSR_TS3(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS3_SHIFT))&SIU_REACTSR_TS3_MASK)
  2062. #define SIU_REACTSR_TS4_MASK 0x300u
  2063. #define SIU_REACTSR_TS4_SHIFT 8u
  2064. #define SIU_REACTSR_TS4_WIDTH 2u
  2065. #define SIU_REACTSR_TS4(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS4_SHIFT))&SIU_REACTSR_TS4_MASK)
  2066. #define SIU_REACTSR_TS5_MASK 0xC00u
  2067. #define SIU_REACTSR_TS5_SHIFT 10u
  2068. #define SIU_REACTSR_TS5_WIDTH 2u
  2069. #define SIU_REACTSR_TS5(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS5_SHIFT))&SIU_REACTSR_TS5_MASK)
  2070. #define SIU_REACTSR_TS6_MASK 0x3000u
  2071. #define SIU_REACTSR_TS6_SHIFT 12u
  2072. #define SIU_REACTSR_TS6_WIDTH 2u
  2073. #define SIU_REACTSR_TS6(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS6_SHIFT))&SIU_REACTSR_TS6_MASK)
  2074. #define SIU_REACTSR_TS7_MASK 0xC000u
  2075. #define SIU_REACTSR_TS7_SHIFT 14u
  2076. #define SIU_REACTSR_TS7_WIDTH 2u
  2077. #define SIU_REACTSR_TS7(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS7_SHIFT))&SIU_REACTSR_TS7_MASK)
  2078. #define SIU_REACTSR_TS8_MASK 0x30000u
  2079. #define SIU_REACTSR_TS8_SHIFT 16u
  2080. #define SIU_REACTSR_TS8_WIDTH 2u
  2081. #define SIU_REACTSR_TS8(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS8_SHIFT))&SIU_REACTSR_TS8_MASK)
  2082. #define SIU_REACTSR_TS9_MASK 0xC0000u
  2083. #define SIU_REACTSR_TS9_SHIFT 18u
  2084. #define SIU_REACTSR_TS9_WIDTH 2u
  2085. #define SIU_REACTSR_TS9(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS9_SHIFT))&SIU_REACTSR_TS9_MASK)
  2086. #define SIU_REACTSR_TS10_MASK 0x300000u
  2087. #define SIU_REACTSR_TS10_SHIFT 20u
  2088. #define SIU_REACTSR_TS10_WIDTH 2u
  2089. #define SIU_REACTSR_TS10(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS10_SHIFT))&SIU_REACTSR_TS10_MASK)
  2090. #define SIU_REACTSR_TS11_MASK 0xC00000u
  2091. #define SIU_REACTSR_TS11_SHIFT 22u
  2092. #define SIU_REACTSR_TS11_WIDTH 2u
  2093. #define SIU_REACTSR_TS11(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS11_SHIFT))&SIU_REACTSR_TS11_MASK)
  2094. #define SIU_REACTSR_TS12_MASK 0x3000000u
  2095. #define SIU_REACTSR_TS12_SHIFT 24u
  2096. #define SIU_REACTSR_TS12_WIDTH 2u
  2097. #define SIU_REACTSR_TS12(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS12_SHIFT))&SIU_REACTSR_TS12_MASK)
  2098. #define SIU_REACTSR_TS13_MASK 0xC000000u
  2099. #define SIU_REACTSR_TS13_SHIFT 26u
  2100. #define SIU_REACTSR_TS13_WIDTH 2u
  2101. #define SIU_REACTSR_TS13(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS13_SHIFT))&SIU_REACTSR_TS13_MASK)
  2102. #define SIU_REACTSR_TS14_MASK 0x30000000u
  2103. #define SIU_REACTSR_TS14_SHIFT 28u
  2104. #define SIU_REACTSR_TS14_WIDTH 2u
  2105. #define SIU_REACTSR_TS14(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS14_SHIFT))&SIU_REACTSR_TS14_MASK)
  2106. #define SIU_REACTSR_TS15_MASK 0xC0000000u
  2107. #define SIU_REACTSR_TS15_SHIFT 30u
  2108. #define SIU_REACTSR_TS15_WIDTH 2u
  2109. #define SIU_REACTSR_TS15(x) (((uint32_t)(((uint32_t)(x))<<SIU_REACTSR_TS15_SHIFT))&SIU_REACTSR_TS15_MASK)
  2110. /* SDGATE_SEL Bit Fields */
  2111. #define SIU_SDGATE_SEL_SD_A_GATE_SEL_MASK 0xFu
  2112. #define SIU_SDGATE_SEL_SD_A_GATE_SEL_SHIFT 0u
  2113. #define SIU_SDGATE_SEL_SD_A_GATE_SEL_WIDTH 4u
  2114. #define SIU_SDGATE_SEL_SD_A_GATE_SEL(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDGATE_SEL_SD_A_GATE_SEL_SHIFT))&SIU_SDGATE_SEL_SD_A_GATE_SEL_MASK)
  2115. #define SIU_SDGATE_SEL_SD_B_GATE_SEL_MASK 0xF0u
  2116. #define SIU_SDGATE_SEL_SD_B_GATE_SEL_SHIFT 4u
  2117. #define SIU_SDGATE_SEL_SD_B_GATE_SEL_WIDTH 4u
  2118. #define SIU_SDGATE_SEL_SD_B_GATE_SEL(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDGATE_SEL_SD_B_GATE_SEL_SHIFT))&SIU_SDGATE_SEL_SD_B_GATE_SEL_MASK)
  2119. #define SIU_SDGATE_SEL_SD_C_GATE_SEL_MASK 0xF00u
  2120. #define SIU_SDGATE_SEL_SD_C_GATE_SEL_SHIFT 8u
  2121. #define SIU_SDGATE_SEL_SD_C_GATE_SEL_WIDTH 4u
  2122. #define SIU_SDGATE_SEL_SD_C_GATE_SEL(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDGATE_SEL_SD_C_GATE_SEL_SHIFT))&SIU_SDGATE_SEL_SD_C_GATE_SEL_MASK)
  2123. #define SIU_SDGATE_SEL_SD_D_GATE_SEL_MASK 0xF000u
  2124. #define SIU_SDGATE_SEL_SD_D_GATE_SEL_SHIFT 12u
  2125. #define SIU_SDGATE_SEL_SD_D_GATE_SEL_WIDTH 4u
  2126. #define SIU_SDGATE_SEL_SD_D_GATE_SEL(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDGATE_SEL_SD_D_GATE_SEL_SHIFT))&SIU_SDGATE_SEL_SD_D_GATE_SEL_MASK)
  2127. /* SDETPUA Bit Fields */
  2128. #define SIU_SDETPUA_CH30_MASK 0x2u
  2129. #define SIU_SDETPUA_CH30_SHIFT 1u
  2130. #define SIU_SDETPUA_CH30_WIDTH 1u
  2131. #define SIU_SDETPUA_CH30(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH30_SHIFT))&SIU_SDETPUA_CH30_MASK)
  2132. #define SIU_SDETPUA_CH19_MASK 0x1000u
  2133. #define SIU_SDETPUA_CH19_SHIFT 12u
  2134. #define SIU_SDETPUA_CH19_WIDTH 1u
  2135. #define SIU_SDETPUA_CH19(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH19_SHIFT))&SIU_SDETPUA_CH19_MASK)
  2136. #define SIU_SDETPUA_CH17_MASK 0x4000u
  2137. #define SIU_SDETPUA_CH17_SHIFT 14u
  2138. #define SIU_SDETPUA_CH17_WIDTH 1u
  2139. #define SIU_SDETPUA_CH17(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH17_SHIFT))&SIU_SDETPUA_CH17_MASK)
  2140. #define SIU_SDETPUA_CH16_MASK 0x8000u
  2141. #define SIU_SDETPUA_CH16_SHIFT 15u
  2142. #define SIU_SDETPUA_CH16_WIDTH 1u
  2143. #define SIU_SDETPUA_CH16(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH16_SHIFT))&SIU_SDETPUA_CH16_MASK)
  2144. #define SIU_SDETPUA_CH15_MASK 0x10000u
  2145. #define SIU_SDETPUA_CH15_SHIFT 16u
  2146. #define SIU_SDETPUA_CH15_WIDTH 1u
  2147. #define SIU_SDETPUA_CH15(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH15_SHIFT))&SIU_SDETPUA_CH15_MASK)
  2148. #define SIU_SDETPUA_CH14_MASK 0x20000u
  2149. #define SIU_SDETPUA_CH14_SHIFT 17u
  2150. #define SIU_SDETPUA_CH14_WIDTH 1u
  2151. #define SIU_SDETPUA_CH14(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH14_SHIFT))&SIU_SDETPUA_CH14_MASK)
  2152. #define SIU_SDETPUA_CH12_MASK 0x80000u
  2153. #define SIU_SDETPUA_CH12_SHIFT 19u
  2154. #define SIU_SDETPUA_CH12_WIDTH 1u
  2155. #define SIU_SDETPUA_CH12(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH12_SHIFT))&SIU_SDETPUA_CH12_MASK)
  2156. #define SIU_SDETPUA_CH11_MASK 0x100000u
  2157. #define SIU_SDETPUA_CH11_SHIFT 20u
  2158. #define SIU_SDETPUA_CH11_WIDTH 1u
  2159. #define SIU_SDETPUA_CH11(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH11_SHIFT))&SIU_SDETPUA_CH11_MASK)
  2160. #define SIU_SDETPUA_CH10_MASK 0x200000u
  2161. #define SIU_SDETPUA_CH10_SHIFT 21u
  2162. #define SIU_SDETPUA_CH10_WIDTH 1u
  2163. #define SIU_SDETPUA_CH10(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH10_SHIFT))&SIU_SDETPUA_CH10_MASK)
  2164. #define SIU_SDETPUA_CH9_MASK 0x400000u
  2165. #define SIU_SDETPUA_CH9_SHIFT 22u
  2166. #define SIU_SDETPUA_CH9_WIDTH 1u
  2167. #define SIU_SDETPUA_CH9(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH9_SHIFT))&SIU_SDETPUA_CH9_MASK)
  2168. #define SIU_SDETPUA_CH7_MASK 0x1000000u
  2169. #define SIU_SDETPUA_CH7_SHIFT 24u
  2170. #define SIU_SDETPUA_CH7_WIDTH 1u
  2171. #define SIU_SDETPUA_CH7(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH7_SHIFT))&SIU_SDETPUA_CH7_MASK)
  2172. #define SIU_SDETPUA_CH6_MASK 0x2000000u
  2173. #define SIU_SDETPUA_CH6_SHIFT 25u
  2174. #define SIU_SDETPUA_CH6_WIDTH 1u
  2175. #define SIU_SDETPUA_CH6(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH6_SHIFT))&SIU_SDETPUA_CH6_MASK)
  2176. #define SIU_SDETPUA_CH5_MASK 0x4000000u
  2177. #define SIU_SDETPUA_CH5_SHIFT 26u
  2178. #define SIU_SDETPUA_CH5_WIDTH 1u
  2179. #define SIU_SDETPUA_CH5(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH5_SHIFT))&SIU_SDETPUA_CH5_MASK)
  2180. #define SIU_SDETPUA_CH4_MASK 0x8000000u
  2181. #define SIU_SDETPUA_CH4_SHIFT 27u
  2182. #define SIU_SDETPUA_CH4_WIDTH 1u
  2183. #define SIU_SDETPUA_CH4(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH4_SHIFT))&SIU_SDETPUA_CH4_MASK)
  2184. #define SIU_SDETPUA_CH2_MASK 0x20000000u
  2185. #define SIU_SDETPUA_CH2_SHIFT 29u
  2186. #define SIU_SDETPUA_CH2_WIDTH 1u
  2187. #define SIU_SDETPUA_CH2(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH2_SHIFT))&SIU_SDETPUA_CH2_MASK)
  2188. #define SIU_SDETPUA_CH1_MASK 0x40000000u
  2189. #define SIU_SDETPUA_CH1_SHIFT 30u
  2190. #define SIU_SDETPUA_CH1_WIDTH 1u
  2191. #define SIU_SDETPUA_CH1(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUA_CH1_SHIFT))&SIU_SDETPUA_CH1_MASK)
  2192. /* SDETPUB Bit Fields */
  2193. #define SIU_SDETPUB_CH30_MASK 0x2u
  2194. #define SIU_SDETPUB_CH30_SHIFT 1u
  2195. #define SIU_SDETPUB_CH30_WIDTH 1u
  2196. #define SIU_SDETPUB_CH30(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH30_SHIFT))&SIU_SDETPUB_CH30_MASK)
  2197. #define SIU_SDETPUB_CH19_MASK 0x1000u
  2198. #define SIU_SDETPUB_CH19_SHIFT 12u
  2199. #define SIU_SDETPUB_CH19_WIDTH 1u
  2200. #define SIU_SDETPUB_CH19(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH19_SHIFT))&SIU_SDETPUB_CH19_MASK)
  2201. #define SIU_SDETPUB_CH17_MASK 0x4000u
  2202. #define SIU_SDETPUB_CH17_SHIFT 14u
  2203. #define SIU_SDETPUB_CH17_WIDTH 1u
  2204. #define SIU_SDETPUB_CH17(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH17_SHIFT))&SIU_SDETPUB_CH17_MASK)
  2205. #define SIU_SDETPUB_CH16_MASK 0x8000u
  2206. #define SIU_SDETPUB_CH16_SHIFT 15u
  2207. #define SIU_SDETPUB_CH16_WIDTH 1u
  2208. #define SIU_SDETPUB_CH16(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH16_SHIFT))&SIU_SDETPUB_CH16_MASK)
  2209. #define SIU_SDETPUB_CH15_MASK 0x10000u
  2210. #define SIU_SDETPUB_CH15_SHIFT 16u
  2211. #define SIU_SDETPUB_CH15_WIDTH 1u
  2212. #define SIU_SDETPUB_CH15(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH15_SHIFT))&SIU_SDETPUB_CH15_MASK)
  2213. #define SIU_SDETPUB_CH14_MASK 0x20000u
  2214. #define SIU_SDETPUB_CH14_SHIFT 17u
  2215. #define SIU_SDETPUB_CH14_WIDTH 1u
  2216. #define SIU_SDETPUB_CH14(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH14_SHIFT))&SIU_SDETPUB_CH14_MASK)
  2217. #define SIU_SDETPUB_CH12_MASK 0x80000u
  2218. #define SIU_SDETPUB_CH12_SHIFT 19u
  2219. #define SIU_SDETPUB_CH12_WIDTH 1u
  2220. #define SIU_SDETPUB_CH12(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH12_SHIFT))&SIU_SDETPUB_CH12_MASK)
  2221. #define SIU_SDETPUB_CH11_MASK 0x100000u
  2222. #define SIU_SDETPUB_CH11_SHIFT 20u
  2223. #define SIU_SDETPUB_CH11_WIDTH 1u
  2224. #define SIU_SDETPUB_CH11(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH11_SHIFT))&SIU_SDETPUB_CH11_MASK)
  2225. #define SIU_SDETPUB_CH10_MASK 0x200000u
  2226. #define SIU_SDETPUB_CH10_SHIFT 21u
  2227. #define SIU_SDETPUB_CH10_WIDTH 1u
  2228. #define SIU_SDETPUB_CH10(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH10_SHIFT))&SIU_SDETPUB_CH10_MASK)
  2229. #define SIU_SDETPUB_CH9_MASK 0x400000u
  2230. #define SIU_SDETPUB_CH9_SHIFT 22u
  2231. #define SIU_SDETPUB_CH9_WIDTH 1u
  2232. #define SIU_SDETPUB_CH9(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH9_SHIFT))&SIU_SDETPUB_CH9_MASK)
  2233. #define SIU_SDETPUB_CH7_MASK 0x1000000u
  2234. #define SIU_SDETPUB_CH7_SHIFT 24u
  2235. #define SIU_SDETPUB_CH7_WIDTH 1u
  2236. #define SIU_SDETPUB_CH7(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH7_SHIFT))&SIU_SDETPUB_CH7_MASK)
  2237. #define SIU_SDETPUB_CH6_MASK 0x2000000u
  2238. #define SIU_SDETPUB_CH6_SHIFT 25u
  2239. #define SIU_SDETPUB_CH6_WIDTH 1u
  2240. #define SIU_SDETPUB_CH6(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH6_SHIFT))&SIU_SDETPUB_CH6_MASK)
  2241. #define SIU_SDETPUB_CH5_MASK 0x4000000u
  2242. #define SIU_SDETPUB_CH5_SHIFT 26u
  2243. #define SIU_SDETPUB_CH5_WIDTH 1u
  2244. #define SIU_SDETPUB_CH5(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH5_SHIFT))&SIU_SDETPUB_CH5_MASK)
  2245. #define SIU_SDETPUB_CH4_MASK 0x8000000u
  2246. #define SIU_SDETPUB_CH4_SHIFT 27u
  2247. #define SIU_SDETPUB_CH4_WIDTH 1u
  2248. #define SIU_SDETPUB_CH4(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH4_SHIFT))&SIU_SDETPUB_CH4_MASK)
  2249. #define SIU_SDETPUB_CH2_MASK 0x20000000u
  2250. #define SIU_SDETPUB_CH2_SHIFT 29u
  2251. #define SIU_SDETPUB_CH2_WIDTH 1u
  2252. #define SIU_SDETPUB_CH2(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH2_SHIFT))&SIU_SDETPUB_CH2_MASK)
  2253. #define SIU_SDETPUB_CH1_MASK 0x40000000u
  2254. #define SIU_SDETPUB_CH1_SHIFT 30u
  2255. #define SIU_SDETPUB_CH1_WIDTH 1u
  2256. #define SIU_SDETPUB_CH1(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUB_CH1_SHIFT))&SIU_SDETPUB_CH1_MASK)
  2257. /* SDETPUC Bit Fields */
  2258. #define SIU_SDETPUC_CH30_MASK 0x2u
  2259. #define SIU_SDETPUC_CH30_SHIFT 1u
  2260. #define SIU_SDETPUC_CH30_WIDTH 1u
  2261. #define SIU_SDETPUC_CH30(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH30_SHIFT))&SIU_SDETPUC_CH30_MASK)
  2262. #define SIU_SDETPUC_CH29_MASK 0x4u
  2263. #define SIU_SDETPUC_CH29_SHIFT 2u
  2264. #define SIU_SDETPUC_CH29_WIDTH 1u
  2265. #define SIU_SDETPUC_CH29(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH29_SHIFT))&SIU_SDETPUC_CH29_MASK)
  2266. #define SIU_SDETPUC_CH28_MASK 0x8u
  2267. #define SIU_SDETPUC_CH28_SHIFT 3u
  2268. #define SIU_SDETPUC_CH28_WIDTH 1u
  2269. #define SIU_SDETPUC_CH28(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH28_SHIFT))&SIU_SDETPUC_CH28_MASK)
  2270. #define SIU_SDETPUC_CH27_MASK 0x10u
  2271. #define SIU_SDETPUC_CH27_SHIFT 4u
  2272. #define SIU_SDETPUC_CH27_WIDTH 1u
  2273. #define SIU_SDETPUC_CH27(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH27_SHIFT))&SIU_SDETPUC_CH27_MASK)
  2274. #define SIU_SDETPUC_CH25_MASK 0x40u
  2275. #define SIU_SDETPUC_CH25_SHIFT 6u
  2276. #define SIU_SDETPUC_CH25_WIDTH 1u
  2277. #define SIU_SDETPUC_CH25(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH25_SHIFT))&SIU_SDETPUC_CH25_MASK)
  2278. #define SIU_SDETPUC_CH14_MASK 0x20000u
  2279. #define SIU_SDETPUC_CH14_SHIFT 17u
  2280. #define SIU_SDETPUC_CH14_WIDTH 1u
  2281. #define SIU_SDETPUC_CH14(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH14_SHIFT))&SIU_SDETPUC_CH14_MASK)
  2282. #define SIU_SDETPUC_CH13_MASK 0x40000u
  2283. #define SIU_SDETPUC_CH13_SHIFT 18u
  2284. #define SIU_SDETPUC_CH13_WIDTH 1u
  2285. #define SIU_SDETPUC_CH13(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH13_SHIFT))&SIU_SDETPUC_CH13_MASK)
  2286. #define SIU_SDETPUC_CH12_MASK 0x80000u
  2287. #define SIU_SDETPUC_CH12_SHIFT 19u
  2288. #define SIU_SDETPUC_CH12_WIDTH 1u
  2289. #define SIU_SDETPUC_CH12(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH12_SHIFT))&SIU_SDETPUC_CH12_MASK)
  2290. #define SIU_SDETPUC_CH10_MASK 0x200000u
  2291. #define SIU_SDETPUC_CH10_SHIFT 21u
  2292. #define SIU_SDETPUC_CH10_WIDTH 1u
  2293. #define SIU_SDETPUC_CH10(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH10_SHIFT))&SIU_SDETPUC_CH10_MASK)
  2294. #define SIU_SDETPUC_CH9_MASK 0x400000u
  2295. #define SIU_SDETPUC_CH9_SHIFT 22u
  2296. #define SIU_SDETPUC_CH9_WIDTH 1u
  2297. #define SIU_SDETPUC_CH9(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH9_SHIFT))&SIU_SDETPUC_CH9_MASK)
  2298. #define SIU_SDETPUC_CH8_MASK 0x800000u
  2299. #define SIU_SDETPUC_CH8_SHIFT 23u
  2300. #define SIU_SDETPUC_CH8_WIDTH 1u
  2301. #define SIU_SDETPUC_CH8(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH8_SHIFT))&SIU_SDETPUC_CH8_MASK)
  2302. #define SIU_SDETPUC_CH7_MASK 0x1000000u
  2303. #define SIU_SDETPUC_CH7_SHIFT 24u
  2304. #define SIU_SDETPUC_CH7_WIDTH 1u
  2305. #define SIU_SDETPUC_CH7(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH7_SHIFT))&SIU_SDETPUC_CH7_MASK)
  2306. #define SIU_SDETPUC_CH5_MASK 0x4000000u
  2307. #define SIU_SDETPUC_CH5_SHIFT 26u
  2308. #define SIU_SDETPUC_CH5_WIDTH 1u
  2309. #define SIU_SDETPUC_CH5(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH5_SHIFT))&SIU_SDETPUC_CH5_MASK)
  2310. #define SIU_SDETPUC_CH4_MASK 0x8000000u
  2311. #define SIU_SDETPUC_CH4_SHIFT 27u
  2312. #define SIU_SDETPUC_CH4_WIDTH 1u
  2313. #define SIU_SDETPUC_CH4(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH4_SHIFT))&SIU_SDETPUC_CH4_MASK)
  2314. #define SIU_SDETPUC_CH3_MASK 0x10000000u
  2315. #define SIU_SDETPUC_CH3_SHIFT 28u
  2316. #define SIU_SDETPUC_CH3_WIDTH 1u
  2317. #define SIU_SDETPUC_CH3(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH3_SHIFT))&SIU_SDETPUC_CH3_MASK)
  2318. #define SIU_SDETPUC_CH2_MASK 0x20000000u
  2319. #define SIU_SDETPUC_CH2_SHIFT 29u
  2320. #define SIU_SDETPUC_CH2_WIDTH 1u
  2321. #define SIU_SDETPUC_CH2(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDETPUC_CH2_SHIFT))&SIU_SDETPUC_CH2_MASK)
  2322. /* TBG_CR_A Bit Fields */
  2323. #define SIU_TBG_CR_A_TRIGPER_MASK 0xFFFFFFu
  2324. #define SIU_TBG_CR_A_TRIGPER_SHIFT 0u
  2325. #define SIU_TBG_CR_A_TRIGPER_WIDTH 24u
  2326. #define SIU_TBG_CR_A_TRIGPER(x) (((uint32_t)(((uint32_t)(x))<<SIU_TBG_CR_A_TRIGPER_SHIFT))&SIU_TBG_CR_A_TRIGPER_MASK)
  2327. #define SIU_TBG_CR_A_CLKSEL_MASK 0xC000000u
  2328. #define SIU_TBG_CR_A_CLKSEL_SHIFT 26u
  2329. #define SIU_TBG_CR_A_CLKSEL_WIDTH 2u
  2330. #define SIU_TBG_CR_A_CLKSEL(x) (((uint32_t)(((uint32_t)(x))<<SIU_TBG_CR_A_CLKSEL_SHIFT))&SIU_TBG_CR_A_CLKSEL_MASK)
  2331. #define SIU_TBG_CR_A_GEN_MASK 0x80000000u
  2332. #define SIU_TBG_CR_A_GEN_SHIFT 31u
  2333. #define SIU_TBG_CR_A_GEN_WIDTH 1u
  2334. #define SIU_TBG_CR_A_GEN(x) (((uint32_t)(((uint32_t)(x))<<SIU_TBG_CR_A_GEN_SHIFT))&SIU_TBG_CR_A_GEN_MASK)
  2335. /* TBG_CR_B Bit Fields */
  2336. #define SIU_TBG_CR_B_TRIGPER_MASK 0xFFFFFFu
  2337. #define SIU_TBG_CR_B_TRIGPER_SHIFT 0u
  2338. #define SIU_TBG_CR_B_TRIGPER_WIDTH 24u
  2339. #define SIU_TBG_CR_B_TRIGPER(x) (((uint32_t)(((uint32_t)(x))<<SIU_TBG_CR_B_TRIGPER_SHIFT))&SIU_TBG_CR_B_TRIGPER_MASK)
  2340. #define SIU_TBG_CR_B_CLKSEL_MASK 0xC000000u
  2341. #define SIU_TBG_CR_B_CLKSEL_SHIFT 26u
  2342. #define SIU_TBG_CR_B_CLKSEL_WIDTH 2u
  2343. #define SIU_TBG_CR_B_CLKSEL(x) (((uint32_t)(((uint32_t)(x))<<SIU_TBG_CR_B_CLKSEL_SHIFT))&SIU_TBG_CR_B_CLKSEL_MASK)
  2344. #define SIU_TBG_CR_B_GEN_MASK 0x80000000u
  2345. #define SIU_TBG_CR_B_GEN_SHIFT 31u
  2346. #define SIU_TBG_CR_B_GEN_WIDTH 1u
  2347. #define SIU_TBG_CR_B_GEN(x) (((uint32_t)(((uint32_t)(x))<<SIU_TBG_CR_B_GEN_SHIFT))&SIU_TBG_CR_B_GEN_MASK)
  2348. /* ECCR Bit Fields */
  2349. #define SIU_ECCR_EBDF_MASK 0x3u
  2350. #define SIU_ECCR_EBDF_SHIFT 0u
  2351. #define SIU_ECCR_EBDF_WIDTH 2u
  2352. #define SIU_ECCR_EBDF(x) (((uint32_t)(((uint32_t)(x))<<SIU_ECCR_EBDF_SHIFT))&SIU_ECCR_EBDF_MASK)
  2353. #define SIU_ECCR_EBTS_MASK 0x8u
  2354. #define SIU_ECCR_EBTS_SHIFT 3u
  2355. #define SIU_ECCR_EBTS_WIDTH 1u
  2356. #define SIU_ECCR_EBTS(x) (((uint32_t)(((uint32_t)(x))<<SIU_ECCR_EBTS_SHIFT))&SIU_ECCR_EBTS_MASK)
  2357. #define SIU_ECCR_ECCS_MASK 0x80u
  2358. #define SIU_ECCR_ECCS_SHIFT 7u
  2359. #define SIU_ECCR_ECCS_WIDTH 1u
  2360. #define SIU_ECCR_ECCS(x) (((uint32_t)(((uint32_t)(x))<<SIU_ECCR_ECCS_SHIFT))&SIU_ECCR_ECCS_MASK)
  2361. #define SIU_ECCR_ENGDIV_MASK 0xFF00u
  2362. #define SIU_ECCR_ENGDIV_SHIFT 8u
  2363. #define SIU_ECCR_ENGDIV_WIDTH 8u
  2364. #define SIU_ECCR_ENGDIV(x) (((uint32_t)(((uint32_t)(x))<<SIU_ECCR_ENGDIV_SHIFT))&SIU_ECCR_ENGDIV_MASK)
  2365. /* SYSDIV Bit Fields */
  2366. #define SIU_SYSDIV_PCSEN_MASK 0x1u
  2367. #define SIU_SYSDIV_PCSEN_SHIFT 0u
  2368. #define SIU_SYSDIV_PCSEN_WIDTH 1u
  2369. #define SIU_SYSDIV_PCSEN(x) (((uint32_t)(((uint32_t)(x))<<SIU_SYSDIV_PCSEN_SHIFT))&SIU_SYSDIV_PCSEN_MASK)
  2370. #define SIU_SYSDIV_SYSCLKDIV_MASK 0x1Cu
  2371. #define SIU_SYSDIV_SYSCLKDIV_SHIFT 2u
  2372. #define SIU_SYSDIV_SYSCLKDIV_WIDTH 3u
  2373. #define SIU_SYSDIV_SYSCLKDIV(x) (((uint32_t)(((uint32_t)(x))<<SIU_SYSDIV_SYSCLKDIV_SHIFT))&SIU_SYSDIV_SYSCLKDIV_MASK)
  2374. #define SIU_SYSDIV_ETPUDIV_MASK 0x100u
  2375. #define SIU_SYSDIV_ETPUDIV_SHIFT 8u
  2376. #define SIU_SYSDIV_ETPUDIV_WIDTH 1u
  2377. #define SIU_SYSDIV_ETPUDIV(x) (((uint32_t)(((uint32_t)(x))<<SIU_SYSDIV_ETPUDIV_SHIFT))&SIU_SYSDIV_ETPUDIV_MASK)
  2378. #define SIU_SYSDIV_SYSCLKSEL_MASK 0x3000u
  2379. #define SIU_SYSDIV_SYSCLKSEL_SHIFT 12u
  2380. #define SIU_SYSDIV_SYSCLKSEL_WIDTH 2u
  2381. #define SIU_SYSDIV_SYSCLKSEL(x) (((uint32_t)(((uint32_t)(x))<<SIU_SYSDIV_SYSCLKSEL_SHIFT))&SIU_SYSDIV_SYSCLKSEL_MASK)
  2382. #define SIU_SYSDIV_MCANSEL_MASK 0x8000u
  2383. #define SIU_SYSDIV_MCANSEL_SHIFT 15u
  2384. #define SIU_SYSDIV_MCANSEL_WIDTH 1u
  2385. #define SIU_SYSDIV_MCANSEL(x) (((uint32_t)(((uint32_t)(x))<<SIU_SYSDIV_MCANSEL_SHIFT))&SIU_SYSDIV_MCANSEL_MASK)
  2386. #define SIU_SYSDIV_PERDIV_MASK 0x30000u
  2387. #define SIU_SYSDIV_PERDIV_SHIFT 16u
  2388. #define SIU_SYSDIV_PERDIV_WIDTH 2u
  2389. #define SIU_SYSDIV_PERDIV(x) (((uint32_t)(((uint32_t)(x))<<SIU_SYSDIV_PERDIV_SHIFT))&SIU_SYSDIV_PERDIV_MASK)
  2390. #define SIU_SYSDIV_FMPERDIV_MASK 0x300000u
  2391. #define SIU_SYSDIV_FMPERDIV_SHIFT 20u
  2392. #define SIU_SYSDIV_FMPERDIV_WIDTH 2u
  2393. #define SIU_SYSDIV_FMPERDIV(x) (((uint32_t)(((uint32_t)(x))<<SIU_SYSDIV_FMPERDIV_SHIFT))&SIU_SYSDIV_FMPERDIV_MASK)
  2394. #define SIU_SYSDIV_PERCLKSEL_MASK 0x1000000u
  2395. #define SIU_SYSDIV_PERCLKSEL_SHIFT 24u
  2396. #define SIU_SYSDIV_PERCLKSEL_WIDTH 1u
  2397. #define SIU_SYSDIV_PERCLKSEL(x) (((uint32_t)(((uint32_t)(x))<<SIU_SYSDIV_PERCLKSEL_SHIFT))&SIU_SYSDIV_PERCLKSEL_MASK)
  2398. #define SIU_SYSDIV_PLL1SEL_MASK 0x4000000u
  2399. #define SIU_SYSDIV_PLL1SEL_SHIFT 26u
  2400. #define SIU_SYSDIV_PLL1SEL_WIDTH 1u
  2401. #define SIU_SYSDIV_PLL1SEL(x) (((uint32_t)(((uint32_t)(x))<<SIU_SYSDIV_PLL1SEL_SHIFT))&SIU_SYSDIV_PLL1SEL_MASK)
  2402. #define SIU_SYSDIV_PLL0SEL_MASK 0x10000000u
  2403. #define SIU_SYSDIV_PLL0SEL_SHIFT 28u
  2404. #define SIU_SYSDIV_PLL0SEL_WIDTH 1u
  2405. #define SIU_SYSDIV_PLL0SEL(x) (((uint32_t)(((uint32_t)(x))<<SIU_SYSDIV_PLL0SEL_SHIFT))&SIU_SYSDIV_PLL0SEL_MASK)
  2406. #define SIU_SYSDIV_LCK_MASK 0x80000000u
  2407. #define SIU_SYSDIV_LCK_SHIFT 31u
  2408. #define SIU_SYSDIV_LCK_WIDTH 1u
  2409. #define SIU_SYSDIV_LCK(x) (((uint32_t)(((uint32_t)(x))<<SIU_SYSDIV_LCK_SHIFT))&SIU_SYSDIV_LCK_MASK)
  2410. #define SIU_SYSDIV_BYPASS_MASK 0x8000000u
  2411. #define SIU_SYSDIV_BYPASS_SHIFT 27u
  2412. #define SIU_SYSDIV_BYPASS_WIDTH 1u
  2413. #define SIU_SYSDIV_BYPASS(x) (((uint32_t)(((uint32_t)(x))<<SIU_SYSDIV_BYPASS_SHIFT))&SIU_SYSDIV_BYPASS_MASK)
  2414. /* HLT1 Bit Fields */
  2415. #define SIU_HLT1_ESCIA_MASK 0x1u
  2416. #define SIU_HLT1_ESCIA_SHIFT 0u
  2417. #define SIU_HLT1_ESCIA_WIDTH 1u
  2418. #define SIU_HLT1_ESCIA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_ESCIA_SHIFT))&SIU_HLT1_ESCIA_MASK)
  2419. #define SIU_HLT1_ESCIB_MASK 0x2u
  2420. #define SIU_HLT1_ESCIB_SHIFT 1u
  2421. #define SIU_HLT1_ESCIB_WIDTH 1u
  2422. #define SIU_HLT1_ESCIB(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_ESCIB_SHIFT))&SIU_HLT1_ESCIB_MASK)
  2423. #define SIU_HLT1_ESCIC_MASK 0x4u
  2424. #define SIU_HLT1_ESCIC_SHIFT 2u
  2425. #define SIU_HLT1_ESCIC_WIDTH 1u
  2426. #define SIU_HLT1_ESCIC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_ESCIC_SHIFT))&SIU_HLT1_ESCIC_MASK)
  2427. #define SIU_HLT1_ESCID_MASK 0x8u
  2428. #define SIU_HLT1_ESCID_SHIFT 3u
  2429. #define SIU_HLT1_ESCID_WIDTH 1u
  2430. #define SIU_HLT1_ESCID(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_ESCID_SHIFT))&SIU_HLT1_ESCID_MASK)
  2431. #define SIU_HLT1_ESCIE_MASK 0x10u
  2432. #define SIU_HLT1_ESCIE_SHIFT 4u
  2433. #define SIU_HLT1_ESCIE_WIDTH 1u
  2434. #define SIU_HLT1_ESCIE(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_ESCIE_SHIFT))&SIU_HLT1_ESCIE_MASK)
  2435. #define SIU_HLT1_ESCIF_MASK 0x20u
  2436. #define SIU_HLT1_ESCIF_SHIFT 5u
  2437. #define SIU_HLT1_ESCIF_WIDTH 1u
  2438. #define SIU_HLT1_ESCIF(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_ESCIF_SHIFT))&SIU_HLT1_ESCIF_MASK)
  2439. #define SIU_HLT1_DSPIE_MASK 0x80u
  2440. #define SIU_HLT1_DSPIE_SHIFT 7u
  2441. #define SIU_HLT1_DSPIE_WIDTH 1u
  2442. #define SIU_HLT1_DSPIE(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_DSPIE_SHIFT))&SIU_HLT1_DSPIE_MASK)
  2443. #define SIU_HLT1_DSPIA_MASK 0x100u
  2444. #define SIU_HLT1_DSPIA_SHIFT 8u
  2445. #define SIU_HLT1_DSPIA_WIDTH 1u
  2446. #define SIU_HLT1_DSPIA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_DSPIA_SHIFT))&SIU_HLT1_DSPIA_MASK)
  2447. #define SIU_HLT1_DSPIB_MASK 0x200u
  2448. #define SIU_HLT1_DSPIB_SHIFT 9u
  2449. #define SIU_HLT1_DSPIB_WIDTH 1u
  2450. #define SIU_HLT1_DSPIB(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_DSPIB_SHIFT))&SIU_HLT1_DSPIB_MASK)
  2451. #define SIU_HLT1_DSPIC_MASK 0x400u
  2452. #define SIU_HLT1_DSPIC_SHIFT 10u
  2453. #define SIU_HLT1_DSPIC_WIDTH 1u
  2454. #define SIU_HLT1_DSPIC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_DSPIC_SHIFT))&SIU_HLT1_DSPIC_MASK)
  2455. #define SIU_HLT1_DSPID_MASK 0x800u
  2456. #define SIU_HLT1_DSPID_SHIFT 11u
  2457. #define SIU_HLT1_DSPID_WIDTH 1u
  2458. #define SIU_HLT1_DSPID(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_DSPID_SHIFT))&SIU_HLT1_DSPID_MASK)
  2459. #define SIU_HLT1_FLEXCANA_MASK 0x1000u
  2460. #define SIU_HLT1_FLEXCANA_SHIFT 12u
  2461. #define SIU_HLT1_FLEXCANA_WIDTH 1u
  2462. #define SIU_HLT1_FLEXCANA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_FLEXCANA_SHIFT))&SIU_HLT1_FLEXCANA_MASK)
  2463. #define SIU_HLT1_FLEXCANB_MASK 0x2000u
  2464. #define SIU_HLT1_FLEXCANB_SHIFT 13u
  2465. #define SIU_HLT1_FLEXCANB_WIDTH 1u
  2466. #define SIU_HLT1_FLEXCANB(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_FLEXCANB_SHIFT))&SIU_HLT1_FLEXCANB_MASK)
  2467. #define SIU_HLT1_FLEXCANC_MASK 0x4000u
  2468. #define SIU_HLT1_FLEXCANC_SHIFT 14u
  2469. #define SIU_HLT1_FLEXCANC_WIDTH 1u
  2470. #define SIU_HLT1_FLEXCANC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_FLEXCANC_SHIFT))&SIU_HLT1_FLEXCANC_MASK)
  2471. #define SIU_HLT1_FLEXCAND_MASK 0x8000u
  2472. #define SIU_HLT1_FLEXCAND_SHIFT 15u
  2473. #define SIU_HLT1_FLEXCAND_WIDTH 1u
  2474. #define SIU_HLT1_FLEXCAND(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_FLEXCAND_SHIFT))&SIU_HLT1_FLEXCAND_MASK)
  2475. #define SIU_HLT1_PIT_MASK 0x40000u
  2476. #define SIU_HLT1_PIT_SHIFT 18u
  2477. #define SIU_HLT1_PIT_WIDTH 1u
  2478. #define SIU_HLT1_PIT(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_PIT_SHIFT))&SIU_HLT1_PIT_MASK)
  2479. #define SIU_HLT1_EMIOS1_MASK 0x80000u
  2480. #define SIU_HLT1_EMIOS1_SHIFT 19u
  2481. #define SIU_HLT1_EMIOS1_WIDTH 1u
  2482. #define SIU_HLT1_EMIOS1(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_EMIOS1_SHIFT))&SIU_HLT1_EMIOS1_MASK)
  2483. #define SIU_HLT1_DECFIL_MASK 0x100000u
  2484. #define SIU_HLT1_DECFIL_SHIFT 20u
  2485. #define SIU_HLT1_DECFIL_WIDTH 1u
  2486. #define SIU_HLT1_DECFIL(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_DECFIL_SHIFT))&SIU_HLT1_DECFIL_MASK)
  2487. #define SIU_HLT1_EMIOS0_MASK 0x200000u
  2488. #define SIU_HLT1_EMIOS0_SHIFT 21u
  2489. #define SIU_HLT1_EMIOS0_WIDTH 1u
  2490. #define SIU_HLT1_EMIOS0(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_EMIOS0_SHIFT))&SIU_HLT1_EMIOS0_MASK)
  2491. #define SIU_HLT1_EQADCA_MASK 0x400000u
  2492. #define SIU_HLT1_EQADCA_SHIFT 22u
  2493. #define SIU_HLT1_EQADCA_WIDTH 1u
  2494. #define SIU_HLT1_EQADCA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_EQADCA_SHIFT))&SIU_HLT1_EQADCA_MASK)
  2495. #define SIU_HLT1_EQADCB_MASK 0x800000u
  2496. #define SIU_HLT1_EQADCB_SHIFT 23u
  2497. #define SIU_HLT1_EQADCB_WIDTH 1u
  2498. #define SIU_HLT1_EQADCB(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_EQADCB_SHIFT))&SIU_HLT1_EQADCB_MASK)
  2499. #define SIU_HLT1_EBI_MASK 0x1000000u
  2500. #define SIU_HLT1_EBI_SHIFT 24u
  2501. #define SIU_HLT1_EBI_WIDTH 1u
  2502. #define SIU_HLT1_EBI(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_EBI_SHIFT))&SIU_HLT1_EBI_MASK)
  2503. #define SIU_HLT1_NPC_MASK 0x2000000u
  2504. #define SIU_HLT1_NPC_SHIFT 25u
  2505. #define SIU_HLT1_NPC_WIDTH 1u
  2506. #define SIU_HLT1_NPC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_NPC_SHIFT))&SIU_HLT1_NPC_MASK)
  2507. #define SIU_HLT1_ETPUA_MASK 0x4000000u
  2508. #define SIU_HLT1_ETPUA_SHIFT 26u
  2509. #define SIU_HLT1_ETPUA_WIDTH 1u
  2510. #define SIU_HLT1_ETPUA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_ETPUA_SHIFT))&SIU_HLT1_ETPUA_MASK)
  2511. #define SIU_HLT1_ETPUC_MASK 0x8000000u
  2512. #define SIU_HLT1_ETPUC_SHIFT 27u
  2513. #define SIU_HLT1_ETPUC_WIDTH 1u
  2514. #define SIU_HLT1_ETPUC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_ETPUC_SHIFT))&SIU_HLT1_ETPUC_MASK)
  2515. #define SIU_HLT1_CSE_MASK 0x10000000u
  2516. #define SIU_HLT1_CSE_SHIFT 28u
  2517. #define SIU_HLT1_CSE_WIDTH 1u
  2518. #define SIU_HLT1_CSE(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_CSE_SHIFT))&SIU_HLT1_CSE_MASK)
  2519. #define SIU_HLT1_CORE1_MASK 0x40000000u
  2520. #define SIU_HLT1_CORE1_SHIFT 30u
  2521. #define SIU_HLT1_CORE1_WIDTH 1u
  2522. #define SIU_HLT1_CORE1(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_CORE1_SHIFT))&SIU_HLT1_CORE1_MASK)
  2523. #define SIU_HLT1_CORE0_MASK 0x80000000u
  2524. #define SIU_HLT1_CORE0_SHIFT 31u
  2525. #define SIU_HLT1_CORE0_WIDTH 1u
  2526. #define SIU_HLT1_CORE0(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT1_CORE0_SHIFT))&SIU_HLT1_CORE0_MASK)
  2527. /* HLTACK1 Bit Fields */
  2528. #define SIU_HLTACK1_ESCIA_MASK 0x1u
  2529. #define SIU_HLTACK1_ESCIA_SHIFT 0u
  2530. #define SIU_HLTACK1_ESCIA_WIDTH 1u
  2531. #define SIU_HLTACK1_ESCIA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_ESCIA_SHIFT))&SIU_HLTACK1_ESCIA_MASK)
  2532. #define SIU_HLTACK1_ESCIB_MASK 0x2u
  2533. #define SIU_HLTACK1_ESCIB_SHIFT 1u
  2534. #define SIU_HLTACK1_ESCIB_WIDTH 1u
  2535. #define SIU_HLTACK1_ESCIB(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_ESCIB_SHIFT))&SIU_HLTACK1_ESCIB_MASK)
  2536. #define SIU_HLTACK1_ESCIC_MASK 0x4u
  2537. #define SIU_HLTACK1_ESCIC_SHIFT 2u
  2538. #define SIU_HLTACK1_ESCIC_WIDTH 1u
  2539. #define SIU_HLTACK1_ESCIC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_ESCIC_SHIFT))&SIU_HLTACK1_ESCIC_MASK)
  2540. #define SIU_HLTACK1_ESCID_MASK 0x8u
  2541. #define SIU_HLTACK1_ESCID_SHIFT 3u
  2542. #define SIU_HLTACK1_ESCID_WIDTH 1u
  2543. #define SIU_HLTACK1_ESCID(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_ESCID_SHIFT))&SIU_HLTACK1_ESCID_MASK)
  2544. #define SIU_HLTACK1_ESCIE_MASK 0x10u
  2545. #define SIU_HLTACK1_ESCIE_SHIFT 4u
  2546. #define SIU_HLTACK1_ESCIE_WIDTH 1u
  2547. #define SIU_HLTACK1_ESCIE(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_ESCIE_SHIFT))&SIU_HLTACK1_ESCIE_MASK)
  2548. #define SIU_HLTACK1_ESCIF_MASK 0x20u
  2549. #define SIU_HLTACK1_ESCIF_SHIFT 5u
  2550. #define SIU_HLTACK1_ESCIF_WIDTH 1u
  2551. #define SIU_HLTACK1_ESCIF(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_ESCIF_SHIFT))&SIU_HLTACK1_ESCIF_MASK)
  2552. #define SIU_HLTACK1_DSPIE_MASK 0x80u
  2553. #define SIU_HLTACK1_DSPIE_SHIFT 7u
  2554. #define SIU_HLTACK1_DSPIE_WIDTH 1u
  2555. #define SIU_HLTACK1_DSPIE(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_DSPIE_SHIFT))&SIU_HLTACK1_DSPIE_MASK)
  2556. #define SIU_HLTACK1_DSPIA_MASK 0x100u
  2557. #define SIU_HLTACK1_DSPIA_SHIFT 8u
  2558. #define SIU_HLTACK1_DSPIA_WIDTH 1u
  2559. #define SIU_HLTACK1_DSPIA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_DSPIA_SHIFT))&SIU_HLTACK1_DSPIA_MASK)
  2560. #define SIU_HLTACK1_DSPIB_MASK 0x200u
  2561. #define SIU_HLTACK1_DSPIB_SHIFT 9u
  2562. #define SIU_HLTACK1_DSPIB_WIDTH 1u
  2563. #define SIU_HLTACK1_DSPIB(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_DSPIB_SHIFT))&SIU_HLTACK1_DSPIB_MASK)
  2564. #define SIU_HLTACK1_DSPIC_MASK 0x400u
  2565. #define SIU_HLTACK1_DSPIC_SHIFT 10u
  2566. #define SIU_HLTACK1_DSPIC_WIDTH 1u
  2567. #define SIU_HLTACK1_DSPIC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_DSPIC_SHIFT))&SIU_HLTACK1_DSPIC_MASK)
  2568. #define SIU_HLTACK1_DSPID_MASK 0x800u
  2569. #define SIU_HLTACK1_DSPID_SHIFT 11u
  2570. #define SIU_HLTACK1_DSPID_WIDTH 1u
  2571. #define SIU_HLTACK1_DSPID(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_DSPID_SHIFT))&SIU_HLTACK1_DSPID_MASK)
  2572. #define SIU_HLTACK1_FLEXCANA_MASK 0x1000u
  2573. #define SIU_HLTACK1_FLEXCANA_SHIFT 12u
  2574. #define SIU_HLTACK1_FLEXCANA_WIDTH 1u
  2575. #define SIU_HLTACK1_FLEXCANA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_FLEXCANA_SHIFT))&SIU_HLTACK1_FLEXCANA_MASK)
  2576. #define SIU_HLTACK1_FLEXCANB_MASK 0x2000u
  2577. #define SIU_HLTACK1_FLEXCANB_SHIFT 13u
  2578. #define SIU_HLTACK1_FLEXCANB_WIDTH 1u
  2579. #define SIU_HLTACK1_FLEXCANB(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_FLEXCANB_SHIFT))&SIU_HLTACK1_FLEXCANB_MASK)
  2580. #define SIU_HLTACK1_FLEXCANC_MASK 0x4000u
  2581. #define SIU_HLTACK1_FLEXCANC_SHIFT 14u
  2582. #define SIU_HLTACK1_FLEXCANC_WIDTH 1u
  2583. #define SIU_HLTACK1_FLEXCANC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_FLEXCANC_SHIFT))&SIU_HLTACK1_FLEXCANC_MASK)
  2584. #define SIU_HLTACK1_FLEXCAND_MASK 0x8000u
  2585. #define SIU_HLTACK1_FLEXCAND_SHIFT 15u
  2586. #define SIU_HLTACK1_FLEXCAND_WIDTH 1u
  2587. #define SIU_HLTACK1_FLEXCAND(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_FLEXCAND_SHIFT))&SIU_HLTACK1_FLEXCAND_MASK)
  2588. #define SIU_HLTACK1_PIT_MASK 0x40000u
  2589. #define SIU_HLTACK1_PIT_SHIFT 18u
  2590. #define SIU_HLTACK1_PIT_WIDTH 1u
  2591. #define SIU_HLTACK1_PIT(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_PIT_SHIFT))&SIU_HLTACK1_PIT_MASK)
  2592. #define SIU_HLTACK1_EMIOS1_MASK 0x80000u
  2593. #define SIU_HLTACK1_EMIOS1_SHIFT 19u
  2594. #define SIU_HLTACK1_EMIOS1_WIDTH 1u
  2595. #define SIU_HLTACK1_EMIOS1(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_EMIOS1_SHIFT))&SIU_HLTACK1_EMIOS1_MASK)
  2596. #define SIU_HLTACK1_DECFIL_MASK 0x100000u
  2597. #define SIU_HLTACK1_DECFIL_SHIFT 20u
  2598. #define SIU_HLTACK1_DECFIL_WIDTH 1u
  2599. #define SIU_HLTACK1_DECFIL(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_DECFIL_SHIFT))&SIU_HLTACK1_DECFIL_MASK)
  2600. #define SIU_HLTACK1_EMIOS0_MASK 0x200000u
  2601. #define SIU_HLTACK1_EMIOS0_SHIFT 21u
  2602. #define SIU_HLTACK1_EMIOS0_WIDTH 1u
  2603. #define SIU_HLTACK1_EMIOS0(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_EMIOS0_SHIFT))&SIU_HLTACK1_EMIOS0_MASK)
  2604. #define SIU_HLTACK1_EQADCA_MASK 0x400000u
  2605. #define SIU_HLTACK1_EQADCA_SHIFT 22u
  2606. #define SIU_HLTACK1_EQADCA_WIDTH 1u
  2607. #define SIU_HLTACK1_EQADCA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_EQADCA_SHIFT))&SIU_HLTACK1_EQADCA_MASK)
  2608. #define SIU_HLTACK1_EQADCB_MASK 0x800000u
  2609. #define SIU_HLTACK1_EQADCB_SHIFT 23u
  2610. #define SIU_HLTACK1_EQADCB_WIDTH 1u
  2611. #define SIU_HLTACK1_EQADCB(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_EQADCB_SHIFT))&SIU_HLTACK1_EQADCB_MASK)
  2612. #define SIU_HLTACK1_EBI_MASK 0x1000000u
  2613. #define SIU_HLTACK1_EBI_SHIFT 24u
  2614. #define SIU_HLTACK1_EBI_WIDTH 1u
  2615. #define SIU_HLTACK1_EBI(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_EBI_SHIFT))&SIU_HLTACK1_EBI_MASK)
  2616. #define SIU_HLTACK1_NPC_MASK 0x2000000u
  2617. #define SIU_HLTACK1_NPC_SHIFT 25u
  2618. #define SIU_HLTACK1_NPC_WIDTH 1u
  2619. #define SIU_HLTACK1_NPC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_NPC_SHIFT))&SIU_HLTACK1_NPC_MASK)
  2620. #define SIU_HLTACK1_ETPUA_MASK 0x4000000u
  2621. #define SIU_HLTACK1_ETPUA_SHIFT 26u
  2622. #define SIU_HLTACK1_ETPUA_WIDTH 1u
  2623. #define SIU_HLTACK1_ETPUA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_ETPUA_SHIFT))&SIU_HLTACK1_ETPUA_MASK)
  2624. #define SIU_HLTACK1_ETPUC_MASK 0x8000000u
  2625. #define SIU_HLTACK1_ETPUC_SHIFT 27u
  2626. #define SIU_HLTACK1_ETPUC_WIDTH 1u
  2627. #define SIU_HLTACK1_ETPUC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_ETPUC_SHIFT))&SIU_HLTACK1_ETPUC_MASK)
  2628. #define SIU_HLTACK1_CSE_MASK 0x10000000u
  2629. #define SIU_HLTACK1_CSE_SHIFT 28u
  2630. #define SIU_HLTACK1_CSE_WIDTH 1u
  2631. #define SIU_HLTACK1_CSE(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_CSE_SHIFT))&SIU_HLTACK1_CSE_MASK)
  2632. #define SIU_HLTACK1_CORE1_MASK 0x40000000u
  2633. #define SIU_HLTACK1_CORE1_SHIFT 30u
  2634. #define SIU_HLTACK1_CORE1_WIDTH 1u
  2635. #define SIU_HLTACK1_CORE1(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_CORE1_SHIFT))&SIU_HLTACK1_CORE1_MASK)
  2636. #define SIU_HLTACK1_CORE0_MASK 0x80000000u
  2637. #define SIU_HLTACK1_CORE0_SHIFT 31u
  2638. #define SIU_HLTACK1_CORE0_WIDTH 1u
  2639. #define SIU_HLTACK1_CORE0(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK1_CORE0_SHIFT))&SIU_HLTACK1_CORE0_MASK)
  2640. /* RSTVEC0 Bit Fields */
  2641. #define SIU_RSTVEC0_VLE_MASK 0x1u
  2642. #define SIU_RSTVEC0_VLE_SHIFT 0u
  2643. #define SIU_RSTVEC0_VLE_WIDTH 1u
  2644. #define SIU_RSTVEC0_VLE(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSTVEC0_VLE_SHIFT))&SIU_RSTVEC0_VLE_MASK)
  2645. #define SIU_RSTVEC0_RST_MASK 0x2u
  2646. #define SIU_RSTVEC0_RST_SHIFT 1u
  2647. #define SIU_RSTVEC0_RST_WIDTH 1u
  2648. #define SIU_RSTVEC0_RST(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSTVEC0_RST_SHIFT))&SIU_RSTVEC0_RST_MASK)
  2649. #define SIU_RSTVEC0_RSTVEC_MASK 0xFFFFFFFCu
  2650. #define SIU_RSTVEC0_RSTVEC_SHIFT 2u
  2651. #define SIU_RSTVEC0_RSTVEC_WIDTH 30u
  2652. #define SIU_RSTVEC0_RSTVEC(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSTVEC0_RSTVEC_SHIFT))&SIU_RSTVEC0_RSTVEC_MASK)
  2653. /* RSTVEC1 Bit Fields */
  2654. #define SIU_RSTVEC1_VLE_MASK 0x1u
  2655. #define SIU_RSTVEC1_VLE_SHIFT 0u
  2656. #define SIU_RSTVEC1_VLE_WIDTH 1u
  2657. #define SIU_RSTVEC1_VLE(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSTVEC1_VLE_SHIFT))&SIU_RSTVEC1_VLE_MASK)
  2658. #define SIU_RSTVEC1_RST_MASK 0x2u
  2659. #define SIU_RSTVEC1_RST_SHIFT 1u
  2660. #define SIU_RSTVEC1_RST_WIDTH 1u
  2661. #define SIU_RSTVEC1_RST(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSTVEC1_RST_SHIFT))&SIU_RSTVEC1_RST_MASK)
  2662. #define SIU_RSTVEC1_RSTVEC_MASK 0xFFFFFFFCu
  2663. #define SIU_RSTVEC1_RSTVEC_SHIFT 2u
  2664. #define SIU_RSTVEC1_RSTVEC_WIDTH 30u
  2665. #define SIU_RSTVEC1_RSTVEC(x) (((uint32_t)(((uint32_t)(x))<<SIU_RSTVEC1_RSTVEC_SHIFT))&SIU_RSTVEC1_RSTVEC_MASK)
  2666. /* C0PID Bit Fields */
  2667. #define SIU_C0PID_EXT_PID_MASK 0x3u
  2668. #define SIU_C0PID_EXT_PID_SHIFT 0u
  2669. #define SIU_C0PID_EXT_PID_WIDTH 2u
  2670. #define SIU_C0PID_EXT_PID(x) (((uint32_t)(((uint32_t)(x))<<SIU_C0PID_EXT_PID_SHIFT))&SIU_C0PID_EXT_PID_MASK)
  2671. #define SIU_C0PID_EXT_PID_SYNC_MASK 0x40000000u
  2672. #define SIU_C0PID_EXT_PID_SYNC_SHIFT 30u
  2673. #define SIU_C0PID_EXT_PID_SYNC_WIDTH 1u
  2674. #define SIU_C0PID_EXT_PID_SYNC(x) (((uint32_t)(((uint32_t)(x))<<SIU_C0PID_EXT_PID_SYNC_SHIFT))&SIU_C0PID_EXT_PID_SYNC_MASK)
  2675. #define SIU_C0PID_EXT_PID_EN_MASK 0x80000000u
  2676. #define SIU_C0PID_EXT_PID_EN_SHIFT 31u
  2677. #define SIU_C0PID_EXT_PID_EN_WIDTH 1u
  2678. #define SIU_C0PID_EXT_PID_EN(x) (((uint32_t)(((uint32_t)(x))<<SIU_C0PID_EXT_PID_EN_SHIFT))&SIU_C0PID_EXT_PID_EN_MASK)
  2679. /* C1PID Bit Fields */
  2680. #define SIU_C1PID_EXT_PID_MASK 0x3u
  2681. #define SIU_C1PID_EXT_PID_SHIFT 0u
  2682. #define SIU_C1PID_EXT_PID_WIDTH 2u
  2683. #define SIU_C1PID_EXT_PID(x) (((uint32_t)(((uint32_t)(x))<<SIU_C1PID_EXT_PID_SHIFT))&SIU_C1PID_EXT_PID_MASK)
  2684. #define SIU_C1PID_EXT_PID_SYNC_MASK 0x40000000u
  2685. #define SIU_C1PID_EXT_PID_SYNC_SHIFT 30u
  2686. #define SIU_C1PID_EXT_PID_SYNC_WIDTH 1u
  2687. #define SIU_C1PID_EXT_PID_SYNC(x) (((uint32_t)(((uint32_t)(x))<<SIU_C1PID_EXT_PID_SYNC_SHIFT))&SIU_C1PID_EXT_PID_SYNC_MASK)
  2688. #define SIU_C1PID_EXT_PID_EN_MASK 0x80000000u
  2689. #define SIU_C1PID_EXT_PID_EN_SHIFT 31u
  2690. #define SIU_C1PID_EXT_PID_EN_WIDTH 1u
  2691. #define SIU_C1PID_EXT_PID_EN(x) (((uint32_t)(((uint32_t)(x))<<SIU_C1PID_EXT_PID_EN_SHIFT))&SIU_C1PID_EXT_PID_EN_MASK)
  2692. /* HLT2 Bit Fields */
  2693. #define SIU_HLT2_MCANA_MASK 0x1u
  2694. #define SIU_HLT2_MCANA_SHIFT 0u
  2695. #define SIU_HLT2_MCANA_WIDTH 1u
  2696. #define SIU_HLT2_MCANA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_MCANA_SHIFT))&SIU_HLT2_MCANA_MASK)
  2697. #define SIU_HLT2_MCANB_MASK 0x2u
  2698. #define SIU_HLT2_MCANB_SHIFT 1u
  2699. #define SIU_HLT2_MCANB_WIDTH 1u
  2700. #define SIU_HLT2_MCANB(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_MCANB_SHIFT))&SIU_HLT2_MCANB_MASK)
  2701. #define SIU_HLT2_PSI5A_MASK 0x10u
  2702. #define SIU_HLT2_PSI5A_SHIFT 4u
  2703. #define SIU_HLT2_PSI5A_WIDTH 1u
  2704. #define SIU_HLT2_PSI5A(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_PSI5A_SHIFT))&SIU_HLT2_PSI5A_MASK)
  2705. #define SIU_HLT2_PSI5B_MASK 0x20u
  2706. #define SIU_HLT2_PSI5B_SHIFT 5u
  2707. #define SIU_HLT2_PSI5B_WIDTH 1u
  2708. #define SIU_HLT2_PSI5B(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_PSI5B_SHIFT))&SIU_HLT2_PSI5B_MASK)
  2709. #define SIU_HLT2_SRX0_MASK 0x100u
  2710. #define SIU_HLT2_SRX0_SHIFT 8u
  2711. #define SIU_HLT2_SRX0_WIDTH 1u
  2712. #define SIU_HLT2_SRX0(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_SRX0_SHIFT))&SIU_HLT2_SRX0_MASK)
  2713. #define SIU_HLT2_SRX1_MASK 0x200u
  2714. #define SIU_HLT2_SRX1_SHIFT 9u
  2715. #define SIU_HLT2_SRX1_WIDTH 1u
  2716. #define SIU_HLT2_SRX1(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_SRX1_SHIFT))&SIU_HLT2_SRX1_MASK)
  2717. #define SIU_HLT2_STCU_MASK 0x2000u
  2718. #define SIU_HLT2_STCU_SHIFT 13u
  2719. #define SIU_HLT2_STCU_WIDTH 1u
  2720. #define SIU_HLT2_STCU(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_STCU_SHIFT))&SIU_HLT2_STCU_MASK)
  2721. #define SIU_HLT2_CRC_MASK 0x4000u
  2722. #define SIU_HLT2_CRC_SHIFT 14u
  2723. #define SIU_HLT2_CRC_WIDTH 1u
  2724. #define SIU_HLT2_CRC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_CRC_SHIFT))&SIU_HLT2_CRC_MASK)
  2725. #define SIU_HLT2_SIPI_MASK 0x8000u
  2726. #define SIU_HLT2_SIPI_SHIFT 15u
  2727. #define SIU_HLT2_SIPI_WIDTH 1u
  2728. #define SIU_HLT2_SIPI(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_SIPI_SHIFT))&SIU_HLT2_SIPI_MASK)
  2729. #define SIU_HLT2_SDA_MASK 0x10000u
  2730. #define SIU_HLT2_SDA_SHIFT 16u
  2731. #define SIU_HLT2_SDA_WIDTH 1u
  2732. #define SIU_HLT2_SDA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_SDA_SHIFT))&SIU_HLT2_SDA_MASK)
  2733. #define SIU_HLT2_SDB_MASK 0x20000u
  2734. #define SIU_HLT2_SDB_SHIFT 17u
  2735. #define SIU_HLT2_SDB_WIDTH 1u
  2736. #define SIU_HLT2_SDB(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_SDB_SHIFT))&SIU_HLT2_SDB_MASK)
  2737. #define SIU_HLT2_SDC_MASK 0x40000u
  2738. #define SIU_HLT2_SDC_SHIFT 18u
  2739. #define SIU_HLT2_SDC_WIDTH 1u
  2740. #define SIU_HLT2_SDC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_SDC_SHIFT))&SIU_HLT2_SDC_MASK)
  2741. #define SIU_HLT2_SDD_MASK 0x80000u
  2742. #define SIU_HLT2_SDD_SHIFT 19u
  2743. #define SIU_HLT2_SDD_WIDTH 1u
  2744. #define SIU_HLT2_SDD(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_SDD_SHIFT))&SIU_HLT2_SDD_MASK)
  2745. #define SIU_HLT2_FEC_MASK 0x80000000u
  2746. #define SIU_HLT2_FEC_SHIFT 31u
  2747. #define SIU_HLT2_FEC_WIDTH 1u
  2748. #define SIU_HLT2_FEC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLT2_FEC_SHIFT))&SIU_HLT2_FEC_MASK)
  2749. /* HLTACK2 Bit Fields */
  2750. #define SIU_HLTACK2_MCANA_MASK 0x1u
  2751. #define SIU_HLTACK2_MCANA_SHIFT 0u
  2752. #define SIU_HLTACK2_MCANA_WIDTH 1u
  2753. #define SIU_HLTACK2_MCANA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_MCANA_SHIFT))&SIU_HLTACK2_MCANA_MASK)
  2754. #define SIU_HLTACK2_MCANB_MASK 0x2u
  2755. #define SIU_HLTACK2_MCANB_SHIFT 1u
  2756. #define SIU_HLTACK2_MCANB_WIDTH 1u
  2757. #define SIU_HLTACK2_MCANB(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_MCANB_SHIFT))&SIU_HLTACK2_MCANB_MASK)
  2758. #define SIU_HLTACK2_PSI5A_MASK 0x10u
  2759. #define SIU_HLTACK2_PSI5A_SHIFT 4u
  2760. #define SIU_HLTACK2_PSI5A_WIDTH 1u
  2761. #define SIU_HLTACK2_PSI5A(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_PSI5A_SHIFT))&SIU_HLTACK2_PSI5A_MASK)
  2762. #define SIU_HLTACK2_PSI5B_MASK 0x20u
  2763. #define SIU_HLTACK2_PSI5B_SHIFT 5u
  2764. #define SIU_HLTACK2_PSI5B_WIDTH 1u
  2765. #define SIU_HLTACK2_PSI5B(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_PSI5B_SHIFT))&SIU_HLTACK2_PSI5B_MASK)
  2766. #define SIU_HLTACK2_SRX0_MASK 0x100u
  2767. #define SIU_HLTACK2_SRX0_SHIFT 8u
  2768. #define SIU_HLTACK2_SRX0_WIDTH 1u
  2769. #define SIU_HLTACK2_SRX0(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_SRX0_SHIFT))&SIU_HLTACK2_SRX0_MASK)
  2770. #define SIU_HLTACK2_SRX1_MASK 0x200u
  2771. #define SIU_HLTACK2_SRX1_SHIFT 9u
  2772. #define SIU_HLTACK2_SRX1_WIDTH 1u
  2773. #define SIU_HLTACK2_SRX1(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_SRX1_SHIFT))&SIU_HLTACK2_SRX1_MASK)
  2774. #define SIU_HLTACK2_STCU_MASK 0x2000u
  2775. #define SIU_HLTACK2_STCU_SHIFT 13u
  2776. #define SIU_HLTACK2_STCU_WIDTH 1u
  2777. #define SIU_HLTACK2_STCU(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_STCU_SHIFT))&SIU_HLTACK2_STCU_MASK)
  2778. #define SIU_HLTACK2_CRC_MASK 0x4000u
  2779. #define SIU_HLTACK2_CRC_SHIFT 14u
  2780. #define SIU_HLTACK2_CRC_WIDTH 1u
  2781. #define SIU_HLTACK2_CRC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_CRC_SHIFT))&SIU_HLTACK2_CRC_MASK)
  2782. #define SIU_HLTACK2_SIPI_MASK 0x8000u
  2783. #define SIU_HLTACK2_SIPI_SHIFT 15u
  2784. #define SIU_HLTACK2_SIPI_WIDTH 1u
  2785. #define SIU_HLTACK2_SIPI(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_SIPI_SHIFT))&SIU_HLTACK2_SIPI_MASK)
  2786. #define SIU_HLTACK2_SDA_MASK 0x10000u
  2787. #define SIU_HLTACK2_SDA_SHIFT 16u
  2788. #define SIU_HLTACK2_SDA_WIDTH 1u
  2789. #define SIU_HLTACK2_SDA(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_SDA_SHIFT))&SIU_HLTACK2_SDA_MASK)
  2790. #define SIU_HLTACK2_SDB_MASK 0x20000u
  2791. #define SIU_HLTACK2_SDB_SHIFT 17u
  2792. #define SIU_HLTACK2_SDB_WIDTH 1u
  2793. #define SIU_HLTACK2_SDB(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_SDB_SHIFT))&SIU_HLTACK2_SDB_MASK)
  2794. #define SIU_HLTACK2_SDC_MASK 0x40000u
  2795. #define SIU_HLTACK2_SDC_SHIFT 18u
  2796. #define SIU_HLTACK2_SDC_WIDTH 1u
  2797. #define SIU_HLTACK2_SDC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_SDC_SHIFT))&SIU_HLTACK2_SDC_MASK)
  2798. #define SIU_HLTACK2_SDD_MASK 0x80000u
  2799. #define SIU_HLTACK2_SDD_SHIFT 19u
  2800. #define SIU_HLTACK2_SDD_WIDTH 1u
  2801. #define SIU_HLTACK2_SDD(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_SDD_SHIFT))&SIU_HLTACK2_SDD_MASK)
  2802. #define SIU_HLTACK2_FEC_MASK 0x80000000u
  2803. #define SIU_HLTACK2_FEC_SHIFT 31u
  2804. #define SIU_HLTACK2_FEC_WIDTH 1u
  2805. #define SIU_HLTACK2_FEC(x) (((uint32_t)(((uint32_t)(x))<<SIU_HLTACK2_FEC_SHIFT))&SIU_HLTACK2_FEC_MASK)
  2806. /* SDCLKCFG Bit Fields */
  2807. #define SIU_SDCLKCFG_SDDIV_MASK 0x7Fu
  2808. #define SIU_SDCLKCFG_SDDIV_SHIFT 0u
  2809. #define SIU_SDCLKCFG_SDDIV_WIDTH 7u
  2810. #define SIU_SDCLKCFG_SDDIV(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDCLKCFG_SDDIV_SHIFT))&SIU_SDCLKCFG_SDDIV_MASK)
  2811. #define SIU_SDCLKCFG_LCK_MASK 0x80000000u
  2812. #define SIU_SDCLKCFG_LCK_SHIFT 31u
  2813. #define SIU_SDCLKCFG_LCK_WIDTH 1u
  2814. #define SIU_SDCLKCFG_LCK(x) (((uint32_t)(((uint32_t)(x))<<SIU_SDCLKCFG_LCK_SHIFT))&SIU_SDCLKCFG_LCK_MASK)
  2815. /* LFCLKCFG Bit Fields */
  2816. #define SIU_LFCLKCFG_LFDIV_MASK 0x7Fu
  2817. #define SIU_LFCLKCFG_LFDIV_SHIFT 0u
  2818. #define SIU_LFCLKCFG_LFDIV_WIDTH 7u
  2819. #define SIU_LFCLKCFG_LFDIV(x) (((uint32_t)(((uint32_t)(x))<<SIU_LFCLKCFG_LFDIV_SHIFT))&SIU_LFCLKCFG_LFDIV_MASK)
  2820. #define SIU_LFCLKCFG_LFCLKSEL_MASK 0x3000u
  2821. #define SIU_LFCLKCFG_LFCLKSEL_SHIFT 12u
  2822. #define SIU_LFCLKCFG_LFCLKSEL_WIDTH 2u
  2823. #define SIU_LFCLKCFG_LFCLKSEL(x) (((uint32_t)(((uint32_t)(x))<<SIU_LFCLKCFG_LFCLKSEL_SHIFT))&SIU_LFCLKCFG_LFCLKSEL_MASK)
  2824. #define SIU_LFCLKCFG_LCK_MASK 0x80000000u
  2825. #define SIU_LFCLKCFG_LCK_SHIFT 31u
  2826. #define SIU_LFCLKCFG_LCK_WIDTH 1u
  2827. #define SIU_LFCLKCFG_LCK(x) (((uint32_t)(((uint32_t)(x))<<SIU_LFCLKCFG_LCK_SHIFT))&SIU_LFCLKCFG_LCK_MASK)
  2828. /* PSCLKCFG Bit Fields */
  2829. #define SIU_PSCLKCFG_PSDIV1M_MASK 0x3FFu
  2830. #define SIU_PSCLKCFG_PSDIV1M_SHIFT 0u
  2831. #define SIU_PSCLKCFG_PSDIV1M_WIDTH 10u
  2832. #define SIU_PSCLKCFG_PSDIV1M(x) (((uint32_t)(((uint32_t)(x))<<SIU_PSCLKCFG_PSDIV1M_SHIFT))&SIU_PSCLKCFG_PSDIV1M_MASK)
  2833. #define SIU_PSCLKCFG_PSDIV_MASK 0xFF0000u
  2834. #define SIU_PSCLKCFG_PSDIV_SHIFT 16u
  2835. #define SIU_PSCLKCFG_PSDIV_WIDTH 8u
  2836. #define SIU_PSCLKCFG_PSDIV(x) (((uint32_t)(((uint32_t)(x))<<SIU_PSCLKCFG_PSDIV_SHIFT))&SIU_PSCLKCFG_PSDIV_MASK)
  2837. #define SIU_PSCLKCFG_LCK_MASK 0x80000000u
  2838. #define SIU_PSCLKCFG_LCK_SHIFT 31u
  2839. #define SIU_PSCLKCFG_LCK_WIDTH 1u
  2840. #define SIU_PSCLKCFG_LCK(x) (((uint32_t)(((uint32_t)(x))<<SIU_PSCLKCFG_LCK_SHIFT))&SIU_PSCLKCFG_LCK_MASK)
  2841. /* RCR Bit Fields */
  2842. #define SIU_RCR_RET_MASK 0xFu
  2843. #define SIU_RCR_RET_SHIFT 0u
  2844. #define SIU_RCR_RET_WIDTH 4u
  2845. #define SIU_RCR_RET(x) (((uint32_t)(((uint32_t)(x))<<SIU_RCR_RET_SHIFT))&SIU_RCR_RET_MASK)
  2846. /* LOCKSTEP Bit Fields */
  2847. #define SIU_LOCKSTEP_LSE_MASK 0x1u
  2848. #define SIU_LOCKSTEP_LSE_SHIFT 0u
  2849. #define SIU_LOCKSTEP_LSE_WIDTH 1u
  2850. #define SIU_LOCKSTEP_LSE(x) (((uint32_t)(((uint32_t)(x))<<SIU_LOCKSTEP_LSE_SHIFT))&SIU_LOCKSTEP_LSE_MASK)
  2851. /* PCSER Bit Fields */
  2852. #define SIU_PCSER_PCSE_MASK 0x1u
  2853. #define SIU_PCSER_PCSE_SHIFT 0u
  2854. #define SIU_PCSER_PCSE_WIDTH 1u
  2855. #define SIU_PCSER_PCSE(x) (((uint32_t)(((uint32_t)(x))<<SIU_PCSER_PCSE_SHIFT))&SIU_PCSER_PCSE_MASK)
  2856. /* PCSIFR Bit Fields */
  2857. #define SIU_PCSIFR_PCSI_MASK 0x1u
  2858. #define SIU_PCSIFR_PCSI_SHIFT 0u
  2859. #define SIU_PCSIFR_PCSI_WIDTH 1u
  2860. #define SIU_PCSIFR_PCSI(x) (((uint32_t)(((uint32_t)(x))<<SIU_PCSIFR_PCSI_SHIFT))&SIU_PCSIFR_PCSI_MASK)
  2861. #define SIU_PCSIFR_PCSMS_MASK 0x6u
  2862. #define SIU_PCSIFR_PCSMS_SHIFT 1u
  2863. #define SIU_PCSIFR_PCSMS_WIDTH 2u
  2864. #define SIU_PCSIFR_PCSMS(x) (((uint32_t)(((uint32_t)(x))<<SIU_PCSIFR_PCSMS_SHIFT))&SIU_PCSIFR_PCSMS_MASK)
  2865. /* FECCR Bit Fields */
  2866. #define SIU_FECCR_FM_MASK 0x1u
  2867. #define SIU_FECCR_FM_SHIFT 0u
  2868. #define SIU_FECCR_FM_WIDTH 1u
  2869. #define SIU_FECCR_FM(x) (((uint32_t)(((uint32_t)(x))<<SIU_FECCR_FM_SHIFT))&SIU_FECCR_FM_MASK)
  2870. /* ECCEIR Bit Fields */
  2871. #define SIU_ECCEIR_CHKINVM_MASK 0x7Fu
  2872. #define SIU_ECCEIR_CHKINVM_SHIFT 0u
  2873. #define SIU_ECCEIR_CHKINVM_WIDTH 7u
  2874. #define SIU_ECCEIR_CHKINVM(x) (((uint32_t)(((uint32_t)(x))<<SIU_ECCEIR_CHKINVM_SHIFT))&SIU_ECCEIR_CHKINVM_MASK)
  2875. #define SIU_ECCEIR_INVC_MASK 0x80u
  2876. #define SIU_ECCEIR_INVC_SHIFT 7u
  2877. #define SIU_ECCEIR_INVC_WIDTH 1u
  2878. #define SIU_ECCEIR_INVC(x) (((uint32_t)(((uint32_t)(x))<<SIU_ECCEIR_INVC_SHIFT))&SIU_ECCEIR_INVC_MASK)
  2879. /* PGPDO Bit Fields */
  2880. #define SIU_PGPDO_PGPDO31_MASK 0x1u
  2881. #define SIU_PGPDO_PGPDO31_SHIFT 0u
  2882. #define SIU_PGPDO_PGPDO31_WIDTH 1u
  2883. #define SIU_PGPDO_PGPDO31(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO31_SHIFT))&SIU_PGPDO_PGPDO31_MASK)
  2884. #define SIU_PGPDO_PGPDO30_MASK 0x2u
  2885. #define SIU_PGPDO_PGPDO30_SHIFT 1u
  2886. #define SIU_PGPDO_PGPDO30_WIDTH 1u
  2887. #define SIU_PGPDO_PGPDO30(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO30_SHIFT))&SIU_PGPDO_PGPDO30_MASK)
  2888. #define SIU_PGPDO_PGPDO29_MASK 0x4u
  2889. #define SIU_PGPDO_PGPDO29_SHIFT 2u
  2890. #define SIU_PGPDO_PGPDO29_WIDTH 1u
  2891. #define SIU_PGPDO_PGPDO29(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO29_SHIFT))&SIU_PGPDO_PGPDO29_MASK)
  2892. #define SIU_PGPDO_PGPDO28_MASK 0x8u
  2893. #define SIU_PGPDO_PGPDO28_SHIFT 3u
  2894. #define SIU_PGPDO_PGPDO28_WIDTH 1u
  2895. #define SIU_PGPDO_PGPDO28(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO28_SHIFT))&SIU_PGPDO_PGPDO28_MASK)
  2896. #define SIU_PGPDO_PGPDO27_MASK 0x10u
  2897. #define SIU_PGPDO_PGPDO27_SHIFT 4u
  2898. #define SIU_PGPDO_PGPDO27_WIDTH 1u
  2899. #define SIU_PGPDO_PGPDO27(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO27_SHIFT))&SIU_PGPDO_PGPDO27_MASK)
  2900. #define SIU_PGPDO_PGPDO26_MASK 0x20u
  2901. #define SIU_PGPDO_PGPDO26_SHIFT 5u
  2902. #define SIU_PGPDO_PGPDO26_WIDTH 1u
  2903. #define SIU_PGPDO_PGPDO26(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO26_SHIFT))&SIU_PGPDO_PGPDO26_MASK)
  2904. #define SIU_PGPDO_PGPDO25_MASK 0x40u
  2905. #define SIU_PGPDO_PGPDO25_SHIFT 6u
  2906. #define SIU_PGPDO_PGPDO25_WIDTH 1u
  2907. #define SIU_PGPDO_PGPDO25(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO25_SHIFT))&SIU_PGPDO_PGPDO25_MASK)
  2908. #define SIU_PGPDO_PGPDO24_MASK 0x80u
  2909. #define SIU_PGPDO_PGPDO24_SHIFT 7u
  2910. #define SIU_PGPDO_PGPDO24_WIDTH 1u
  2911. #define SIU_PGPDO_PGPDO24(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO24_SHIFT))&SIU_PGPDO_PGPDO24_MASK)
  2912. #define SIU_PGPDO_PGPDO23_MASK 0x100u
  2913. #define SIU_PGPDO_PGPDO23_SHIFT 8u
  2914. #define SIU_PGPDO_PGPDO23_WIDTH 1u
  2915. #define SIU_PGPDO_PGPDO23(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO23_SHIFT))&SIU_PGPDO_PGPDO23_MASK)
  2916. #define SIU_PGPDO_PGPDO22_MASK 0x200u
  2917. #define SIU_PGPDO_PGPDO22_SHIFT 9u
  2918. #define SIU_PGPDO_PGPDO22_WIDTH 1u
  2919. #define SIU_PGPDO_PGPDO22(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO22_SHIFT))&SIU_PGPDO_PGPDO22_MASK)
  2920. #define SIU_PGPDO_PGPDO21_MASK 0x400u
  2921. #define SIU_PGPDO_PGPDO21_SHIFT 10u
  2922. #define SIU_PGPDO_PGPDO21_WIDTH 1u
  2923. #define SIU_PGPDO_PGPDO21(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO21_SHIFT))&SIU_PGPDO_PGPDO21_MASK)
  2924. #define SIU_PGPDO_PGPDO20_MASK 0x800u
  2925. #define SIU_PGPDO_PGPDO20_SHIFT 11u
  2926. #define SIU_PGPDO_PGPDO20_WIDTH 1u
  2927. #define SIU_PGPDO_PGPDO20(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO20_SHIFT))&SIU_PGPDO_PGPDO20_MASK)
  2928. #define SIU_PGPDO_PGPDO19_MASK 0x1000u
  2929. #define SIU_PGPDO_PGPDO19_SHIFT 12u
  2930. #define SIU_PGPDO_PGPDO19_WIDTH 1u
  2931. #define SIU_PGPDO_PGPDO19(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO19_SHIFT))&SIU_PGPDO_PGPDO19_MASK)
  2932. #define SIU_PGPDO_PGPDO18_MASK 0x2000u
  2933. #define SIU_PGPDO_PGPDO18_SHIFT 13u
  2934. #define SIU_PGPDO_PGPDO18_WIDTH 1u
  2935. #define SIU_PGPDO_PGPDO18(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO18_SHIFT))&SIU_PGPDO_PGPDO18_MASK)
  2936. #define SIU_PGPDO_PGPDO17_MASK 0x4000u
  2937. #define SIU_PGPDO_PGPDO17_SHIFT 14u
  2938. #define SIU_PGPDO_PGPDO17_WIDTH 1u
  2939. #define SIU_PGPDO_PGPDO17(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO17_SHIFT))&SIU_PGPDO_PGPDO17_MASK)
  2940. #define SIU_PGPDO_PGPDO16_MASK 0x8000u
  2941. #define SIU_PGPDO_PGPDO16_SHIFT 15u
  2942. #define SIU_PGPDO_PGPDO16_WIDTH 1u
  2943. #define SIU_PGPDO_PGPDO16(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO16_SHIFT))&SIU_PGPDO_PGPDO16_MASK)
  2944. #define SIU_PGPDO_PGPDO15_MASK 0x10000u
  2945. #define SIU_PGPDO_PGPDO15_SHIFT 16u
  2946. #define SIU_PGPDO_PGPDO15_WIDTH 1u
  2947. #define SIU_PGPDO_PGPDO15(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO15_SHIFT))&SIU_PGPDO_PGPDO15_MASK)
  2948. #define SIU_PGPDO_PGPDO14_MASK 0x20000u
  2949. #define SIU_PGPDO_PGPDO14_SHIFT 17u
  2950. #define SIU_PGPDO_PGPDO14_WIDTH 1u
  2951. #define SIU_PGPDO_PGPDO14(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO14_SHIFT))&SIU_PGPDO_PGPDO14_MASK)
  2952. #define SIU_PGPDO_PGPDO13_MASK 0x40000u
  2953. #define SIU_PGPDO_PGPDO13_SHIFT 18u
  2954. #define SIU_PGPDO_PGPDO13_WIDTH 1u
  2955. #define SIU_PGPDO_PGPDO13(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO13_SHIFT))&SIU_PGPDO_PGPDO13_MASK)
  2956. #define SIU_PGPDO_PGPDO12_MASK 0x80000u
  2957. #define SIU_PGPDO_PGPDO12_SHIFT 19u
  2958. #define SIU_PGPDO_PGPDO12_WIDTH 1u
  2959. #define SIU_PGPDO_PGPDO12(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO12_SHIFT))&SIU_PGPDO_PGPDO12_MASK)
  2960. #define SIU_PGPDO_PGPDO11_MASK 0x100000u
  2961. #define SIU_PGPDO_PGPDO11_SHIFT 20u
  2962. #define SIU_PGPDO_PGPDO11_WIDTH 1u
  2963. #define SIU_PGPDO_PGPDO11(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO11_SHIFT))&SIU_PGPDO_PGPDO11_MASK)
  2964. #define SIU_PGPDO_PGPDO10_MASK 0x200000u
  2965. #define SIU_PGPDO_PGPDO10_SHIFT 21u
  2966. #define SIU_PGPDO_PGPDO10_WIDTH 1u
  2967. #define SIU_PGPDO_PGPDO10(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO10_SHIFT))&SIU_PGPDO_PGPDO10_MASK)
  2968. #define SIU_PGPDO_PGPDO9_MASK 0x400000u
  2969. #define SIU_PGPDO_PGPDO9_SHIFT 22u
  2970. #define SIU_PGPDO_PGPDO9_WIDTH 1u
  2971. #define SIU_PGPDO_PGPDO9(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO9_SHIFT))&SIU_PGPDO_PGPDO9_MASK)
  2972. #define SIU_PGPDO_PGPDO8_MASK 0x800000u
  2973. #define SIU_PGPDO_PGPDO8_SHIFT 23u
  2974. #define SIU_PGPDO_PGPDO8_WIDTH 1u
  2975. #define SIU_PGPDO_PGPDO8(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO8_SHIFT))&SIU_PGPDO_PGPDO8_MASK)
  2976. #define SIU_PGPDO_PGPDO7_MASK 0x1000000u
  2977. #define SIU_PGPDO_PGPDO7_SHIFT 24u
  2978. #define SIU_PGPDO_PGPDO7_WIDTH 1u
  2979. #define SIU_PGPDO_PGPDO7(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO7_SHIFT))&SIU_PGPDO_PGPDO7_MASK)
  2980. #define SIU_PGPDO_PGPDO6_MASK 0x2000000u
  2981. #define SIU_PGPDO_PGPDO6_SHIFT 25u
  2982. #define SIU_PGPDO_PGPDO6_WIDTH 1u
  2983. #define SIU_PGPDO_PGPDO6(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO6_SHIFT))&SIU_PGPDO_PGPDO6_MASK)
  2984. #define SIU_PGPDO_PGPDO5_MASK 0x4000000u
  2985. #define SIU_PGPDO_PGPDO5_SHIFT 26u
  2986. #define SIU_PGPDO_PGPDO5_WIDTH 1u
  2987. #define SIU_PGPDO_PGPDO5(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO5_SHIFT))&SIU_PGPDO_PGPDO5_MASK)
  2988. #define SIU_PGPDO_PGPDO4_MASK 0x8000000u
  2989. #define SIU_PGPDO_PGPDO4_SHIFT 27u
  2990. #define SIU_PGPDO_PGPDO4_WIDTH 1u
  2991. #define SIU_PGPDO_PGPDO4(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO4_SHIFT))&SIU_PGPDO_PGPDO4_MASK)
  2992. #define SIU_PGPDO_PGPDO3_MASK 0x10000000u
  2993. #define SIU_PGPDO_PGPDO3_SHIFT 28u
  2994. #define SIU_PGPDO_PGPDO3_WIDTH 1u
  2995. #define SIU_PGPDO_PGPDO3(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO3_SHIFT))&SIU_PGPDO_PGPDO3_MASK)
  2996. #define SIU_PGPDO_PGPDO2_MASK 0x20000000u
  2997. #define SIU_PGPDO_PGPDO2_SHIFT 29u
  2998. #define SIU_PGPDO_PGPDO2_WIDTH 1u
  2999. #define SIU_PGPDO_PGPDO2(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO2_SHIFT))&SIU_PGPDO_PGPDO2_MASK)
  3000. #define SIU_PGPDO_PGPDO1_MASK 0x40000000u
  3001. #define SIU_PGPDO_PGPDO1_SHIFT 30u
  3002. #define SIU_PGPDO_PGPDO1_WIDTH 1u
  3003. #define SIU_PGPDO_PGPDO1(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO1_SHIFT))&SIU_PGPDO_PGPDO1_MASK)
  3004. #define SIU_PGPDO_PGPDO0_MASK 0x80000000u
  3005. #define SIU_PGPDO_PGPDO0_SHIFT 31u
  3006. #define SIU_PGPDO_PGPDO0_WIDTH 1u
  3007. #define SIU_PGPDO_PGPDO0(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDO_PGPDO0_SHIFT))&SIU_PGPDO_PGPDO0_MASK)
  3008. /* PGPDI Bit Fields */
  3009. #define SIU_PGPDI_PGPDI31_MASK 0x1u
  3010. #define SIU_PGPDI_PGPDI31_SHIFT 0u
  3011. #define SIU_PGPDI_PGPDI31_WIDTH 1u
  3012. #define SIU_PGPDI_PGPDI31(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI31_SHIFT))&SIU_PGPDI_PGPDI31_MASK)
  3013. #define SIU_PGPDI_PGPDI30_MASK 0x2u
  3014. #define SIU_PGPDI_PGPDI30_SHIFT 1u
  3015. #define SIU_PGPDI_PGPDI30_WIDTH 1u
  3016. #define SIU_PGPDI_PGPDI30(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI30_SHIFT))&SIU_PGPDI_PGPDI30_MASK)
  3017. #define SIU_PGPDI_PGPDI29_MASK 0x4u
  3018. #define SIU_PGPDI_PGPDI29_SHIFT 2u
  3019. #define SIU_PGPDI_PGPDI29_WIDTH 1u
  3020. #define SIU_PGPDI_PGPDI29(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI29_SHIFT))&SIU_PGPDI_PGPDI29_MASK)
  3021. #define SIU_PGPDI_PGPDI28_MASK 0x8u
  3022. #define SIU_PGPDI_PGPDI28_SHIFT 3u
  3023. #define SIU_PGPDI_PGPDI28_WIDTH 1u
  3024. #define SIU_PGPDI_PGPDI28(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI28_SHIFT))&SIU_PGPDI_PGPDI28_MASK)
  3025. #define SIU_PGPDI_PGPDI27_MASK 0x10u
  3026. #define SIU_PGPDI_PGPDI27_SHIFT 4u
  3027. #define SIU_PGPDI_PGPDI27_WIDTH 1u
  3028. #define SIU_PGPDI_PGPDI27(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI27_SHIFT))&SIU_PGPDI_PGPDI27_MASK)
  3029. #define SIU_PGPDI_PGPDI26_MASK 0x20u
  3030. #define SIU_PGPDI_PGPDI26_SHIFT 5u
  3031. #define SIU_PGPDI_PGPDI26_WIDTH 1u
  3032. #define SIU_PGPDI_PGPDI26(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI26_SHIFT))&SIU_PGPDI_PGPDI26_MASK)
  3033. #define SIU_PGPDI_PGPDI25_MASK 0x40u
  3034. #define SIU_PGPDI_PGPDI25_SHIFT 6u
  3035. #define SIU_PGPDI_PGPDI25_WIDTH 1u
  3036. #define SIU_PGPDI_PGPDI25(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI25_SHIFT))&SIU_PGPDI_PGPDI25_MASK)
  3037. #define SIU_PGPDI_PGPDI24_MASK 0x80u
  3038. #define SIU_PGPDI_PGPDI24_SHIFT 7u
  3039. #define SIU_PGPDI_PGPDI24_WIDTH 1u
  3040. #define SIU_PGPDI_PGPDI24(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI24_SHIFT))&SIU_PGPDI_PGPDI24_MASK)
  3041. #define SIU_PGPDI_PGPDI23_MASK 0x100u
  3042. #define SIU_PGPDI_PGPDI23_SHIFT 8u
  3043. #define SIU_PGPDI_PGPDI23_WIDTH 1u
  3044. #define SIU_PGPDI_PGPDI23(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI23_SHIFT))&SIU_PGPDI_PGPDI23_MASK)
  3045. #define SIU_PGPDI_PGPDI22_MASK 0x200u
  3046. #define SIU_PGPDI_PGPDI22_SHIFT 9u
  3047. #define SIU_PGPDI_PGPDI22_WIDTH 1u
  3048. #define SIU_PGPDI_PGPDI22(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI22_SHIFT))&SIU_PGPDI_PGPDI22_MASK)
  3049. #define SIU_PGPDI_PGPDI21_MASK 0x400u
  3050. #define SIU_PGPDI_PGPDI21_SHIFT 10u
  3051. #define SIU_PGPDI_PGPDI21_WIDTH 1u
  3052. #define SIU_PGPDI_PGPDI21(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI21_SHIFT))&SIU_PGPDI_PGPDI21_MASK)
  3053. #define SIU_PGPDI_PGPDI20_MASK 0x800u
  3054. #define SIU_PGPDI_PGPDI20_SHIFT 11u
  3055. #define SIU_PGPDI_PGPDI20_WIDTH 1u
  3056. #define SIU_PGPDI_PGPDI20(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI20_SHIFT))&SIU_PGPDI_PGPDI20_MASK)
  3057. #define SIU_PGPDI_PGPDI19_MASK 0x1000u
  3058. #define SIU_PGPDI_PGPDI19_SHIFT 12u
  3059. #define SIU_PGPDI_PGPDI19_WIDTH 1u
  3060. #define SIU_PGPDI_PGPDI19(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI19_SHIFT))&SIU_PGPDI_PGPDI19_MASK)
  3061. #define SIU_PGPDI_PGPDI18_MASK 0x2000u
  3062. #define SIU_PGPDI_PGPDI18_SHIFT 13u
  3063. #define SIU_PGPDI_PGPDI18_WIDTH 1u
  3064. #define SIU_PGPDI_PGPDI18(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI18_SHIFT))&SIU_PGPDI_PGPDI18_MASK)
  3065. #define SIU_PGPDI_PGPDI17_MASK 0x4000u
  3066. #define SIU_PGPDI_PGPDI17_SHIFT 14u
  3067. #define SIU_PGPDI_PGPDI17_WIDTH 1u
  3068. #define SIU_PGPDI_PGPDI17(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI17_SHIFT))&SIU_PGPDI_PGPDI17_MASK)
  3069. #define SIU_PGPDI_PGPDI16_MASK 0x8000u
  3070. #define SIU_PGPDI_PGPDI16_SHIFT 15u
  3071. #define SIU_PGPDI_PGPDI16_WIDTH 1u
  3072. #define SIU_PGPDI_PGPDI16(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI16_SHIFT))&SIU_PGPDI_PGPDI16_MASK)
  3073. #define SIU_PGPDI_PGPDI15_MASK 0x10000u
  3074. #define SIU_PGPDI_PGPDI15_SHIFT 16u
  3075. #define SIU_PGPDI_PGPDI15_WIDTH 1u
  3076. #define SIU_PGPDI_PGPDI15(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI15_SHIFT))&SIU_PGPDI_PGPDI15_MASK)
  3077. #define SIU_PGPDI_PGPDI14_MASK 0x20000u
  3078. #define SIU_PGPDI_PGPDI14_SHIFT 17u
  3079. #define SIU_PGPDI_PGPDI14_WIDTH 1u
  3080. #define SIU_PGPDI_PGPDI14(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI14_SHIFT))&SIU_PGPDI_PGPDI14_MASK)
  3081. #define SIU_PGPDI_PGPDI13_MASK 0x40000u
  3082. #define SIU_PGPDI_PGPDI13_SHIFT 18u
  3083. #define SIU_PGPDI_PGPDI13_WIDTH 1u
  3084. #define SIU_PGPDI_PGPDI13(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI13_SHIFT))&SIU_PGPDI_PGPDI13_MASK)
  3085. #define SIU_PGPDI_PGPDI12_MASK 0x80000u
  3086. #define SIU_PGPDI_PGPDI12_SHIFT 19u
  3087. #define SIU_PGPDI_PGPDI12_WIDTH 1u
  3088. #define SIU_PGPDI_PGPDI12(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI12_SHIFT))&SIU_PGPDI_PGPDI12_MASK)
  3089. #define SIU_PGPDI_PGPDI11_MASK 0x100000u
  3090. #define SIU_PGPDI_PGPDI11_SHIFT 20u
  3091. #define SIU_PGPDI_PGPDI11_WIDTH 1u
  3092. #define SIU_PGPDI_PGPDI11(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI11_SHIFT))&SIU_PGPDI_PGPDI11_MASK)
  3093. #define SIU_PGPDI_PGPDI10_MASK 0x200000u
  3094. #define SIU_PGPDI_PGPDI10_SHIFT 21u
  3095. #define SIU_PGPDI_PGPDI10_WIDTH 1u
  3096. #define SIU_PGPDI_PGPDI10(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI10_SHIFT))&SIU_PGPDI_PGPDI10_MASK)
  3097. #define SIU_PGPDI_PGPDI9_MASK 0x400000u
  3098. #define SIU_PGPDI_PGPDI9_SHIFT 22u
  3099. #define SIU_PGPDI_PGPDI9_WIDTH 1u
  3100. #define SIU_PGPDI_PGPDI9(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI9_SHIFT))&SIU_PGPDI_PGPDI9_MASK)
  3101. #define SIU_PGPDI_PGPDI8_MASK 0x800000u
  3102. #define SIU_PGPDI_PGPDI8_SHIFT 23u
  3103. #define SIU_PGPDI_PGPDI8_WIDTH 1u
  3104. #define SIU_PGPDI_PGPDI8(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI8_SHIFT))&SIU_PGPDI_PGPDI8_MASK)
  3105. #define SIU_PGPDI_PGPDI7_MASK 0x1000000u
  3106. #define SIU_PGPDI_PGPDI7_SHIFT 24u
  3107. #define SIU_PGPDI_PGPDI7_WIDTH 1u
  3108. #define SIU_PGPDI_PGPDI7(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI7_SHIFT))&SIU_PGPDI_PGPDI7_MASK)
  3109. #define SIU_PGPDI_PGPDI6_MASK 0x2000000u
  3110. #define SIU_PGPDI_PGPDI6_SHIFT 25u
  3111. #define SIU_PGPDI_PGPDI6_WIDTH 1u
  3112. #define SIU_PGPDI_PGPDI6(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI6_SHIFT))&SIU_PGPDI_PGPDI6_MASK)
  3113. #define SIU_PGPDI_PGPDI5_MASK 0x4000000u
  3114. #define SIU_PGPDI_PGPDI5_SHIFT 26u
  3115. #define SIU_PGPDI_PGPDI5_WIDTH 1u
  3116. #define SIU_PGPDI_PGPDI5(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI5_SHIFT))&SIU_PGPDI_PGPDI5_MASK)
  3117. #define SIU_PGPDI_PGPDI4_MASK 0x8000000u
  3118. #define SIU_PGPDI_PGPDI4_SHIFT 27u
  3119. #define SIU_PGPDI_PGPDI4_WIDTH 1u
  3120. #define SIU_PGPDI_PGPDI4(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI4_SHIFT))&SIU_PGPDI_PGPDI4_MASK)
  3121. #define SIU_PGPDI_PGPDI3_MASK 0x10000000u
  3122. #define SIU_PGPDI_PGPDI3_SHIFT 28u
  3123. #define SIU_PGPDI_PGPDI3_WIDTH 1u
  3124. #define SIU_PGPDI_PGPDI3(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI3_SHIFT))&SIU_PGPDI_PGPDI3_MASK)
  3125. #define SIU_PGPDI_PGPDI2_MASK 0x20000000u
  3126. #define SIU_PGPDI_PGPDI2_SHIFT 29u
  3127. #define SIU_PGPDI_PGPDI2_WIDTH 1u
  3128. #define SIU_PGPDI_PGPDI2(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI2_SHIFT))&SIU_PGPDI_PGPDI2_MASK)
  3129. #define SIU_PGPDI_PGPDI1_MASK 0x40000000u
  3130. #define SIU_PGPDI_PGPDI1_SHIFT 30u
  3131. #define SIU_PGPDI_PGPDI1_WIDTH 1u
  3132. #define SIU_PGPDI_PGPDI1(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI1_SHIFT))&SIU_PGPDI_PGPDI1_MASK)
  3133. #define SIU_PGPDI_PGPDI0_MASK 0x80000000u
  3134. #define SIU_PGPDI_PGPDI0_SHIFT 31u
  3135. #define SIU_PGPDI_PGPDI0_WIDTH 1u
  3136. #define SIU_PGPDI_PGPDI0(x) (((uint32_t)(((uint32_t)(x))<<SIU_PGPDI_PGPDI0_SHIFT))&SIU_PGPDI_PGPDI0_MASK)
  3137. /* MPGPDO Bit Fields */
  3138. #define SIU_MPGPDO_DATA15_MASK 0x1u
  3139. #define SIU_MPGPDO_DATA15_SHIFT 0u
  3140. #define SIU_MPGPDO_DATA15_WIDTH 1u
  3141. #define SIU_MPGPDO_DATA15(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA15_SHIFT))&SIU_MPGPDO_DATA15_MASK)
  3142. #define SIU_MPGPDO_DATA14_MASK 0x2u
  3143. #define SIU_MPGPDO_DATA14_SHIFT 1u
  3144. #define SIU_MPGPDO_DATA14_WIDTH 1u
  3145. #define SIU_MPGPDO_DATA14(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA14_SHIFT))&SIU_MPGPDO_DATA14_MASK)
  3146. #define SIU_MPGPDO_DATA13_MASK 0x4u
  3147. #define SIU_MPGPDO_DATA13_SHIFT 2u
  3148. #define SIU_MPGPDO_DATA13_WIDTH 1u
  3149. #define SIU_MPGPDO_DATA13(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA13_SHIFT))&SIU_MPGPDO_DATA13_MASK)
  3150. #define SIU_MPGPDO_DATA12_MASK 0x8u
  3151. #define SIU_MPGPDO_DATA12_SHIFT 3u
  3152. #define SIU_MPGPDO_DATA12_WIDTH 1u
  3153. #define SIU_MPGPDO_DATA12(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA12_SHIFT))&SIU_MPGPDO_DATA12_MASK)
  3154. #define SIU_MPGPDO_DATA11_MASK 0x10u
  3155. #define SIU_MPGPDO_DATA11_SHIFT 4u
  3156. #define SIU_MPGPDO_DATA11_WIDTH 1u
  3157. #define SIU_MPGPDO_DATA11(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA11_SHIFT))&SIU_MPGPDO_DATA11_MASK)
  3158. #define SIU_MPGPDO_DATA10_MASK 0x20u
  3159. #define SIU_MPGPDO_DATA10_SHIFT 5u
  3160. #define SIU_MPGPDO_DATA10_WIDTH 1u
  3161. #define SIU_MPGPDO_DATA10(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA10_SHIFT))&SIU_MPGPDO_DATA10_MASK)
  3162. #define SIU_MPGPDO_DATA9_MASK 0x40u
  3163. #define SIU_MPGPDO_DATA9_SHIFT 6u
  3164. #define SIU_MPGPDO_DATA9_WIDTH 1u
  3165. #define SIU_MPGPDO_DATA9(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA9_SHIFT))&SIU_MPGPDO_DATA9_MASK)
  3166. #define SIU_MPGPDO_DATA8_MASK 0x80u
  3167. #define SIU_MPGPDO_DATA8_SHIFT 7u
  3168. #define SIU_MPGPDO_DATA8_WIDTH 1u
  3169. #define SIU_MPGPDO_DATA8(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA8_SHIFT))&SIU_MPGPDO_DATA8_MASK)
  3170. #define SIU_MPGPDO_DATA7_MASK 0x100u
  3171. #define SIU_MPGPDO_DATA7_SHIFT 8u
  3172. #define SIU_MPGPDO_DATA7_WIDTH 1u
  3173. #define SIU_MPGPDO_DATA7(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA7_SHIFT))&SIU_MPGPDO_DATA7_MASK)
  3174. #define SIU_MPGPDO_DATA6_MASK 0x200u
  3175. #define SIU_MPGPDO_DATA6_SHIFT 9u
  3176. #define SIU_MPGPDO_DATA6_WIDTH 1u
  3177. #define SIU_MPGPDO_DATA6(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA6_SHIFT))&SIU_MPGPDO_DATA6_MASK)
  3178. #define SIU_MPGPDO_DATA5_MASK 0x400u
  3179. #define SIU_MPGPDO_DATA5_SHIFT 10u
  3180. #define SIU_MPGPDO_DATA5_WIDTH 1u
  3181. #define SIU_MPGPDO_DATA5(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA5_SHIFT))&SIU_MPGPDO_DATA5_MASK)
  3182. #define SIU_MPGPDO_DATA4_MASK 0x800u
  3183. #define SIU_MPGPDO_DATA4_SHIFT 11u
  3184. #define SIU_MPGPDO_DATA4_WIDTH 1u
  3185. #define SIU_MPGPDO_DATA4(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA4_SHIFT))&SIU_MPGPDO_DATA4_MASK)
  3186. #define SIU_MPGPDO_DATA3_MASK 0x1000u
  3187. #define SIU_MPGPDO_DATA3_SHIFT 12u
  3188. #define SIU_MPGPDO_DATA3_WIDTH 1u
  3189. #define SIU_MPGPDO_DATA3(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA3_SHIFT))&SIU_MPGPDO_DATA3_MASK)
  3190. #define SIU_MPGPDO_DATA2_MASK 0x2000u
  3191. #define SIU_MPGPDO_DATA2_SHIFT 13u
  3192. #define SIU_MPGPDO_DATA2_WIDTH 1u
  3193. #define SIU_MPGPDO_DATA2(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA2_SHIFT))&SIU_MPGPDO_DATA2_MASK)
  3194. #define SIU_MPGPDO_DATA1_MASK 0x4000u
  3195. #define SIU_MPGPDO_DATA1_SHIFT 14u
  3196. #define SIU_MPGPDO_DATA1_WIDTH 1u
  3197. #define SIU_MPGPDO_DATA1(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA1_SHIFT))&SIU_MPGPDO_DATA1_MASK)
  3198. #define SIU_MPGPDO_DATA0_MASK 0x8000u
  3199. #define SIU_MPGPDO_DATA0_SHIFT 15u
  3200. #define SIU_MPGPDO_DATA0_WIDTH 1u
  3201. #define SIU_MPGPDO_DATA0(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_DATA0_SHIFT))&SIU_MPGPDO_DATA0_MASK)
  3202. #define SIU_MPGPDO_MASK15_MASK 0x10000u
  3203. #define SIU_MPGPDO_MASK15_SHIFT 16u
  3204. #define SIU_MPGPDO_MASK15_WIDTH 1u
  3205. #define SIU_MPGPDO_MASK15(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK15_SHIFT))&SIU_MPGPDO_MASK15_MASK)
  3206. #define SIU_MPGPDO_MASK14_MASK 0x20000u
  3207. #define SIU_MPGPDO_MASK14_SHIFT 17u
  3208. #define SIU_MPGPDO_MASK14_WIDTH 1u
  3209. #define SIU_MPGPDO_MASK14(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK14_SHIFT))&SIU_MPGPDO_MASK14_MASK)
  3210. #define SIU_MPGPDO_MASK13_MASK 0x40000u
  3211. #define SIU_MPGPDO_MASK13_SHIFT 18u
  3212. #define SIU_MPGPDO_MASK13_WIDTH 1u
  3213. #define SIU_MPGPDO_MASK13(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK13_SHIFT))&SIU_MPGPDO_MASK13_MASK)
  3214. #define SIU_MPGPDO_MASK12_MASK 0x80000u
  3215. #define SIU_MPGPDO_MASK12_SHIFT 19u
  3216. #define SIU_MPGPDO_MASK12_WIDTH 1u
  3217. #define SIU_MPGPDO_MASK12(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK12_SHIFT))&SIU_MPGPDO_MASK12_MASK)
  3218. #define SIU_MPGPDO_MASK11_MASK 0x100000u
  3219. #define SIU_MPGPDO_MASK11_SHIFT 20u
  3220. #define SIU_MPGPDO_MASK11_WIDTH 1u
  3221. #define SIU_MPGPDO_MASK11(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK11_SHIFT))&SIU_MPGPDO_MASK11_MASK)
  3222. #define SIU_MPGPDO_MASK10_MASK 0x200000u
  3223. #define SIU_MPGPDO_MASK10_SHIFT 21u
  3224. #define SIU_MPGPDO_MASK10_WIDTH 1u
  3225. #define SIU_MPGPDO_MASK10(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK10_SHIFT))&SIU_MPGPDO_MASK10_MASK)
  3226. #define SIU_MPGPDO_MASK9_MASK 0x400000u
  3227. #define SIU_MPGPDO_MASK9_SHIFT 22u
  3228. #define SIU_MPGPDO_MASK9_WIDTH 1u
  3229. #define SIU_MPGPDO_MASK9(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK9_SHIFT))&SIU_MPGPDO_MASK9_MASK)
  3230. #define SIU_MPGPDO_MASK8_MASK 0x800000u
  3231. #define SIU_MPGPDO_MASK8_SHIFT 23u
  3232. #define SIU_MPGPDO_MASK8_WIDTH 1u
  3233. #define SIU_MPGPDO_MASK8(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK8_SHIFT))&SIU_MPGPDO_MASK8_MASK)
  3234. #define SIU_MPGPDO_MASK7_MASK 0x1000000u
  3235. #define SIU_MPGPDO_MASK7_SHIFT 24u
  3236. #define SIU_MPGPDO_MASK7_WIDTH 1u
  3237. #define SIU_MPGPDO_MASK7(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK7_SHIFT))&SIU_MPGPDO_MASK7_MASK)
  3238. #define SIU_MPGPDO_MASK6_MASK 0x2000000u
  3239. #define SIU_MPGPDO_MASK6_SHIFT 25u
  3240. #define SIU_MPGPDO_MASK6_WIDTH 1u
  3241. #define SIU_MPGPDO_MASK6(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK6_SHIFT))&SIU_MPGPDO_MASK6_MASK)
  3242. #define SIU_MPGPDO_MASK5_MASK 0x4000000u
  3243. #define SIU_MPGPDO_MASK5_SHIFT 26u
  3244. #define SIU_MPGPDO_MASK5_WIDTH 1u
  3245. #define SIU_MPGPDO_MASK5(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK5_SHIFT))&SIU_MPGPDO_MASK5_MASK)
  3246. #define SIU_MPGPDO_MASK4_MASK 0x8000000u
  3247. #define SIU_MPGPDO_MASK4_SHIFT 27u
  3248. #define SIU_MPGPDO_MASK4_WIDTH 1u
  3249. #define SIU_MPGPDO_MASK4(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK4_SHIFT))&SIU_MPGPDO_MASK4_MASK)
  3250. #define SIU_MPGPDO_MASK3_MASK 0x10000000u
  3251. #define SIU_MPGPDO_MASK3_SHIFT 28u
  3252. #define SIU_MPGPDO_MASK3_WIDTH 1u
  3253. #define SIU_MPGPDO_MASK3(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK3_SHIFT))&SIU_MPGPDO_MASK3_MASK)
  3254. #define SIU_MPGPDO_MASK2_MASK 0x20000000u
  3255. #define SIU_MPGPDO_MASK2_SHIFT 29u
  3256. #define SIU_MPGPDO_MASK2_WIDTH 1u
  3257. #define SIU_MPGPDO_MASK2(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK2_SHIFT))&SIU_MPGPDO_MASK2_MASK)
  3258. #define SIU_MPGPDO_MASK1_MASK 0x40000000u
  3259. #define SIU_MPGPDO_MASK1_SHIFT 30u
  3260. #define SIU_MPGPDO_MASK1_WIDTH 1u
  3261. #define SIU_MPGPDO_MASK1(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK1_SHIFT))&SIU_MPGPDO_MASK1_MASK)
  3262. #define SIU_MPGPDO_MASK0_MASK 0x80000000u
  3263. #define SIU_MPGPDO_MASK0_SHIFT 31u
  3264. #define SIU_MPGPDO_MASK0_WIDTH 1u
  3265. #define SIU_MPGPDO_MASK0(x) (((uint32_t)(((uint32_t)(x))<<SIU_MPGPDO_MASK0_SHIFT))&SIU_MPGPDO_MASK0_MASK)
  3266. /* DSPIH Bit Fields */
  3267. #define SIU_DSPIH_DATA15_MASK 0x1u
  3268. #define SIU_DSPIH_DATA15_SHIFT 0u
  3269. #define SIU_DSPIH_DATA15_WIDTH 1u
  3270. #define SIU_DSPIH_DATA15(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA15_SHIFT))&SIU_DSPIH_DATA15_MASK)
  3271. #define SIU_DSPIH_DATA14_MASK 0x2u
  3272. #define SIU_DSPIH_DATA14_SHIFT 1u
  3273. #define SIU_DSPIH_DATA14_WIDTH 1u
  3274. #define SIU_DSPIH_DATA14(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA14_SHIFT))&SIU_DSPIH_DATA14_MASK)
  3275. #define SIU_DSPIH_DATA13_MASK 0x4u
  3276. #define SIU_DSPIH_DATA13_SHIFT 2u
  3277. #define SIU_DSPIH_DATA13_WIDTH 1u
  3278. #define SIU_DSPIH_DATA13(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA13_SHIFT))&SIU_DSPIH_DATA13_MASK)
  3279. #define SIU_DSPIH_DATA12_MASK 0x8u
  3280. #define SIU_DSPIH_DATA12_SHIFT 3u
  3281. #define SIU_DSPIH_DATA12_WIDTH 1u
  3282. #define SIU_DSPIH_DATA12(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA12_SHIFT))&SIU_DSPIH_DATA12_MASK)
  3283. #define SIU_DSPIH_DATA11_MASK 0x10u
  3284. #define SIU_DSPIH_DATA11_SHIFT 4u
  3285. #define SIU_DSPIH_DATA11_WIDTH 1u
  3286. #define SIU_DSPIH_DATA11(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA11_SHIFT))&SIU_DSPIH_DATA11_MASK)
  3287. #define SIU_DSPIH_DATA10_MASK 0x20u
  3288. #define SIU_DSPIH_DATA10_SHIFT 5u
  3289. #define SIU_DSPIH_DATA10_WIDTH 1u
  3290. #define SIU_DSPIH_DATA10(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA10_SHIFT))&SIU_DSPIH_DATA10_MASK)
  3291. #define SIU_DSPIH_DATA9_MASK 0x40u
  3292. #define SIU_DSPIH_DATA9_SHIFT 6u
  3293. #define SIU_DSPIH_DATA9_WIDTH 1u
  3294. #define SIU_DSPIH_DATA9(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA9_SHIFT))&SIU_DSPIH_DATA9_MASK)
  3295. #define SIU_DSPIH_DATA8_MASK 0x80u
  3296. #define SIU_DSPIH_DATA8_SHIFT 7u
  3297. #define SIU_DSPIH_DATA8_WIDTH 1u
  3298. #define SIU_DSPIH_DATA8(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA8_SHIFT))&SIU_DSPIH_DATA8_MASK)
  3299. #define SIU_DSPIH_DATA7_MASK 0x100u
  3300. #define SIU_DSPIH_DATA7_SHIFT 8u
  3301. #define SIU_DSPIH_DATA7_WIDTH 1u
  3302. #define SIU_DSPIH_DATA7(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA7_SHIFT))&SIU_DSPIH_DATA7_MASK)
  3303. #define SIU_DSPIH_DATA6_MASK 0x200u
  3304. #define SIU_DSPIH_DATA6_SHIFT 9u
  3305. #define SIU_DSPIH_DATA6_WIDTH 1u
  3306. #define SIU_DSPIH_DATA6(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA6_SHIFT))&SIU_DSPIH_DATA6_MASK)
  3307. #define SIU_DSPIH_DATA5_MASK 0x400u
  3308. #define SIU_DSPIH_DATA5_SHIFT 10u
  3309. #define SIU_DSPIH_DATA5_WIDTH 1u
  3310. #define SIU_DSPIH_DATA5(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA5_SHIFT))&SIU_DSPIH_DATA5_MASK)
  3311. #define SIU_DSPIH_DATA4_MASK 0x800u
  3312. #define SIU_DSPIH_DATA4_SHIFT 11u
  3313. #define SIU_DSPIH_DATA4_WIDTH 1u
  3314. #define SIU_DSPIH_DATA4(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA4_SHIFT))&SIU_DSPIH_DATA4_MASK)
  3315. #define SIU_DSPIH_DATA3_MASK 0x1000u
  3316. #define SIU_DSPIH_DATA3_SHIFT 12u
  3317. #define SIU_DSPIH_DATA3_WIDTH 1u
  3318. #define SIU_DSPIH_DATA3(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA3_SHIFT))&SIU_DSPIH_DATA3_MASK)
  3319. #define SIU_DSPIH_DATA2_MASK 0x2000u
  3320. #define SIU_DSPIH_DATA2_SHIFT 13u
  3321. #define SIU_DSPIH_DATA2_WIDTH 1u
  3322. #define SIU_DSPIH_DATA2(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA2_SHIFT))&SIU_DSPIH_DATA2_MASK)
  3323. #define SIU_DSPIH_DATA1_MASK 0x4000u
  3324. #define SIU_DSPIH_DATA1_SHIFT 14u
  3325. #define SIU_DSPIH_DATA1_WIDTH 1u
  3326. #define SIU_DSPIH_DATA1(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA1_SHIFT))&SIU_DSPIH_DATA1_MASK)
  3327. #define SIU_DSPIH_DATA0_MASK 0x8000u
  3328. #define SIU_DSPIH_DATA0_SHIFT 15u
  3329. #define SIU_DSPIH_DATA0_WIDTH 1u
  3330. #define SIU_DSPIH_DATA0(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_DATA0_SHIFT))&SIU_DSPIH_DATA0_MASK)
  3331. #define SIU_DSPIH_MASK15_MASK 0x10000u
  3332. #define SIU_DSPIH_MASK15_SHIFT 16u
  3333. #define SIU_DSPIH_MASK15_WIDTH 1u
  3334. #define SIU_DSPIH_MASK15(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK15_SHIFT))&SIU_DSPIH_MASK15_MASK)
  3335. #define SIU_DSPIH_MASK14_MASK 0x20000u
  3336. #define SIU_DSPIH_MASK14_SHIFT 17u
  3337. #define SIU_DSPIH_MASK14_WIDTH 1u
  3338. #define SIU_DSPIH_MASK14(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK14_SHIFT))&SIU_DSPIH_MASK14_MASK)
  3339. #define SIU_DSPIH_MASK13_MASK 0x40000u
  3340. #define SIU_DSPIH_MASK13_SHIFT 18u
  3341. #define SIU_DSPIH_MASK13_WIDTH 1u
  3342. #define SIU_DSPIH_MASK13(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK13_SHIFT))&SIU_DSPIH_MASK13_MASK)
  3343. #define SIU_DSPIH_MASK12_MASK 0x80000u
  3344. #define SIU_DSPIH_MASK12_SHIFT 19u
  3345. #define SIU_DSPIH_MASK12_WIDTH 1u
  3346. #define SIU_DSPIH_MASK12(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK12_SHIFT))&SIU_DSPIH_MASK12_MASK)
  3347. #define SIU_DSPIH_MASK11_MASK 0x100000u
  3348. #define SIU_DSPIH_MASK11_SHIFT 20u
  3349. #define SIU_DSPIH_MASK11_WIDTH 1u
  3350. #define SIU_DSPIH_MASK11(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK11_SHIFT))&SIU_DSPIH_MASK11_MASK)
  3351. #define SIU_DSPIH_MASK10_MASK 0x200000u
  3352. #define SIU_DSPIH_MASK10_SHIFT 21u
  3353. #define SIU_DSPIH_MASK10_WIDTH 1u
  3354. #define SIU_DSPIH_MASK10(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK10_SHIFT))&SIU_DSPIH_MASK10_MASK)
  3355. #define SIU_DSPIH_MASK9_MASK 0x400000u
  3356. #define SIU_DSPIH_MASK9_SHIFT 22u
  3357. #define SIU_DSPIH_MASK9_WIDTH 1u
  3358. #define SIU_DSPIH_MASK9(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK9_SHIFT))&SIU_DSPIH_MASK9_MASK)
  3359. #define SIU_DSPIH_MASK8_MASK 0x800000u
  3360. #define SIU_DSPIH_MASK8_SHIFT 23u
  3361. #define SIU_DSPIH_MASK8_WIDTH 1u
  3362. #define SIU_DSPIH_MASK8(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK8_SHIFT))&SIU_DSPIH_MASK8_MASK)
  3363. #define SIU_DSPIH_MASK7_MASK 0x1000000u
  3364. #define SIU_DSPIH_MASK7_SHIFT 24u
  3365. #define SIU_DSPIH_MASK7_WIDTH 1u
  3366. #define SIU_DSPIH_MASK7(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK7_SHIFT))&SIU_DSPIH_MASK7_MASK)
  3367. #define SIU_DSPIH_MASK6_MASK 0x2000000u
  3368. #define SIU_DSPIH_MASK6_SHIFT 25u
  3369. #define SIU_DSPIH_MASK6_WIDTH 1u
  3370. #define SIU_DSPIH_MASK6(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK6_SHIFT))&SIU_DSPIH_MASK6_MASK)
  3371. #define SIU_DSPIH_MASK5_MASK 0x4000000u
  3372. #define SIU_DSPIH_MASK5_SHIFT 26u
  3373. #define SIU_DSPIH_MASK5_WIDTH 1u
  3374. #define SIU_DSPIH_MASK5(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK5_SHIFT))&SIU_DSPIH_MASK5_MASK)
  3375. #define SIU_DSPIH_MASK4_MASK 0x8000000u
  3376. #define SIU_DSPIH_MASK4_SHIFT 27u
  3377. #define SIU_DSPIH_MASK4_WIDTH 1u
  3378. #define SIU_DSPIH_MASK4(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK4_SHIFT))&SIU_DSPIH_MASK4_MASK)
  3379. #define SIU_DSPIH_MASK3_MASK 0x10000000u
  3380. #define SIU_DSPIH_MASK3_SHIFT 28u
  3381. #define SIU_DSPIH_MASK3_WIDTH 1u
  3382. #define SIU_DSPIH_MASK3(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK3_SHIFT))&SIU_DSPIH_MASK3_MASK)
  3383. #define SIU_DSPIH_MASK2_MASK 0x20000000u
  3384. #define SIU_DSPIH_MASK2_SHIFT 29u
  3385. #define SIU_DSPIH_MASK2_WIDTH 1u
  3386. #define SIU_DSPIH_MASK2(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK2_SHIFT))&SIU_DSPIH_MASK2_MASK)
  3387. #define SIU_DSPIH_MASK1_MASK 0x40000000u
  3388. #define SIU_DSPIH_MASK1_SHIFT 30u
  3389. #define SIU_DSPIH_MASK1_WIDTH 1u
  3390. #define SIU_DSPIH_MASK1(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK1_SHIFT))&SIU_DSPIH_MASK1_MASK)
  3391. #define SIU_DSPIH_MASK0_MASK 0x80000000u
  3392. #define SIU_DSPIH_MASK0_SHIFT 31u
  3393. #define SIU_DSPIH_MASK0_WIDTH 1u
  3394. #define SIU_DSPIH_MASK0(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIH_MASK0_SHIFT))&SIU_DSPIH_MASK0_MASK)
  3395. /* DSPIL Bit Fields */
  3396. #define SIU_DSPIL_DATA31_MASK 0x1u
  3397. #define SIU_DSPIL_DATA31_SHIFT 0u
  3398. #define SIU_DSPIL_DATA31_WIDTH 1u
  3399. #define SIU_DSPIL_DATA31(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA31_SHIFT))&SIU_DSPIL_DATA31_MASK)
  3400. #define SIU_DSPIL_DATA30_MASK 0x2u
  3401. #define SIU_DSPIL_DATA30_SHIFT 1u
  3402. #define SIU_DSPIL_DATA30_WIDTH 1u
  3403. #define SIU_DSPIL_DATA30(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA30_SHIFT))&SIU_DSPIL_DATA30_MASK)
  3404. #define SIU_DSPIL_DATA29_MASK 0x4u
  3405. #define SIU_DSPIL_DATA29_SHIFT 2u
  3406. #define SIU_DSPIL_DATA29_WIDTH 1u
  3407. #define SIU_DSPIL_DATA29(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA29_SHIFT))&SIU_DSPIL_DATA29_MASK)
  3408. #define SIU_DSPIL_DATA28_MASK 0x8u
  3409. #define SIU_DSPIL_DATA28_SHIFT 3u
  3410. #define SIU_DSPIL_DATA28_WIDTH 1u
  3411. #define SIU_DSPIL_DATA28(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA28_SHIFT))&SIU_DSPIL_DATA28_MASK)
  3412. #define SIU_DSPIL_DATA27_MASK 0x10u
  3413. #define SIU_DSPIL_DATA27_SHIFT 4u
  3414. #define SIU_DSPIL_DATA27_WIDTH 1u
  3415. #define SIU_DSPIL_DATA27(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA27_SHIFT))&SIU_DSPIL_DATA27_MASK)
  3416. #define SIU_DSPIL_DATA26_MASK 0x20u
  3417. #define SIU_DSPIL_DATA26_SHIFT 5u
  3418. #define SIU_DSPIL_DATA26_WIDTH 1u
  3419. #define SIU_DSPIL_DATA26(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA26_SHIFT))&SIU_DSPIL_DATA26_MASK)
  3420. #define SIU_DSPIL_DATA25_MASK 0x40u
  3421. #define SIU_DSPIL_DATA25_SHIFT 6u
  3422. #define SIU_DSPIL_DATA25_WIDTH 1u
  3423. #define SIU_DSPIL_DATA25(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA25_SHIFT))&SIU_DSPIL_DATA25_MASK)
  3424. #define SIU_DSPIL_DATA24_MASK 0x80u
  3425. #define SIU_DSPIL_DATA24_SHIFT 7u
  3426. #define SIU_DSPIL_DATA24_WIDTH 1u
  3427. #define SIU_DSPIL_DATA24(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA24_SHIFT))&SIU_DSPIL_DATA24_MASK)
  3428. #define SIU_DSPIL_DATA23_MASK 0x100u
  3429. #define SIU_DSPIL_DATA23_SHIFT 8u
  3430. #define SIU_DSPIL_DATA23_WIDTH 1u
  3431. #define SIU_DSPIL_DATA23(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA23_SHIFT))&SIU_DSPIL_DATA23_MASK)
  3432. #define SIU_DSPIL_DATA22_MASK 0x200u
  3433. #define SIU_DSPIL_DATA22_SHIFT 9u
  3434. #define SIU_DSPIL_DATA22_WIDTH 1u
  3435. #define SIU_DSPIL_DATA22(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA22_SHIFT))&SIU_DSPIL_DATA22_MASK)
  3436. #define SIU_DSPIL_DATA21_MASK 0x400u
  3437. #define SIU_DSPIL_DATA21_SHIFT 10u
  3438. #define SIU_DSPIL_DATA21_WIDTH 1u
  3439. #define SIU_DSPIL_DATA21(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA21_SHIFT))&SIU_DSPIL_DATA21_MASK)
  3440. #define SIU_DSPIL_DATA20_MASK 0x800u
  3441. #define SIU_DSPIL_DATA20_SHIFT 11u
  3442. #define SIU_DSPIL_DATA20_WIDTH 1u
  3443. #define SIU_DSPIL_DATA20(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA20_SHIFT))&SIU_DSPIL_DATA20_MASK)
  3444. #define SIU_DSPIL_DATA19_MASK 0x1000u
  3445. #define SIU_DSPIL_DATA19_SHIFT 12u
  3446. #define SIU_DSPIL_DATA19_WIDTH 1u
  3447. #define SIU_DSPIL_DATA19(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA19_SHIFT))&SIU_DSPIL_DATA19_MASK)
  3448. #define SIU_DSPIL_DATA18_MASK 0x2000u
  3449. #define SIU_DSPIL_DATA18_SHIFT 13u
  3450. #define SIU_DSPIL_DATA18_WIDTH 1u
  3451. #define SIU_DSPIL_DATA18(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA18_SHIFT))&SIU_DSPIL_DATA18_MASK)
  3452. #define SIU_DSPIL_DATA17_MASK 0x4000u
  3453. #define SIU_DSPIL_DATA17_SHIFT 14u
  3454. #define SIU_DSPIL_DATA17_WIDTH 1u
  3455. #define SIU_DSPIL_DATA17(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA17_SHIFT))&SIU_DSPIL_DATA17_MASK)
  3456. #define SIU_DSPIL_DATA16_MASK 0x8000u
  3457. #define SIU_DSPIL_DATA16_SHIFT 15u
  3458. #define SIU_DSPIL_DATA16_WIDTH 1u
  3459. #define SIU_DSPIL_DATA16(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_DATA16_SHIFT))&SIU_DSPIL_DATA16_MASK)
  3460. #define SIU_DSPIL_MASK31_MASK 0x10000u
  3461. #define SIU_DSPIL_MASK31_SHIFT 16u
  3462. #define SIU_DSPIL_MASK31_WIDTH 1u
  3463. #define SIU_DSPIL_MASK31(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK31_SHIFT))&SIU_DSPIL_MASK31_MASK)
  3464. #define SIU_DSPIL_MASK30_MASK 0x20000u
  3465. #define SIU_DSPIL_MASK30_SHIFT 17u
  3466. #define SIU_DSPIL_MASK30_WIDTH 1u
  3467. #define SIU_DSPIL_MASK30(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK30_SHIFT))&SIU_DSPIL_MASK30_MASK)
  3468. #define SIU_DSPIL_MASK29_MASK 0x40000u
  3469. #define SIU_DSPIL_MASK29_SHIFT 18u
  3470. #define SIU_DSPIL_MASK29_WIDTH 1u
  3471. #define SIU_DSPIL_MASK29(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK29_SHIFT))&SIU_DSPIL_MASK29_MASK)
  3472. #define SIU_DSPIL_MASK28_MASK 0x80000u
  3473. #define SIU_DSPIL_MASK28_SHIFT 19u
  3474. #define SIU_DSPIL_MASK28_WIDTH 1u
  3475. #define SIU_DSPIL_MASK28(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK28_SHIFT))&SIU_DSPIL_MASK28_MASK)
  3476. #define SIU_DSPIL_MASK27_MASK 0x100000u
  3477. #define SIU_DSPIL_MASK27_SHIFT 20u
  3478. #define SIU_DSPIL_MASK27_WIDTH 1u
  3479. #define SIU_DSPIL_MASK27(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK27_SHIFT))&SIU_DSPIL_MASK27_MASK)
  3480. #define SIU_DSPIL_MASK26_MASK 0x200000u
  3481. #define SIU_DSPIL_MASK26_SHIFT 21u
  3482. #define SIU_DSPIL_MASK26_WIDTH 1u
  3483. #define SIU_DSPIL_MASK26(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK26_SHIFT))&SIU_DSPIL_MASK26_MASK)
  3484. #define SIU_DSPIL_MASK25_MASK 0x400000u
  3485. #define SIU_DSPIL_MASK25_SHIFT 22u
  3486. #define SIU_DSPIL_MASK25_WIDTH 1u
  3487. #define SIU_DSPIL_MASK25(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK25_SHIFT))&SIU_DSPIL_MASK25_MASK)
  3488. #define SIU_DSPIL_MASK24_MASK 0x800000u
  3489. #define SIU_DSPIL_MASK24_SHIFT 23u
  3490. #define SIU_DSPIL_MASK24_WIDTH 1u
  3491. #define SIU_DSPIL_MASK24(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK24_SHIFT))&SIU_DSPIL_MASK24_MASK)
  3492. #define SIU_DSPIL_MASK23_MASK 0x1000000u
  3493. #define SIU_DSPIL_MASK23_SHIFT 24u
  3494. #define SIU_DSPIL_MASK23_WIDTH 1u
  3495. #define SIU_DSPIL_MASK23(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK23_SHIFT))&SIU_DSPIL_MASK23_MASK)
  3496. #define SIU_DSPIL_MASK22_MASK 0x2000000u
  3497. #define SIU_DSPIL_MASK22_SHIFT 25u
  3498. #define SIU_DSPIL_MASK22_WIDTH 1u
  3499. #define SIU_DSPIL_MASK22(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK22_SHIFT))&SIU_DSPIL_MASK22_MASK)
  3500. #define SIU_DSPIL_MASK21_MASK 0x4000000u
  3501. #define SIU_DSPIL_MASK21_SHIFT 26u
  3502. #define SIU_DSPIL_MASK21_WIDTH 1u
  3503. #define SIU_DSPIL_MASK21(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK21_SHIFT))&SIU_DSPIL_MASK21_MASK)
  3504. #define SIU_DSPIL_MASK20_MASK 0x8000000u
  3505. #define SIU_DSPIL_MASK20_SHIFT 27u
  3506. #define SIU_DSPIL_MASK20_WIDTH 1u
  3507. #define SIU_DSPIL_MASK20(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK20_SHIFT))&SIU_DSPIL_MASK20_MASK)
  3508. #define SIU_DSPIL_MASK19_MASK 0x10000000u
  3509. #define SIU_DSPIL_MASK19_SHIFT 28u
  3510. #define SIU_DSPIL_MASK19_WIDTH 1u
  3511. #define SIU_DSPIL_MASK19(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK19_SHIFT))&SIU_DSPIL_MASK19_MASK)
  3512. #define SIU_DSPIL_MASK18_MASK 0x20000000u
  3513. #define SIU_DSPIL_MASK18_SHIFT 29u
  3514. #define SIU_DSPIL_MASK18_WIDTH 1u
  3515. #define SIU_DSPIL_MASK18(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK18_SHIFT))&SIU_DSPIL_MASK18_MASK)
  3516. #define SIU_DSPIL_MASK17_MASK 0x40000000u
  3517. #define SIU_DSPIL_MASK17_SHIFT 30u
  3518. #define SIU_DSPIL_MASK17_WIDTH 1u
  3519. #define SIU_DSPIL_MASK17(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK17_SHIFT))&SIU_DSPIL_MASK17_MASK)
  3520. #define SIU_DSPIL_MASK16_MASK 0x80000000u
  3521. #define SIU_DSPIL_MASK16_SHIFT 31u
  3522. #define SIU_DSPIL_MASK16_WIDTH 1u
  3523. #define SIU_DSPIL_MASK16(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIL_MASK16_SHIFT))&SIU_DSPIL_MASK16_MASK)
  3524. /* ETPUBA Bit Fields */
  3525. #define SIU_ETPUBA_ETPUB16_MASK 0x1u
  3526. #define SIU_ETPUBA_ETPUB16_SHIFT 0u
  3527. #define SIU_ETPUBA_ETPUB16_WIDTH 1u
  3528. #define SIU_ETPUBA_ETPUB16(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB16_SHIFT))&SIU_ETPUBA_ETPUB16_MASK)
  3529. #define SIU_ETPUBA_ETPUB17_MASK 0x2u
  3530. #define SIU_ETPUBA_ETPUB17_SHIFT 1u
  3531. #define SIU_ETPUBA_ETPUB17_WIDTH 1u
  3532. #define SIU_ETPUBA_ETPUB17(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB17_SHIFT))&SIU_ETPUBA_ETPUB17_MASK)
  3533. #define SIU_ETPUBA_ETPUB18_MASK 0x4u
  3534. #define SIU_ETPUBA_ETPUB18_SHIFT 2u
  3535. #define SIU_ETPUBA_ETPUB18_WIDTH 1u
  3536. #define SIU_ETPUBA_ETPUB18(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB18_SHIFT))&SIU_ETPUBA_ETPUB18_MASK)
  3537. #define SIU_ETPUBA_ETPUB19_MASK 0x8u
  3538. #define SIU_ETPUBA_ETPUB19_SHIFT 3u
  3539. #define SIU_ETPUBA_ETPUB19_WIDTH 1u
  3540. #define SIU_ETPUBA_ETPUB19(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB19_SHIFT))&SIU_ETPUBA_ETPUB19_MASK)
  3541. #define SIU_ETPUBA_ETPUB20_MASK 0x10u
  3542. #define SIU_ETPUBA_ETPUB20_SHIFT 4u
  3543. #define SIU_ETPUBA_ETPUB20_WIDTH 1u
  3544. #define SIU_ETPUBA_ETPUB20(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB20_SHIFT))&SIU_ETPUBA_ETPUB20_MASK)
  3545. #define SIU_ETPUBA_ETPUB21_MASK 0x20u
  3546. #define SIU_ETPUBA_ETPUB21_SHIFT 5u
  3547. #define SIU_ETPUBA_ETPUB21_WIDTH 1u
  3548. #define SIU_ETPUBA_ETPUB21(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB21_SHIFT))&SIU_ETPUBA_ETPUB21_MASK)
  3549. #define SIU_ETPUBA_ETPUB22_MASK 0x40u
  3550. #define SIU_ETPUBA_ETPUB22_SHIFT 6u
  3551. #define SIU_ETPUBA_ETPUB22_WIDTH 1u
  3552. #define SIU_ETPUBA_ETPUB22(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB22_SHIFT))&SIU_ETPUBA_ETPUB22_MASK)
  3553. #define SIU_ETPUBA_ETPUB23_MASK 0x80u
  3554. #define SIU_ETPUBA_ETPUB23_SHIFT 7u
  3555. #define SIU_ETPUBA_ETPUB23_WIDTH 1u
  3556. #define SIU_ETPUBA_ETPUB23(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB23_SHIFT))&SIU_ETPUBA_ETPUB23_MASK)
  3557. #define SIU_ETPUBA_ETPUB24_MASK 0x100u
  3558. #define SIU_ETPUBA_ETPUB24_SHIFT 8u
  3559. #define SIU_ETPUBA_ETPUB24_WIDTH 1u
  3560. #define SIU_ETPUBA_ETPUB24(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB24_SHIFT))&SIU_ETPUBA_ETPUB24_MASK)
  3561. #define SIU_ETPUBA_ETPUB25_MASK 0x200u
  3562. #define SIU_ETPUBA_ETPUB25_SHIFT 9u
  3563. #define SIU_ETPUBA_ETPUB25_WIDTH 1u
  3564. #define SIU_ETPUBA_ETPUB25(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB25_SHIFT))&SIU_ETPUBA_ETPUB25_MASK)
  3565. #define SIU_ETPUBA_ETPUB26_MASK 0x400u
  3566. #define SIU_ETPUBA_ETPUB26_SHIFT 10u
  3567. #define SIU_ETPUBA_ETPUB26_WIDTH 1u
  3568. #define SIU_ETPUBA_ETPUB26(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB26_SHIFT))&SIU_ETPUBA_ETPUB26_MASK)
  3569. #define SIU_ETPUBA_ETPUB27_MASK 0x800u
  3570. #define SIU_ETPUBA_ETPUB27_SHIFT 11u
  3571. #define SIU_ETPUBA_ETPUB27_WIDTH 1u
  3572. #define SIU_ETPUBA_ETPUB27(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB27_SHIFT))&SIU_ETPUBA_ETPUB27_MASK)
  3573. #define SIU_ETPUBA_ETPUB28_MASK 0x1000u
  3574. #define SIU_ETPUBA_ETPUB28_SHIFT 12u
  3575. #define SIU_ETPUBA_ETPUB28_WIDTH 1u
  3576. #define SIU_ETPUBA_ETPUB28(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB28_SHIFT))&SIU_ETPUBA_ETPUB28_MASK)
  3577. #define SIU_ETPUBA_ETPUB29_MASK 0x2000u
  3578. #define SIU_ETPUBA_ETPUB29_SHIFT 13u
  3579. #define SIU_ETPUBA_ETPUB29_WIDTH 1u
  3580. #define SIU_ETPUBA_ETPUB29(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB29_SHIFT))&SIU_ETPUBA_ETPUB29_MASK)
  3581. #define SIU_ETPUBA_ETPUB30_MASK 0x4000u
  3582. #define SIU_ETPUBA_ETPUB30_SHIFT 14u
  3583. #define SIU_ETPUBA_ETPUB30_WIDTH 1u
  3584. #define SIU_ETPUBA_ETPUB30(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB30_SHIFT))&SIU_ETPUBA_ETPUB30_MASK)
  3585. #define SIU_ETPUBA_ETPUB31_MASK 0x8000u
  3586. #define SIU_ETPUBA_ETPUB31_SHIFT 15u
  3587. #define SIU_ETPUBA_ETPUB31_WIDTH 1u
  3588. #define SIU_ETPUBA_ETPUB31(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB31_SHIFT))&SIU_ETPUBA_ETPUB31_MASK)
  3589. #define SIU_ETPUBA_ETPUB0_MASK 0x10000u
  3590. #define SIU_ETPUBA_ETPUB0_SHIFT 16u
  3591. #define SIU_ETPUBA_ETPUB0_WIDTH 1u
  3592. #define SIU_ETPUBA_ETPUB0(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB0_SHIFT))&SIU_ETPUBA_ETPUB0_MASK)
  3593. #define SIU_ETPUBA_ETPUB1_MASK 0x20000u
  3594. #define SIU_ETPUBA_ETPUB1_SHIFT 17u
  3595. #define SIU_ETPUBA_ETPUB1_WIDTH 1u
  3596. #define SIU_ETPUBA_ETPUB1(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB1_SHIFT))&SIU_ETPUBA_ETPUB1_MASK)
  3597. #define SIU_ETPUBA_ETPUB2_MASK 0x40000u
  3598. #define SIU_ETPUBA_ETPUB2_SHIFT 18u
  3599. #define SIU_ETPUBA_ETPUB2_WIDTH 1u
  3600. #define SIU_ETPUBA_ETPUB2(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB2_SHIFT))&SIU_ETPUBA_ETPUB2_MASK)
  3601. #define SIU_ETPUBA_ETPUB3_MASK 0x80000u
  3602. #define SIU_ETPUBA_ETPUB3_SHIFT 19u
  3603. #define SIU_ETPUBA_ETPUB3_WIDTH 1u
  3604. #define SIU_ETPUBA_ETPUB3(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB3_SHIFT))&SIU_ETPUBA_ETPUB3_MASK)
  3605. #define SIU_ETPUBA_ETPUB4_MASK 0x100000u
  3606. #define SIU_ETPUBA_ETPUB4_SHIFT 20u
  3607. #define SIU_ETPUBA_ETPUB4_WIDTH 1u
  3608. #define SIU_ETPUBA_ETPUB4(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB4_SHIFT))&SIU_ETPUBA_ETPUB4_MASK)
  3609. #define SIU_ETPUBA_ETPUB5_MASK 0x200000u
  3610. #define SIU_ETPUBA_ETPUB5_SHIFT 21u
  3611. #define SIU_ETPUBA_ETPUB5_WIDTH 1u
  3612. #define SIU_ETPUBA_ETPUB5(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB5_SHIFT))&SIU_ETPUBA_ETPUB5_MASK)
  3613. #define SIU_ETPUBA_ETPUB6_MASK 0x400000u
  3614. #define SIU_ETPUBA_ETPUB6_SHIFT 22u
  3615. #define SIU_ETPUBA_ETPUB6_WIDTH 1u
  3616. #define SIU_ETPUBA_ETPUB6(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB6_SHIFT))&SIU_ETPUBA_ETPUB6_MASK)
  3617. #define SIU_ETPUBA_ETPUB7_MASK 0x800000u
  3618. #define SIU_ETPUBA_ETPUB7_SHIFT 23u
  3619. #define SIU_ETPUBA_ETPUB7_WIDTH 1u
  3620. #define SIU_ETPUBA_ETPUB7(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB7_SHIFT))&SIU_ETPUBA_ETPUB7_MASK)
  3621. #define SIU_ETPUBA_ETPUB8_MASK 0x1000000u
  3622. #define SIU_ETPUBA_ETPUB8_SHIFT 24u
  3623. #define SIU_ETPUBA_ETPUB8_WIDTH 1u
  3624. #define SIU_ETPUBA_ETPUB8(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB8_SHIFT))&SIU_ETPUBA_ETPUB8_MASK)
  3625. #define SIU_ETPUBA_ETPUB9_MASK 0x2000000u
  3626. #define SIU_ETPUBA_ETPUB9_SHIFT 25u
  3627. #define SIU_ETPUBA_ETPUB9_WIDTH 1u
  3628. #define SIU_ETPUBA_ETPUB9(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB9_SHIFT))&SIU_ETPUBA_ETPUB9_MASK)
  3629. #define SIU_ETPUBA_ETPUB10_MASK 0x4000000u
  3630. #define SIU_ETPUBA_ETPUB10_SHIFT 26u
  3631. #define SIU_ETPUBA_ETPUB10_WIDTH 1u
  3632. #define SIU_ETPUBA_ETPUB10(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB10_SHIFT))&SIU_ETPUBA_ETPUB10_MASK)
  3633. #define SIU_ETPUBA_ETPUB11_MASK 0x8000000u
  3634. #define SIU_ETPUBA_ETPUB11_SHIFT 27u
  3635. #define SIU_ETPUBA_ETPUB11_WIDTH 1u
  3636. #define SIU_ETPUBA_ETPUB11(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB11_SHIFT))&SIU_ETPUBA_ETPUB11_MASK)
  3637. #define SIU_ETPUBA_ETPUB12_MASK 0x10000000u
  3638. #define SIU_ETPUBA_ETPUB12_SHIFT 28u
  3639. #define SIU_ETPUBA_ETPUB12_WIDTH 1u
  3640. #define SIU_ETPUBA_ETPUB12(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB12_SHIFT))&SIU_ETPUBA_ETPUB12_MASK)
  3641. #define SIU_ETPUBA_ETPUB13_MASK 0x20000000u
  3642. #define SIU_ETPUBA_ETPUB13_SHIFT 29u
  3643. #define SIU_ETPUBA_ETPUB13_WIDTH 1u
  3644. #define SIU_ETPUBA_ETPUB13(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB13_SHIFT))&SIU_ETPUBA_ETPUB13_MASK)
  3645. #define SIU_ETPUBA_ETPUB14_MASK 0x40000000u
  3646. #define SIU_ETPUBA_ETPUB14_SHIFT 30u
  3647. #define SIU_ETPUBA_ETPUB14_WIDTH 1u
  3648. #define SIU_ETPUBA_ETPUB14(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB14_SHIFT))&SIU_ETPUBA_ETPUB14_MASK)
  3649. #define SIU_ETPUBA_ETPUB15_MASK 0x80000000u
  3650. #define SIU_ETPUBA_ETPUB15_SHIFT 31u
  3651. #define SIU_ETPUBA_ETPUB15_WIDTH 1u
  3652. #define SIU_ETPUBA_ETPUB15(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBA_ETPUB15_SHIFT))&SIU_ETPUBA_ETPUB15_MASK)
  3653. /* EMIOSA Bit Fields */
  3654. #define SIU_EMIOSA_EMIOS0_7_OUT31_MASK 0x1u
  3655. #define SIU_EMIOSA_EMIOS0_7_OUT31_SHIFT 0u
  3656. #define SIU_EMIOSA_EMIOS0_7_OUT31_WIDTH 1u
  3657. #define SIU_EMIOSA_EMIOS0_7_OUT31(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_7_OUT31_SHIFT))&SIU_EMIOSA_EMIOS0_7_OUT31_MASK)
  3658. #define SIU_EMIOSA_EMIOS0_6_OUT30_MASK 0x2u
  3659. #define SIU_EMIOSA_EMIOS0_6_OUT30_SHIFT 1u
  3660. #define SIU_EMIOSA_EMIOS0_6_OUT30_WIDTH 1u
  3661. #define SIU_EMIOSA_EMIOS0_6_OUT30(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_6_OUT30_SHIFT))&SIU_EMIOSA_EMIOS0_6_OUT30_MASK)
  3662. #define SIU_EMIOSA_EMIOS0_5_OUT29_MASK 0x4u
  3663. #define SIU_EMIOSA_EMIOS0_5_OUT29_SHIFT 2u
  3664. #define SIU_EMIOSA_EMIOS0_5_OUT29_WIDTH 1u
  3665. #define SIU_EMIOSA_EMIOS0_5_OUT29(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_5_OUT29_SHIFT))&SIU_EMIOSA_EMIOS0_5_OUT29_MASK)
  3666. #define SIU_EMIOSA_EMIOS0_4_OUT28_MASK 0x8u
  3667. #define SIU_EMIOSA_EMIOS0_4_OUT28_SHIFT 3u
  3668. #define SIU_EMIOSA_EMIOS0_4_OUT28_WIDTH 1u
  3669. #define SIU_EMIOSA_EMIOS0_4_OUT28(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_4_OUT28_SHIFT))&SIU_EMIOSA_EMIOS0_4_OUT28_MASK)
  3670. #define SIU_EMIOSA_EMIOS0_3_OUT27_MASK 0x10u
  3671. #define SIU_EMIOSA_EMIOS0_3_OUT27_SHIFT 4u
  3672. #define SIU_EMIOSA_EMIOS0_3_OUT27_WIDTH 1u
  3673. #define SIU_EMIOSA_EMIOS0_3_OUT27(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_3_OUT27_SHIFT))&SIU_EMIOSA_EMIOS0_3_OUT27_MASK)
  3674. #define SIU_EMIOSA_EMIOS0_2_OUT26_MASK 0x20u
  3675. #define SIU_EMIOSA_EMIOS0_2_OUT26_SHIFT 5u
  3676. #define SIU_EMIOSA_EMIOS0_2_OUT26_WIDTH 1u
  3677. #define SIU_EMIOSA_EMIOS0_2_OUT26(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_2_OUT26_SHIFT))&SIU_EMIOSA_EMIOS0_2_OUT26_MASK)
  3678. #define SIU_EMIOSA_EMIOS0_1_OUT25_MASK 0x40u
  3679. #define SIU_EMIOSA_EMIOS0_1_OUT25_SHIFT 6u
  3680. #define SIU_EMIOSA_EMIOS0_1_OUT25_WIDTH 1u
  3681. #define SIU_EMIOSA_EMIOS0_1_OUT25(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_1_OUT25_SHIFT))&SIU_EMIOSA_EMIOS0_1_OUT25_MASK)
  3682. #define SIU_EMIOSA_EMIOS0_0_OUT24_MASK 0x80u
  3683. #define SIU_EMIOSA_EMIOS0_0_OUT24_SHIFT 7u
  3684. #define SIU_EMIOSA_EMIOS0_0_OUT24_WIDTH 1u
  3685. #define SIU_EMIOSA_EMIOS0_0_OUT24(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_0_OUT24_SHIFT))&SIU_EMIOSA_EMIOS0_0_OUT24_MASK)
  3686. #define SIU_EMIOSA_EMIOS0_23_OUT23_MASK 0x100u
  3687. #define SIU_EMIOSA_EMIOS0_23_OUT23_SHIFT 8u
  3688. #define SIU_EMIOSA_EMIOS0_23_OUT23_WIDTH 1u
  3689. #define SIU_EMIOSA_EMIOS0_23_OUT23(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_23_OUT23_SHIFT))&SIU_EMIOSA_EMIOS0_23_OUT23_MASK)
  3690. #define SIU_EMIOSA_EMIOS0_22_OUT22_MASK 0x200u
  3691. #define SIU_EMIOSA_EMIOS0_22_OUT22_SHIFT 9u
  3692. #define SIU_EMIOSA_EMIOS0_22_OUT22_WIDTH 1u
  3693. #define SIU_EMIOSA_EMIOS0_22_OUT22(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_22_OUT22_SHIFT))&SIU_EMIOSA_EMIOS0_22_OUT22_MASK)
  3694. #define SIU_EMIOSA_EMIOS0_21_OUT21_MASK 0x400u
  3695. #define SIU_EMIOSA_EMIOS0_21_OUT21_SHIFT 10u
  3696. #define SIU_EMIOSA_EMIOS0_21_OUT21_WIDTH 1u
  3697. #define SIU_EMIOSA_EMIOS0_21_OUT21(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_21_OUT21_SHIFT))&SIU_EMIOSA_EMIOS0_21_OUT21_MASK)
  3698. #define SIU_EMIOSA_EMIOS0_20_OUT20_MASK 0x800u
  3699. #define SIU_EMIOSA_EMIOS0_20_OUT20_SHIFT 11u
  3700. #define SIU_EMIOSA_EMIOS0_20_OUT20_WIDTH 1u
  3701. #define SIU_EMIOSA_EMIOS0_20_OUT20(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_20_OUT20_SHIFT))&SIU_EMIOSA_EMIOS0_20_OUT20_MASK)
  3702. #define SIU_EMIOSA_EMIOS0_19_OUT19_MASK 0x1000u
  3703. #define SIU_EMIOSA_EMIOS0_19_OUT19_SHIFT 12u
  3704. #define SIU_EMIOSA_EMIOS0_19_OUT19_WIDTH 1u
  3705. #define SIU_EMIOSA_EMIOS0_19_OUT19(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_19_OUT19_SHIFT))&SIU_EMIOSA_EMIOS0_19_OUT19_MASK)
  3706. #define SIU_EMIOSA_EMIOS0_18_OUT18_MASK 0x2000u
  3707. #define SIU_EMIOSA_EMIOS0_18_OUT18_SHIFT 13u
  3708. #define SIU_EMIOSA_EMIOS0_18_OUT18_WIDTH 1u
  3709. #define SIU_EMIOSA_EMIOS0_18_OUT18(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_18_OUT18_SHIFT))&SIU_EMIOSA_EMIOS0_18_OUT18_MASK)
  3710. #define SIU_EMIOSA_EMIOS0_17_OUT17_MASK 0x4000u
  3711. #define SIU_EMIOSA_EMIOS0_17_OUT17_SHIFT 14u
  3712. #define SIU_EMIOSA_EMIOS0_17_OUT17_WIDTH 1u
  3713. #define SIU_EMIOSA_EMIOS0_17_OUT17(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_17_OUT17_SHIFT))&SIU_EMIOSA_EMIOS0_17_OUT17_MASK)
  3714. #define SIU_EMIOSA_EMIOS0_16_OUT16_MASK 0x8000u
  3715. #define SIU_EMIOSA_EMIOS0_16_OUT16_SHIFT 15u
  3716. #define SIU_EMIOSA_EMIOS0_16_OUT16_WIDTH 1u
  3717. #define SIU_EMIOSA_EMIOS0_16_OUT16(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_16_OUT16_SHIFT))&SIU_EMIOSA_EMIOS0_16_OUT16_MASK)
  3718. #define SIU_EMIOSA_EMIOS1_7_OUT15_MASK 0x10000u
  3719. #define SIU_EMIOSA_EMIOS1_7_OUT15_SHIFT 16u
  3720. #define SIU_EMIOSA_EMIOS1_7_OUT15_WIDTH 1u
  3721. #define SIU_EMIOSA_EMIOS1_7_OUT15(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS1_7_OUT15_SHIFT))&SIU_EMIOSA_EMIOS1_7_OUT15_MASK)
  3722. #define SIU_EMIOSA_EMIOS1_6_OUT14_MASK 0x20000u
  3723. #define SIU_EMIOSA_EMIOS1_6_OUT14_SHIFT 17u
  3724. #define SIU_EMIOSA_EMIOS1_6_OUT14_WIDTH 1u
  3725. #define SIU_EMIOSA_EMIOS1_6_OUT14(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS1_6_OUT14_SHIFT))&SIU_EMIOSA_EMIOS1_6_OUT14_MASK)
  3726. #define SIU_EMIOSA_EMIOS1_5_OUT13_MASK 0x40000u
  3727. #define SIU_EMIOSA_EMIOS1_5_OUT13_SHIFT 18u
  3728. #define SIU_EMIOSA_EMIOS1_5_OUT13_WIDTH 1u
  3729. #define SIU_EMIOSA_EMIOS1_5_OUT13(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS1_5_OUT13_SHIFT))&SIU_EMIOSA_EMIOS1_5_OUT13_MASK)
  3730. #define SIU_EMIOSA_EMIOS1_4_OUT12_MASK 0x80000u
  3731. #define SIU_EMIOSA_EMIOS1_4_OUT12_SHIFT 19u
  3732. #define SIU_EMIOSA_EMIOS1_4_OUT12_WIDTH 1u
  3733. #define SIU_EMIOSA_EMIOS1_4_OUT12(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS1_4_OUT12_SHIFT))&SIU_EMIOSA_EMIOS1_4_OUT12_MASK)
  3734. #define SIU_EMIOSA_EMIOS1_3_OUT11_MASK 0x100000u
  3735. #define SIU_EMIOSA_EMIOS1_3_OUT11_SHIFT 20u
  3736. #define SIU_EMIOSA_EMIOS1_3_OUT11_WIDTH 1u
  3737. #define SIU_EMIOSA_EMIOS1_3_OUT11(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS1_3_OUT11_SHIFT))&SIU_EMIOSA_EMIOS1_3_OUT11_MASK)
  3738. #define SIU_EMIOSA_EMIOS1_2_OUT10_MASK 0x200000u
  3739. #define SIU_EMIOSA_EMIOS1_2_OUT10_SHIFT 21u
  3740. #define SIU_EMIOSA_EMIOS1_2_OUT10_WIDTH 1u
  3741. #define SIU_EMIOSA_EMIOS1_2_OUT10(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS1_2_OUT10_SHIFT))&SIU_EMIOSA_EMIOS1_2_OUT10_MASK)
  3742. #define SIU_EMIOSA_EMIOS1_1_OUT9_MASK 0x400000u
  3743. #define SIU_EMIOSA_EMIOS1_1_OUT9_SHIFT 22u
  3744. #define SIU_EMIOSA_EMIOS1_1_OUT9_WIDTH 1u
  3745. #define SIU_EMIOSA_EMIOS1_1_OUT9(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS1_1_OUT9_SHIFT))&SIU_EMIOSA_EMIOS1_1_OUT9_MASK)
  3746. #define SIU_EMIOSA_EMIOS1_0_OUT8_MASK 0x800000u
  3747. #define SIU_EMIOSA_EMIOS1_0_OUT8_SHIFT 23u
  3748. #define SIU_EMIOSA_EMIOS1_0_OUT8_WIDTH 1u
  3749. #define SIU_EMIOSA_EMIOS1_0_OUT8(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS1_0_OUT8_SHIFT))&SIU_EMIOSA_EMIOS1_0_OUT8_MASK)
  3750. #define SIU_EMIOSA_EMIOS0_0_OUT7_MASK 0x1000000u
  3751. #define SIU_EMIOSA_EMIOS0_0_OUT7_SHIFT 24u
  3752. #define SIU_EMIOSA_EMIOS0_0_OUT7_WIDTH 1u
  3753. #define SIU_EMIOSA_EMIOS0_0_OUT7(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_0_OUT7_SHIFT))&SIU_EMIOSA_EMIOS0_0_OUT7_MASK)
  3754. #define SIU_EMIOSA_EMIOS0_1_OUT6_MASK 0x2000000u
  3755. #define SIU_EMIOSA_EMIOS0_1_OUT6_SHIFT 25u
  3756. #define SIU_EMIOSA_EMIOS0_1_OUT6_WIDTH 1u
  3757. #define SIU_EMIOSA_EMIOS0_1_OUT6(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_1_OUT6_SHIFT))&SIU_EMIOSA_EMIOS0_1_OUT6_MASK)
  3758. #define SIU_EMIOSA_EMIOS0_2_OUT5_MASK 0x4000000u
  3759. #define SIU_EMIOSA_EMIOS0_2_OUT5_SHIFT 26u
  3760. #define SIU_EMIOSA_EMIOS0_2_OUT5_WIDTH 1u
  3761. #define SIU_EMIOSA_EMIOS0_2_OUT5(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_2_OUT5_SHIFT))&SIU_EMIOSA_EMIOS0_2_OUT5_MASK)
  3762. #define SIU_EMIOSA_EMIOS0_3_OUT4_MASK 0x8000000u
  3763. #define SIU_EMIOSA_EMIOS0_3_OUT4_SHIFT 27u
  3764. #define SIU_EMIOSA_EMIOS0_3_OUT4_WIDTH 1u
  3765. #define SIU_EMIOSA_EMIOS0_3_OUT4(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_3_OUT4_SHIFT))&SIU_EMIOSA_EMIOS0_3_OUT4_MASK)
  3766. #define SIU_EMIOSA_EMIOS0_4_OUT3_MASK 0x10000000u
  3767. #define SIU_EMIOSA_EMIOS0_4_OUT3_SHIFT 28u
  3768. #define SIU_EMIOSA_EMIOS0_4_OUT3_WIDTH 1u
  3769. #define SIU_EMIOSA_EMIOS0_4_OUT3(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_4_OUT3_SHIFT))&SIU_EMIOSA_EMIOS0_4_OUT3_MASK)
  3770. #define SIU_EMIOSA_EMIOS0_5_OUT2_MASK 0x20000000u
  3771. #define SIU_EMIOSA_EMIOS0_5_OUT2_SHIFT 29u
  3772. #define SIU_EMIOSA_EMIOS0_5_OUT2_WIDTH 1u
  3773. #define SIU_EMIOSA_EMIOS0_5_OUT2(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_5_OUT2_SHIFT))&SIU_EMIOSA_EMIOS0_5_OUT2_MASK)
  3774. #define SIU_EMIOSA_EMIOS0_6_OUT1_MASK 0x40000000u
  3775. #define SIU_EMIOSA_EMIOS0_6_OUT1_SHIFT 30u
  3776. #define SIU_EMIOSA_EMIOS0_6_OUT1_WIDTH 1u
  3777. #define SIU_EMIOSA_EMIOS0_6_OUT1(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_6_OUT1_SHIFT))&SIU_EMIOSA_EMIOS0_6_OUT1_MASK)
  3778. #define SIU_EMIOSA_EMIOS0_7_OUT0_MASK 0x80000000u
  3779. #define SIU_EMIOSA_EMIOS0_7_OUT0_SHIFT 31u
  3780. #define SIU_EMIOSA_EMIOS0_7_OUT0_WIDTH 1u
  3781. #define SIU_EMIOSA_EMIOS0_7_OUT0(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSA_EMIOS0_7_OUT0_SHIFT))&SIU_EMIOSA_EMIOS0_7_OUT0_MASK)
  3782. /* DSPIAHLA Bit Fields */
  3783. #define SIU_DSPIAHLA_DSPIAL31_MASK 0x1u
  3784. #define SIU_DSPIAHLA_DSPIAL31_SHIFT 0u
  3785. #define SIU_DSPIAHLA_DSPIAL31_WIDTH 1u
  3786. #define SIU_DSPIAHLA_DSPIAL31(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL31_SHIFT))&SIU_DSPIAHLA_DSPIAL31_MASK)
  3787. #define SIU_DSPIAHLA_DSPIAL30_MASK 0x2u
  3788. #define SIU_DSPIAHLA_DSPIAL30_SHIFT 1u
  3789. #define SIU_DSPIAHLA_DSPIAL30_WIDTH 1u
  3790. #define SIU_DSPIAHLA_DSPIAL30(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL30_SHIFT))&SIU_DSPIAHLA_DSPIAL30_MASK)
  3791. #define SIU_DSPIAHLA_DSPIAL29_MASK 0x4u
  3792. #define SIU_DSPIAHLA_DSPIAL29_SHIFT 2u
  3793. #define SIU_DSPIAHLA_DSPIAL29_WIDTH 1u
  3794. #define SIU_DSPIAHLA_DSPIAL29(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL29_SHIFT))&SIU_DSPIAHLA_DSPIAL29_MASK)
  3795. #define SIU_DSPIAHLA_DSPIAL28_MASK 0x8u
  3796. #define SIU_DSPIAHLA_DSPIAL28_SHIFT 3u
  3797. #define SIU_DSPIAHLA_DSPIAL28_WIDTH 1u
  3798. #define SIU_DSPIAHLA_DSPIAL28(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL28_SHIFT))&SIU_DSPIAHLA_DSPIAL28_MASK)
  3799. #define SIU_DSPIAHLA_DSPIAL27_MASK 0x10u
  3800. #define SIU_DSPIAHLA_DSPIAL27_SHIFT 4u
  3801. #define SIU_DSPIAHLA_DSPIAL27_WIDTH 1u
  3802. #define SIU_DSPIAHLA_DSPIAL27(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL27_SHIFT))&SIU_DSPIAHLA_DSPIAL27_MASK)
  3803. #define SIU_DSPIAHLA_DSPIAL26_MASK 0x20u
  3804. #define SIU_DSPIAHLA_DSPIAL26_SHIFT 5u
  3805. #define SIU_DSPIAHLA_DSPIAL26_WIDTH 1u
  3806. #define SIU_DSPIAHLA_DSPIAL26(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL26_SHIFT))&SIU_DSPIAHLA_DSPIAL26_MASK)
  3807. #define SIU_DSPIAHLA_DSPIAL25_MASK 0x40u
  3808. #define SIU_DSPIAHLA_DSPIAL25_SHIFT 6u
  3809. #define SIU_DSPIAHLA_DSPIAL25_WIDTH 1u
  3810. #define SIU_DSPIAHLA_DSPIAL25(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL25_SHIFT))&SIU_DSPIAHLA_DSPIAL25_MASK)
  3811. #define SIU_DSPIAHLA_DSPIAL24_MASK 0x80u
  3812. #define SIU_DSPIAHLA_DSPIAL24_SHIFT 7u
  3813. #define SIU_DSPIAHLA_DSPIAL24_WIDTH 1u
  3814. #define SIU_DSPIAHLA_DSPIAL24(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL24_SHIFT))&SIU_DSPIAHLA_DSPIAL24_MASK)
  3815. #define SIU_DSPIAHLA_DSPIAL23_MASK 0x100u
  3816. #define SIU_DSPIAHLA_DSPIAL23_SHIFT 8u
  3817. #define SIU_DSPIAHLA_DSPIAL23_WIDTH 1u
  3818. #define SIU_DSPIAHLA_DSPIAL23(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL23_SHIFT))&SIU_DSPIAHLA_DSPIAL23_MASK)
  3819. #define SIU_DSPIAHLA_DSPIAL22_MASK 0x200u
  3820. #define SIU_DSPIAHLA_DSPIAL22_SHIFT 9u
  3821. #define SIU_DSPIAHLA_DSPIAL22_WIDTH 1u
  3822. #define SIU_DSPIAHLA_DSPIAL22(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL22_SHIFT))&SIU_DSPIAHLA_DSPIAL22_MASK)
  3823. #define SIU_DSPIAHLA_DSPIAL21_MASK 0x400u
  3824. #define SIU_DSPIAHLA_DSPIAL21_SHIFT 10u
  3825. #define SIU_DSPIAHLA_DSPIAL21_WIDTH 1u
  3826. #define SIU_DSPIAHLA_DSPIAL21(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL21_SHIFT))&SIU_DSPIAHLA_DSPIAL21_MASK)
  3827. #define SIU_DSPIAHLA_DSPIAL20_MASK 0x800u
  3828. #define SIU_DSPIAHLA_DSPIAL20_SHIFT 11u
  3829. #define SIU_DSPIAHLA_DSPIAL20_WIDTH 1u
  3830. #define SIU_DSPIAHLA_DSPIAL20(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL20_SHIFT))&SIU_DSPIAHLA_DSPIAL20_MASK)
  3831. #define SIU_DSPIAHLA_DSPIAL19_MASK 0x1000u
  3832. #define SIU_DSPIAHLA_DSPIAL19_SHIFT 12u
  3833. #define SIU_DSPIAHLA_DSPIAL19_WIDTH 1u
  3834. #define SIU_DSPIAHLA_DSPIAL19(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL19_SHIFT))&SIU_DSPIAHLA_DSPIAL19_MASK)
  3835. #define SIU_DSPIAHLA_DSPIAL18_MASK 0x2000u
  3836. #define SIU_DSPIAHLA_DSPIAL18_SHIFT 13u
  3837. #define SIU_DSPIAHLA_DSPIAL18_WIDTH 1u
  3838. #define SIU_DSPIAHLA_DSPIAL18(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL18_SHIFT))&SIU_DSPIAHLA_DSPIAL18_MASK)
  3839. #define SIU_DSPIAHLA_DSPIAL17_MASK 0x4000u
  3840. #define SIU_DSPIAHLA_DSPIAL17_SHIFT 14u
  3841. #define SIU_DSPIAHLA_DSPIAL17_WIDTH 1u
  3842. #define SIU_DSPIAHLA_DSPIAL17(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL17_SHIFT))&SIU_DSPIAHLA_DSPIAL17_MASK)
  3843. #define SIU_DSPIAHLA_DSPIAL16_MASK 0x8000u
  3844. #define SIU_DSPIAHLA_DSPIAL16_SHIFT 15u
  3845. #define SIU_DSPIAHLA_DSPIAL16_WIDTH 1u
  3846. #define SIU_DSPIAHLA_DSPIAL16(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAL16_SHIFT))&SIU_DSPIAHLA_DSPIAL16_MASK)
  3847. #define SIU_DSPIAHLA_DSPIAH15_MASK 0x10000u
  3848. #define SIU_DSPIAHLA_DSPIAH15_SHIFT 16u
  3849. #define SIU_DSPIAHLA_DSPIAH15_WIDTH 1u
  3850. #define SIU_DSPIAHLA_DSPIAH15(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH15_SHIFT))&SIU_DSPIAHLA_DSPIAH15_MASK)
  3851. #define SIU_DSPIAHLA_DSPIAH14_MASK 0x20000u
  3852. #define SIU_DSPIAHLA_DSPIAH14_SHIFT 17u
  3853. #define SIU_DSPIAHLA_DSPIAH14_WIDTH 1u
  3854. #define SIU_DSPIAHLA_DSPIAH14(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH14_SHIFT))&SIU_DSPIAHLA_DSPIAH14_MASK)
  3855. #define SIU_DSPIAHLA_DSPIAH13_MASK 0x40000u
  3856. #define SIU_DSPIAHLA_DSPIAH13_SHIFT 18u
  3857. #define SIU_DSPIAHLA_DSPIAH13_WIDTH 1u
  3858. #define SIU_DSPIAHLA_DSPIAH13(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH13_SHIFT))&SIU_DSPIAHLA_DSPIAH13_MASK)
  3859. #define SIU_DSPIAHLA_DSPIAH12_MASK 0x80000u
  3860. #define SIU_DSPIAHLA_DSPIAH12_SHIFT 19u
  3861. #define SIU_DSPIAHLA_DSPIAH12_WIDTH 1u
  3862. #define SIU_DSPIAHLA_DSPIAH12(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH12_SHIFT))&SIU_DSPIAHLA_DSPIAH12_MASK)
  3863. #define SIU_DSPIAHLA_DSPIAH11_MASK 0x100000u
  3864. #define SIU_DSPIAHLA_DSPIAH11_SHIFT 20u
  3865. #define SIU_DSPIAHLA_DSPIAH11_WIDTH 1u
  3866. #define SIU_DSPIAHLA_DSPIAH11(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH11_SHIFT))&SIU_DSPIAHLA_DSPIAH11_MASK)
  3867. #define SIU_DSPIAHLA_DSPIAH10_MASK 0x200000u
  3868. #define SIU_DSPIAHLA_DSPIAH10_SHIFT 21u
  3869. #define SIU_DSPIAHLA_DSPIAH10_WIDTH 1u
  3870. #define SIU_DSPIAHLA_DSPIAH10(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH10_SHIFT))&SIU_DSPIAHLA_DSPIAH10_MASK)
  3871. #define SIU_DSPIAHLA_DSPIAH9_MASK 0x400000u
  3872. #define SIU_DSPIAHLA_DSPIAH9_SHIFT 22u
  3873. #define SIU_DSPIAHLA_DSPIAH9_WIDTH 1u
  3874. #define SIU_DSPIAHLA_DSPIAH9(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH9_SHIFT))&SIU_DSPIAHLA_DSPIAH9_MASK)
  3875. #define SIU_DSPIAHLA_DSPIAH8_MASK 0x800000u
  3876. #define SIU_DSPIAHLA_DSPIAH8_SHIFT 23u
  3877. #define SIU_DSPIAHLA_DSPIAH8_WIDTH 1u
  3878. #define SIU_DSPIAHLA_DSPIAH8(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH8_SHIFT))&SIU_DSPIAHLA_DSPIAH8_MASK)
  3879. #define SIU_DSPIAHLA_DSPIAH7_MASK 0x1000000u
  3880. #define SIU_DSPIAHLA_DSPIAH7_SHIFT 24u
  3881. #define SIU_DSPIAHLA_DSPIAH7_WIDTH 1u
  3882. #define SIU_DSPIAHLA_DSPIAH7(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH7_SHIFT))&SIU_DSPIAHLA_DSPIAH7_MASK)
  3883. #define SIU_DSPIAHLA_DSPIAH6_MASK 0x2000000u
  3884. #define SIU_DSPIAHLA_DSPIAH6_SHIFT 25u
  3885. #define SIU_DSPIAHLA_DSPIAH6_WIDTH 1u
  3886. #define SIU_DSPIAHLA_DSPIAH6(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH6_SHIFT))&SIU_DSPIAHLA_DSPIAH6_MASK)
  3887. #define SIU_DSPIAHLA_DSPIAH5_MASK 0x4000000u
  3888. #define SIU_DSPIAHLA_DSPIAH5_SHIFT 26u
  3889. #define SIU_DSPIAHLA_DSPIAH5_WIDTH 1u
  3890. #define SIU_DSPIAHLA_DSPIAH5(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH5_SHIFT))&SIU_DSPIAHLA_DSPIAH5_MASK)
  3891. #define SIU_DSPIAHLA_DSPIAH4_MASK 0x8000000u
  3892. #define SIU_DSPIAHLA_DSPIAH4_SHIFT 27u
  3893. #define SIU_DSPIAHLA_DSPIAH4_WIDTH 1u
  3894. #define SIU_DSPIAHLA_DSPIAH4(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH4_SHIFT))&SIU_DSPIAHLA_DSPIAH4_MASK)
  3895. #define SIU_DSPIAHLA_DSPIAH3_MASK 0x10000000u
  3896. #define SIU_DSPIAHLA_DSPIAH3_SHIFT 28u
  3897. #define SIU_DSPIAHLA_DSPIAH3_WIDTH 1u
  3898. #define SIU_DSPIAHLA_DSPIAH3(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH3_SHIFT))&SIU_DSPIAHLA_DSPIAH3_MASK)
  3899. #define SIU_DSPIAHLA_DSPIAH2_MASK 0x20000000u
  3900. #define SIU_DSPIAHLA_DSPIAH2_SHIFT 29u
  3901. #define SIU_DSPIAHLA_DSPIAH2_WIDTH 1u
  3902. #define SIU_DSPIAHLA_DSPIAH2(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH2_SHIFT))&SIU_DSPIAHLA_DSPIAH2_MASK)
  3903. #define SIU_DSPIAHLA_DSPIAH1_MASK 0x40000000u
  3904. #define SIU_DSPIAHLA_DSPIAH1_SHIFT 30u
  3905. #define SIU_DSPIAHLA_DSPIAH1_WIDTH 1u
  3906. #define SIU_DSPIAHLA_DSPIAH1(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH1_SHIFT))&SIU_DSPIAHLA_DSPIAH1_MASK)
  3907. #define SIU_DSPIAHLA_DSPIAH0_MASK 0x80000000u
  3908. #define SIU_DSPIAHLA_DSPIAH0_SHIFT 31u
  3909. #define SIU_DSPIAHLA_DSPIAH0_WIDTH 1u
  3910. #define SIU_DSPIAHLA_DSPIAH0(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIAHLA_DSPIAH0_SHIFT))&SIU_DSPIAHLA_DSPIAH0_MASK)
  3911. /* ETPUAB Bit Fields */
  3912. #define SIU_ETPUAB_ETPUA11_MASK 0x1u
  3913. #define SIU_ETPUAB_ETPUA11_SHIFT 0u
  3914. #define SIU_ETPUAB_ETPUA11_WIDTH 1u
  3915. #define SIU_ETPUAB_ETPUA11(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA11_SHIFT))&SIU_ETPUAB_ETPUA11_MASK)
  3916. #define SIU_ETPUAB_ETPUA10_MASK 0x2u
  3917. #define SIU_ETPUAB_ETPUA10_SHIFT 1u
  3918. #define SIU_ETPUAB_ETPUA10_WIDTH 1u
  3919. #define SIU_ETPUAB_ETPUA10(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA10_SHIFT))&SIU_ETPUAB_ETPUA10_MASK)
  3920. #define SIU_ETPUAB_ETPUA9_MASK 0x4u
  3921. #define SIU_ETPUAB_ETPUA9_SHIFT 2u
  3922. #define SIU_ETPUAB_ETPUA9_WIDTH 1u
  3923. #define SIU_ETPUAB_ETPUA9(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA9_SHIFT))&SIU_ETPUAB_ETPUA9_MASK)
  3924. #define SIU_ETPUAB_ETPUA8_MASK 0x8u
  3925. #define SIU_ETPUAB_ETPUA8_SHIFT 3u
  3926. #define SIU_ETPUAB_ETPUA8_WIDTH 1u
  3927. #define SIU_ETPUAB_ETPUA8(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA8_SHIFT))&SIU_ETPUAB_ETPUA8_MASK)
  3928. #define SIU_ETPUAB_ETPUA7_MASK 0x10u
  3929. #define SIU_ETPUAB_ETPUA7_SHIFT 4u
  3930. #define SIU_ETPUAB_ETPUA7_WIDTH 1u
  3931. #define SIU_ETPUAB_ETPUA7(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA7_SHIFT))&SIU_ETPUAB_ETPUA7_MASK)
  3932. #define SIU_ETPUAB_ETPUA6_MASK 0x20u
  3933. #define SIU_ETPUAB_ETPUA6_SHIFT 5u
  3934. #define SIU_ETPUAB_ETPUA6_WIDTH 1u
  3935. #define SIU_ETPUAB_ETPUA6(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA6_SHIFT))&SIU_ETPUAB_ETPUA6_MASK)
  3936. #define SIU_ETPUAB_ETPUA5_MASK 0x40u
  3937. #define SIU_ETPUAB_ETPUA5_SHIFT 6u
  3938. #define SIU_ETPUAB_ETPUA5_WIDTH 1u
  3939. #define SIU_ETPUAB_ETPUA5(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA5_SHIFT))&SIU_ETPUAB_ETPUA5_MASK)
  3940. #define SIU_ETPUAB_ETPUA4_MASK 0x80u
  3941. #define SIU_ETPUAB_ETPUA4_SHIFT 7u
  3942. #define SIU_ETPUAB_ETPUA4_WIDTH 1u
  3943. #define SIU_ETPUAB_ETPUA4(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA4_SHIFT))&SIU_ETPUAB_ETPUA4_MASK)
  3944. #define SIU_ETPUAB_ETPUA3_MASK 0x100u
  3945. #define SIU_ETPUAB_ETPUA3_SHIFT 8u
  3946. #define SIU_ETPUAB_ETPUA3_WIDTH 1u
  3947. #define SIU_ETPUAB_ETPUA3(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA3_SHIFT))&SIU_ETPUAB_ETPUA3_MASK)
  3948. #define SIU_ETPUAB_ETPUA2_MASK 0x200u
  3949. #define SIU_ETPUAB_ETPUA2_SHIFT 9u
  3950. #define SIU_ETPUAB_ETPUA2_WIDTH 1u
  3951. #define SIU_ETPUAB_ETPUA2(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA2_SHIFT))&SIU_ETPUAB_ETPUA2_MASK)
  3952. #define SIU_ETPUAB_ETPUA1_MASK 0x400u
  3953. #define SIU_ETPUAB_ETPUA1_SHIFT 10u
  3954. #define SIU_ETPUAB_ETPUA1_WIDTH 1u
  3955. #define SIU_ETPUAB_ETPUA1(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA1_SHIFT))&SIU_ETPUAB_ETPUA1_MASK)
  3956. #define SIU_ETPUAB_ETPUA0_MASK 0x800u
  3957. #define SIU_ETPUAB_ETPUA0_SHIFT 11u
  3958. #define SIU_ETPUAB_ETPUA0_WIDTH 1u
  3959. #define SIU_ETPUAB_ETPUA0(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA0_SHIFT))&SIU_ETPUAB_ETPUA0_MASK)
  3960. #define SIU_ETPUAB_ETPUA15_MASK 0x1000u
  3961. #define SIU_ETPUAB_ETPUA15_SHIFT 12u
  3962. #define SIU_ETPUAB_ETPUA15_WIDTH 1u
  3963. #define SIU_ETPUAB_ETPUA15(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA15_SHIFT))&SIU_ETPUAB_ETPUA15_MASK)
  3964. #define SIU_ETPUAB_ETPUA14_MASK 0x2000u
  3965. #define SIU_ETPUAB_ETPUA14_SHIFT 13u
  3966. #define SIU_ETPUAB_ETPUA14_WIDTH 1u
  3967. #define SIU_ETPUAB_ETPUA14(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA14_SHIFT))&SIU_ETPUAB_ETPUA14_MASK)
  3968. #define SIU_ETPUAB_ETPUA13_MASK 0x4000u
  3969. #define SIU_ETPUAB_ETPUA13_SHIFT 14u
  3970. #define SIU_ETPUAB_ETPUA13_WIDTH 1u
  3971. #define SIU_ETPUAB_ETPUA13(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA13_SHIFT))&SIU_ETPUAB_ETPUA13_MASK)
  3972. #define SIU_ETPUAB_ETPUA12_MASK 0x8000u
  3973. #define SIU_ETPUAB_ETPUA12_SHIFT 15u
  3974. #define SIU_ETPUAB_ETPUA12_WIDTH 1u
  3975. #define SIU_ETPUAB_ETPUA12(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA12_SHIFT))&SIU_ETPUAB_ETPUA12_MASK)
  3976. #define SIU_ETPUAB_ETPUA30_MASK 0x10000u
  3977. #define SIU_ETPUAB_ETPUA30_SHIFT 16u
  3978. #define SIU_ETPUAB_ETPUA30_WIDTH 1u
  3979. #define SIU_ETPUAB_ETPUA30(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA30_SHIFT))&SIU_ETPUAB_ETPUA30_MASK)
  3980. #define SIU_ETPUAB_ETPUA31_MASK 0x20000u
  3981. #define SIU_ETPUAB_ETPUA31_SHIFT 17u
  3982. #define SIU_ETPUAB_ETPUA31_WIDTH 1u
  3983. #define SIU_ETPUAB_ETPUA31(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA31_SHIFT))&SIU_ETPUAB_ETPUA31_MASK)
  3984. #define SIU_ETPUAB_ETPUA24_MASK 0x40000u
  3985. #define SIU_ETPUAB_ETPUA24_SHIFT 18u
  3986. #define SIU_ETPUAB_ETPUA24_WIDTH 1u
  3987. #define SIU_ETPUAB_ETPUA24(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA24_SHIFT))&SIU_ETPUAB_ETPUA24_MASK)
  3988. #define SIU_ETPUAB_ETPUA25_MASK 0x80000u
  3989. #define SIU_ETPUAB_ETPUA25_SHIFT 19u
  3990. #define SIU_ETPUAB_ETPUA25_WIDTH 1u
  3991. #define SIU_ETPUAB_ETPUA25(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA25_SHIFT))&SIU_ETPUAB_ETPUA25_MASK)
  3992. #define SIU_ETPUAB_ETPUA26_MASK 0x100000u
  3993. #define SIU_ETPUAB_ETPUA26_SHIFT 20u
  3994. #define SIU_ETPUAB_ETPUA26_WIDTH 1u
  3995. #define SIU_ETPUAB_ETPUA26(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA26_SHIFT))&SIU_ETPUAB_ETPUA26_MASK)
  3996. #define SIU_ETPUAB_ETPUA27_MASK 0x200000u
  3997. #define SIU_ETPUAB_ETPUA27_SHIFT 21u
  3998. #define SIU_ETPUAB_ETPUA27_WIDTH 1u
  3999. #define SIU_ETPUAB_ETPUA27(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA27_SHIFT))&SIU_ETPUAB_ETPUA27_MASK)
  4000. #define SIU_ETPUAB_ETPUA28_MASK 0x400000u
  4001. #define SIU_ETPUAB_ETPUA28_SHIFT 22u
  4002. #define SIU_ETPUAB_ETPUA28_WIDTH 1u
  4003. #define SIU_ETPUAB_ETPUA28(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA28_SHIFT))&SIU_ETPUAB_ETPUA28_MASK)
  4004. #define SIU_ETPUAB_ETPUA29_MASK 0x800000u
  4005. #define SIU_ETPUAB_ETPUA29_SHIFT 23u
  4006. #define SIU_ETPUAB_ETPUA29_WIDTH 1u
  4007. #define SIU_ETPUAB_ETPUA29(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA29_SHIFT))&SIU_ETPUAB_ETPUA29_MASK)
  4008. #define SIU_ETPUAB_ETPUA16_MASK 0x1000000u
  4009. #define SIU_ETPUAB_ETPUA16_SHIFT 24u
  4010. #define SIU_ETPUAB_ETPUA16_WIDTH 1u
  4011. #define SIU_ETPUAB_ETPUA16(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA16_SHIFT))&SIU_ETPUAB_ETPUA16_MASK)
  4012. #define SIU_ETPUAB_ETPUA17_MASK 0x2000000u
  4013. #define SIU_ETPUAB_ETPUA17_SHIFT 25u
  4014. #define SIU_ETPUAB_ETPUA17_WIDTH 1u
  4015. #define SIU_ETPUAB_ETPUA17(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA17_SHIFT))&SIU_ETPUAB_ETPUA17_MASK)
  4016. #define SIU_ETPUAB_ETPUA18_MASK 0x4000000u
  4017. #define SIU_ETPUAB_ETPUA18_SHIFT 26u
  4018. #define SIU_ETPUAB_ETPUA18_WIDTH 1u
  4019. #define SIU_ETPUAB_ETPUA18(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA18_SHIFT))&SIU_ETPUAB_ETPUA18_MASK)
  4020. #define SIU_ETPUAB_ETPUA19_MASK 0x8000000u
  4021. #define SIU_ETPUAB_ETPUA19_SHIFT 27u
  4022. #define SIU_ETPUAB_ETPUA19_WIDTH 1u
  4023. #define SIU_ETPUAB_ETPUA19(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA19_SHIFT))&SIU_ETPUAB_ETPUA19_MASK)
  4024. #define SIU_ETPUAB_ETPUA20_MASK 0x10000000u
  4025. #define SIU_ETPUAB_ETPUA20_SHIFT 28u
  4026. #define SIU_ETPUAB_ETPUA20_WIDTH 1u
  4027. #define SIU_ETPUAB_ETPUA20(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA20_SHIFT))&SIU_ETPUAB_ETPUA20_MASK)
  4028. #define SIU_ETPUAB_ETPUA21_MASK 0x20000000u
  4029. #define SIU_ETPUAB_ETPUA21_SHIFT 29u
  4030. #define SIU_ETPUAB_ETPUA21_WIDTH 1u
  4031. #define SIU_ETPUAB_ETPUA21(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA21_SHIFT))&SIU_ETPUAB_ETPUA21_MASK)
  4032. #define SIU_ETPUAB_ETPUA22_MASK 0x40000000u
  4033. #define SIU_ETPUAB_ETPUA22_SHIFT 30u
  4034. #define SIU_ETPUAB_ETPUA22_WIDTH 1u
  4035. #define SIU_ETPUAB_ETPUA22(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA22_SHIFT))&SIU_ETPUAB_ETPUA22_MASK)
  4036. #define SIU_ETPUAB_ETPUA23_MASK 0x80000000u
  4037. #define SIU_ETPUAB_ETPUA23_SHIFT 31u
  4038. #define SIU_ETPUAB_ETPUA23_WIDTH 1u
  4039. #define SIU_ETPUAB_ETPUA23(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAB_ETPUA23_SHIFT))&SIU_ETPUAB_ETPUA23_MASK)
  4040. /* EMIOSB Bit Fields */
  4041. #define SIU_EMIOSB_EMIOS0_0_OUT31_MASK 0x1u
  4042. #define SIU_EMIOSB_EMIOS0_0_OUT31_SHIFT 0u
  4043. #define SIU_EMIOSB_EMIOS0_0_OUT31_WIDTH 1u
  4044. #define SIU_EMIOSB_EMIOS0_0_OUT31(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_0_OUT31_SHIFT))&SIU_EMIOSB_EMIOS0_0_OUT31_MASK)
  4045. #define SIU_EMIOSB_EMIOS0_1_OUT30_MASK 0x2u
  4046. #define SIU_EMIOSB_EMIOS0_1_OUT30_SHIFT 1u
  4047. #define SIU_EMIOSB_EMIOS0_1_OUT30_WIDTH 1u
  4048. #define SIU_EMIOSB_EMIOS0_1_OUT30(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_1_OUT30_SHIFT))&SIU_EMIOSB_EMIOS0_1_OUT30_MASK)
  4049. #define SIU_EMIOSB_EMIOS0_2_OUT29_MASK 0x4u
  4050. #define SIU_EMIOSB_EMIOS0_2_OUT29_SHIFT 2u
  4051. #define SIU_EMIOSB_EMIOS0_2_OUT29_WIDTH 1u
  4052. #define SIU_EMIOSB_EMIOS0_2_OUT29(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_2_OUT29_SHIFT))&SIU_EMIOSB_EMIOS0_2_OUT29_MASK)
  4053. #define SIU_EMIOSB_EMIOS0_3_OUT28_MASK 0x8u
  4054. #define SIU_EMIOSB_EMIOS0_3_OUT28_SHIFT 3u
  4055. #define SIU_EMIOSB_EMIOS0_3_OUT28_WIDTH 1u
  4056. #define SIU_EMIOSB_EMIOS0_3_OUT28(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_3_OUT28_SHIFT))&SIU_EMIOSB_EMIOS0_3_OUT28_MASK)
  4057. #define SIU_EMIOSB_EMIOS0_4_OUT27_MASK 0x10u
  4058. #define SIU_EMIOSB_EMIOS0_4_OUT27_SHIFT 4u
  4059. #define SIU_EMIOSB_EMIOS0_4_OUT27_WIDTH 1u
  4060. #define SIU_EMIOSB_EMIOS0_4_OUT27(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_4_OUT27_SHIFT))&SIU_EMIOSB_EMIOS0_4_OUT27_MASK)
  4061. #define SIU_EMIOSB_EMIOS0_5_OUT26_MASK 0x20u
  4062. #define SIU_EMIOSB_EMIOS0_5_OUT26_SHIFT 5u
  4063. #define SIU_EMIOSB_EMIOS0_5_OUT26_WIDTH 1u
  4064. #define SIU_EMIOSB_EMIOS0_5_OUT26(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_5_OUT26_SHIFT))&SIU_EMIOSB_EMIOS0_5_OUT26_MASK)
  4065. #define SIU_EMIOSB_EMIOS0_6_OUT25_MASK 0x40u
  4066. #define SIU_EMIOSB_EMIOS0_6_OUT25_SHIFT 6u
  4067. #define SIU_EMIOSB_EMIOS0_6_OUT25_WIDTH 1u
  4068. #define SIU_EMIOSB_EMIOS0_6_OUT25(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_6_OUT25_SHIFT))&SIU_EMIOSB_EMIOS0_6_OUT25_MASK)
  4069. #define SIU_EMIOSB_EMIOS1_0_OUT24_MASK 0x80u
  4070. #define SIU_EMIOSB_EMIOS1_0_OUT24_SHIFT 7u
  4071. #define SIU_EMIOSB_EMIOS1_0_OUT24_WIDTH 1u
  4072. #define SIU_EMIOSB_EMIOS1_0_OUT24(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_0_OUT24_SHIFT))&SIU_EMIOSB_EMIOS1_0_OUT24_MASK)
  4073. #define SIU_EMIOSB_EMIOS1_1_OUT23_MASK 0x100u
  4074. #define SIU_EMIOSB_EMIOS1_1_OUT23_SHIFT 8u
  4075. #define SIU_EMIOSB_EMIOS1_1_OUT23_WIDTH 1u
  4076. #define SIU_EMIOSB_EMIOS1_1_OUT23(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_1_OUT23_SHIFT))&SIU_EMIOSB_EMIOS1_1_OUT23_MASK)
  4077. #define SIU_EMIOSB_EMIOS1_2_OUT22_MASK 0x200u
  4078. #define SIU_EMIOSB_EMIOS1_2_OUT22_SHIFT 9u
  4079. #define SIU_EMIOSB_EMIOS1_2_OUT22_WIDTH 1u
  4080. #define SIU_EMIOSB_EMIOS1_2_OUT22(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_2_OUT22_SHIFT))&SIU_EMIOSB_EMIOS1_2_OUT22_MASK)
  4081. #define SIU_EMIOSB_EMIOS1_3_OUT21_MASK 0x400u
  4082. #define SIU_EMIOSB_EMIOS1_3_OUT21_SHIFT 10u
  4083. #define SIU_EMIOSB_EMIOS1_3_OUT21_WIDTH 1u
  4084. #define SIU_EMIOSB_EMIOS1_3_OUT21(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_3_OUT21_SHIFT))&SIU_EMIOSB_EMIOS1_3_OUT21_MASK)
  4085. #define SIU_EMIOSB_EMIOS1_4_OUT20_MASK 0x800u
  4086. #define SIU_EMIOSB_EMIOS1_4_OUT20_SHIFT 11u
  4087. #define SIU_EMIOSB_EMIOS1_4_OUT20_WIDTH 1u
  4088. #define SIU_EMIOSB_EMIOS1_4_OUT20(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_4_OUT20_SHIFT))&SIU_EMIOSB_EMIOS1_4_OUT20_MASK)
  4089. #define SIU_EMIOSB_EMIOS1_5_OUT19_MASK 0x1000u
  4090. #define SIU_EMIOSB_EMIOS1_5_OUT19_SHIFT 12u
  4091. #define SIU_EMIOSB_EMIOS1_5_OUT19_WIDTH 1u
  4092. #define SIU_EMIOSB_EMIOS1_5_OUT19(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_5_OUT19_SHIFT))&SIU_EMIOSB_EMIOS1_5_OUT19_MASK)
  4093. #define SIU_EMIOSB_EMIOS1_6_OUT18_MASK 0x2000u
  4094. #define SIU_EMIOSB_EMIOS1_6_OUT18_SHIFT 13u
  4095. #define SIU_EMIOSB_EMIOS1_6_OUT18_WIDTH 1u
  4096. #define SIU_EMIOSB_EMIOS1_6_OUT18(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_6_OUT18_SHIFT))&SIU_EMIOSB_EMIOS1_6_OUT18_MASK)
  4097. #define SIU_EMIOSB_EMIOS1_7_OUT17_MASK 0x4000u
  4098. #define SIU_EMIOSB_EMIOS1_7_OUT17_SHIFT 14u
  4099. #define SIU_EMIOSB_EMIOS1_7_OUT17_WIDTH 1u
  4100. #define SIU_EMIOSB_EMIOS1_7_OUT17(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_7_OUT17_SHIFT))&SIU_EMIOSB_EMIOS1_7_OUT17_MASK)
  4101. #define SIU_EMIOSB_EMIOS0_23_OUT16_MASK 0x8000u
  4102. #define SIU_EMIOSB_EMIOS0_23_OUT16_SHIFT 15u
  4103. #define SIU_EMIOSB_EMIOS0_23_OUT16_WIDTH 1u
  4104. #define SIU_EMIOSB_EMIOS0_23_OUT16(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_23_OUT16_SHIFT))&SIU_EMIOSB_EMIOS0_23_OUT16_MASK)
  4105. #define SIU_EMIOSB_EMIOS1_4_OUT15_MASK 0x10000u
  4106. #define SIU_EMIOSB_EMIOS1_4_OUT15_SHIFT 16u
  4107. #define SIU_EMIOSB_EMIOS1_4_OUT15_WIDTH 1u
  4108. #define SIU_EMIOSB_EMIOS1_4_OUT15(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_4_OUT15_SHIFT))&SIU_EMIOSB_EMIOS1_4_OUT15_MASK)
  4109. #define SIU_EMIOSB_EMIOS1_5_OUT14_MASK 0x20000u
  4110. #define SIU_EMIOSB_EMIOS1_5_OUT14_SHIFT 17u
  4111. #define SIU_EMIOSB_EMIOS1_5_OUT14_WIDTH 1u
  4112. #define SIU_EMIOSB_EMIOS1_5_OUT14(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_5_OUT14_SHIFT))&SIU_EMIOSB_EMIOS1_5_OUT14_MASK)
  4113. #define SIU_EMIOSB_EMIOS1_6_OUT13_MASK 0x40000u
  4114. #define SIU_EMIOSB_EMIOS1_6_OUT13_SHIFT 18u
  4115. #define SIU_EMIOSB_EMIOS1_6_OUT13_WIDTH 1u
  4116. #define SIU_EMIOSB_EMIOS1_6_OUT13(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_6_OUT13_SHIFT))&SIU_EMIOSB_EMIOS1_6_OUT13_MASK)
  4117. #define SIU_EMIOSB_EMIOS1_7_OUT12_MASK 0x80000u
  4118. #define SIU_EMIOSB_EMIOS1_7_OUT12_SHIFT 19u
  4119. #define SIU_EMIOSB_EMIOS1_7_OUT12_WIDTH 1u
  4120. #define SIU_EMIOSB_EMIOS1_7_OUT12(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_7_OUT12_SHIFT))&SIU_EMIOSB_EMIOS1_7_OUT12_MASK)
  4121. #define SIU_EMIOSB_EMIOS0_23_OUT11_MASK 0x100000u
  4122. #define SIU_EMIOSB_EMIOS0_23_OUT11_SHIFT 20u
  4123. #define SIU_EMIOSB_EMIOS0_23_OUT11_WIDTH 1u
  4124. #define SIU_EMIOSB_EMIOS0_23_OUT11(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_23_OUT11_SHIFT))&SIU_EMIOSB_EMIOS0_23_OUT11_MASK)
  4125. #define SIU_EMIOSB_EMIOS0_0_OUT10_MASK 0x200000u
  4126. #define SIU_EMIOSB_EMIOS0_0_OUT10_SHIFT 21u
  4127. #define SIU_EMIOSB_EMIOS0_0_OUT10_WIDTH 1u
  4128. #define SIU_EMIOSB_EMIOS0_0_OUT10(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_0_OUT10_SHIFT))&SIU_EMIOSB_EMIOS0_0_OUT10_MASK)
  4129. #define SIU_EMIOSB_EMIOS0_1_OUT9_MASK 0x400000u
  4130. #define SIU_EMIOSB_EMIOS0_1_OUT9_SHIFT 22u
  4131. #define SIU_EMIOSB_EMIOS0_1_OUT9_WIDTH 1u
  4132. #define SIU_EMIOSB_EMIOS0_1_OUT9(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_1_OUT9_SHIFT))&SIU_EMIOSB_EMIOS0_1_OUT9_MASK)
  4133. #define SIU_EMIOSB_EMIOS0_2_OUT8_MASK 0x800000u
  4134. #define SIU_EMIOSB_EMIOS0_2_OUT8_SHIFT 23u
  4135. #define SIU_EMIOSB_EMIOS0_2_OUT8_WIDTH 1u
  4136. #define SIU_EMIOSB_EMIOS0_2_OUT8(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_2_OUT8_SHIFT))&SIU_EMIOSB_EMIOS0_2_OUT8_MASK)
  4137. #define SIU_EMIOSB_EMIOS0_3_OUT7_MASK 0x1000000u
  4138. #define SIU_EMIOSB_EMIOS0_3_OUT7_SHIFT 24u
  4139. #define SIU_EMIOSB_EMIOS0_3_OUT7_WIDTH 1u
  4140. #define SIU_EMIOSB_EMIOS0_3_OUT7(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_3_OUT7_SHIFT))&SIU_EMIOSB_EMIOS0_3_OUT7_MASK)
  4141. #define SIU_EMIOSB_EMIOS0_4_OUT6_MASK 0x2000000u
  4142. #define SIU_EMIOSB_EMIOS0_4_OUT6_SHIFT 25u
  4143. #define SIU_EMIOSB_EMIOS0_4_OUT6_WIDTH 1u
  4144. #define SIU_EMIOSB_EMIOS0_4_OUT6(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_4_OUT6_SHIFT))&SIU_EMIOSB_EMIOS0_4_OUT6_MASK)
  4145. #define SIU_EMIOSB_EMIOS0_5_OUT5_MASK 0x4000000u
  4146. #define SIU_EMIOSB_EMIOS0_5_OUT5_SHIFT 26u
  4147. #define SIU_EMIOSB_EMIOS0_5_OUT5_WIDTH 1u
  4148. #define SIU_EMIOSB_EMIOS0_5_OUT5(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_5_OUT5_SHIFT))&SIU_EMIOSB_EMIOS0_5_OUT5_MASK)
  4149. #define SIU_EMIOSB_EMIOS0_6_OUT4_MASK 0x8000000u
  4150. #define SIU_EMIOSB_EMIOS0_6_OUT4_SHIFT 27u
  4151. #define SIU_EMIOSB_EMIOS0_6_OUT4_WIDTH 1u
  4152. #define SIU_EMIOSB_EMIOS0_6_OUT4(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS0_6_OUT4_SHIFT))&SIU_EMIOSB_EMIOS0_6_OUT4_MASK)
  4153. #define SIU_EMIOSB_EMIOS1_0_OUT3_MASK 0x10000000u
  4154. #define SIU_EMIOSB_EMIOS1_0_OUT3_SHIFT 28u
  4155. #define SIU_EMIOSB_EMIOS1_0_OUT3_WIDTH 1u
  4156. #define SIU_EMIOSB_EMIOS1_0_OUT3(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_0_OUT3_SHIFT))&SIU_EMIOSB_EMIOS1_0_OUT3_MASK)
  4157. #define SIU_EMIOSB_EMIOS1_1_OUT2_MASK 0x20000000u
  4158. #define SIU_EMIOSB_EMIOS1_1_OUT2_SHIFT 29u
  4159. #define SIU_EMIOSB_EMIOS1_1_OUT2_WIDTH 1u
  4160. #define SIU_EMIOSB_EMIOS1_1_OUT2(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_1_OUT2_SHIFT))&SIU_EMIOSB_EMIOS1_1_OUT2_MASK)
  4161. #define SIU_EMIOSB_EMIOS1_2_OUT1_MASK 0x40000000u
  4162. #define SIU_EMIOSB_EMIOS1_2_OUT1_SHIFT 30u
  4163. #define SIU_EMIOSB_EMIOS1_2_OUT1_WIDTH 1u
  4164. #define SIU_EMIOSB_EMIOS1_2_OUT1(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_2_OUT1_SHIFT))&SIU_EMIOSB_EMIOS1_2_OUT1_MASK)
  4165. #define SIU_EMIOSB_EMIOS1_3_OUT0_MASK 0x80000000u
  4166. #define SIU_EMIOSB_EMIOS1_3_OUT0_SHIFT 31u
  4167. #define SIU_EMIOSB_EMIOS1_3_OUT0_WIDTH 1u
  4168. #define SIU_EMIOSB_EMIOS1_3_OUT0(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSB_EMIOS1_3_OUT0_SHIFT))&SIU_EMIOSB_EMIOS1_3_OUT0_MASK)
  4169. /* DSPIBHLB Bit Fields */
  4170. #define SIU_DSPIBHLB_DSPIBL31_MASK 0x1u
  4171. #define SIU_DSPIBHLB_DSPIBL31_SHIFT 0u
  4172. #define SIU_DSPIBHLB_DSPIBL31_WIDTH 1u
  4173. #define SIU_DSPIBHLB_DSPIBL31(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL31_SHIFT))&SIU_DSPIBHLB_DSPIBL31_MASK)
  4174. #define SIU_DSPIBHLB_DSPIBL30_MASK 0x2u
  4175. #define SIU_DSPIBHLB_DSPIBL30_SHIFT 1u
  4176. #define SIU_DSPIBHLB_DSPIBL30_WIDTH 1u
  4177. #define SIU_DSPIBHLB_DSPIBL30(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL30_SHIFT))&SIU_DSPIBHLB_DSPIBL30_MASK)
  4178. #define SIU_DSPIBHLB_DSPIBL29_MASK 0x4u
  4179. #define SIU_DSPIBHLB_DSPIBL29_SHIFT 2u
  4180. #define SIU_DSPIBHLB_DSPIBL29_WIDTH 1u
  4181. #define SIU_DSPIBHLB_DSPIBL29(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL29_SHIFT))&SIU_DSPIBHLB_DSPIBL29_MASK)
  4182. #define SIU_DSPIBHLB_DSPIBL28_MASK 0x8u
  4183. #define SIU_DSPIBHLB_DSPIBL28_SHIFT 3u
  4184. #define SIU_DSPIBHLB_DSPIBL28_WIDTH 1u
  4185. #define SIU_DSPIBHLB_DSPIBL28(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL28_SHIFT))&SIU_DSPIBHLB_DSPIBL28_MASK)
  4186. #define SIU_DSPIBHLB_DSPIBL27_MASK 0x10u
  4187. #define SIU_DSPIBHLB_DSPIBL27_SHIFT 4u
  4188. #define SIU_DSPIBHLB_DSPIBL27_WIDTH 1u
  4189. #define SIU_DSPIBHLB_DSPIBL27(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL27_SHIFT))&SIU_DSPIBHLB_DSPIBL27_MASK)
  4190. #define SIU_DSPIBHLB_DSPIBL26_MASK 0x20u
  4191. #define SIU_DSPIBHLB_DSPIBL26_SHIFT 5u
  4192. #define SIU_DSPIBHLB_DSPIBL26_WIDTH 1u
  4193. #define SIU_DSPIBHLB_DSPIBL26(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL26_SHIFT))&SIU_DSPIBHLB_DSPIBL26_MASK)
  4194. #define SIU_DSPIBHLB_DSPIBL25_MASK 0x40u
  4195. #define SIU_DSPIBHLB_DSPIBL25_SHIFT 6u
  4196. #define SIU_DSPIBHLB_DSPIBL25_WIDTH 1u
  4197. #define SIU_DSPIBHLB_DSPIBL25(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL25_SHIFT))&SIU_DSPIBHLB_DSPIBL25_MASK)
  4198. #define SIU_DSPIBHLB_DSPIBL24_MASK 0x80u
  4199. #define SIU_DSPIBHLB_DSPIBL24_SHIFT 7u
  4200. #define SIU_DSPIBHLB_DSPIBL24_WIDTH 1u
  4201. #define SIU_DSPIBHLB_DSPIBL24(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL24_SHIFT))&SIU_DSPIBHLB_DSPIBL24_MASK)
  4202. #define SIU_DSPIBHLB_DSPIBL23_MASK 0x100u
  4203. #define SIU_DSPIBHLB_DSPIBL23_SHIFT 8u
  4204. #define SIU_DSPIBHLB_DSPIBL23_WIDTH 1u
  4205. #define SIU_DSPIBHLB_DSPIBL23(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL23_SHIFT))&SIU_DSPIBHLB_DSPIBL23_MASK)
  4206. #define SIU_DSPIBHLB_DSPIBL22_MASK 0x200u
  4207. #define SIU_DSPIBHLB_DSPIBL22_SHIFT 9u
  4208. #define SIU_DSPIBHLB_DSPIBL22_WIDTH 1u
  4209. #define SIU_DSPIBHLB_DSPIBL22(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL22_SHIFT))&SIU_DSPIBHLB_DSPIBL22_MASK)
  4210. #define SIU_DSPIBHLB_DSPIBL21_MASK 0x400u
  4211. #define SIU_DSPIBHLB_DSPIBL21_SHIFT 10u
  4212. #define SIU_DSPIBHLB_DSPIBL21_WIDTH 1u
  4213. #define SIU_DSPIBHLB_DSPIBL21(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL21_SHIFT))&SIU_DSPIBHLB_DSPIBL21_MASK)
  4214. #define SIU_DSPIBHLB_DSPIBL20_MASK 0x800u
  4215. #define SIU_DSPIBHLB_DSPIBL20_SHIFT 11u
  4216. #define SIU_DSPIBHLB_DSPIBL20_WIDTH 1u
  4217. #define SIU_DSPIBHLB_DSPIBL20(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL20_SHIFT))&SIU_DSPIBHLB_DSPIBL20_MASK)
  4218. #define SIU_DSPIBHLB_DSPIBL19_MASK 0x1000u
  4219. #define SIU_DSPIBHLB_DSPIBL19_SHIFT 12u
  4220. #define SIU_DSPIBHLB_DSPIBL19_WIDTH 1u
  4221. #define SIU_DSPIBHLB_DSPIBL19(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL19_SHIFT))&SIU_DSPIBHLB_DSPIBL19_MASK)
  4222. #define SIU_DSPIBHLB_DSPIBL18_MASK 0x2000u
  4223. #define SIU_DSPIBHLB_DSPIBL18_SHIFT 13u
  4224. #define SIU_DSPIBHLB_DSPIBL18_WIDTH 1u
  4225. #define SIU_DSPIBHLB_DSPIBL18(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL18_SHIFT))&SIU_DSPIBHLB_DSPIBL18_MASK)
  4226. #define SIU_DSPIBHLB_DSPIBL17_MASK 0x4000u
  4227. #define SIU_DSPIBHLB_DSPIBL17_SHIFT 14u
  4228. #define SIU_DSPIBHLB_DSPIBL17_WIDTH 1u
  4229. #define SIU_DSPIBHLB_DSPIBL17(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL17_SHIFT))&SIU_DSPIBHLB_DSPIBL17_MASK)
  4230. #define SIU_DSPIBHLB_DSPIBL16_MASK 0x8000u
  4231. #define SIU_DSPIBHLB_DSPIBL16_SHIFT 15u
  4232. #define SIU_DSPIBHLB_DSPIBL16_WIDTH 1u
  4233. #define SIU_DSPIBHLB_DSPIBL16(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBL16_SHIFT))&SIU_DSPIBHLB_DSPIBL16_MASK)
  4234. #define SIU_DSPIBHLB_DSPIBH15_MASK 0x10000u
  4235. #define SIU_DSPIBHLB_DSPIBH15_SHIFT 16u
  4236. #define SIU_DSPIBHLB_DSPIBH15_WIDTH 1u
  4237. #define SIU_DSPIBHLB_DSPIBH15(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH15_SHIFT))&SIU_DSPIBHLB_DSPIBH15_MASK)
  4238. #define SIU_DSPIBHLB_DSPIBH14_MASK 0x20000u
  4239. #define SIU_DSPIBHLB_DSPIBH14_SHIFT 17u
  4240. #define SIU_DSPIBHLB_DSPIBH14_WIDTH 1u
  4241. #define SIU_DSPIBHLB_DSPIBH14(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH14_SHIFT))&SIU_DSPIBHLB_DSPIBH14_MASK)
  4242. #define SIU_DSPIBHLB_DSPIBH13_MASK 0x40000u
  4243. #define SIU_DSPIBHLB_DSPIBH13_SHIFT 18u
  4244. #define SIU_DSPIBHLB_DSPIBH13_WIDTH 1u
  4245. #define SIU_DSPIBHLB_DSPIBH13(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH13_SHIFT))&SIU_DSPIBHLB_DSPIBH13_MASK)
  4246. #define SIU_DSPIBHLB_DSPIBH12_MASK 0x80000u
  4247. #define SIU_DSPIBHLB_DSPIBH12_SHIFT 19u
  4248. #define SIU_DSPIBHLB_DSPIBH12_WIDTH 1u
  4249. #define SIU_DSPIBHLB_DSPIBH12(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH12_SHIFT))&SIU_DSPIBHLB_DSPIBH12_MASK)
  4250. #define SIU_DSPIBHLB_DSPIBH11_MASK 0x100000u
  4251. #define SIU_DSPIBHLB_DSPIBH11_SHIFT 20u
  4252. #define SIU_DSPIBHLB_DSPIBH11_WIDTH 1u
  4253. #define SIU_DSPIBHLB_DSPIBH11(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH11_SHIFT))&SIU_DSPIBHLB_DSPIBH11_MASK)
  4254. #define SIU_DSPIBHLB_DSPIBH10_MASK 0x200000u
  4255. #define SIU_DSPIBHLB_DSPIBH10_SHIFT 21u
  4256. #define SIU_DSPIBHLB_DSPIBH10_WIDTH 1u
  4257. #define SIU_DSPIBHLB_DSPIBH10(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH10_SHIFT))&SIU_DSPIBHLB_DSPIBH10_MASK)
  4258. #define SIU_DSPIBHLB_DSPIBH9_MASK 0x400000u
  4259. #define SIU_DSPIBHLB_DSPIBH9_SHIFT 22u
  4260. #define SIU_DSPIBHLB_DSPIBH9_WIDTH 1u
  4261. #define SIU_DSPIBHLB_DSPIBH9(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH9_SHIFT))&SIU_DSPIBHLB_DSPIBH9_MASK)
  4262. #define SIU_DSPIBHLB_DSPIBH8_MASK 0x800000u
  4263. #define SIU_DSPIBHLB_DSPIBH8_SHIFT 23u
  4264. #define SIU_DSPIBHLB_DSPIBH8_WIDTH 1u
  4265. #define SIU_DSPIBHLB_DSPIBH8(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH8_SHIFT))&SIU_DSPIBHLB_DSPIBH8_MASK)
  4266. #define SIU_DSPIBHLB_DSPIBH7_MASK 0x1000000u
  4267. #define SIU_DSPIBHLB_DSPIBH7_SHIFT 24u
  4268. #define SIU_DSPIBHLB_DSPIBH7_WIDTH 1u
  4269. #define SIU_DSPIBHLB_DSPIBH7(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH7_SHIFT))&SIU_DSPIBHLB_DSPIBH7_MASK)
  4270. #define SIU_DSPIBHLB_DSPIBH6_MASK 0x2000000u
  4271. #define SIU_DSPIBHLB_DSPIBH6_SHIFT 25u
  4272. #define SIU_DSPIBHLB_DSPIBH6_WIDTH 1u
  4273. #define SIU_DSPIBHLB_DSPIBH6(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH6_SHIFT))&SIU_DSPIBHLB_DSPIBH6_MASK)
  4274. #define SIU_DSPIBHLB_DSPIBH5_MASK 0x4000000u
  4275. #define SIU_DSPIBHLB_DSPIBH5_SHIFT 26u
  4276. #define SIU_DSPIBHLB_DSPIBH5_WIDTH 1u
  4277. #define SIU_DSPIBHLB_DSPIBH5(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH5_SHIFT))&SIU_DSPIBHLB_DSPIBH5_MASK)
  4278. #define SIU_DSPIBHLB_DSPIBH4_MASK 0x8000000u
  4279. #define SIU_DSPIBHLB_DSPIBH4_SHIFT 27u
  4280. #define SIU_DSPIBHLB_DSPIBH4_WIDTH 1u
  4281. #define SIU_DSPIBHLB_DSPIBH4(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH4_SHIFT))&SIU_DSPIBHLB_DSPIBH4_MASK)
  4282. #define SIU_DSPIBHLB_DSPIBH3_MASK 0x10000000u
  4283. #define SIU_DSPIBHLB_DSPIBH3_SHIFT 28u
  4284. #define SIU_DSPIBHLB_DSPIBH3_WIDTH 1u
  4285. #define SIU_DSPIBHLB_DSPIBH3(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH3_SHIFT))&SIU_DSPIBHLB_DSPIBH3_MASK)
  4286. #define SIU_DSPIBHLB_DSPIBH2_MASK 0x20000000u
  4287. #define SIU_DSPIBHLB_DSPIBH2_SHIFT 29u
  4288. #define SIU_DSPIBHLB_DSPIBH2_WIDTH 1u
  4289. #define SIU_DSPIBHLB_DSPIBH2(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH2_SHIFT))&SIU_DSPIBHLB_DSPIBH2_MASK)
  4290. #define SIU_DSPIBHLB_DSPIBH1_MASK 0x40000000u
  4291. #define SIU_DSPIBHLB_DSPIBH1_SHIFT 30u
  4292. #define SIU_DSPIBHLB_DSPIBH1_WIDTH 1u
  4293. #define SIU_DSPIBHLB_DSPIBH1(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH1_SHIFT))&SIU_DSPIBHLB_DSPIBH1_MASK)
  4294. #define SIU_DSPIBHLB_DSPIBH0_MASK 0x80000000u
  4295. #define SIU_DSPIBHLB_DSPIBH0_SHIFT 31u
  4296. #define SIU_DSPIBHLB_DSPIBH0_WIDTH 1u
  4297. #define SIU_DSPIBHLB_DSPIBH0(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIBHLB_DSPIBH0_SHIFT))&SIU_DSPIBHLB_DSPIBH0_MASK)
  4298. /* ETPUAC Bit Fields */
  4299. #define SIU_ETPUAC_ETPUA30_MASK 0x1u
  4300. #define SIU_ETPUAC_ETPUA30_SHIFT 0u
  4301. #define SIU_ETPUAC_ETPUA30_WIDTH 1u
  4302. #define SIU_ETPUAC_ETPUA30(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA30_SHIFT))&SIU_ETPUAC_ETPUA30_MASK)
  4303. #define SIU_ETPUAC_ETPUA31_MASK 0x2u
  4304. #define SIU_ETPUAC_ETPUA31_SHIFT 1u
  4305. #define SIU_ETPUAC_ETPUA31_WIDTH 1u
  4306. #define SIU_ETPUAC_ETPUA31(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA31_SHIFT))&SIU_ETPUAC_ETPUA31_MASK)
  4307. #define SIU_ETPUAC_ETPUA24_MASK 0x4u
  4308. #define SIU_ETPUAC_ETPUA24_SHIFT 2u
  4309. #define SIU_ETPUAC_ETPUA24_WIDTH 1u
  4310. #define SIU_ETPUAC_ETPUA24(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA24_SHIFT))&SIU_ETPUAC_ETPUA24_MASK)
  4311. #define SIU_ETPUAC_ETPUA25_MASK 0x8u
  4312. #define SIU_ETPUAC_ETPUA25_SHIFT 3u
  4313. #define SIU_ETPUAC_ETPUA25_WIDTH 1u
  4314. #define SIU_ETPUAC_ETPUA25(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA25_SHIFT))&SIU_ETPUAC_ETPUA25_MASK)
  4315. #define SIU_ETPUAC_ETPUA26_MASK 0x10u
  4316. #define SIU_ETPUAC_ETPUA26_SHIFT 4u
  4317. #define SIU_ETPUAC_ETPUA26_WIDTH 1u
  4318. #define SIU_ETPUAC_ETPUA26(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA26_SHIFT))&SIU_ETPUAC_ETPUA26_MASK)
  4319. #define SIU_ETPUAC_ETPUA27_MASK 0x20u
  4320. #define SIU_ETPUAC_ETPUA27_SHIFT 5u
  4321. #define SIU_ETPUAC_ETPUA27_WIDTH 1u
  4322. #define SIU_ETPUAC_ETPUA27(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA27_SHIFT))&SIU_ETPUAC_ETPUA27_MASK)
  4323. #define SIU_ETPUAC_ETPUA28_MASK 0x40u
  4324. #define SIU_ETPUAC_ETPUA28_SHIFT 6u
  4325. #define SIU_ETPUAC_ETPUA28_WIDTH 1u
  4326. #define SIU_ETPUAC_ETPUA28(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA28_SHIFT))&SIU_ETPUAC_ETPUA28_MASK)
  4327. #define SIU_ETPUAC_ETPUA29_MASK 0x80u
  4328. #define SIU_ETPUAC_ETPUA29_SHIFT 7u
  4329. #define SIU_ETPUAC_ETPUA29_WIDTH 1u
  4330. #define SIU_ETPUAC_ETPUA29(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA29_SHIFT))&SIU_ETPUAC_ETPUA29_MASK)
  4331. #define SIU_ETPUAC_ETPUA16_MASK 0x100u
  4332. #define SIU_ETPUAC_ETPUA16_SHIFT 8u
  4333. #define SIU_ETPUAC_ETPUA16_WIDTH 1u
  4334. #define SIU_ETPUAC_ETPUA16(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA16_SHIFT))&SIU_ETPUAC_ETPUA16_MASK)
  4335. #define SIU_ETPUAC_ETPUA17_MASK 0x200u
  4336. #define SIU_ETPUAC_ETPUA17_SHIFT 9u
  4337. #define SIU_ETPUAC_ETPUA17_WIDTH 1u
  4338. #define SIU_ETPUAC_ETPUA17(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA17_SHIFT))&SIU_ETPUAC_ETPUA17_MASK)
  4339. #define SIU_ETPUAC_ETPUA18_MASK 0x400u
  4340. #define SIU_ETPUAC_ETPUA18_SHIFT 10u
  4341. #define SIU_ETPUAC_ETPUA18_WIDTH 1u
  4342. #define SIU_ETPUAC_ETPUA18(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA18_SHIFT))&SIU_ETPUAC_ETPUA18_MASK)
  4343. #define SIU_ETPUAC_ETPUA19_MASK 0x800u
  4344. #define SIU_ETPUAC_ETPUA19_SHIFT 11u
  4345. #define SIU_ETPUAC_ETPUA19_WIDTH 1u
  4346. #define SIU_ETPUAC_ETPUA19(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA19_SHIFT))&SIU_ETPUAC_ETPUA19_MASK)
  4347. #define SIU_ETPUAC_ETPUA20_MASK 0x1000u
  4348. #define SIU_ETPUAC_ETPUA20_SHIFT 12u
  4349. #define SIU_ETPUAC_ETPUA20_WIDTH 1u
  4350. #define SIU_ETPUAC_ETPUA20(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA20_SHIFT))&SIU_ETPUAC_ETPUA20_MASK)
  4351. #define SIU_ETPUAC_ETPUA21_MASK 0x2000u
  4352. #define SIU_ETPUAC_ETPUA21_SHIFT 13u
  4353. #define SIU_ETPUAC_ETPUA21_WIDTH 1u
  4354. #define SIU_ETPUAC_ETPUA21(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA21_SHIFT))&SIU_ETPUAC_ETPUA21_MASK)
  4355. #define SIU_ETPUAC_ETPUA22_MASK 0x4000u
  4356. #define SIU_ETPUAC_ETPUA22_SHIFT 14u
  4357. #define SIU_ETPUAC_ETPUA22_WIDTH 1u
  4358. #define SIU_ETPUAC_ETPUA22(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA22_SHIFT))&SIU_ETPUAC_ETPUA22_MASK)
  4359. #define SIU_ETPUAC_ETPUA23_MASK 0x8000u
  4360. #define SIU_ETPUAC_ETPUA23_SHIFT 15u
  4361. #define SIU_ETPUAC_ETPUA23_WIDTH 1u
  4362. #define SIU_ETPUAC_ETPUA23(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA23_SHIFT))&SIU_ETPUAC_ETPUA23_MASK)
  4363. #define SIU_ETPUAC_ETPUA11_MASK 0x10000u
  4364. #define SIU_ETPUAC_ETPUA11_SHIFT 16u
  4365. #define SIU_ETPUAC_ETPUA11_WIDTH 1u
  4366. #define SIU_ETPUAC_ETPUA11(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA11_SHIFT))&SIU_ETPUAC_ETPUA11_MASK)
  4367. #define SIU_ETPUAC_ETPUA10_MASK 0x20000u
  4368. #define SIU_ETPUAC_ETPUA10_SHIFT 17u
  4369. #define SIU_ETPUAC_ETPUA10_WIDTH 1u
  4370. #define SIU_ETPUAC_ETPUA10(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA10_SHIFT))&SIU_ETPUAC_ETPUA10_MASK)
  4371. #define SIU_ETPUAC_ETPUA9_MASK 0x40000u
  4372. #define SIU_ETPUAC_ETPUA9_SHIFT 18u
  4373. #define SIU_ETPUAC_ETPUA9_WIDTH 1u
  4374. #define SIU_ETPUAC_ETPUA9(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA9_SHIFT))&SIU_ETPUAC_ETPUA9_MASK)
  4375. #define SIU_ETPUAC_ETPUA8_MASK 0x80000u
  4376. #define SIU_ETPUAC_ETPUA8_SHIFT 19u
  4377. #define SIU_ETPUAC_ETPUA8_WIDTH 1u
  4378. #define SIU_ETPUAC_ETPUA8(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA8_SHIFT))&SIU_ETPUAC_ETPUA8_MASK)
  4379. #define SIU_ETPUAC_ETPUA7_MASK 0x100000u
  4380. #define SIU_ETPUAC_ETPUA7_SHIFT 20u
  4381. #define SIU_ETPUAC_ETPUA7_WIDTH 1u
  4382. #define SIU_ETPUAC_ETPUA7(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA7_SHIFT))&SIU_ETPUAC_ETPUA7_MASK)
  4383. #define SIU_ETPUAC_ETPUA6_MASK 0x200000u
  4384. #define SIU_ETPUAC_ETPUA6_SHIFT 21u
  4385. #define SIU_ETPUAC_ETPUA6_WIDTH 1u
  4386. #define SIU_ETPUAC_ETPUA6(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA6_SHIFT))&SIU_ETPUAC_ETPUA6_MASK)
  4387. #define SIU_ETPUAC_ETPUA5_MASK 0x400000u
  4388. #define SIU_ETPUAC_ETPUA5_SHIFT 22u
  4389. #define SIU_ETPUAC_ETPUA5_WIDTH 1u
  4390. #define SIU_ETPUAC_ETPUA5(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA5_SHIFT))&SIU_ETPUAC_ETPUA5_MASK)
  4391. #define SIU_ETPUAC_ETPUA4_MASK 0x800000u
  4392. #define SIU_ETPUAC_ETPUA4_SHIFT 23u
  4393. #define SIU_ETPUAC_ETPUA4_WIDTH 1u
  4394. #define SIU_ETPUAC_ETPUA4(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA4_SHIFT))&SIU_ETPUAC_ETPUA4_MASK)
  4395. #define SIU_ETPUAC_ETPUA3_MASK 0x1000000u
  4396. #define SIU_ETPUAC_ETPUA3_SHIFT 24u
  4397. #define SIU_ETPUAC_ETPUA3_WIDTH 1u
  4398. #define SIU_ETPUAC_ETPUA3(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA3_SHIFT))&SIU_ETPUAC_ETPUA3_MASK)
  4399. #define SIU_ETPUAC_ETPUA2_MASK 0x2000000u
  4400. #define SIU_ETPUAC_ETPUA2_SHIFT 25u
  4401. #define SIU_ETPUAC_ETPUA2_WIDTH 1u
  4402. #define SIU_ETPUAC_ETPUA2(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA2_SHIFT))&SIU_ETPUAC_ETPUA2_MASK)
  4403. #define SIU_ETPUAC_ETPUA1_MASK 0x4000000u
  4404. #define SIU_ETPUAC_ETPUA1_SHIFT 26u
  4405. #define SIU_ETPUAC_ETPUA1_WIDTH 1u
  4406. #define SIU_ETPUAC_ETPUA1(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA1_SHIFT))&SIU_ETPUAC_ETPUA1_MASK)
  4407. #define SIU_ETPUAC_ETPUA0_MASK 0x8000000u
  4408. #define SIU_ETPUAC_ETPUA0_SHIFT 27u
  4409. #define SIU_ETPUAC_ETPUA0_WIDTH 1u
  4410. #define SIU_ETPUAC_ETPUA0(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA0_SHIFT))&SIU_ETPUAC_ETPUA0_MASK)
  4411. #define SIU_ETPUAC_ETPUA15_MASK 0x10000000u
  4412. #define SIU_ETPUAC_ETPUA15_SHIFT 28u
  4413. #define SIU_ETPUAC_ETPUA15_WIDTH 1u
  4414. #define SIU_ETPUAC_ETPUA15(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA15_SHIFT))&SIU_ETPUAC_ETPUA15_MASK)
  4415. #define SIU_ETPUAC_ETPUA14_MASK 0x20000000u
  4416. #define SIU_ETPUAC_ETPUA14_SHIFT 29u
  4417. #define SIU_ETPUAC_ETPUA14_WIDTH 1u
  4418. #define SIU_ETPUAC_ETPUA14(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA14_SHIFT))&SIU_ETPUAC_ETPUA14_MASK)
  4419. #define SIU_ETPUAC_ETPUA13_MASK 0x40000000u
  4420. #define SIU_ETPUAC_ETPUA13_SHIFT 30u
  4421. #define SIU_ETPUAC_ETPUA13_WIDTH 1u
  4422. #define SIU_ETPUAC_ETPUA13(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA13_SHIFT))&SIU_ETPUAC_ETPUA13_MASK)
  4423. #define SIU_ETPUAC_ETPUA12_MASK 0x80000000u
  4424. #define SIU_ETPUAC_ETPUA12_SHIFT 31u
  4425. #define SIU_ETPUAC_ETPUA12_WIDTH 1u
  4426. #define SIU_ETPUAC_ETPUA12(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUAC_ETPUA12_SHIFT))&SIU_ETPUAC_ETPUA12_MASK)
  4427. /* EMIOSC Bit Fields */
  4428. #define SIU_EMIOSC_EMIOS0_23_OUT31_MASK 0x1u
  4429. #define SIU_EMIOSC_EMIOS0_23_OUT31_SHIFT 0u
  4430. #define SIU_EMIOSC_EMIOS0_23_OUT31_WIDTH 1u
  4431. #define SIU_EMIOSC_EMIOS0_23_OUT31(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_23_OUT31_SHIFT))&SIU_EMIOSC_EMIOS0_23_OUT31_MASK)
  4432. #define SIU_EMIOSC_EMIOS1_7_OUT30_MASK 0x2u
  4433. #define SIU_EMIOSC_EMIOS1_7_OUT30_SHIFT 1u
  4434. #define SIU_EMIOSC_EMIOS1_7_OUT30_WIDTH 1u
  4435. #define SIU_EMIOSC_EMIOS1_7_OUT30(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_7_OUT30_SHIFT))&SIU_EMIOSC_EMIOS1_7_OUT30_MASK)
  4436. #define SIU_EMIOSC_EMIOS1_6_OUT29_MASK 0x4u
  4437. #define SIU_EMIOSC_EMIOS1_6_OUT29_SHIFT 2u
  4438. #define SIU_EMIOSC_EMIOS1_6_OUT29_WIDTH 1u
  4439. #define SIU_EMIOSC_EMIOS1_6_OUT29(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_6_OUT29_SHIFT))&SIU_EMIOSC_EMIOS1_6_OUT29_MASK)
  4440. #define SIU_EMIOSC_EMIOS1_5_OUT28_MASK 0x8u
  4441. #define SIU_EMIOSC_EMIOS1_5_OUT28_SHIFT 3u
  4442. #define SIU_EMIOSC_EMIOS1_5_OUT28_WIDTH 1u
  4443. #define SIU_EMIOSC_EMIOS1_5_OUT28(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_5_OUT28_SHIFT))&SIU_EMIOSC_EMIOS1_5_OUT28_MASK)
  4444. #define SIU_EMIOSC_EMIOS1_4_OUT27_MASK 0x10u
  4445. #define SIU_EMIOSC_EMIOS1_4_OUT27_SHIFT 4u
  4446. #define SIU_EMIOSC_EMIOS1_4_OUT27_WIDTH 1u
  4447. #define SIU_EMIOSC_EMIOS1_4_OUT27(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_4_OUT27_SHIFT))&SIU_EMIOSC_EMIOS1_4_OUT27_MASK)
  4448. #define SIU_EMIOSC_EMIOS1_3_OUT26_MASK 0x20u
  4449. #define SIU_EMIOSC_EMIOS1_3_OUT26_SHIFT 5u
  4450. #define SIU_EMIOSC_EMIOS1_3_OUT26_WIDTH 1u
  4451. #define SIU_EMIOSC_EMIOS1_3_OUT26(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_3_OUT26_SHIFT))&SIU_EMIOSC_EMIOS1_3_OUT26_MASK)
  4452. #define SIU_EMIOSC_EMIOS1_2_OUT25_MASK 0x40u
  4453. #define SIU_EMIOSC_EMIOS1_2_OUT25_SHIFT 6u
  4454. #define SIU_EMIOSC_EMIOS1_2_OUT25_WIDTH 1u
  4455. #define SIU_EMIOSC_EMIOS1_2_OUT25(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_2_OUT25_SHIFT))&SIU_EMIOSC_EMIOS1_2_OUT25_MASK)
  4456. #define SIU_EMIOSC_EMIOS1_1_OUT24_MASK 0x80u
  4457. #define SIU_EMIOSC_EMIOS1_1_OUT24_SHIFT 7u
  4458. #define SIU_EMIOSC_EMIOS1_1_OUT24_WIDTH 1u
  4459. #define SIU_EMIOSC_EMIOS1_1_OUT24(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_1_OUT24_SHIFT))&SIU_EMIOSC_EMIOS1_1_OUT24_MASK)
  4460. #define SIU_EMIOSC_EMIOS1_0_OUT23_MASK 0x100u
  4461. #define SIU_EMIOSC_EMIOS1_0_OUT23_SHIFT 8u
  4462. #define SIU_EMIOSC_EMIOS1_0_OUT23_WIDTH 1u
  4463. #define SIU_EMIOSC_EMIOS1_0_OUT23(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_0_OUT23_SHIFT))&SIU_EMIOSC_EMIOS1_0_OUT23_MASK)
  4464. #define SIU_EMIOSC_EMIOS0_6_OUT22_MASK 0x200u
  4465. #define SIU_EMIOSC_EMIOS0_6_OUT22_SHIFT 9u
  4466. #define SIU_EMIOSC_EMIOS0_6_OUT22_WIDTH 1u
  4467. #define SIU_EMIOSC_EMIOS0_6_OUT22(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_6_OUT22_SHIFT))&SIU_EMIOSC_EMIOS0_6_OUT22_MASK)
  4468. #define SIU_EMIOSC_EMIOS0_5_OUT21_MASK 0x400u
  4469. #define SIU_EMIOSC_EMIOS0_5_OUT21_SHIFT 10u
  4470. #define SIU_EMIOSC_EMIOS0_5_OUT21_WIDTH 1u
  4471. #define SIU_EMIOSC_EMIOS0_5_OUT21(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_5_OUT21_SHIFT))&SIU_EMIOSC_EMIOS0_5_OUT21_MASK)
  4472. #define SIU_EMIOSC_EMIOS0_4_OUT20_MASK 0x800u
  4473. #define SIU_EMIOSC_EMIOS0_4_OUT20_SHIFT 11u
  4474. #define SIU_EMIOSC_EMIOS0_4_OUT20_WIDTH 1u
  4475. #define SIU_EMIOSC_EMIOS0_4_OUT20(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_4_OUT20_SHIFT))&SIU_EMIOSC_EMIOS0_4_OUT20_MASK)
  4476. #define SIU_EMIOSC_EMIOS0_3_OUT19_MASK 0x1000u
  4477. #define SIU_EMIOSC_EMIOS0_3_OUT19_SHIFT 12u
  4478. #define SIU_EMIOSC_EMIOS0_3_OUT19_WIDTH 1u
  4479. #define SIU_EMIOSC_EMIOS0_3_OUT19(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_3_OUT19_SHIFT))&SIU_EMIOSC_EMIOS0_3_OUT19_MASK)
  4480. #define SIU_EMIOSC_EMIOS0_2_OUT18_MASK 0x2000u
  4481. #define SIU_EMIOSC_EMIOS0_2_OUT18_SHIFT 13u
  4482. #define SIU_EMIOSC_EMIOS0_2_OUT18_WIDTH 1u
  4483. #define SIU_EMIOSC_EMIOS0_2_OUT18(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_2_OUT18_SHIFT))&SIU_EMIOSC_EMIOS0_2_OUT18_MASK)
  4484. #define SIU_EMIOSC_EMIOS0_1_OUT17_MASK 0x4000u
  4485. #define SIU_EMIOSC_EMIOS0_1_OUT17_SHIFT 14u
  4486. #define SIU_EMIOSC_EMIOS0_1_OUT17_WIDTH 1u
  4487. #define SIU_EMIOSC_EMIOS0_1_OUT17(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_1_OUT17_SHIFT))&SIU_EMIOSC_EMIOS0_1_OUT17_MASK)
  4488. #define SIU_EMIOSC_EMIOS0_0_OUT16_MASK 0x8000u
  4489. #define SIU_EMIOSC_EMIOS0_0_OUT16_SHIFT 15u
  4490. #define SIU_EMIOSC_EMIOS0_0_OUT16_WIDTH 1u
  4491. #define SIU_EMIOSC_EMIOS0_0_OUT16(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_0_OUT16_SHIFT))&SIU_EMIOSC_EMIOS0_0_OUT16_MASK)
  4492. #define SIU_EMIOSC_EMIOS1_3_OUT15_MASK 0x10000u
  4493. #define SIU_EMIOSC_EMIOS1_3_OUT15_SHIFT 16u
  4494. #define SIU_EMIOSC_EMIOS1_3_OUT15_WIDTH 1u
  4495. #define SIU_EMIOSC_EMIOS1_3_OUT15(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_3_OUT15_SHIFT))&SIU_EMIOSC_EMIOS1_3_OUT15_MASK)
  4496. #define SIU_EMIOSC_EMIOS1_2_OUT14_MASK 0x20000u
  4497. #define SIU_EMIOSC_EMIOS1_2_OUT14_SHIFT 17u
  4498. #define SIU_EMIOSC_EMIOS1_2_OUT14_WIDTH 1u
  4499. #define SIU_EMIOSC_EMIOS1_2_OUT14(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_2_OUT14_SHIFT))&SIU_EMIOSC_EMIOS1_2_OUT14_MASK)
  4500. #define SIU_EMIOSC_EMIOS1_1_OUT13_MASK 0x40000u
  4501. #define SIU_EMIOSC_EMIOS1_1_OUT13_SHIFT 18u
  4502. #define SIU_EMIOSC_EMIOS1_1_OUT13_WIDTH 1u
  4503. #define SIU_EMIOSC_EMIOS1_1_OUT13(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_1_OUT13_SHIFT))&SIU_EMIOSC_EMIOS1_1_OUT13_MASK)
  4504. #define SIU_EMIOSC_EMIOS1_0_OUT12_MASK 0x80000u
  4505. #define SIU_EMIOSC_EMIOS1_0_OUT12_SHIFT 19u
  4506. #define SIU_EMIOSC_EMIOS1_0_OUT12_WIDTH 1u
  4507. #define SIU_EMIOSC_EMIOS1_0_OUT12(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_0_OUT12_SHIFT))&SIU_EMIOSC_EMIOS1_0_OUT12_MASK)
  4508. #define SIU_EMIOSC_EMIOS0_6_OUT11_MASK 0x100000u
  4509. #define SIU_EMIOSC_EMIOS0_6_OUT11_SHIFT 20u
  4510. #define SIU_EMIOSC_EMIOS0_6_OUT11_WIDTH 1u
  4511. #define SIU_EMIOSC_EMIOS0_6_OUT11(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_6_OUT11_SHIFT))&SIU_EMIOSC_EMIOS0_6_OUT11_MASK)
  4512. #define SIU_EMIOSC_EMIOS0_5_OUT10_MASK 0x200000u
  4513. #define SIU_EMIOSC_EMIOS0_5_OUT10_SHIFT 21u
  4514. #define SIU_EMIOSC_EMIOS0_5_OUT10_WIDTH 1u
  4515. #define SIU_EMIOSC_EMIOS0_5_OUT10(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_5_OUT10_SHIFT))&SIU_EMIOSC_EMIOS0_5_OUT10_MASK)
  4516. #define SIU_EMIOSC_EMIOS0_4_OUT9_MASK 0x400000u
  4517. #define SIU_EMIOSC_EMIOS0_4_OUT9_SHIFT 22u
  4518. #define SIU_EMIOSC_EMIOS0_4_OUT9_WIDTH 1u
  4519. #define SIU_EMIOSC_EMIOS0_4_OUT9(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_4_OUT9_SHIFT))&SIU_EMIOSC_EMIOS0_4_OUT9_MASK)
  4520. #define SIU_EMIOSC_EMIOS0_3_OUT8_MASK 0x800000u
  4521. #define SIU_EMIOSC_EMIOS0_3_OUT8_SHIFT 23u
  4522. #define SIU_EMIOSC_EMIOS0_3_OUT8_WIDTH 1u
  4523. #define SIU_EMIOSC_EMIOS0_3_OUT8(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_3_OUT8_SHIFT))&SIU_EMIOSC_EMIOS0_3_OUT8_MASK)
  4524. #define SIU_EMIOSC_EMIOS0_2_OUT7_MASK 0x1000000u
  4525. #define SIU_EMIOSC_EMIOS0_2_OUT7_SHIFT 24u
  4526. #define SIU_EMIOSC_EMIOS0_2_OUT7_WIDTH 1u
  4527. #define SIU_EMIOSC_EMIOS0_2_OUT7(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_2_OUT7_SHIFT))&SIU_EMIOSC_EMIOS0_2_OUT7_MASK)
  4528. #define SIU_EMIOSC_EMIOS0_1_OUT6_MASK 0x2000000u
  4529. #define SIU_EMIOSC_EMIOS0_1_OUT6_SHIFT 25u
  4530. #define SIU_EMIOSC_EMIOS0_1_OUT6_WIDTH 1u
  4531. #define SIU_EMIOSC_EMIOS0_1_OUT6(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_1_OUT6_SHIFT))&SIU_EMIOSC_EMIOS0_1_OUT6_MASK)
  4532. #define SIU_EMIOSC_EMIOS0_0_OUT5_MASK 0x4000000u
  4533. #define SIU_EMIOSC_EMIOS0_0_OUT5_SHIFT 26u
  4534. #define SIU_EMIOSC_EMIOS0_0_OUT5_WIDTH 1u
  4535. #define SIU_EMIOSC_EMIOS0_0_OUT5(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_0_OUT5_SHIFT))&SIU_EMIOSC_EMIOS0_0_OUT5_MASK)
  4536. #define SIU_EMIOSC_EMIOS0_23_OUT4_MASK 0x8000000u
  4537. #define SIU_EMIOSC_EMIOS0_23_OUT4_SHIFT 27u
  4538. #define SIU_EMIOSC_EMIOS0_23_OUT4_WIDTH 1u
  4539. #define SIU_EMIOSC_EMIOS0_23_OUT4(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS0_23_OUT4_SHIFT))&SIU_EMIOSC_EMIOS0_23_OUT4_MASK)
  4540. #define SIU_EMIOSC_EMIOS1_7_OUT3_MASK 0x10000000u
  4541. #define SIU_EMIOSC_EMIOS1_7_OUT3_SHIFT 28u
  4542. #define SIU_EMIOSC_EMIOS1_7_OUT3_WIDTH 1u
  4543. #define SIU_EMIOSC_EMIOS1_7_OUT3(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_7_OUT3_SHIFT))&SIU_EMIOSC_EMIOS1_7_OUT3_MASK)
  4544. #define SIU_EMIOSC_EMIOS1_6_OUT2_MASK 0x20000000u
  4545. #define SIU_EMIOSC_EMIOS1_6_OUT2_SHIFT 29u
  4546. #define SIU_EMIOSC_EMIOS1_6_OUT2_WIDTH 1u
  4547. #define SIU_EMIOSC_EMIOS1_6_OUT2(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_6_OUT2_SHIFT))&SIU_EMIOSC_EMIOS1_6_OUT2_MASK)
  4548. #define SIU_EMIOSC_EMIOS1_5_OUT1_MASK 0x40000000u
  4549. #define SIU_EMIOSC_EMIOS1_5_OUT1_SHIFT 30u
  4550. #define SIU_EMIOSC_EMIOS1_5_OUT1_WIDTH 1u
  4551. #define SIU_EMIOSC_EMIOS1_5_OUT1(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_5_OUT1_SHIFT))&SIU_EMIOSC_EMIOS1_5_OUT1_MASK)
  4552. #define SIU_EMIOSC_EMIOS1_4_OUT0_MASK 0x80000000u
  4553. #define SIU_EMIOSC_EMIOS1_4_OUT0_SHIFT 31u
  4554. #define SIU_EMIOSC_EMIOS1_4_OUT0_WIDTH 1u
  4555. #define SIU_EMIOSC_EMIOS1_4_OUT0(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSC_EMIOS1_4_OUT0_SHIFT))&SIU_EMIOSC_EMIOS1_4_OUT0_MASK)
  4556. /* DSPICHLC Bit Fields */
  4557. #define SIU_DSPICHLC_DSPICL31_MASK 0x1u
  4558. #define SIU_DSPICHLC_DSPICL31_SHIFT 0u
  4559. #define SIU_DSPICHLC_DSPICL31_WIDTH 1u
  4560. #define SIU_DSPICHLC_DSPICL31(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL31_SHIFT))&SIU_DSPICHLC_DSPICL31_MASK)
  4561. #define SIU_DSPICHLC_DSPICL30_MASK 0x2u
  4562. #define SIU_DSPICHLC_DSPICL30_SHIFT 1u
  4563. #define SIU_DSPICHLC_DSPICL30_WIDTH 1u
  4564. #define SIU_DSPICHLC_DSPICL30(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL30_SHIFT))&SIU_DSPICHLC_DSPICL30_MASK)
  4565. #define SIU_DSPICHLC_DSPICL29_MASK 0x4u
  4566. #define SIU_DSPICHLC_DSPICL29_SHIFT 2u
  4567. #define SIU_DSPICHLC_DSPICL29_WIDTH 1u
  4568. #define SIU_DSPICHLC_DSPICL29(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL29_SHIFT))&SIU_DSPICHLC_DSPICL29_MASK)
  4569. #define SIU_DSPICHLC_DSPICL28_MASK 0x8u
  4570. #define SIU_DSPICHLC_DSPICL28_SHIFT 3u
  4571. #define SIU_DSPICHLC_DSPICL28_WIDTH 1u
  4572. #define SIU_DSPICHLC_DSPICL28(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL28_SHIFT))&SIU_DSPICHLC_DSPICL28_MASK)
  4573. #define SIU_DSPICHLC_DSPICL27_MASK 0x10u
  4574. #define SIU_DSPICHLC_DSPICL27_SHIFT 4u
  4575. #define SIU_DSPICHLC_DSPICL27_WIDTH 1u
  4576. #define SIU_DSPICHLC_DSPICL27(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL27_SHIFT))&SIU_DSPICHLC_DSPICL27_MASK)
  4577. #define SIU_DSPICHLC_DSPICL26_MASK 0x20u
  4578. #define SIU_DSPICHLC_DSPICL26_SHIFT 5u
  4579. #define SIU_DSPICHLC_DSPICL26_WIDTH 1u
  4580. #define SIU_DSPICHLC_DSPICL26(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL26_SHIFT))&SIU_DSPICHLC_DSPICL26_MASK)
  4581. #define SIU_DSPICHLC_DSPICL25_MASK 0x40u
  4582. #define SIU_DSPICHLC_DSPICL25_SHIFT 6u
  4583. #define SIU_DSPICHLC_DSPICL25_WIDTH 1u
  4584. #define SIU_DSPICHLC_DSPICL25(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL25_SHIFT))&SIU_DSPICHLC_DSPICL25_MASK)
  4585. #define SIU_DSPICHLC_DSPICL24_MASK 0x80u
  4586. #define SIU_DSPICHLC_DSPICL24_SHIFT 7u
  4587. #define SIU_DSPICHLC_DSPICL24_WIDTH 1u
  4588. #define SIU_DSPICHLC_DSPICL24(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL24_SHIFT))&SIU_DSPICHLC_DSPICL24_MASK)
  4589. #define SIU_DSPICHLC_DSPICL23_MASK 0x100u
  4590. #define SIU_DSPICHLC_DSPICL23_SHIFT 8u
  4591. #define SIU_DSPICHLC_DSPICL23_WIDTH 1u
  4592. #define SIU_DSPICHLC_DSPICL23(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL23_SHIFT))&SIU_DSPICHLC_DSPICL23_MASK)
  4593. #define SIU_DSPICHLC_DSPICL22_MASK 0x200u
  4594. #define SIU_DSPICHLC_DSPICL22_SHIFT 9u
  4595. #define SIU_DSPICHLC_DSPICL22_WIDTH 1u
  4596. #define SIU_DSPICHLC_DSPICL22(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL22_SHIFT))&SIU_DSPICHLC_DSPICL22_MASK)
  4597. #define SIU_DSPICHLC_DSPICL21_MASK 0x400u
  4598. #define SIU_DSPICHLC_DSPICL21_SHIFT 10u
  4599. #define SIU_DSPICHLC_DSPICL21_WIDTH 1u
  4600. #define SIU_DSPICHLC_DSPICL21(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL21_SHIFT))&SIU_DSPICHLC_DSPICL21_MASK)
  4601. #define SIU_DSPICHLC_DSPICL20_MASK 0x800u
  4602. #define SIU_DSPICHLC_DSPICL20_SHIFT 11u
  4603. #define SIU_DSPICHLC_DSPICL20_WIDTH 1u
  4604. #define SIU_DSPICHLC_DSPICL20(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL20_SHIFT))&SIU_DSPICHLC_DSPICL20_MASK)
  4605. #define SIU_DSPICHLC_DSPICL19_MASK 0x1000u
  4606. #define SIU_DSPICHLC_DSPICL19_SHIFT 12u
  4607. #define SIU_DSPICHLC_DSPICL19_WIDTH 1u
  4608. #define SIU_DSPICHLC_DSPICL19(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL19_SHIFT))&SIU_DSPICHLC_DSPICL19_MASK)
  4609. #define SIU_DSPICHLC_DSPICL18_MASK 0x2000u
  4610. #define SIU_DSPICHLC_DSPICL18_SHIFT 13u
  4611. #define SIU_DSPICHLC_DSPICL18_WIDTH 1u
  4612. #define SIU_DSPICHLC_DSPICL18(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL18_SHIFT))&SIU_DSPICHLC_DSPICL18_MASK)
  4613. #define SIU_DSPICHLC_DSPICL17_MASK 0x4000u
  4614. #define SIU_DSPICHLC_DSPICL17_SHIFT 14u
  4615. #define SIU_DSPICHLC_DSPICL17_WIDTH 1u
  4616. #define SIU_DSPICHLC_DSPICL17(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL17_SHIFT))&SIU_DSPICHLC_DSPICL17_MASK)
  4617. #define SIU_DSPICHLC_DSPICL16_MASK 0x8000u
  4618. #define SIU_DSPICHLC_DSPICL16_SHIFT 15u
  4619. #define SIU_DSPICHLC_DSPICL16_WIDTH 1u
  4620. #define SIU_DSPICHLC_DSPICL16(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICL16_SHIFT))&SIU_DSPICHLC_DSPICL16_MASK)
  4621. #define SIU_DSPICHLC_DSPICH15_MASK 0x10000u
  4622. #define SIU_DSPICHLC_DSPICH15_SHIFT 16u
  4623. #define SIU_DSPICHLC_DSPICH15_WIDTH 1u
  4624. #define SIU_DSPICHLC_DSPICH15(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH15_SHIFT))&SIU_DSPICHLC_DSPICH15_MASK)
  4625. #define SIU_DSPICHLC_DSPICH14_MASK 0x20000u
  4626. #define SIU_DSPICHLC_DSPICH14_SHIFT 17u
  4627. #define SIU_DSPICHLC_DSPICH14_WIDTH 1u
  4628. #define SIU_DSPICHLC_DSPICH14(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH14_SHIFT))&SIU_DSPICHLC_DSPICH14_MASK)
  4629. #define SIU_DSPICHLC_DSPICH13_MASK 0x40000u
  4630. #define SIU_DSPICHLC_DSPICH13_SHIFT 18u
  4631. #define SIU_DSPICHLC_DSPICH13_WIDTH 1u
  4632. #define SIU_DSPICHLC_DSPICH13(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH13_SHIFT))&SIU_DSPICHLC_DSPICH13_MASK)
  4633. #define SIU_DSPICHLC_DSPICH12_MASK 0x80000u
  4634. #define SIU_DSPICHLC_DSPICH12_SHIFT 19u
  4635. #define SIU_DSPICHLC_DSPICH12_WIDTH 1u
  4636. #define SIU_DSPICHLC_DSPICH12(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH12_SHIFT))&SIU_DSPICHLC_DSPICH12_MASK)
  4637. #define SIU_DSPICHLC_DSPICH11_MASK 0x100000u
  4638. #define SIU_DSPICHLC_DSPICH11_SHIFT 20u
  4639. #define SIU_DSPICHLC_DSPICH11_WIDTH 1u
  4640. #define SIU_DSPICHLC_DSPICH11(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH11_SHIFT))&SIU_DSPICHLC_DSPICH11_MASK)
  4641. #define SIU_DSPICHLC_DSPICH10_MASK 0x200000u
  4642. #define SIU_DSPICHLC_DSPICH10_SHIFT 21u
  4643. #define SIU_DSPICHLC_DSPICH10_WIDTH 1u
  4644. #define SIU_DSPICHLC_DSPICH10(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH10_SHIFT))&SIU_DSPICHLC_DSPICH10_MASK)
  4645. #define SIU_DSPICHLC_DSPICH9_MASK 0x400000u
  4646. #define SIU_DSPICHLC_DSPICH9_SHIFT 22u
  4647. #define SIU_DSPICHLC_DSPICH9_WIDTH 1u
  4648. #define SIU_DSPICHLC_DSPICH9(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH9_SHIFT))&SIU_DSPICHLC_DSPICH9_MASK)
  4649. #define SIU_DSPICHLC_DSPICH8_MASK 0x800000u
  4650. #define SIU_DSPICHLC_DSPICH8_SHIFT 23u
  4651. #define SIU_DSPICHLC_DSPICH8_WIDTH 1u
  4652. #define SIU_DSPICHLC_DSPICH8(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH8_SHIFT))&SIU_DSPICHLC_DSPICH8_MASK)
  4653. #define SIU_DSPICHLC_DSPICH7_MASK 0x1000000u
  4654. #define SIU_DSPICHLC_DSPICH7_SHIFT 24u
  4655. #define SIU_DSPICHLC_DSPICH7_WIDTH 1u
  4656. #define SIU_DSPICHLC_DSPICH7(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH7_SHIFT))&SIU_DSPICHLC_DSPICH7_MASK)
  4657. #define SIU_DSPICHLC_DSPICH6_MASK 0x2000000u
  4658. #define SIU_DSPICHLC_DSPICH6_SHIFT 25u
  4659. #define SIU_DSPICHLC_DSPICH6_WIDTH 1u
  4660. #define SIU_DSPICHLC_DSPICH6(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH6_SHIFT))&SIU_DSPICHLC_DSPICH6_MASK)
  4661. #define SIU_DSPICHLC_DSPICH5_MASK 0x4000000u
  4662. #define SIU_DSPICHLC_DSPICH5_SHIFT 26u
  4663. #define SIU_DSPICHLC_DSPICH5_WIDTH 1u
  4664. #define SIU_DSPICHLC_DSPICH5(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH5_SHIFT))&SIU_DSPICHLC_DSPICH5_MASK)
  4665. #define SIU_DSPICHLC_DSPICH4_MASK 0x8000000u
  4666. #define SIU_DSPICHLC_DSPICH4_SHIFT 27u
  4667. #define SIU_DSPICHLC_DSPICH4_WIDTH 1u
  4668. #define SIU_DSPICHLC_DSPICH4(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH4_SHIFT))&SIU_DSPICHLC_DSPICH4_MASK)
  4669. #define SIU_DSPICHLC_DSPICH3_MASK 0x10000000u
  4670. #define SIU_DSPICHLC_DSPICH3_SHIFT 28u
  4671. #define SIU_DSPICHLC_DSPICH3_WIDTH 1u
  4672. #define SIU_DSPICHLC_DSPICH3(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH3_SHIFT))&SIU_DSPICHLC_DSPICH3_MASK)
  4673. #define SIU_DSPICHLC_DSPICH2_MASK 0x20000000u
  4674. #define SIU_DSPICHLC_DSPICH2_SHIFT 29u
  4675. #define SIU_DSPICHLC_DSPICH2_WIDTH 1u
  4676. #define SIU_DSPICHLC_DSPICH2(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH2_SHIFT))&SIU_DSPICHLC_DSPICH2_MASK)
  4677. #define SIU_DSPICHLC_DSPICH1_MASK 0x40000000u
  4678. #define SIU_DSPICHLC_DSPICH1_SHIFT 30u
  4679. #define SIU_DSPICHLC_DSPICH1_WIDTH 1u
  4680. #define SIU_DSPICHLC_DSPICH1(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH1_SHIFT))&SIU_DSPICHLC_DSPICH1_MASK)
  4681. #define SIU_DSPICHLC_DSPICH0_MASK 0x80000000u
  4682. #define SIU_DSPICHLC_DSPICH0_SHIFT 31u
  4683. #define SIU_DSPICHLC_DSPICH0_WIDTH 1u
  4684. #define SIU_DSPICHLC_DSPICH0(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPICHLC_DSPICH0_SHIFT))&SIU_DSPICHLC_DSPICH0_MASK)
  4685. /* ETPUBC Bit Fields */
  4686. #define SIU_ETPUBC_ETPUB16_MASK 0x1u
  4687. #define SIU_ETPUBC_ETPUB16_SHIFT 0u
  4688. #define SIU_ETPUBC_ETPUB16_WIDTH 1u
  4689. #define SIU_ETPUBC_ETPUB16(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB16_SHIFT))&SIU_ETPUBC_ETPUB16_MASK)
  4690. #define SIU_ETPUBC_ETPUB17_MASK 0x2u
  4691. #define SIU_ETPUBC_ETPUB17_SHIFT 1u
  4692. #define SIU_ETPUBC_ETPUB17_WIDTH 1u
  4693. #define SIU_ETPUBC_ETPUB17(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB17_SHIFT))&SIU_ETPUBC_ETPUB17_MASK)
  4694. #define SIU_ETPUBC_ETPUB18_MASK 0x4u
  4695. #define SIU_ETPUBC_ETPUB18_SHIFT 2u
  4696. #define SIU_ETPUBC_ETPUB18_WIDTH 1u
  4697. #define SIU_ETPUBC_ETPUB18(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB18_SHIFT))&SIU_ETPUBC_ETPUB18_MASK)
  4698. #define SIU_ETPUBC_ETPUB19_MASK 0x8u
  4699. #define SIU_ETPUBC_ETPUB19_SHIFT 3u
  4700. #define SIU_ETPUBC_ETPUB19_WIDTH 1u
  4701. #define SIU_ETPUBC_ETPUB19(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB19_SHIFT))&SIU_ETPUBC_ETPUB19_MASK)
  4702. #define SIU_ETPUBC_ETPUB20_MASK 0x10u
  4703. #define SIU_ETPUBC_ETPUB20_SHIFT 4u
  4704. #define SIU_ETPUBC_ETPUB20_WIDTH 1u
  4705. #define SIU_ETPUBC_ETPUB20(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB20_SHIFT))&SIU_ETPUBC_ETPUB20_MASK)
  4706. #define SIU_ETPUBC_ETPUB21_MASK 0x20u
  4707. #define SIU_ETPUBC_ETPUB21_SHIFT 5u
  4708. #define SIU_ETPUBC_ETPUB21_WIDTH 1u
  4709. #define SIU_ETPUBC_ETPUB21(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB21_SHIFT))&SIU_ETPUBC_ETPUB21_MASK)
  4710. #define SIU_ETPUBC_ETPUB22_MASK 0x40u
  4711. #define SIU_ETPUBC_ETPUB22_SHIFT 6u
  4712. #define SIU_ETPUBC_ETPUB22_WIDTH 1u
  4713. #define SIU_ETPUBC_ETPUB22(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB22_SHIFT))&SIU_ETPUBC_ETPUB22_MASK)
  4714. #define SIU_ETPUBC_ETPUB23_MASK 0x80u
  4715. #define SIU_ETPUBC_ETPUB23_SHIFT 7u
  4716. #define SIU_ETPUBC_ETPUB23_WIDTH 1u
  4717. #define SIU_ETPUBC_ETPUB23(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB23_SHIFT))&SIU_ETPUBC_ETPUB23_MASK)
  4718. #define SIU_ETPUBC_ETPUB24_MASK 0x100u
  4719. #define SIU_ETPUBC_ETPUB24_SHIFT 8u
  4720. #define SIU_ETPUBC_ETPUB24_WIDTH 1u
  4721. #define SIU_ETPUBC_ETPUB24(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB24_SHIFT))&SIU_ETPUBC_ETPUB24_MASK)
  4722. #define SIU_ETPUBC_ETPUB25_MASK 0x200u
  4723. #define SIU_ETPUBC_ETPUB25_SHIFT 9u
  4724. #define SIU_ETPUBC_ETPUB25_WIDTH 1u
  4725. #define SIU_ETPUBC_ETPUB25(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB25_SHIFT))&SIU_ETPUBC_ETPUB25_MASK)
  4726. #define SIU_ETPUBC_ETPUB26_MASK 0x400u
  4727. #define SIU_ETPUBC_ETPUB26_SHIFT 10u
  4728. #define SIU_ETPUBC_ETPUB26_WIDTH 1u
  4729. #define SIU_ETPUBC_ETPUB26(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB26_SHIFT))&SIU_ETPUBC_ETPUB26_MASK)
  4730. #define SIU_ETPUBC_ETPUB27_MASK 0x800u
  4731. #define SIU_ETPUBC_ETPUB27_SHIFT 11u
  4732. #define SIU_ETPUBC_ETPUB27_WIDTH 1u
  4733. #define SIU_ETPUBC_ETPUB27(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB27_SHIFT))&SIU_ETPUBC_ETPUB27_MASK)
  4734. #define SIU_ETPUBC_ETPUB28_MASK 0x1000u
  4735. #define SIU_ETPUBC_ETPUB28_SHIFT 12u
  4736. #define SIU_ETPUBC_ETPUB28_WIDTH 1u
  4737. #define SIU_ETPUBC_ETPUB28(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB28_SHIFT))&SIU_ETPUBC_ETPUB28_MASK)
  4738. #define SIU_ETPUBC_ETPUB29_MASK 0x2000u
  4739. #define SIU_ETPUBC_ETPUB29_SHIFT 13u
  4740. #define SIU_ETPUBC_ETPUB29_WIDTH 1u
  4741. #define SIU_ETPUBC_ETPUB29(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB29_SHIFT))&SIU_ETPUBC_ETPUB29_MASK)
  4742. #define SIU_ETPUBC_ETPUB30_MASK 0x4000u
  4743. #define SIU_ETPUBC_ETPUB30_SHIFT 14u
  4744. #define SIU_ETPUBC_ETPUB30_WIDTH 1u
  4745. #define SIU_ETPUBC_ETPUB30(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB30_SHIFT))&SIU_ETPUBC_ETPUB30_MASK)
  4746. #define SIU_ETPUBC_ETPUB31_MASK 0x8000u
  4747. #define SIU_ETPUBC_ETPUB31_SHIFT 15u
  4748. #define SIU_ETPUBC_ETPUB31_WIDTH 1u
  4749. #define SIU_ETPUBC_ETPUB31(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB31_SHIFT))&SIU_ETPUBC_ETPUB31_MASK)
  4750. #define SIU_ETPUBC_ETPUB0_MASK 0x10000u
  4751. #define SIU_ETPUBC_ETPUB0_SHIFT 16u
  4752. #define SIU_ETPUBC_ETPUB0_WIDTH 1u
  4753. #define SIU_ETPUBC_ETPUB0(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB0_SHIFT))&SIU_ETPUBC_ETPUB0_MASK)
  4754. #define SIU_ETPUBC_ETPUB1_MASK 0x20000u
  4755. #define SIU_ETPUBC_ETPUB1_SHIFT 17u
  4756. #define SIU_ETPUBC_ETPUB1_WIDTH 1u
  4757. #define SIU_ETPUBC_ETPUB1(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB1_SHIFT))&SIU_ETPUBC_ETPUB1_MASK)
  4758. #define SIU_ETPUBC_ETPUB2_MASK 0x40000u
  4759. #define SIU_ETPUBC_ETPUB2_SHIFT 18u
  4760. #define SIU_ETPUBC_ETPUB2_WIDTH 1u
  4761. #define SIU_ETPUBC_ETPUB2(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB2_SHIFT))&SIU_ETPUBC_ETPUB2_MASK)
  4762. #define SIU_ETPUBC_ETPUB3_MASK 0x80000u
  4763. #define SIU_ETPUBC_ETPUB3_SHIFT 19u
  4764. #define SIU_ETPUBC_ETPUB3_WIDTH 1u
  4765. #define SIU_ETPUBC_ETPUB3(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB3_SHIFT))&SIU_ETPUBC_ETPUB3_MASK)
  4766. #define SIU_ETPUBC_ETPUB4_MASK 0x100000u
  4767. #define SIU_ETPUBC_ETPUB4_SHIFT 20u
  4768. #define SIU_ETPUBC_ETPUB4_WIDTH 1u
  4769. #define SIU_ETPUBC_ETPUB4(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB4_SHIFT))&SIU_ETPUBC_ETPUB4_MASK)
  4770. #define SIU_ETPUBC_ETPUB5_MASK 0x200000u
  4771. #define SIU_ETPUBC_ETPUB5_SHIFT 21u
  4772. #define SIU_ETPUBC_ETPUB5_WIDTH 1u
  4773. #define SIU_ETPUBC_ETPUB5(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB5_SHIFT))&SIU_ETPUBC_ETPUB5_MASK)
  4774. #define SIU_ETPUBC_ETPUB6_MASK 0x400000u
  4775. #define SIU_ETPUBC_ETPUB6_SHIFT 22u
  4776. #define SIU_ETPUBC_ETPUB6_WIDTH 1u
  4777. #define SIU_ETPUBC_ETPUB6(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB6_SHIFT))&SIU_ETPUBC_ETPUB6_MASK)
  4778. #define SIU_ETPUBC_ETPUB7_MASK 0x800000u
  4779. #define SIU_ETPUBC_ETPUB7_SHIFT 23u
  4780. #define SIU_ETPUBC_ETPUB7_WIDTH 1u
  4781. #define SIU_ETPUBC_ETPUB7(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB7_SHIFT))&SIU_ETPUBC_ETPUB7_MASK)
  4782. #define SIU_ETPUBC_ETPUB8_MASK 0x1000000u
  4783. #define SIU_ETPUBC_ETPUB8_SHIFT 24u
  4784. #define SIU_ETPUBC_ETPUB8_WIDTH 1u
  4785. #define SIU_ETPUBC_ETPUB8(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB8_SHIFT))&SIU_ETPUBC_ETPUB8_MASK)
  4786. #define SIU_ETPUBC_ETPUB9_MASK 0x2000000u
  4787. #define SIU_ETPUBC_ETPUB9_SHIFT 25u
  4788. #define SIU_ETPUBC_ETPUB9_WIDTH 1u
  4789. #define SIU_ETPUBC_ETPUB9(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB9_SHIFT))&SIU_ETPUBC_ETPUB9_MASK)
  4790. #define SIU_ETPUBC_ETPUB10_MASK 0x4000000u
  4791. #define SIU_ETPUBC_ETPUB10_SHIFT 26u
  4792. #define SIU_ETPUBC_ETPUB10_WIDTH 1u
  4793. #define SIU_ETPUBC_ETPUB10(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB10_SHIFT))&SIU_ETPUBC_ETPUB10_MASK)
  4794. #define SIU_ETPUBC_ETPUB11_MASK 0x8000000u
  4795. #define SIU_ETPUBC_ETPUB11_SHIFT 27u
  4796. #define SIU_ETPUBC_ETPUB11_WIDTH 1u
  4797. #define SIU_ETPUBC_ETPUB11(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB11_SHIFT))&SIU_ETPUBC_ETPUB11_MASK)
  4798. #define SIU_ETPUBC_ETPUB12_MASK 0x10000000u
  4799. #define SIU_ETPUBC_ETPUB12_SHIFT 28u
  4800. #define SIU_ETPUBC_ETPUB12_WIDTH 1u
  4801. #define SIU_ETPUBC_ETPUB12(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB12_SHIFT))&SIU_ETPUBC_ETPUB12_MASK)
  4802. #define SIU_ETPUBC_ETPUB13_MASK 0x20000000u
  4803. #define SIU_ETPUBC_ETPUB13_SHIFT 29u
  4804. #define SIU_ETPUBC_ETPUB13_WIDTH 1u
  4805. #define SIU_ETPUBC_ETPUB13(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB13_SHIFT))&SIU_ETPUBC_ETPUB13_MASK)
  4806. #define SIU_ETPUBC_ETPUB14_MASK 0x40000000u
  4807. #define SIU_ETPUBC_ETPUB14_SHIFT 30u
  4808. #define SIU_ETPUBC_ETPUB14_WIDTH 1u
  4809. #define SIU_ETPUBC_ETPUB14(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB14_SHIFT))&SIU_ETPUBC_ETPUB14_MASK)
  4810. #define SIU_ETPUBC_ETPUB15_MASK 0x80000000u
  4811. #define SIU_ETPUBC_ETPUB15_SHIFT 31u
  4812. #define SIU_ETPUBC_ETPUB15_WIDTH 1u
  4813. #define SIU_ETPUBC_ETPUB15(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBC_ETPUB15_SHIFT))&SIU_ETPUBC_ETPUB15_MASK)
  4814. /* ETPUBD Bit Fields */
  4815. #define SIU_ETPUBD_ETPUB24_MASK 0x10000u
  4816. #define SIU_ETPUBD_ETPUB24_SHIFT 16u
  4817. #define SIU_ETPUBD_ETPUB24_WIDTH 1u
  4818. #define SIU_ETPUBD_ETPUB24(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBD_ETPUB24_SHIFT))&SIU_ETPUBD_ETPUB24_MASK)
  4819. #define SIU_ETPUBD_ETPUB25_MASK 0x20000u
  4820. #define SIU_ETPUBD_ETPUB25_SHIFT 17u
  4821. #define SIU_ETPUBD_ETPUB25_WIDTH 1u
  4822. #define SIU_ETPUBD_ETPUB25(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBD_ETPUB25_SHIFT))&SIU_ETPUBD_ETPUB25_MASK)
  4823. #define SIU_ETPUBD_ETPUB26_MASK 0x40000u
  4824. #define SIU_ETPUBD_ETPUB26_SHIFT 18u
  4825. #define SIU_ETPUBD_ETPUB26_WIDTH 1u
  4826. #define SIU_ETPUBD_ETPUB26(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBD_ETPUB26_SHIFT))&SIU_ETPUBD_ETPUB26_MASK)
  4827. #define SIU_ETPUBD_ETPUB27_MASK 0x80000u
  4828. #define SIU_ETPUBD_ETPUB27_SHIFT 19u
  4829. #define SIU_ETPUBD_ETPUB27_WIDTH 1u
  4830. #define SIU_ETPUBD_ETPUB27(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBD_ETPUB27_SHIFT))&SIU_ETPUBD_ETPUB27_MASK)
  4831. #define SIU_ETPUBD_ETPUB28_MASK 0x100000u
  4832. #define SIU_ETPUBD_ETPUB28_SHIFT 20u
  4833. #define SIU_ETPUBD_ETPUB28_WIDTH 1u
  4834. #define SIU_ETPUBD_ETPUB28(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBD_ETPUB28_SHIFT))&SIU_ETPUBD_ETPUB28_MASK)
  4835. #define SIU_ETPUBD_ETPUB29_MASK 0x200000u
  4836. #define SIU_ETPUBD_ETPUB29_SHIFT 21u
  4837. #define SIU_ETPUBD_ETPUB29_WIDTH 1u
  4838. #define SIU_ETPUBD_ETPUB29(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBD_ETPUB29_SHIFT))&SIU_ETPUBD_ETPUB29_MASK)
  4839. #define SIU_ETPUBD_ETPUB16_MASK 0x4000000u
  4840. #define SIU_ETPUBD_ETPUB16_SHIFT 26u
  4841. #define SIU_ETPUBD_ETPUB16_WIDTH 1u
  4842. #define SIU_ETPUBD_ETPUB16(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBD_ETPUB16_SHIFT))&SIU_ETPUBD_ETPUB16_MASK)
  4843. #define SIU_ETPUBD_ETPUB17_MASK 0x8000000u
  4844. #define SIU_ETPUBD_ETPUB17_SHIFT 27u
  4845. #define SIU_ETPUBD_ETPUB17_WIDTH 1u
  4846. #define SIU_ETPUBD_ETPUB17(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBD_ETPUB17_SHIFT))&SIU_ETPUBD_ETPUB17_MASK)
  4847. #define SIU_ETPUBD_ETPUB18_MASK 0x10000000u
  4848. #define SIU_ETPUBD_ETPUB18_SHIFT 28u
  4849. #define SIU_ETPUBD_ETPUB18_WIDTH 1u
  4850. #define SIU_ETPUBD_ETPUB18(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBD_ETPUB18_SHIFT))&SIU_ETPUBD_ETPUB18_MASK)
  4851. #define SIU_ETPUBD_ETPUB19_MASK 0x20000000u
  4852. #define SIU_ETPUBD_ETPUB19_SHIFT 29u
  4853. #define SIU_ETPUBD_ETPUB19_WIDTH 1u
  4854. #define SIU_ETPUBD_ETPUB19(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBD_ETPUB19_SHIFT))&SIU_ETPUBD_ETPUB19_MASK)
  4855. #define SIU_ETPUBD_ETPUB20_MASK 0x40000000u
  4856. #define SIU_ETPUBD_ETPUB20_SHIFT 30u
  4857. #define SIU_ETPUBD_ETPUB20_WIDTH 1u
  4858. #define SIU_ETPUBD_ETPUB20(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBD_ETPUB20_SHIFT))&SIU_ETPUBD_ETPUB20_MASK)
  4859. #define SIU_ETPUBD_ETPUB21_MASK 0x80000000u
  4860. #define SIU_ETPUBD_ETPUB21_SHIFT 31u
  4861. #define SIU_ETPUBD_ETPUB21_WIDTH 1u
  4862. #define SIU_ETPUBD_ETPUB21(x) (((uint32_t)(((uint32_t)(x))<<SIU_ETPUBD_ETPUB21_SHIFT))&SIU_ETPUBD_ETPUB21_MASK)
  4863. /* EMIOSD Bit Fields */
  4864. #define SIU_EMIOSD_EMIOS1_4_OUT9_MASK 0x400000u
  4865. #define SIU_EMIOSD_EMIOS1_4_OUT9_SHIFT 22u
  4866. #define SIU_EMIOSD_EMIOS1_4_OUT9_WIDTH 1u
  4867. #define SIU_EMIOSD_EMIOS1_4_OUT9(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSD_EMIOS1_4_OUT9_SHIFT))&SIU_EMIOSD_EMIOS1_4_OUT9_MASK)
  4868. #define SIU_EMIOSD_EMIOS1_5_OUT8_MASK 0x800000u
  4869. #define SIU_EMIOSD_EMIOS1_5_OUT8_SHIFT 23u
  4870. #define SIU_EMIOSD_EMIOS1_5_OUT8_WIDTH 1u
  4871. #define SIU_EMIOSD_EMIOS1_5_OUT8(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSD_EMIOS1_5_OUT8_SHIFT))&SIU_EMIOSD_EMIOS1_5_OUT8_MASK)
  4872. #define SIU_EMIOSD_EMIOS1_2_OUT7_MASK 0x1000000u
  4873. #define SIU_EMIOSD_EMIOS1_2_OUT7_SHIFT 24u
  4874. #define SIU_EMIOSD_EMIOS1_2_OUT7_WIDTH 1u
  4875. #define SIU_EMIOSD_EMIOS1_2_OUT7(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSD_EMIOS1_2_OUT7_SHIFT))&SIU_EMIOSD_EMIOS1_2_OUT7_MASK)
  4876. #define SIU_EMIOSD_EMIOS1_3_OUT6_MASK 0x2000000u
  4877. #define SIU_EMIOSD_EMIOS1_3_OUT6_SHIFT 25u
  4878. #define SIU_EMIOSD_EMIOS1_3_OUT6_WIDTH 1u
  4879. #define SIU_EMIOSD_EMIOS1_3_OUT6(x) (((uint32_t)(((uint32_t)(x))<<SIU_EMIOSD_EMIOS1_3_OUT6_SHIFT))&SIU_EMIOSD_EMIOS1_3_OUT6_MASK)
  4880. /* DSPIDHLD Bit Fields */
  4881. #define SIU_DSPIDHLD_DSPIDL31_MASK 0x1u
  4882. #define SIU_DSPIDHLD_DSPIDL31_SHIFT 0u
  4883. #define SIU_DSPIDHLD_DSPIDL31_WIDTH 1u
  4884. #define SIU_DSPIDHLD_DSPIDL31(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL31_SHIFT))&SIU_DSPIDHLD_DSPIDL31_MASK)
  4885. #define SIU_DSPIDHLD_DSPIDL30_MASK 0x2u
  4886. #define SIU_DSPIDHLD_DSPIDL30_SHIFT 1u
  4887. #define SIU_DSPIDHLD_DSPIDL30_WIDTH 1u
  4888. #define SIU_DSPIDHLD_DSPIDL30(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL30_SHIFT))&SIU_DSPIDHLD_DSPIDL30_MASK)
  4889. #define SIU_DSPIDHLD_DSPIDL29_MASK 0x4u
  4890. #define SIU_DSPIDHLD_DSPIDL29_SHIFT 2u
  4891. #define SIU_DSPIDHLD_DSPIDL29_WIDTH 1u
  4892. #define SIU_DSPIDHLD_DSPIDL29(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL29_SHIFT))&SIU_DSPIDHLD_DSPIDL29_MASK)
  4893. #define SIU_DSPIDHLD_DSPIDL28_MASK 0x8u
  4894. #define SIU_DSPIDHLD_DSPIDL28_SHIFT 3u
  4895. #define SIU_DSPIDHLD_DSPIDL28_WIDTH 1u
  4896. #define SIU_DSPIDHLD_DSPIDL28(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL28_SHIFT))&SIU_DSPIDHLD_DSPIDL28_MASK)
  4897. #define SIU_DSPIDHLD_DSPIDL27_MASK 0x10u
  4898. #define SIU_DSPIDHLD_DSPIDL27_SHIFT 4u
  4899. #define SIU_DSPIDHLD_DSPIDL27_WIDTH 1u
  4900. #define SIU_DSPIDHLD_DSPIDL27(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL27_SHIFT))&SIU_DSPIDHLD_DSPIDL27_MASK)
  4901. #define SIU_DSPIDHLD_DSPIDL26_MASK 0x20u
  4902. #define SIU_DSPIDHLD_DSPIDL26_SHIFT 5u
  4903. #define SIU_DSPIDHLD_DSPIDL26_WIDTH 1u
  4904. #define SIU_DSPIDHLD_DSPIDL26(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL26_SHIFT))&SIU_DSPIDHLD_DSPIDL26_MASK)
  4905. #define SIU_DSPIDHLD_DSPIDL25_MASK 0x40u
  4906. #define SIU_DSPIDHLD_DSPIDL25_SHIFT 6u
  4907. #define SIU_DSPIDHLD_DSPIDL25_WIDTH 1u
  4908. #define SIU_DSPIDHLD_DSPIDL25(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL25_SHIFT))&SIU_DSPIDHLD_DSPIDL25_MASK)
  4909. #define SIU_DSPIDHLD_DSPIDL24_MASK 0x80u
  4910. #define SIU_DSPIDHLD_DSPIDL24_SHIFT 7u
  4911. #define SIU_DSPIDHLD_DSPIDL24_WIDTH 1u
  4912. #define SIU_DSPIDHLD_DSPIDL24(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL24_SHIFT))&SIU_DSPIDHLD_DSPIDL24_MASK)
  4913. #define SIU_DSPIDHLD_DSPIDL23_MASK 0x100u
  4914. #define SIU_DSPIDHLD_DSPIDL23_SHIFT 8u
  4915. #define SIU_DSPIDHLD_DSPIDL23_WIDTH 1u
  4916. #define SIU_DSPIDHLD_DSPIDL23(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL23_SHIFT))&SIU_DSPIDHLD_DSPIDL23_MASK)
  4917. #define SIU_DSPIDHLD_DSPIDL22_MASK 0x200u
  4918. #define SIU_DSPIDHLD_DSPIDL22_SHIFT 9u
  4919. #define SIU_DSPIDHLD_DSPIDL22_WIDTH 1u
  4920. #define SIU_DSPIDHLD_DSPIDL22(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL22_SHIFT))&SIU_DSPIDHLD_DSPIDL22_MASK)
  4921. #define SIU_DSPIDHLD_DSPIDL21_MASK 0x400u
  4922. #define SIU_DSPIDHLD_DSPIDL21_SHIFT 10u
  4923. #define SIU_DSPIDHLD_DSPIDL21_WIDTH 1u
  4924. #define SIU_DSPIDHLD_DSPIDL21(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL21_SHIFT))&SIU_DSPIDHLD_DSPIDL21_MASK)
  4925. #define SIU_DSPIDHLD_DSPIDL20_MASK 0x800u
  4926. #define SIU_DSPIDHLD_DSPIDL20_SHIFT 11u
  4927. #define SIU_DSPIDHLD_DSPIDL20_WIDTH 1u
  4928. #define SIU_DSPIDHLD_DSPIDL20(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL20_SHIFT))&SIU_DSPIDHLD_DSPIDL20_MASK)
  4929. #define SIU_DSPIDHLD_DSPIDL19_MASK 0x1000u
  4930. #define SIU_DSPIDHLD_DSPIDL19_SHIFT 12u
  4931. #define SIU_DSPIDHLD_DSPIDL19_WIDTH 1u
  4932. #define SIU_DSPIDHLD_DSPIDL19(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL19_SHIFT))&SIU_DSPIDHLD_DSPIDL19_MASK)
  4933. #define SIU_DSPIDHLD_DSPIDL18_MASK 0x2000u
  4934. #define SIU_DSPIDHLD_DSPIDL18_SHIFT 13u
  4935. #define SIU_DSPIDHLD_DSPIDL18_WIDTH 1u
  4936. #define SIU_DSPIDHLD_DSPIDL18(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL18_SHIFT))&SIU_DSPIDHLD_DSPIDL18_MASK)
  4937. #define SIU_DSPIDHLD_DSPIDL17_MASK 0x4000u
  4938. #define SIU_DSPIDHLD_DSPIDL17_SHIFT 14u
  4939. #define SIU_DSPIDHLD_DSPIDL17_WIDTH 1u
  4940. #define SIU_DSPIDHLD_DSPIDL17(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL17_SHIFT))&SIU_DSPIDHLD_DSPIDL17_MASK)
  4941. #define SIU_DSPIDHLD_DSPIDL16_MASK 0x8000u
  4942. #define SIU_DSPIDHLD_DSPIDL16_SHIFT 15u
  4943. #define SIU_DSPIDHLD_DSPIDL16_WIDTH 1u
  4944. #define SIU_DSPIDHLD_DSPIDL16(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDL16_SHIFT))&SIU_DSPIDHLD_DSPIDL16_MASK)
  4945. #define SIU_DSPIDHLD_DSPIDH15_MASK 0x10000u
  4946. #define SIU_DSPIDHLD_DSPIDH15_SHIFT 16u
  4947. #define SIU_DSPIDHLD_DSPIDH15_WIDTH 1u
  4948. #define SIU_DSPIDHLD_DSPIDH15(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH15_SHIFT))&SIU_DSPIDHLD_DSPIDH15_MASK)
  4949. #define SIU_DSPIDHLD_DSPIDH14_MASK 0x20000u
  4950. #define SIU_DSPIDHLD_DSPIDH14_SHIFT 17u
  4951. #define SIU_DSPIDHLD_DSPIDH14_WIDTH 1u
  4952. #define SIU_DSPIDHLD_DSPIDH14(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH14_SHIFT))&SIU_DSPIDHLD_DSPIDH14_MASK)
  4953. #define SIU_DSPIDHLD_DSPIDH13_MASK 0x40000u
  4954. #define SIU_DSPIDHLD_DSPIDH13_SHIFT 18u
  4955. #define SIU_DSPIDHLD_DSPIDH13_WIDTH 1u
  4956. #define SIU_DSPIDHLD_DSPIDH13(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH13_SHIFT))&SIU_DSPIDHLD_DSPIDH13_MASK)
  4957. #define SIU_DSPIDHLD_DSPIDH12_MASK 0x80000u
  4958. #define SIU_DSPIDHLD_DSPIDH12_SHIFT 19u
  4959. #define SIU_DSPIDHLD_DSPIDH12_WIDTH 1u
  4960. #define SIU_DSPIDHLD_DSPIDH12(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH12_SHIFT))&SIU_DSPIDHLD_DSPIDH12_MASK)
  4961. #define SIU_DSPIDHLD_DSPIDH11_MASK 0x100000u
  4962. #define SIU_DSPIDHLD_DSPIDH11_SHIFT 20u
  4963. #define SIU_DSPIDHLD_DSPIDH11_WIDTH 1u
  4964. #define SIU_DSPIDHLD_DSPIDH11(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH11_SHIFT))&SIU_DSPIDHLD_DSPIDH11_MASK)
  4965. #define SIU_DSPIDHLD_DSPIDH10_MASK 0x200000u
  4966. #define SIU_DSPIDHLD_DSPIDH10_SHIFT 21u
  4967. #define SIU_DSPIDHLD_DSPIDH10_WIDTH 1u
  4968. #define SIU_DSPIDHLD_DSPIDH10(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH10_SHIFT))&SIU_DSPIDHLD_DSPIDH10_MASK)
  4969. #define SIU_DSPIDHLD_DSPIDH9_MASK 0x400000u
  4970. #define SIU_DSPIDHLD_DSPIDH9_SHIFT 22u
  4971. #define SIU_DSPIDHLD_DSPIDH9_WIDTH 1u
  4972. #define SIU_DSPIDHLD_DSPIDH9(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH9_SHIFT))&SIU_DSPIDHLD_DSPIDH9_MASK)
  4973. #define SIU_DSPIDHLD_DSPIDH8_MASK 0x800000u
  4974. #define SIU_DSPIDHLD_DSPIDH8_SHIFT 23u
  4975. #define SIU_DSPIDHLD_DSPIDH8_WIDTH 1u
  4976. #define SIU_DSPIDHLD_DSPIDH8(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH8_SHIFT))&SIU_DSPIDHLD_DSPIDH8_MASK)
  4977. #define SIU_DSPIDHLD_DSPIDH7_MASK 0x1000000u
  4978. #define SIU_DSPIDHLD_DSPIDH7_SHIFT 24u
  4979. #define SIU_DSPIDHLD_DSPIDH7_WIDTH 1u
  4980. #define SIU_DSPIDHLD_DSPIDH7(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH7_SHIFT))&SIU_DSPIDHLD_DSPIDH7_MASK)
  4981. #define SIU_DSPIDHLD_DSPIDH6_MASK 0x2000000u
  4982. #define SIU_DSPIDHLD_DSPIDH6_SHIFT 25u
  4983. #define SIU_DSPIDHLD_DSPIDH6_WIDTH 1u
  4984. #define SIU_DSPIDHLD_DSPIDH6(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH6_SHIFT))&SIU_DSPIDHLD_DSPIDH6_MASK)
  4985. #define SIU_DSPIDHLD_DSPIDH5_MASK 0x4000000u
  4986. #define SIU_DSPIDHLD_DSPIDH5_SHIFT 26u
  4987. #define SIU_DSPIDHLD_DSPIDH5_WIDTH 1u
  4988. #define SIU_DSPIDHLD_DSPIDH5(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH5_SHIFT))&SIU_DSPIDHLD_DSPIDH5_MASK)
  4989. #define SIU_DSPIDHLD_DSPIDH4_MASK 0x8000000u
  4990. #define SIU_DSPIDHLD_DSPIDH4_SHIFT 27u
  4991. #define SIU_DSPIDHLD_DSPIDH4_WIDTH 1u
  4992. #define SIU_DSPIDHLD_DSPIDH4(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH4_SHIFT))&SIU_DSPIDHLD_DSPIDH4_MASK)
  4993. #define SIU_DSPIDHLD_DSPIDH3_MASK 0x10000000u
  4994. #define SIU_DSPIDHLD_DSPIDH3_SHIFT 28u
  4995. #define SIU_DSPIDHLD_DSPIDH3_WIDTH 1u
  4996. #define SIU_DSPIDHLD_DSPIDH3(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH3_SHIFT))&SIU_DSPIDHLD_DSPIDH3_MASK)
  4997. #define SIU_DSPIDHLD_DSPIDH2_MASK 0x20000000u
  4998. #define SIU_DSPIDHLD_DSPIDH2_SHIFT 29u
  4999. #define SIU_DSPIDHLD_DSPIDH2_WIDTH 1u
  5000. #define SIU_DSPIDHLD_DSPIDH2(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH2_SHIFT))&SIU_DSPIDHLD_DSPIDH2_MASK)
  5001. #define SIU_DSPIDHLD_DSPIDH1_MASK 0x40000000u
  5002. #define SIU_DSPIDHLD_DSPIDH1_SHIFT 30u
  5003. #define SIU_DSPIDHLD_DSPIDH1_WIDTH 1u
  5004. #define SIU_DSPIDHLD_DSPIDH1(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH1_SHIFT))&SIU_DSPIDHLD_DSPIDH1_MASK)
  5005. #define SIU_DSPIDHLD_DSPIDH0_MASK 0x80000000u
  5006. #define SIU_DSPIDHLD_DSPIDH0_SHIFT 31u
  5007. #define SIU_DSPIDHLD_DSPIDH0_WIDTH 1u
  5008. #define SIU_DSPIDHLD_DSPIDH0(x) (((uint32_t)(((uint32_t)(x))<<SIU_DSPIDHLD_DSPIDH0_SHIFT))&SIU_DSPIDHLD_DSPIDH0_MASK)
  5009. /* GPDI Bit Fields */
  5010. #define SIU_GPDI_PDIn_MASK 0x1u
  5011. #define SIU_GPDI_PDIn_SHIFT 0u
  5012. #define SIU_GPDI_PDIn_WIDTH 1u
  5013. #define SIU_GPDI_PDIn(x) (((uint8_t)(((uint8_t)(x))<<SIU_GPDI_PDIn_SHIFT))&SIU_GPDI_PDIn_MASK)
  5014. /* IMUX0 Bit Fields */
  5015. #define SIU_IMUX0_MUXSEL0_MASK 0x3u
  5016. #define SIU_IMUX0_MUXSEL0_SHIFT 0u
  5017. #define SIU_IMUX0_MUXSEL0_WIDTH 2u
  5018. #define SIU_IMUX0_MUXSEL0(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX0_MUXSEL0_SHIFT))&SIU_IMUX0_MUXSEL0_MASK)
  5019. #define SIU_IMUX0_MUXSEL1_MASK 0xCu
  5020. #define SIU_IMUX0_MUXSEL1_SHIFT 2u
  5021. #define SIU_IMUX0_MUXSEL1_WIDTH 2u
  5022. #define SIU_IMUX0_MUXSEL1(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX0_MUXSEL1_SHIFT))&SIU_IMUX0_MUXSEL1_MASK)
  5023. #define SIU_IMUX0_MUXSEL2_MASK 0x30u
  5024. #define SIU_IMUX0_MUXSEL2_SHIFT 4u
  5025. #define SIU_IMUX0_MUXSEL2_WIDTH 2u
  5026. #define SIU_IMUX0_MUXSEL2(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX0_MUXSEL2_SHIFT))&SIU_IMUX0_MUXSEL2_MASK)
  5027. #define SIU_IMUX0_MUXSEL3_MASK 0xC0u
  5028. #define SIU_IMUX0_MUXSEL3_SHIFT 6u
  5029. #define SIU_IMUX0_MUXSEL3_WIDTH 2u
  5030. #define SIU_IMUX0_MUXSEL3(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX0_MUXSEL3_SHIFT))&SIU_IMUX0_MUXSEL3_MASK)
  5031. #define SIU_IMUX0_MUXSEL4_MASK 0x300u
  5032. #define SIU_IMUX0_MUXSEL4_SHIFT 8u
  5033. #define SIU_IMUX0_MUXSEL4_WIDTH 2u
  5034. #define SIU_IMUX0_MUXSEL4(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX0_MUXSEL4_SHIFT))&SIU_IMUX0_MUXSEL4_MASK)
  5035. #define SIU_IMUX0_MUXSEL5_MASK 0xC00u
  5036. #define SIU_IMUX0_MUXSEL5_SHIFT 10u
  5037. #define SIU_IMUX0_MUXSEL5_WIDTH 2u
  5038. #define SIU_IMUX0_MUXSEL5(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX0_MUXSEL5_SHIFT))&SIU_IMUX0_MUXSEL5_MASK)
  5039. #define SIU_IMUX0_MUXSEL6_MASK 0x3000u
  5040. #define SIU_IMUX0_MUXSEL6_SHIFT 12u
  5041. #define SIU_IMUX0_MUXSEL6_WIDTH 2u
  5042. #define SIU_IMUX0_MUXSEL6(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX0_MUXSEL6_SHIFT))&SIU_IMUX0_MUXSEL6_MASK)
  5043. #define SIU_IMUX0_MUXSEL7_MASK 0xC000u
  5044. #define SIU_IMUX0_MUXSEL7_SHIFT 14u
  5045. #define SIU_IMUX0_MUXSEL7_WIDTH 2u
  5046. #define SIU_IMUX0_MUXSEL7(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX0_MUXSEL7_SHIFT))&SIU_IMUX0_MUXSEL7_MASK)
  5047. #define SIU_IMUX0_MUXSEL8_MASK 0x30000u
  5048. #define SIU_IMUX0_MUXSEL8_SHIFT 16u
  5049. #define SIU_IMUX0_MUXSEL8_WIDTH 2u
  5050. #define SIU_IMUX0_MUXSEL8(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX0_MUXSEL8_SHIFT))&SIU_IMUX0_MUXSEL8_MASK)
  5051. #define SIU_IMUX0_MUXSEL9_MASK 0xC0000u
  5052. #define SIU_IMUX0_MUXSEL9_SHIFT 18u
  5053. #define SIU_IMUX0_MUXSEL9_WIDTH 2u
  5054. #define SIU_IMUX0_MUXSEL9(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX0_MUXSEL9_SHIFT))&SIU_IMUX0_MUXSEL9_MASK)
  5055. #define SIU_IMUX0_MUXSEL10_MASK 0x300000u
  5056. #define SIU_IMUX0_MUXSEL10_SHIFT 20u
  5057. #define SIU_IMUX0_MUXSEL10_WIDTH 2u
  5058. #define SIU_IMUX0_MUXSEL10(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX0_MUXSEL10_SHIFT))&SIU_IMUX0_MUXSEL10_MASK)
  5059. #define SIU_IMUX0_MUXSEL11_MASK 0xC00000u
  5060. #define SIU_IMUX0_MUXSEL11_SHIFT 22u
  5061. #define SIU_IMUX0_MUXSEL11_WIDTH 2u
  5062. #define SIU_IMUX0_MUXSEL11(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX0_MUXSEL11_SHIFT))&SIU_IMUX0_MUXSEL11_MASK)
  5063. /* IMUX1 Bit Fields */
  5064. #define SIU_IMUX1_MUXSEL0_MASK 0x3u
  5065. #define SIU_IMUX1_MUXSEL0_SHIFT 0u
  5066. #define SIU_IMUX1_MUXSEL0_WIDTH 2u
  5067. #define SIU_IMUX1_MUXSEL0(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX1_MUXSEL0_SHIFT))&SIU_IMUX1_MUXSEL0_MASK)
  5068. #define SIU_IMUX1_MUXSEL1_MASK 0xCu
  5069. #define SIU_IMUX1_MUXSEL1_SHIFT 2u
  5070. #define SIU_IMUX1_MUXSEL1_WIDTH 2u
  5071. #define SIU_IMUX1_MUXSEL1(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX1_MUXSEL1_SHIFT))&SIU_IMUX1_MUXSEL1_MASK)
  5072. #define SIU_IMUX1_MUXSEL5_MASK 0xC00u
  5073. #define SIU_IMUX1_MUXSEL5_SHIFT 10u
  5074. #define SIU_IMUX1_MUXSEL5_WIDTH 2u
  5075. #define SIU_IMUX1_MUXSEL5(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX1_MUXSEL5_SHIFT))&SIU_IMUX1_MUXSEL5_MASK)
  5076. /* IMUX2 Bit Fields */
  5077. #define SIU_IMUX2_MUXSEL5_MASK 0xC00u
  5078. #define SIU_IMUX2_MUXSEL5_SHIFT 10u
  5079. #define SIU_IMUX2_MUXSEL5_WIDTH 2u
  5080. #define SIU_IMUX2_MUXSEL5(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX2_MUXSEL5_SHIFT))&SIU_IMUX2_MUXSEL5_MASK)
  5081. #define SIU_IMUX2_MUXSEL6_MASK 0x3000u
  5082. #define SIU_IMUX2_MUXSEL6_SHIFT 12u
  5083. #define SIU_IMUX2_MUXSEL6_WIDTH 2u
  5084. #define SIU_IMUX2_MUXSEL6(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX2_MUXSEL6_SHIFT))&SIU_IMUX2_MUXSEL6_MASK)
  5085. #define SIU_IMUX2_MUXSEL7_MASK 0xC000u
  5086. #define SIU_IMUX2_MUXSEL7_SHIFT 14u
  5087. #define SIU_IMUX2_MUXSEL7_WIDTH 2u
  5088. #define SIU_IMUX2_MUXSEL7(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX2_MUXSEL7_SHIFT))&SIU_IMUX2_MUXSEL7_MASK)
  5089. #define SIU_IMUX2_MUXSEL8_MASK 0x30000u
  5090. #define SIU_IMUX2_MUXSEL8_SHIFT 16u
  5091. #define SIU_IMUX2_MUXSEL8_WIDTH 2u
  5092. #define SIU_IMUX2_MUXSEL8(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX2_MUXSEL8_SHIFT))&SIU_IMUX2_MUXSEL8_MASK)
  5093. #define SIU_IMUX2_MUXSEL9_MASK 0xC0000u
  5094. #define SIU_IMUX2_MUXSEL9_SHIFT 18u
  5095. #define SIU_IMUX2_MUXSEL9_WIDTH 2u
  5096. #define SIU_IMUX2_MUXSEL9(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX2_MUXSEL9_SHIFT))&SIU_IMUX2_MUXSEL9_MASK)
  5097. #define SIU_IMUX2_MUXSEL10_MASK 0x300000u
  5098. #define SIU_IMUX2_MUXSEL10_SHIFT 20u
  5099. #define SIU_IMUX2_MUXSEL10_WIDTH 2u
  5100. #define SIU_IMUX2_MUXSEL10(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX2_MUXSEL10_SHIFT))&SIU_IMUX2_MUXSEL10_MASK)
  5101. #define SIU_IMUX2_MUXSEL11_MASK 0xC00000u
  5102. #define SIU_IMUX2_MUXSEL11_SHIFT 22u
  5103. #define SIU_IMUX2_MUXSEL11_WIDTH 2u
  5104. #define SIU_IMUX2_MUXSEL11(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX2_MUXSEL11_SHIFT))&SIU_IMUX2_MUXSEL11_MASK)
  5105. /* IMUX3 Bit Fields */
  5106. #define SIU_IMUX3_MUXSEL0_MASK 0x3u
  5107. #define SIU_IMUX3_MUXSEL0_SHIFT 0u
  5108. #define SIU_IMUX3_MUXSEL0_WIDTH 2u
  5109. #define SIU_IMUX3_MUXSEL0(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX3_MUXSEL0_SHIFT))&SIU_IMUX3_MUXSEL0_MASK)
  5110. #define SIU_IMUX3_MUXSEL1_MASK 0xCu
  5111. #define SIU_IMUX3_MUXSEL1_SHIFT 2u
  5112. #define SIU_IMUX3_MUXSEL1_WIDTH 2u
  5113. #define SIU_IMUX3_MUXSEL1(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX3_MUXSEL1_SHIFT))&SIU_IMUX3_MUXSEL1_MASK)
  5114. #define SIU_IMUX3_MUXSEL2_MASK 0x30u
  5115. #define SIU_IMUX3_MUXSEL2_SHIFT 4u
  5116. #define SIU_IMUX3_MUXSEL2_WIDTH 2u
  5117. #define SIU_IMUX3_MUXSEL2(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX3_MUXSEL2_SHIFT))&SIU_IMUX3_MUXSEL2_MASK)
  5118. #define SIU_IMUX3_MUXSEL3_MASK 0xC0u
  5119. #define SIU_IMUX3_MUXSEL3_SHIFT 6u
  5120. #define SIU_IMUX3_MUXSEL3_WIDTH 2u
  5121. #define SIU_IMUX3_MUXSEL3(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX3_MUXSEL3_SHIFT))&SIU_IMUX3_MUXSEL3_MASK)
  5122. #define SIU_IMUX3_MUXSEL4_MASK 0x300u
  5123. #define SIU_IMUX3_MUXSEL4_SHIFT 8u
  5124. #define SIU_IMUX3_MUXSEL4_WIDTH 2u
  5125. #define SIU_IMUX3_MUXSEL4(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX3_MUXSEL4_SHIFT))&SIU_IMUX3_MUXSEL4_MASK)
  5126. #define SIU_IMUX3_MUXSEL5_MASK 0xC00u
  5127. #define SIU_IMUX3_MUXSEL5_SHIFT 10u
  5128. #define SIU_IMUX3_MUXSEL5_WIDTH 2u
  5129. #define SIU_IMUX3_MUXSEL5(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX3_MUXSEL5_SHIFT))&SIU_IMUX3_MUXSEL5_MASK)
  5130. #define SIU_IMUX3_MUXSEL6_MASK 0x3000u
  5131. #define SIU_IMUX3_MUXSEL6_SHIFT 12u
  5132. #define SIU_IMUX3_MUXSEL6_WIDTH 2u
  5133. #define SIU_IMUX3_MUXSEL6(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX3_MUXSEL6_SHIFT))&SIU_IMUX3_MUXSEL6_MASK)
  5134. /* IMUX4 Bit Fields */
  5135. #define SIU_IMUX4_MUXSEL0_MASK 0x3u
  5136. #define SIU_IMUX4_MUXSEL0_SHIFT 0u
  5137. #define SIU_IMUX4_MUXSEL0_WIDTH 2u
  5138. #define SIU_IMUX4_MUXSEL0(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX4_MUXSEL0_SHIFT))&SIU_IMUX4_MUXSEL0_MASK)
  5139. #define SIU_IMUX4_MUXSEL1_MASK 0xCu
  5140. #define SIU_IMUX4_MUXSEL1_SHIFT 2u
  5141. #define SIU_IMUX4_MUXSEL1_WIDTH 2u
  5142. #define SIU_IMUX4_MUXSEL1(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX4_MUXSEL1_SHIFT))&SIU_IMUX4_MUXSEL1_MASK)
  5143. #define SIU_IMUX4_MUXSEL2_MASK 0x30u
  5144. #define SIU_IMUX4_MUXSEL2_SHIFT 4u
  5145. #define SIU_IMUX4_MUXSEL2_WIDTH 2u
  5146. #define SIU_IMUX4_MUXSEL2(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX4_MUXSEL2_SHIFT))&SIU_IMUX4_MUXSEL2_MASK)
  5147. #define SIU_IMUX4_MUXSEL3_MASK 0xC0u
  5148. #define SIU_IMUX4_MUXSEL3_SHIFT 6u
  5149. #define SIU_IMUX4_MUXSEL3_WIDTH 2u
  5150. #define SIU_IMUX4_MUXSEL3(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX4_MUXSEL3_SHIFT))&SIU_IMUX4_MUXSEL3_MASK)
  5151. #define SIU_IMUX4_MUXSEL8_MASK 0x30000u
  5152. #define SIU_IMUX4_MUXSEL8_SHIFT 16u
  5153. #define SIU_IMUX4_MUXSEL8_WIDTH 2u
  5154. #define SIU_IMUX4_MUXSEL8(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX4_MUXSEL8_SHIFT))&SIU_IMUX4_MUXSEL8_MASK)
  5155. /* IMUX5 Bit Fields */
  5156. #define SIU_IMUX5_MUXSEL0_MASK 0x3u
  5157. #define SIU_IMUX5_MUXSEL0_SHIFT 0u
  5158. #define SIU_IMUX5_MUXSEL0_WIDTH 2u
  5159. #define SIU_IMUX5_MUXSEL0(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL0_SHIFT))&SIU_IMUX5_MUXSEL0_MASK)
  5160. #define SIU_IMUX5_MUXSEL1_MASK 0xCu
  5161. #define SIU_IMUX5_MUXSEL1_SHIFT 2u
  5162. #define SIU_IMUX5_MUXSEL1_WIDTH 2u
  5163. #define SIU_IMUX5_MUXSEL1(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL1_SHIFT))&SIU_IMUX5_MUXSEL1_MASK)
  5164. #define SIU_IMUX5_MUXSEL2_MASK 0x30u
  5165. #define SIU_IMUX5_MUXSEL2_SHIFT 4u
  5166. #define SIU_IMUX5_MUXSEL2_WIDTH 2u
  5167. #define SIU_IMUX5_MUXSEL2(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL2_SHIFT))&SIU_IMUX5_MUXSEL2_MASK)
  5168. #define SIU_IMUX5_MUXSEL3_MASK 0xC0u
  5169. #define SIU_IMUX5_MUXSEL3_SHIFT 6u
  5170. #define SIU_IMUX5_MUXSEL3_WIDTH 2u
  5171. #define SIU_IMUX5_MUXSEL3(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL3_SHIFT))&SIU_IMUX5_MUXSEL3_MASK)
  5172. #define SIU_IMUX5_MUXSEL4_MASK 0x300u
  5173. #define SIU_IMUX5_MUXSEL4_SHIFT 8u
  5174. #define SIU_IMUX5_MUXSEL4_WIDTH 2u
  5175. #define SIU_IMUX5_MUXSEL4(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL4_SHIFT))&SIU_IMUX5_MUXSEL4_MASK)
  5176. #define SIU_IMUX5_MUXSEL5_MASK 0xC00u
  5177. #define SIU_IMUX5_MUXSEL5_SHIFT 10u
  5178. #define SIU_IMUX5_MUXSEL5_WIDTH 2u
  5179. #define SIU_IMUX5_MUXSEL5(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL5_SHIFT))&SIU_IMUX5_MUXSEL5_MASK)
  5180. #define SIU_IMUX5_MUXSEL6_MASK 0x3000u
  5181. #define SIU_IMUX5_MUXSEL6_SHIFT 12u
  5182. #define SIU_IMUX5_MUXSEL6_WIDTH 2u
  5183. #define SIU_IMUX5_MUXSEL6(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL6_SHIFT))&SIU_IMUX5_MUXSEL6_MASK)
  5184. #define SIU_IMUX5_MUXSEL7_MASK 0xC000u
  5185. #define SIU_IMUX5_MUXSEL7_SHIFT 14u
  5186. #define SIU_IMUX5_MUXSEL7_WIDTH 2u
  5187. #define SIU_IMUX5_MUXSEL7(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL7_SHIFT))&SIU_IMUX5_MUXSEL7_MASK)
  5188. #define SIU_IMUX5_MUXSEL8_MASK 0x30000u
  5189. #define SIU_IMUX5_MUXSEL8_SHIFT 16u
  5190. #define SIU_IMUX5_MUXSEL8_WIDTH 2u
  5191. #define SIU_IMUX5_MUXSEL8(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL8_SHIFT))&SIU_IMUX5_MUXSEL8_MASK)
  5192. #define SIU_IMUX5_MUXSEL9_MASK 0xC0000u
  5193. #define SIU_IMUX5_MUXSEL9_SHIFT 18u
  5194. #define SIU_IMUX5_MUXSEL9_WIDTH 2u
  5195. #define SIU_IMUX5_MUXSEL9(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL9_SHIFT))&SIU_IMUX5_MUXSEL9_MASK)
  5196. #define SIU_IMUX5_MUXSEL10_MASK 0x300000u
  5197. #define SIU_IMUX5_MUXSEL10_SHIFT 20u
  5198. #define SIU_IMUX5_MUXSEL10_WIDTH 2u
  5199. #define SIU_IMUX5_MUXSEL10(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL10_SHIFT))&SIU_IMUX5_MUXSEL10_MASK)
  5200. #define SIU_IMUX5_MUXSEL11_MASK 0xC00000u
  5201. #define SIU_IMUX5_MUXSEL11_SHIFT 22u
  5202. #define SIU_IMUX5_MUXSEL11_WIDTH 2u
  5203. #define SIU_IMUX5_MUXSEL11(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL11_SHIFT))&SIU_IMUX5_MUXSEL11_MASK)
  5204. #define SIU_IMUX5_MUXSEL12_MASK 0x3000000u
  5205. #define SIU_IMUX5_MUXSEL12_SHIFT 24u
  5206. #define SIU_IMUX5_MUXSEL12_WIDTH 2u
  5207. #define SIU_IMUX5_MUXSEL12(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL12_SHIFT))&SIU_IMUX5_MUXSEL12_MASK)
  5208. #define SIU_IMUX5_MUXSEL13_MASK 0xC000000u
  5209. #define SIU_IMUX5_MUXSEL13_SHIFT 26u
  5210. #define SIU_IMUX5_MUXSEL13_WIDTH 2u
  5211. #define SIU_IMUX5_MUXSEL13(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL13_SHIFT))&SIU_IMUX5_MUXSEL13_MASK)
  5212. #define SIU_IMUX5_MUXSEL14_MASK 0x30000000u
  5213. #define SIU_IMUX5_MUXSEL14_SHIFT 28u
  5214. #define SIU_IMUX5_MUXSEL14_WIDTH 2u
  5215. #define SIU_IMUX5_MUXSEL14(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL14_SHIFT))&SIU_IMUX5_MUXSEL14_MASK)
  5216. #define SIU_IMUX5_MUXSEL15_MASK 0xC0000000u
  5217. #define SIU_IMUX5_MUXSEL15_SHIFT 30u
  5218. #define SIU_IMUX5_MUXSEL15_WIDTH 2u
  5219. #define SIU_IMUX5_MUXSEL15(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX5_MUXSEL15_SHIFT))&SIU_IMUX5_MUXSEL15_MASK)
  5220. /* IMUX7 Bit Fields */
  5221. #define SIU_IMUX7_MUXSEL8_MASK 0x30000u
  5222. #define SIU_IMUX7_MUXSEL8_SHIFT 16u
  5223. #define SIU_IMUX7_MUXSEL8_WIDTH 2u
  5224. #define SIU_IMUX7_MUXSEL8(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX7_MUXSEL8_SHIFT))&SIU_IMUX7_MUXSEL8_MASK)
  5225. #define SIU_IMUX7_MUXSEL9_MASK 0xC0000u
  5226. #define SIU_IMUX7_MUXSEL9_SHIFT 18u
  5227. #define SIU_IMUX7_MUXSEL9_WIDTH 2u
  5228. #define SIU_IMUX7_MUXSEL9(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX7_MUXSEL9_SHIFT))&SIU_IMUX7_MUXSEL9_MASK)
  5229. #define SIU_IMUX7_MUXSEL10_MASK 0x300000u
  5230. #define SIU_IMUX7_MUXSEL10_SHIFT 20u
  5231. #define SIU_IMUX7_MUXSEL10_WIDTH 2u
  5232. #define SIU_IMUX7_MUXSEL10(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX7_MUXSEL10_SHIFT))&SIU_IMUX7_MUXSEL10_MASK)
  5233. #define SIU_IMUX7_MUXSEL11_MASK 0xC00000u
  5234. #define SIU_IMUX7_MUXSEL11_SHIFT 22u
  5235. #define SIU_IMUX7_MUXSEL11_WIDTH 2u
  5236. #define SIU_IMUX7_MUXSEL11(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX7_MUXSEL11_SHIFT))&SIU_IMUX7_MUXSEL11_MASK)
  5237. #define SIU_IMUX7_MUXSEL12_MASK 0x3000000u
  5238. #define SIU_IMUX7_MUXSEL12_SHIFT 24u
  5239. #define SIU_IMUX7_MUXSEL12_WIDTH 2u
  5240. #define SIU_IMUX7_MUXSEL12(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX7_MUXSEL12_SHIFT))&SIU_IMUX7_MUXSEL12_MASK)
  5241. #define SIU_IMUX7_MUXSEL13_MASK 0xC000000u
  5242. #define SIU_IMUX7_MUXSEL13_SHIFT 26u
  5243. #define SIU_IMUX7_MUXSEL13_WIDTH 2u
  5244. #define SIU_IMUX7_MUXSEL13(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX7_MUXSEL13_SHIFT))&SIU_IMUX7_MUXSEL13_MASK)
  5245. #define SIU_IMUX7_MUXSEL14_MASK 0x30000000u
  5246. #define SIU_IMUX7_MUXSEL14_SHIFT 28u
  5247. #define SIU_IMUX7_MUXSEL14_WIDTH 2u
  5248. #define SIU_IMUX7_MUXSEL14(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX7_MUXSEL14_SHIFT))&SIU_IMUX7_MUXSEL14_MASK)
  5249. #define SIU_IMUX7_MUXSEL15_MASK 0xC0000000u
  5250. #define SIU_IMUX7_MUXSEL15_SHIFT 30u
  5251. #define SIU_IMUX7_MUXSEL15_WIDTH 2u
  5252. #define SIU_IMUX7_MUXSEL15(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX7_MUXSEL15_SHIFT))&SIU_IMUX7_MUXSEL15_MASK)
  5253. /* IMUX10 Bit Fields */
  5254. #define SIU_IMUX10_MUXSEL0_MASK 0x3u
  5255. #define SIU_IMUX10_MUXSEL0_SHIFT 0u
  5256. #define SIU_IMUX10_MUXSEL0_WIDTH 2u
  5257. #define SIU_IMUX10_MUXSEL0(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX10_MUXSEL0_SHIFT))&SIU_IMUX10_MUXSEL0_MASK)
  5258. #define SIU_IMUX10_MUXSEL1_MASK 0xCu
  5259. #define SIU_IMUX10_MUXSEL1_SHIFT 2u
  5260. #define SIU_IMUX10_MUXSEL1_WIDTH 2u
  5261. #define SIU_IMUX10_MUXSEL1(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX10_MUXSEL1_SHIFT))&SIU_IMUX10_MUXSEL1_MASK)
  5262. #define SIU_IMUX10_MUXSEL3_MASK 0xC0u
  5263. #define SIU_IMUX10_MUXSEL3_SHIFT 6u
  5264. #define SIU_IMUX10_MUXSEL3_WIDTH 2u
  5265. #define SIU_IMUX10_MUXSEL3(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX10_MUXSEL3_SHIFT))&SIU_IMUX10_MUXSEL3_MASK)
  5266. #define SIU_IMUX10_MUXSEL8_MASK 0x30000u
  5267. #define SIU_IMUX10_MUXSEL8_SHIFT 16u
  5268. #define SIU_IMUX10_MUXSEL8_WIDTH 2u
  5269. #define SIU_IMUX10_MUXSEL8(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX10_MUXSEL8_SHIFT))&SIU_IMUX10_MUXSEL8_MASK)
  5270. #define SIU_IMUX10_MUXSEL9_MASK 0xC0000u
  5271. #define SIU_IMUX10_MUXSEL9_SHIFT 18u
  5272. #define SIU_IMUX10_MUXSEL9_WIDTH 2u
  5273. #define SIU_IMUX10_MUXSEL9(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX10_MUXSEL9_SHIFT))&SIU_IMUX10_MUXSEL9_MASK)
  5274. #define SIU_IMUX10_MUXSEL10_MASK 0x300000u
  5275. #define SIU_IMUX10_MUXSEL10_SHIFT 20u
  5276. #define SIU_IMUX10_MUXSEL10_WIDTH 2u
  5277. #define SIU_IMUX10_MUXSEL10(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX10_MUXSEL10_SHIFT))&SIU_IMUX10_MUXSEL10_MASK)
  5278. #define SIU_IMUX10_MUXSEL11_MASK 0xC00000u
  5279. #define SIU_IMUX10_MUXSEL11_SHIFT 22u
  5280. #define SIU_IMUX10_MUXSEL11_WIDTH 2u
  5281. #define SIU_IMUX10_MUXSEL11(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX10_MUXSEL11_SHIFT))&SIU_IMUX10_MUXSEL11_MASK)
  5282. #define SIU_IMUX10_MUXSEL12_MASK 0x3000000u
  5283. #define SIU_IMUX10_MUXSEL12_SHIFT 24u
  5284. #define SIU_IMUX10_MUXSEL12_WIDTH 2u
  5285. #define SIU_IMUX10_MUXSEL12(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX10_MUXSEL12_SHIFT))&SIU_IMUX10_MUXSEL12_MASK)
  5286. #define SIU_IMUX10_MUXSEL13_MASK 0xC000000u
  5287. #define SIU_IMUX10_MUXSEL13_SHIFT 26u
  5288. #define SIU_IMUX10_MUXSEL13_WIDTH 2u
  5289. #define SIU_IMUX10_MUXSEL13(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX10_MUXSEL13_SHIFT))&SIU_IMUX10_MUXSEL13_MASK)
  5290. #define SIU_IMUX10_MUXSEL14_MASK 0x30000000u
  5291. #define SIU_IMUX10_MUXSEL14_SHIFT 28u
  5292. #define SIU_IMUX10_MUXSEL14_WIDTH 2u
  5293. #define SIU_IMUX10_MUXSEL14(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX10_MUXSEL14_SHIFT))&SIU_IMUX10_MUXSEL14_MASK)
  5294. #define SIU_IMUX10_MUXSEL15_MASK 0xC0000000u
  5295. #define SIU_IMUX10_MUXSEL15_SHIFT 30u
  5296. #define SIU_IMUX10_MUXSEL15_WIDTH 2u
  5297. #define SIU_IMUX10_MUXSEL15(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX10_MUXSEL15_SHIFT))&SIU_IMUX10_MUXSEL15_MASK)
  5298. /* IMUX12 Bit Fields */
  5299. #define SIU_IMUX12_MUXSEL2_MASK 0x30u
  5300. #define SIU_IMUX12_MUXSEL2_SHIFT 4u
  5301. #define SIU_IMUX12_MUXSEL2_WIDTH 2u
  5302. #define SIU_IMUX12_MUXSEL2(x) (((uint32_t)(((uint32_t)(x))<<SIU_IMUX12_MUXSEL2_SHIFT))&SIU_IMUX12_MUXSEL2_MASK)
  5303. /*!
  5304. * @}
  5305. */ /* end of group SIU_Register_Masks */
  5306. /*!
  5307. * @}
  5308. */ /* end of group SIU_Peripheral_Access_Layer */
  5309. /* ----------------------------------------------------------------------------
  5310. -- SIU_B Peripheral Access Layer
  5311. ---------------------------------------------------------------------------- */
  5312. /*!
  5313. * @addtogroup SIU_B_Peripheral_Access_Layer SIU_B Peripheral Access Layer
  5314. * @{
  5315. */
  5316. /** SIU_B - Size of Registers Arrays */
  5317. #define SIU_B_PCRM_COUNT 4u
  5318. #define SIU_B_GPDOM_COUNT 4u
  5319. #define SIU_B_GPDIM_COUNT 4u
  5320. /** SIU_B - Register Layout Typedef */
  5321. typedef struct {
  5322. uint8_t RESERVED_0[544];
  5323. __IO uint16_t PCRM[SIU_B_PCRM_COUNT]; /**< Pad Configuration Register Mirrored, array offset: 0x220, array step: 0x2 */
  5324. uint8_t RESERVED_1[1224];
  5325. __IO uint8_t GPDOM[SIU_B_GPDOM_COUNT]; /**< GPIO Pin Data Output Register Mirrored, array offset: 0x6F0, array step: 0x1 */
  5326. uint8_t RESERVED_2[508];
  5327. __I uint8_t GPDIM[SIU_B_GPDIM_COUNT]; /**< GPIO Pin Data Input Register Mirrored, array offset: 0x8F0, array step: 0x1 */
  5328. } SIU_B_Type, *SIU_B_MemMapPtr;
  5329. /** Number of instances of the SIU_B module. */
  5330. #define SIU_B_INSTANCE_COUNT (1u)
  5331. /* SIU_B - Peripheral instance base addresses */
  5332. /** Peripheral SIU_B base address */
  5333. #define SIU_B_BASE (0xC3F98000u)
  5334. /** Peripheral SIU_B base pointer */
  5335. #define SIU_B ((SIU_B_Type *)SIU_B_BASE)
  5336. /** Array initializer of SIU_B peripheral base addresses */
  5337. #define SIU_B_BASE_ADDRS { SIU_B_BASE }
  5338. /** Array initializer of SIU_B peripheral base pointers */
  5339. #define SIU_B_BASE_PTRS { SIU_B }
  5340. /* ----------------------------------------------------------------------------
  5341. -- SIU_B Register Masks
  5342. ---------------------------------------------------------------------------- */
  5343. /*!
  5344. * @addtogroup SIU_B_Register_Masks SIU_B Register Masks
  5345. * @{
  5346. */
  5347. /* PCRM Bit Fields */
  5348. #define SIU_B_PCRM_WPS_MASK 0x1u
  5349. #define SIU_B_PCRM_WPS_SHIFT 0u
  5350. #define SIU_B_PCRM_WPS_WIDTH 1u
  5351. #define SIU_B_PCRM_WPS(x) (((uint16_t)(((uint16_t)(x))<<SIU_B_PCRM_WPS_SHIFT))&SIU_B_PCRM_WPS_MASK)
  5352. #define SIU_B_PCRM_WPE_MASK 0x2u
  5353. #define SIU_B_PCRM_WPE_SHIFT 1u
  5354. #define SIU_B_PCRM_WPE_WIDTH 1u
  5355. #define SIU_B_PCRM_WPE(x) (((uint16_t)(((uint16_t)(x))<<SIU_B_PCRM_WPE_SHIFT))&SIU_B_PCRM_WPE_MASK)
  5356. #define SIU_B_PCRM_SRC_MASK 0xCu
  5357. #define SIU_B_PCRM_SRC_SHIFT 2u
  5358. #define SIU_B_PCRM_SRC_WIDTH 2u
  5359. #define SIU_B_PCRM_SRC(x) (((uint16_t)(((uint16_t)(x))<<SIU_B_PCRM_SRC_SHIFT))&SIU_B_PCRM_SRC_MASK)
  5360. #define SIU_B_PCRM_HYS_MASK 0x10u
  5361. #define SIU_B_PCRM_HYS_SHIFT 4u
  5362. #define SIU_B_PCRM_HYS_WIDTH 1u
  5363. #define SIU_B_PCRM_HYS(x) (((uint16_t)(((uint16_t)(x))<<SIU_B_PCRM_HYS_SHIFT))&SIU_B_PCRM_HYS_MASK)
  5364. #define SIU_B_PCRM_ODE_MASK 0x20u
  5365. #define SIU_B_PCRM_ODE_SHIFT 5u
  5366. #define SIU_B_PCRM_ODE_WIDTH 1u
  5367. #define SIU_B_PCRM_ODE(x) (((uint16_t)(((uint16_t)(x))<<SIU_B_PCRM_ODE_SHIFT))&SIU_B_PCRM_ODE_MASK)
  5368. #define SIU_B_PCRM_DSC_MASK 0xC0u
  5369. #define SIU_B_PCRM_DSC_SHIFT 6u
  5370. #define SIU_B_PCRM_DSC_WIDTH 2u
  5371. #define SIU_B_PCRM_DSC(x) (((uint16_t)(((uint16_t)(x))<<SIU_B_PCRM_DSC_SHIFT))&SIU_B_PCRM_DSC_MASK)
  5372. #define SIU_B_PCRM_IBE_MASK 0x100u
  5373. #define SIU_B_PCRM_IBE_SHIFT 8u
  5374. #define SIU_B_PCRM_IBE_WIDTH 1u
  5375. #define SIU_B_PCRM_IBE(x) (((uint16_t)(((uint16_t)(x))<<SIU_B_PCRM_IBE_SHIFT))&SIU_B_PCRM_IBE_MASK)
  5376. #define SIU_B_PCRM_OBE_MASK 0x200u
  5377. #define SIU_B_PCRM_OBE_SHIFT 9u
  5378. #define SIU_B_PCRM_OBE_WIDTH 1u
  5379. #define SIU_B_PCRM_OBE(x) (((uint16_t)(((uint16_t)(x))<<SIU_B_PCRM_OBE_SHIFT))&SIU_B_PCRM_OBE_MASK)
  5380. #define SIU_B_PCRM_PA_MASK 0x1C00u
  5381. #define SIU_B_PCRM_PA_SHIFT 10u
  5382. #define SIU_B_PCRM_PA_WIDTH 3u
  5383. #define SIU_B_PCRM_PA(x) (((uint16_t)(((uint16_t)(x))<<SIU_B_PCRM_PA_SHIFT))&SIU_B_PCRM_PA_MASK)
  5384. /* GPDOM Bit Fields */
  5385. #define SIU_B_GPDOM_PDOn_MASK 0x1u
  5386. #define SIU_B_GPDOM_PDOn_SHIFT 0u
  5387. #define SIU_B_GPDOM_PDOn_WIDTH 1u
  5388. #define SIU_B_GPDOM_PDOn(x) (((uint8_t)(((uint8_t)(x))<<SIU_B_GPDOM_PDOn_SHIFT))&SIU_B_GPDOM_PDOn_MASK)
  5389. /* GPDIM Bit Fields */
  5390. #define SIU_B_GPDIM_PDIn_MASK 0x1u
  5391. #define SIU_B_GPDIM_PDIn_SHIFT 0u
  5392. #define SIU_B_GPDIM_PDIn_WIDTH 1u
  5393. #define SIU_B_GPDIM_PDIn(x) (((uint8_t)(((uint8_t)(x))<<SIU_B_GPDIM_PDIn_SHIFT))&SIU_B_GPDIM_PDIn_MASK)
  5394. /*!
  5395. * @}
  5396. */ /* end of group SIU_B_Register_Masks */
  5397. /*!
  5398. * @}
  5399. */ /* end of group SIU_B_Peripheral_Access_Layer */
  5400. /****************************************************************************/
  5401. /* MODULE : EMIOS */
  5402. /****************************************************************************/
  5403. struct EMIOS_tag {
  5404. union { /* Module Configuration Register */
  5405. vuint32_t R;
  5406. struct {
  5407. vuint32_t:1;
  5408. vuint32_t MDIS:1;
  5409. vuint32_t FRZ:1;
  5410. vuint32_t GTBE:1;
  5411. vuint32_t ETB:1;
  5412. vuint32_t GPREN:1;
  5413. vuint32_t:6;
  5414. vuint32_t SRV:4;
  5415. vuint32_t GPRE:8;
  5416. vuint32_t:8;
  5417. } B;
  5418. } MCR;
  5419. union { /* Global FLAG Register */
  5420. vuint32_t R;
  5421. struct {
  5422. vuint32_t F31:1;
  5423. vuint32_t F30:1;
  5424. vuint32_t F29:1;
  5425. vuint32_t F28:1;
  5426. vuint32_t F27:1;
  5427. vuint32_t F26:1;
  5428. vuint32_t F25:1;
  5429. vuint32_t F24:1;
  5430. vuint32_t F23:1;
  5431. vuint32_t F22:1;
  5432. vuint32_t F21:1;
  5433. vuint32_t F20:1;
  5434. vuint32_t F19:1;
  5435. vuint32_t F18:1;
  5436. vuint32_t F17:1;
  5437. vuint32_t F16:1;
  5438. vuint32_t F15:1;
  5439. vuint32_t F14:1;
  5440. vuint32_t F13:1;
  5441. vuint32_t F12:1;
  5442. vuint32_t F11:1;
  5443. vuint32_t F10:1;
  5444. vuint32_t F9:1;
  5445. vuint32_t F8:1;
  5446. vuint32_t F7:1;
  5447. vuint32_t F6:1;
  5448. vuint32_t F5:1;
  5449. vuint32_t F4:1;
  5450. vuint32_t F3:1;
  5451. vuint32_t F2:1;
  5452. vuint32_t F1:1;
  5453. vuint32_t F0:1;
  5454. } B;
  5455. } GFR;
  5456. union { /* Output Update Disable Register */
  5457. vuint32_t R;
  5458. struct {
  5459. vuint32_t OU31:1;
  5460. vuint32_t OU30:1;
  5461. vuint32_t OU29:1;
  5462. vuint32_t OU28:1;
  5463. vuint32_t OU27:1;
  5464. vuint32_t OU26:1;
  5465. vuint32_t OU25:1;
  5466. vuint32_t OU24:1;
  5467. vuint32_t OU23:1;
  5468. vuint32_t OU22:1;
  5469. vuint32_t OU21:1;
  5470. vuint32_t OU20:1;
  5471. vuint32_t OU19:1;
  5472. vuint32_t OU18:1;
  5473. vuint32_t OU17:1;
  5474. vuint32_t OU16:1;
  5475. vuint32_t OU15:1;
  5476. vuint32_t OU14:1;
  5477. vuint32_t OU13:1;
  5478. vuint32_t OU12:1;
  5479. vuint32_t OU11:1;
  5480. vuint32_t OU10:1;
  5481. vuint32_t OU9:1;
  5482. vuint32_t OU8:1;
  5483. vuint32_t OU7:1;
  5484. vuint32_t OU6:1;
  5485. vuint32_t OU5:1;
  5486. vuint32_t OU4:1;
  5487. vuint32_t OU3:1;
  5488. vuint32_t OU2:1;
  5489. vuint32_t OU1:1;
  5490. vuint32_t OU0:1;
  5491. } B;
  5492. } OUDR;
  5493. uint32_t eMIOS_reserved000C[5]; /* 0x000C-0x001F */
  5494. struct {
  5495. union { /* Channel A Data Register */
  5496. vuint32_t R;
  5497. } CADR;
  5498. union { /* Channel B Data Register */
  5499. vuint32_t R;
  5500. } CBDR;
  5501. union { /* Channel Counter Register */
  5502. vuint32_t R;
  5503. } CCNTR;
  5504. union { /* Channel Control Register */
  5505. vuint32_t R;
  5506. struct {
  5507. vuint32_t FREN:1;
  5508. vuint32_t ODIS:1;
  5509. vuint32_t ODISSL:2;
  5510. vuint32_t UCPRE:2;
  5511. vuint32_t UCPREN:1;
  5512. vuint32_t DMA:1;
  5513. vuint32_t:1;
  5514. vuint32_t IF:4;
  5515. vuint32_t FCK:1;
  5516. vuint32_t FEN:1;
  5517. vuint32_t:3;
  5518. vuint32_t FORCMA:1;
  5519. vuint32_t FORCMB:1;
  5520. vuint32_t:1;
  5521. vuint32_t BSL:2;
  5522. vuint32_t EDSEL:1;
  5523. vuint32_t EDPOL:1;
  5524. vuint32_t MODE:7;
  5525. } B;
  5526. } CCR;
  5527. union { /* Channel Status Register */
  5528. vuint32_t R;
  5529. struct {
  5530. vuint32_t OVR:1;
  5531. vuint32_t:15;
  5532. vuint32_t OVFL:1;
  5533. vuint32_t:12;
  5534. vuint32_t UCIN:1;
  5535. vuint32_t UCOUT:1;
  5536. vuint32_t FLAG:1;
  5537. } B;
  5538. } CSR;
  5539. union { /* Alternate Channel A Data Register */
  5540. vuint32_t R;
  5541. } ALTA;
  5542. uint32_t eMIOS_channel_reserved0018[2]; /* 0x0018-0x001F */
  5543. } CH[32];
  5544. uint32_t eMIOS_reserved0420[3832]; /* 0x0420-0x3FFF */
  5545. };
  5546. /****************************************************************************/
  5547. /* MODULE : PMC */
  5548. /****************************************************************************/
  5549. struct PMC_tag {
  5550. union {
  5551. vuint32_t R;
  5552. struct {
  5553. vuint32_t LVRER:1;
  5554. vuint32_t LVREH:1;
  5555. vuint32_t LVRE50:1;
  5556. vuint32_t LVRE33:1;
  5557. vuint32_t LVREC:1;
  5558. vuint32_t LVREA:1;
  5559. vuint32_t:1;
  5560. vuint32_t:1;
  5561. vuint32_t LVIER:1;
  5562. vuint32_t LVIEH:1;
  5563. vuint32_t LVIE50:1;
  5564. vuint32_t LVIE33:1;
  5565. #ifdef COMP_TO_MPC5634M_V1_6_ON
  5566. vuint32_t LVIC:1;
  5567. #else
  5568. vuint32_t LVIEC:1;
  5569. #endif
  5570. vuint32_t LVIEA:1;
  5571. vuint32_t:1;
  5572. vuint32_t TLK:1;
  5573. vuint32_t:16;
  5574. } B;
  5575. } MCR; /* Module Configuration Register */
  5576. union {
  5577. vuint32_t R;
  5578. struct {
  5579. vuint32_t :8;
  5580. vuint32_t LVDATRIM:4;
  5581. vuint32_t LVDREGTRIM:4;
  5582. vuint32_t VDD33TRIM:4;
  5583. vuint32_t LVD33TRIM:4;
  5584. vuint32_t VDDCTRIM:4;
  5585. vuint32_t LVDCTRIM:4;
  5586. } B;
  5587. } TRIMR; /* Trimming register */
  5588. union {
  5589. vuint32_t R;
  5590. struct {
  5591. vuint32_t :5;
  5592. vuint32_t LVFSTBY:1;
  5593. vuint32_t BGRDY:1;
  5594. vuint32_t BGTS:1;
  5595. vuint32_t :5;
  5596. vuint32_t LVFCSTBY:1;
  5597. vuint32_t :2;
  5598. vuint32_t LVFCR:1;
  5599. vuint32_t LVFCH:1;
  5600. vuint32_t LVFC50:1;
  5601. vuint32_t LVFC33:1;
  5602. vuint32_t LVFCC:1;
  5603. vuint32_t LVFCA:1;
  5604. vuint32_t :2;
  5605. vuint32_t LVFR:1;
  5606. vuint32_t LVFH:1;
  5607. vuint32_t LVF50:1;
  5608. vuint32_t LVF33:1;
  5609. vuint32_t LVFC:1;
  5610. vuint32_t LVFA:1;
  5611. vuint32_t :2;
  5612. } B;
  5613. } SR; /* status register */
  5614. uint32_t PMC_reserved000C[4093]; /* 0x000C-0x3FFF */
  5615. };
  5616. /****************************************************************************/
  5617. /* MODULE :ETPU */
  5618. /****************************************************************************/
  5619. /***************************Configuration Registers**************************/
  5620. struct ETPU_tag {
  5621. union { /* MODULE CONFIGURATION REGISTER */
  5622. vuint32_t R;
  5623. struct {
  5624. vuint32_t GEC:1; /* Global Exception Clear */
  5625. vuint32_t SDMERR:1; /* SDM Read Error */
  5626. vuint32_t WDTOA:1; /* Watchdog Timeout-eTPU_A (WDTO1 in reference manual) */
  5627. vuint32_t WDTOB:1; /* Watchdog Timeout-eTPU_B (WDTO2 in reference manual) */
  5628. vuint32_t MGE1:1; /* Microcode Global Exception-ETPU_A */
  5629. vuint32_t MGE2:1; /* Microcode Global Exception-ETPU_B */
  5630. vuint32_t ILF1:1; /* Illegal Instruction Flag-ETPU_A */
  5631. vuint32_t ILF2:1; /* Illegal Instruction Flag-ETPU_B */
  5632. vuint32_t:3;
  5633. vuint32_t SCMSIZE:5; /* Shared Code Memory size */
  5634. vuint32_t:4;
  5635. vuint32_t SCMMISC:1; /* SCM MISC Complete/Clear */
  5636. vuint32_t SCMMISF:1; /* SCM MISC Flag */
  5637. vuint32_t SCMMISEN:1; /* SCM MISC Enable */
  5638. vuint32_t:2;
  5639. vuint32_t VIS:1; /* SCM Visability */
  5640. vuint32_t:5;
  5641. vuint32_t GTBE:1; /* Global Time Base Enable */
  5642. } B;
  5643. } MCR;
  5644. union { /* COHERENT DUAL-PARAMETER CONTROL */
  5645. vuint32_t R;
  5646. struct {
  5647. vuint32_t STS:1; /* Start Status bit */
  5648. vuint32_t CTBASE:5; /* Channel Transfer Base */
  5649. vuint32_t PBASE:10; /* Parameter Buffer Base Address (PBBASE in reference manual) */
  5650. vuint32_t PWIDTH:1; /* Parameter Width */
  5651. vuint32_t PARAM0:7; /* Channel Parameter 0 */
  5652. vuint32_t WR:1; /* Read/Write selection */
  5653. vuint32_t PARAM1:7; /* Channel Parameter 1 */
  5654. } B;
  5655. } CDCR;
  5656. uint32_t eTPU_reserved0008; /* 0x0008-0x000B */
  5657. union { /* MISC Compare Register */
  5658. uint32_t R;
  5659. struct {
  5660. vuint32_t ETPUMISCCMP:32;
  5661. } B;
  5662. } MISCCMPR;
  5663. union { /* SCM off-range Date Register */
  5664. uint32_t R;
  5665. struct {
  5666. vuint32_t ETPUSCMOFFDATA:32;
  5667. } B;
  5668. } SCMOFFDATAR;
  5669. union { /* ETPU_A Configuration Register */
  5670. vuint32_t R;
  5671. struct {
  5672. vuint32_t FEND:1; /* Force END */
  5673. vuint32_t MDIS:1; /* Low power Stop */
  5674. vuint32_t:1;
  5675. vuint32_t STF:1; /* Stop Flag */
  5676. vuint32_t:4;
  5677. vuint32_t HLTF:1; /* Halt Mode Flag */
  5678. vuint32_t:3;
  5679. vuint32_t FCSS:1; /* Filter Clock Source Select */
  5680. vuint32_t FPSCK:3; /* Filter Prescaler Clock Control */
  5681. vuint32_t CDFC:2;
  5682. vuint32_t:1;
  5683. vuint32_t ERBA:5; /* Engine Relative Base Address */
  5684. vuint32_t SPPDIS:1; /* Schedule Priority Passing Disable */
  5685. vuint32_t:2;
  5686. vuint32_t ETB:5; /* Entry Table Base */
  5687. } B;
  5688. } ECR_A;
  5689. union { /* ETPU_B Configuration Register */
  5690. vuint32_t R;
  5691. struct {
  5692. vuint32_t FEND:1; /* Force END */
  5693. vuint32_t MDIS:1; /* Low power Stop */
  5694. vuint32_t:1;
  5695. vuint32_t STF:1; /* Stop Flag */
  5696. vuint32_t:4;
  5697. vuint32_t HLTF:1; /* Halt Mode Flag */
  5698. vuint32_t:3;
  5699. vuint32_t FCSS:1; /* Filter Clock Source Select */
  5700. vuint32_t FPSCK:3; /* Filter Prescaler Clock Control */
  5701. vuint32_t CDFC:2;
  5702. vuint32_t:1;
  5703. vuint32_t ERBA:5; /* Engine Relative Base Address */
  5704. vuint32_t SPPDIS:1; /* Schedule Priority Passing Disable */
  5705. vuint32_t:2;
  5706. vuint32_t ETB:5; /* Entry Table Base */
  5707. } B;
  5708. } ECR_B;
  5709. uint32_t eTPU_reserved001C; /* 0x001C-0x001F */
  5710. union { /* ETPU_A Timebase Configuration Register */
  5711. uint32_t R;
  5712. struct {
  5713. vuint32_t TCR2CTL:3; /* TCR2 Clock/Gate Control */
  5714. vuint32_t TCRCF:2; /* TCRCLK Signal Filter Control */
  5715. vuint32_t AM:2; /* Angle Mode */
  5716. vuint32_t:3;
  5717. vuint32_t TCR2P:6; /* TCR2 Prescaler Control */
  5718. vuint32_t TCR1CTL:2; /* TCR1 Clock/Gate Control */
  5719. vuint32_t TCR1CS:1; /* TCR1 Clock Source */
  5720. vuint32_t:5;
  5721. vuint32_t TCR1P:8; /* TCR1 Prescaler Control */
  5722. } B;
  5723. } TBCR_A;
  5724. union { /* ETPU_A TCR1 Visibility Register */
  5725. vuint32_t R;
  5726. struct {
  5727. vuint32_t:8;
  5728. vuint32_t TCR1:24;
  5729. } B;
  5730. } TB1R_A;
  5731. union { /* ETPU_A TCR2 Visibility Register */
  5732. vuint32_t R;
  5733. struct {
  5734. vuint32_t:8;
  5735. vuint32_t TCR2:24;
  5736. } B;
  5737. } TB2R_A;
  5738. union { /* ETPU_A STAC Configuration Register */
  5739. vuint32_t R;
  5740. struct {
  5741. vuint32_t REN1:1; /* Resource Enable TCR1 */
  5742. vuint32_t RSC1:1; /* Resource Control TCR1 */
  5743. vuint32_t:2;
  5744. vuint32_t SERVER_ID1:4; /* TCR1 Server ID */
  5745. vuint32_t:4;
  5746. vuint32_t SRV1:4; /* Resource Server Slot */
  5747. vuint32_t REN2:1; /* Resource Enable TCR2 */
  5748. vuint32_t RSC2:1; /* Resource Control TCR2 */
  5749. vuint32_t:2;
  5750. vuint32_t SERVER_ID2:4; /* TCR2 Server ID */
  5751. vuint32_t:4;
  5752. vuint32_t SRV2:4; /* Resource Server Slot */
  5753. } B;
  5754. } REDCR_A;
  5755. uint32_t eTPU_reserved0030[4]; /* 0x0030-0x003F */
  5756. union { /* ETPU_B Timebase Configuration Register */
  5757. uint32_t R;
  5758. struct {
  5759. vuint32_t TCR2CTL:3; /* TCR2 Clock/Gate Control */
  5760. vuint32_t TCRCF:2; /* TCRCLK Signal Filter Control */
  5761. vuint32_t AM:2; /* Angle Mode */
  5762. vuint32_t:3;
  5763. vuint32_t TCR2P:6; /* TCR2 Prescaler Control */
  5764. vuint32_t TCR1CTL:2; /* TCR1 Clock/Gate Control */
  5765. vuint32_t TCR1CS:1; /* TCR1 Clock Source */
  5766. vuint32_t:5;
  5767. vuint32_t TCR1P:8; /* TCR1 Prescaler Control */
  5768. } B;
  5769. } TBCR_B;
  5770. union { /* ETPU_B TCR1 Visibility Register */
  5771. vuint32_t R;
  5772. struct {
  5773. vuint32_t:8;
  5774. vuint32_t TCR1:24;
  5775. } B;
  5776. } TB1R_B;
  5777. union { /* ETPU_B TCR2 Visibility Register */
  5778. vuint32_t R;
  5779. struct {
  5780. vuint32_t:8;
  5781. vuint32_t TCR2:24;
  5782. } B;
  5783. } TB2R_B;
  5784. union { /* ETPU_B STAC Configuration Register */
  5785. vuint32_t R;
  5786. struct {
  5787. vuint32_t REN1:1; /* Resource Enable TCR1 */
  5788. vuint32_t RSC1:1; /* Resource Control TCR1 */
  5789. vuint32_t:2;
  5790. vuint32_t SERVER_ID1:4; /* TCR1 Server ID */
  5791. vuint32_t:4;
  5792. vuint32_t SRV1:4; /* Resource Server Slot */
  5793. vuint32_t REN2:1; /* Resource Enable TCR2 */
  5794. vuint32_t RSC2:1; /* Resource Control TCR2 */
  5795. vuint32_t:2;
  5796. vuint32_t SERVER_ID2:4; /* TCR2 Server ID */
  5797. vuint32_t:4;
  5798. vuint32_t SRV2:4; /* Resource Server Slot */
  5799. } B;
  5800. } REDCR_B;
  5801. uint32_t eTPU_reserved0050[4]; /* 0x0050-0x005F */
  5802. union { /* Watchdog Timer Register A */
  5803. vuint32_t R;
  5804. struct {
  5805. vuint32_t WDM:2; /* Watchdog Mode */
  5806. vuint32_t:14;
  5807. vuint32_t WDCNT:16; /* Watchdog Count */
  5808. } B;
  5809. } WDTR_A;
  5810. uint32_t eTPU_reserved0064; /* 0x0064-0x0067 */
  5811. union { /* Idle Counter Register A*/
  5812. vuint32_t R;
  5813. struct {
  5814. vuint32_t IDLE_CNT:31;
  5815. vuint32_t ICLR:1; /* Idle Clear */
  5816. } B;
  5817. } IDLE_A;
  5818. uint32_t eTPU_reserved006C; /* 0x006C-0x006F */
  5819. union { /* Watchdog Timer Register B */
  5820. vuint32_t R;
  5821. struct {
  5822. vuint32_t WDM:2; /* Watchdog Mode */
  5823. vuint32_t:14;
  5824. vuint32_t WDCNT:16; /* Watchdog Count */
  5825. } B;
  5826. } WDTR_B;
  5827. uint32_t eTPU_reserved0074; /* 0x0074-0x0077 */
  5828. union { /* Idle Counter Register B*/
  5829. vuint32_t R;
  5830. struct {
  5831. vuint32_t IDLE_CNT:31;
  5832. vuint32_t ICLR:1; /* Idle Clear */
  5833. } B;
  5834. } IDLE_B;
  5835. uint32_t eTPU_reserved007C; /* 0x007C-0x007F */
  5836. uint32_t eTPU_reserved0080[32]; /* 0x0080-0x00FF */
  5837. union { /* Error Correction Status and Control Register */
  5838. vuint32_t R;
  5839. struct {
  5840. vuint32_t DCERR:1;
  5841. vuint32_t DNCERR:1;
  5842. vuint32_t:12;
  5843. vuint32_t CCERR:1;
  5844. vuint32_t CNCERR:1;
  5845. vuint32_t HDEIE:1;
  5846. vuint32_t MDEIE:1;
  5847. vuint32_t:13;
  5848. vuint32_t CEIE:1;
  5849. } B;
  5850. } ECSCR;
  5851. union { /* Data Error Injection Address Register */
  5852. vuint32_t R;
  5853. struct {
  5854. vuint32_t:18;
  5855. vuint32_t INJ_ADDR:12;
  5856. vuint32_t:2;
  5857. } B;
  5858. } DEIAR;
  5859. union { /* Data Error Injection Data Pattern Register */
  5860. vuint32_t R;
  5861. struct {
  5862. vuint32_t DFLIP:32;
  5863. } B;
  5864. } DEIDPR;
  5865. union { /* Data Error Injection Parity Pattern Register */
  5866. vuint32_t R;
  5867. struct {
  5868. vuint32_t:3;
  5869. vuint32_t PFLIP3:5;
  5870. vuint32_t:3;
  5871. vuint32_t PFLIP2:5;
  5872. vuint32_t:3;
  5873. vuint32_t PFLIP1:5;
  5874. vuint32_t:3;
  5875. vuint32_t PFLIP0:5;
  5876. } B;
  5877. } DEIPPR;
  5878. union { /* Data Error Report Address Register */
  5879. vuint32_t R;
  5880. struct {
  5881. vuint32_t:18;
  5882. vuint32_t ERR_ADDR:12;
  5883. vuint32_t:2;
  5884. } B;
  5885. } DERAR;
  5886. union { /* Data Error Report Data Register */
  5887. vuint32_t R;
  5888. struct {
  5889. vuint32_t DATA:32;
  5890. } B;
  5891. } DERDR;
  5892. union { /* Data Error Report Syndrome Register */
  5893. vuint32_t R;
  5894. struct {
  5895. vuint32_t:3;
  5896. vuint32_t SYND3:5;
  5897. vuint32_t:3;
  5898. vuint32_t SYND2:5;
  5899. vuint32_t:3;
  5900. vuint32_t SYND1:5;
  5901. vuint32_t:3;
  5902. vuint32_t SYND0:5;
  5903. } B;
  5904. } DERSR;
  5905. uint32_t eTPU_reserved011C[2]; /* 0x011C-0x0123 */
  5906. union { /* Code Error Injection Address Register */
  5907. vuint32_t R;
  5908. struct {
  5909. vuint32_t:16;
  5910. vuint32_t INJ_ADDR:14;
  5911. vuint32_t:2;
  5912. } B;
  5913. } CEIAR;
  5914. union { /* Code Error Injection Data Pattern Register */
  5915. vuint32_t R;
  5916. struct {
  5917. vuint32_t DFLIP:32;
  5918. } B;
  5919. } CEIDPR;
  5920. union { /* Code Error Injection Parity Pattern Register */
  5921. vuint32_t R;
  5922. struct {
  5923. vuint32_t:25;
  5924. vuint32_t PFLIP:7;
  5925. } B;
  5926. } CEIPPR;
  5927. union { /* Code Error Report Address Register */
  5928. vuint32_t R;
  5929. struct {
  5930. vuint32_t:16;
  5931. vuint32_t ERR_ADDR:14;
  5932. vuint32_t:2;
  5933. } B;
  5934. } CERAR;
  5935. union { /* Code Error Report Data Register */
  5936. vuint32_t R;
  5937. struct {
  5938. vuint32_t DATA:32;
  5939. } B;
  5940. } CERDR;
  5941. union { /* Code Error Report Syndrome Register */
  5942. vuint32_t R;
  5943. struct {
  5944. vuint32_t:25;
  5945. vuint32_t SYND:7;
  5946. } B;
  5947. } CERSR;
  5948. uint32_t eTPU_reserved013C[49]; /* 0x013C-0x01FF */
  5949. /*****************************Status and Control Registers**************************/
  5950. union { /* ETPU_A Channel Interrut Status */
  5951. vuint32_t R;
  5952. struct {
  5953. vuint32_t CIS31:1; /* Channel 31 Interrut Status */
  5954. vuint32_t CIS30:1; /* Channel 30 Interrut Status */
  5955. vuint32_t CIS29:1; /* Channel 29 Interrut Status */
  5956. vuint32_t CIS28:1; /* Channel 28 Interrut Status */
  5957. vuint32_t CIS27:1; /* Channel 27 Interrut Status */
  5958. vuint32_t CIS26:1; /* Channel 26 Interrut Status */
  5959. vuint32_t CIS25:1; /* Channel 25 Interrut Status */
  5960. vuint32_t CIS24:1; /* Channel 24 Interrut Status */
  5961. vuint32_t CIS23:1; /* Channel 23 Interrut Status */
  5962. vuint32_t CIS22:1; /* Channel 22 Interrut Status */
  5963. vuint32_t CIS21:1; /* Channel 21 Interrut Status */
  5964. vuint32_t CIS20:1; /* Channel 20 Interrut Status */
  5965. vuint32_t CIS19:1; /* Channel 19 Interrut Status */
  5966. vuint32_t CIS18:1; /* Channel 18 Interrut Status */
  5967. vuint32_t CIS17:1; /* Channel 17 Interrut Status */
  5968. vuint32_t CIS16:1; /* Channel 16 Interrut Status */
  5969. vuint32_t CIS15:1; /* Channel 15 Interrut Status */
  5970. vuint32_t CIS14:1; /* Channel 14 Interrut Status */
  5971. vuint32_t CIS13:1; /* Channel 13 Interrut Status */
  5972. vuint32_t CIS12:1; /* Channel 12 Interrut Status */
  5973. vuint32_t CIS11:1; /* Channel 11 Interrut Status */
  5974. vuint32_t CIS10:1; /* Channel 10 Interrut Status */
  5975. vuint32_t CIS9:1; /* Channel 9 Interrut Status */
  5976. vuint32_t CIS8:1; /* Channel 8 Interrut Status */
  5977. vuint32_t CIS7:1; /* Channel 7 Interrut Status */
  5978. vuint32_t CIS6:1; /* Channel 6 Interrut Status */
  5979. vuint32_t CIS5:1; /* Channel 5 Interrut Status */
  5980. vuint32_t CIS4:1; /* Channel 4 Interrut Status */
  5981. vuint32_t CIS3:1; /* Channel 3 Interrut Status */
  5982. vuint32_t CIS2:1; /* Channel 2 Interrut Status */
  5983. vuint32_t CIS1:1; /* Channel 1 Interrut Status */
  5984. vuint32_t CIS0:1; /* Channel 0 Interrut Status */
  5985. } B;
  5986. } CISR_A;
  5987. union { /* ETPU_B Channel Interruput Status */
  5988. vuint32_t R;
  5989. struct {
  5990. vuint32_t CIS31:1; /* Channel 31 Interrut Status */
  5991. vuint32_t CIS30:1; /* Channel 30 Interrut Status */
  5992. vuint32_t CIS29:1; /* Channel 29 Interrut Status */
  5993. vuint32_t CIS28:1; /* Channel 28 Interrut Status */
  5994. vuint32_t CIS27:1; /* Channel 27 Interrut Status */
  5995. vuint32_t CIS26:1; /* Channel 26 Interrut Status */
  5996. vuint32_t CIS25:1; /* Channel 25 Interrut Status */
  5997. vuint32_t CIS24:1; /* Channel 24 Interrut Status */
  5998. vuint32_t CIS23:1; /* Channel 23 Interrut Status */
  5999. vuint32_t CIS22:1; /* Channel 22 Interrut Status */
  6000. vuint32_t CIS21:1; /* Channel 21 Interrut Status */
  6001. vuint32_t CIS20:1; /* Channel 20 Interrut Status */
  6002. vuint32_t CIS19:1; /* Channel 19 Interrut Status */
  6003. vuint32_t CIS18:1; /* Channel 18 Interrut Status */
  6004. vuint32_t CIS17:1; /* Channel 17 Interrut Status */
  6005. vuint32_t CIS16:1; /* Channel 16 Interrut Status */
  6006. vuint32_t CIS15:1; /* Channel 15 Interrut Status */
  6007. vuint32_t CIS14:1; /* Channel 14 Interrut Status */
  6008. vuint32_t CIS13:1; /* Channel 13 Interrut Status */
  6009. vuint32_t CIS12:1; /* Channel 12 Interrut Status */
  6010. vuint32_t CIS11:1; /* Channel 11 Interrut Status */
  6011. vuint32_t CIS10:1; /* Channel 10 Interrut Status */
  6012. vuint32_t CIS9:1; /* Channel 9 Interrut Status */
  6013. vuint32_t CIS8:1; /* Channel 8 Interrut Status */
  6014. vuint32_t CIS7:1; /* Channel 7 Interrut Status */
  6015. vuint32_t CIS6:1; /* Channel 6 Interrut Status */
  6016. vuint32_t CIS5:1; /* Channel 5 Interrut Status */
  6017. vuint32_t CIS4:1; /* Channel 4 Interrut Status */
  6018. vuint32_t CIS3:1; /* Channel 3 Interrut Status */
  6019. vuint32_t CIS2:1; /* Channel 2 Interrut Status */
  6020. vuint32_t CIS1:1; /* Channel 1 Interrupt Status */
  6021. vuint32_t CIS0:1; /* Channel 0 Interrupt Status */
  6022. } B;
  6023. } CISR_B;
  6024. uint32_t eTPU_reserved0208[2]; /* 0x0208-0x020F */
  6025. union { /* ETPU_A Data Transfer Request Status */
  6026. vuint32_t R;
  6027. struct {
  6028. vuint32_t DTRS31:1; /* Channel 31 Data Transfer Request Status */
  6029. vuint32_t DTRS30:1; /* Channel 30 Data Transfer Request Status */
  6030. vuint32_t DTRS29:1; /* Channel 29 Data Transfer Request Status */
  6031. vuint32_t DTRS28:1; /* Channel 28 Data Transfer Request Status */
  6032. vuint32_t DTRS27:1; /* Channel 27 Data Transfer Request Status */
  6033. vuint32_t DTRS26:1; /* Channel 26 Data Transfer Request Status */
  6034. vuint32_t DTRS25:1; /* Channel 25 Data Transfer Request Status */
  6035. vuint32_t DTRS24:1; /* Channel 24 Data Transfer Request Status */
  6036. vuint32_t DTRS23:1; /* Channel 23 Data Transfer Request Status */
  6037. vuint32_t DTRS22:1; /* Channel 22 Data Transfer Request Status */
  6038. vuint32_t DTRS21:1; /* Channel 21 Data Transfer Request Status */
  6039. vuint32_t DTRS20:1; /* Channel 20 Data Transfer Request Status */
  6040. vuint32_t DTRS19:1; /* Channel 19 Data Transfer Request Status */
  6041. vuint32_t DTRS18:1; /* Channel 18 Data Transfer Request Status */
  6042. vuint32_t DTRS17:1; /* Channel 17 Data Transfer Request Status */
  6043. vuint32_t DTRS16:1; /* Channel 16 Data Transfer Request Status */
  6044. vuint32_t DTRS15:1; /* Channel 15 Data Transfer Request Status */
  6045. vuint32_t DTRS14:1; /* Channel 14 Data Transfer Request Status */
  6046. vuint32_t DTRS13:1; /* Channel 13 Data Transfer Request Status */
  6047. vuint32_t DTRS12:1; /* Channel 12 Data Transfer Request Status */
  6048. vuint32_t DTRS11:1; /* Channel 11 Data Transfer Request Status */
  6049. vuint32_t DTRS10:1; /* Channel 10 Data Transfer Request Status */
  6050. vuint32_t DTRS9:1; /* Channel 9 Data Transfer Request Status */
  6051. vuint32_t DTRS8:1; /* Channel 8 Data Transfer Request Status */
  6052. vuint32_t DTRS7:1; /* Channel 7 Data Transfer Request Status */
  6053. vuint32_t DTRS6:1; /* Channel 6 Data Transfer Request Status */
  6054. vuint32_t DTRS5:1; /* Channel 5 Data Transfer Request Status */
  6055. vuint32_t DTRS4:1; /* Channel 4 Data Transfer Request Status */
  6056. vuint32_t DTRS3:1; /* Channel 3 Data Transfer Request Status */
  6057. vuint32_t DTRS2:1; /* Channel 2 Data Transfer Request Status */
  6058. vuint32_t DTRS1:1; /* Channel 1 Data Transfer Request Status */
  6059. vuint32_t DTRS0:1; /* Channel 0 Data Transfer Request Status */
  6060. } B;
  6061. } CDTRSR_A;
  6062. union { /* ETPU_B Data Transfer Request Status */
  6063. vuint32_t R;
  6064. struct {
  6065. vuint32_t DTRS31:1; /* Channel 31 Data Transfer Request Status */
  6066. vuint32_t DTRS30:1; /* Channel 30 Data Transfer Request Status */
  6067. vuint32_t DTRS29:1; /* Channel 29 Data Transfer Request Status */
  6068. vuint32_t DTRS28:1; /* Channel 28 Data Transfer Request Status */
  6069. vuint32_t DTRS27:1; /* Channel 27 Data Transfer Request Status */
  6070. vuint32_t DTRS26:1; /* Channel 26 Data Transfer Request Status */
  6071. vuint32_t DTRS25:1; /* Channel 25 Data Transfer Request Status */
  6072. vuint32_t DTRS24:1; /* Channel 24 Data Transfer Request Status */
  6073. vuint32_t DTRS23:1; /* Channel 23 Data Transfer Request Status */
  6074. vuint32_t DTRS22:1; /* Channel 22 Data Transfer Request Status */
  6075. vuint32_t DTRS21:1; /* Channel 21 Data Transfer Request Status */
  6076. vuint32_t DTRS20:1; /* Channel 20 Data Transfer Request Status */
  6077. vuint32_t DTRS19:1; /* Channel 19 Data Transfer Request Status */
  6078. vuint32_t DTRS18:1; /* Channel 18 Data Transfer Request Status */
  6079. vuint32_t DTRS17:1; /* Channel 17 Data Transfer Request Status */
  6080. vuint32_t DTRS16:1; /* Channel 16 Data Transfer Request Status */
  6081. vuint32_t DTRS15:1; /* Channel 15 Data Transfer Request Status */
  6082. vuint32_t DTRS14:1; /* Channel 14 Data Transfer Request Status */
  6083. vuint32_t DTRS13:1; /* Channel 13 Data Transfer Request Status */
  6084. vuint32_t DTRS12:1; /* Channel 12 Data Transfer Request Status */
  6085. vuint32_t DTRS11:1; /* Channel 11 Data Transfer Request Status */
  6086. vuint32_t DTRS10:1; /* Channel 10 Data Transfer Request Status */
  6087. vuint32_t DTRS9:1; /* Channel 9 Data Transfer Request Status */
  6088. vuint32_t DTRS8:1; /* Channel 8 Data Transfer Request Status */
  6089. vuint32_t DTRS7:1; /* Channel 7 Data Transfer Request Status */
  6090. vuint32_t DTRS6:1; /* Channel 6 Data Transfer Request Status */
  6091. vuint32_t DTRS5:1; /* Channel 5 Data Transfer Request Status */
  6092. vuint32_t DTRS4:1; /* Channel 4 Data Transfer Request Status */
  6093. vuint32_t DTRS3:1; /* Channel 3 Data Transfer Request Status */
  6094. vuint32_t DTRS2:1; /* Channel 2 Data Transfer Request Status */
  6095. vuint32_t DTRS1:1; /* Channel 1 Data Transfer Request Status */
  6096. vuint32_t DTRS0:1; /* Channel 0 Data Transfer Request Status */
  6097. } B;
  6098. } CDTRSR_B;
  6099. uint32_t eTPU_reserved0218[2]; /* 0x0218-0x021F */
  6100. union { /* ETPU_A Interruput Overflow Status */
  6101. vuint32_t R;
  6102. struct {
  6103. vuint32_t CIOS31:1; /* Channel 31 Interruput Overflow Status */
  6104. vuint32_t CIOS30:1; /* Channel 30 Interruput Overflow Status */
  6105. vuint32_t CIOS29:1; /* Channel 29 Interruput Overflow Status */
  6106. vuint32_t CIOS28:1; /* Channel 28 Interruput Overflow Status */
  6107. vuint32_t CIOS27:1; /* Channel 27 Interruput Overflow Status */
  6108. vuint32_t CIOS26:1; /* Channel 26 Interruput Overflow Status */
  6109. vuint32_t CIOS25:1; /* Channel 25 Interruput Overflow Status */
  6110. vuint32_t CIOS24:1; /* Channel 24 Interruput Overflow Status */
  6111. vuint32_t CIOS23:1; /* Channel 23 Interruput Overflow Status */
  6112. vuint32_t CIOS22:1; /* Channel 22 Interruput Overflow Status */
  6113. vuint32_t CIOS21:1; /* Channel 21 Interruput Overflow Status */
  6114. vuint32_t CIOS20:1; /* Channel 20 Interruput Overflow Status */
  6115. vuint32_t CIOS19:1; /* Channel 19 Interruput Overflow Status */
  6116. vuint32_t CIOS18:1; /* Channel 18 Interruput Overflow Status */
  6117. vuint32_t CIOS17:1; /* Channel 17 Interruput Overflow Status */
  6118. vuint32_t CIOS16:1; /* Channel 16 Interruput Overflow Status */
  6119. vuint32_t CIOS15:1; /* Channel 15 Interruput Overflow Status */
  6120. vuint32_t CIOS14:1; /* Channel 14 Interruput Overflow Status */
  6121. vuint32_t CIOS13:1; /* Channel 13 Interruput Overflow Status */
  6122. vuint32_t CIOS12:1; /* Channel 12 Interruput Overflow Status */
  6123. vuint32_t CIOS11:1; /* Channel 11 Interruput Overflow Status */
  6124. vuint32_t CIOS10:1; /* Channel 10 Interruput Overflow Status */
  6125. vuint32_t CIOS9:1; /* Channel 9 Interruput Overflow Status */
  6126. vuint32_t CIOS8:1; /* Channel 8 Interruput Overflow Status */
  6127. vuint32_t CIOS7:1; /* Channel 7 Interruput Overflow Status */
  6128. vuint32_t CIOS6:1; /* Channel 6 Interruput Overflow Status */
  6129. vuint32_t CIOS5:1; /* Channel 5 Interruput Overflow Status */
  6130. vuint32_t CIOS4:1; /* Channel 4 Interruput Overflow Status */
  6131. vuint32_t CIOS3:1; /* Channel 3 Interruput Overflow Status */
  6132. vuint32_t CIOS2:1; /* Channel 2 Interruput Overflow Status */
  6133. vuint32_t CIOS1:1; /* Channel 1 Interruput Overflow Status */
  6134. vuint32_t CIOS0:1; /* Channel 0 Interruput Overflow Status */
  6135. } B;
  6136. } CIOSR_A;
  6137. union { /* ETPU_B Interruput Overflow Status */
  6138. vuint32_t R;
  6139. struct {
  6140. vuint32_t CIOS31:1; /* Channel 31 Interruput Overflow Status */
  6141. vuint32_t CIOS30:1; /* Channel 30 Interruput Overflow Status */
  6142. vuint32_t CIOS29:1; /* Channel 29 Interruput Overflow Status */
  6143. vuint32_t CIOS28:1; /* Channel 28 Interruput Overflow Status */
  6144. vuint32_t CIOS27:1; /* Channel 27 Interruput Overflow Status */
  6145. vuint32_t CIOS26:1; /* Channel 26 Interruput Overflow Status */
  6146. vuint32_t CIOS25:1; /* Channel 25 Interruput Overflow Status */
  6147. vuint32_t CIOS24:1; /* Channel 24 Interruput Overflow Status */
  6148. vuint32_t CIOS23:1; /* Channel 23 Interruput Overflow Status */
  6149. vuint32_t CIOS22:1; /* Channel 22 Interruput Overflow Status */
  6150. vuint32_t CIOS21:1; /* Channel 21 Interruput Overflow Status */
  6151. vuint32_t CIOS20:1; /* Channel 20 Interruput Overflow Status */
  6152. vuint32_t CIOS19:1; /* Channel 19 Interruput Overflow Status */
  6153. vuint32_t CIOS18:1; /* Channel 18 Interruput Overflow Status */
  6154. vuint32_t CIOS17:1; /* Channel 17 Interruput Overflow Status */
  6155. vuint32_t CIOS16:1; /* Channel 16 Interruput Overflow Status */
  6156. vuint32_t CIOS15:1; /* Channel 15 Interruput Overflow Status */
  6157. vuint32_t CIOS14:1; /* Channel 14 Interruput Overflow Status */
  6158. vuint32_t CIOS13:1; /* Channel 13 Interruput Overflow Status */
  6159. vuint32_t CIOS12:1; /* Channel 12 Interruput Overflow Status */
  6160. vuint32_t CIOS11:1; /* Channel 11 Interruput Overflow Status */
  6161. vuint32_t CIOS10:1; /* Channel 10 Interruput Overflow Status */
  6162. vuint32_t CIOS9:1; /* Channel 9 Interruput Overflow Status */
  6163. vuint32_t CIOS8:1; /* Channel 8 Interruput Overflow Status */
  6164. vuint32_t CIOS7:1; /* Channel 7 Interruput Overflow Status */
  6165. vuint32_t CIOS6:1; /* Channel 6 Interruput Overflow Status */
  6166. vuint32_t CIOS5:1; /* Channel 5 Interruput Overflow Status */
  6167. vuint32_t CIOS4:1; /* Channel 4 Interruput Overflow Status */
  6168. vuint32_t CIOS3:1; /* Channel 3 Interruput Overflow Status */
  6169. vuint32_t CIOS2:1; /* Channel 2 Interruput Overflow Status */
  6170. vuint32_t CIOS1:1; /* Channel 1 Interruput Overflow Status */
  6171. vuint32_t CIOS0:1; /* Channel 0 Interruput Overflow Status */
  6172. } B;
  6173. } CIOSR_B;
  6174. uint32_t eTPU_reserved0228[2]; /* 0x0228-0x022F */
  6175. union { /* ETPU_A Data Transfer Overflow Status */
  6176. vuint32_t R;
  6177. struct {
  6178. vuint32_t DTROS31:1; /* Channel 31 Data Transfer Overflow Status */
  6179. vuint32_t DTROS30:1; /* Channel 30 Data Transfer Overflow Status */
  6180. vuint32_t DTROS29:1; /* Channel 29 Data Transfer Overflow Status */
  6181. vuint32_t DTROS28:1; /* Channel 28 Data Transfer Overflow Status */
  6182. vuint32_t DTROS27:1; /* Channel 27 Data Transfer Overflow Status */
  6183. vuint32_t DTROS26:1; /* Channel 26 Data Transfer Overflow Status */
  6184. vuint32_t DTROS25:1; /* Channel 25 Data Transfer Overflow Status */
  6185. vuint32_t DTROS24:1; /* Channel 24 Data Transfer Overflow Status */
  6186. vuint32_t DTROS23:1; /* Channel 23 Data Transfer Overflow Status */
  6187. vuint32_t DTROS22:1; /* Channel 22 Data Transfer Overflow Status */
  6188. vuint32_t DTROS21:1; /* Channel 21 Data Transfer Overflow Status */
  6189. vuint32_t DTROS20:1; /* Channel 20 Data Transfer Overflow Status */
  6190. vuint32_t DTROS19:1; /* Channel 19 Data Transfer Overflow Status */
  6191. vuint32_t DTROS18:1; /* Channel 18 Data Transfer Overflow Status */
  6192. vuint32_t DTROS17:1; /* Channel 17 Data Transfer Overflow Status */
  6193. vuint32_t DTROS16:1; /* Channel 16 Data Transfer Overflow Status */
  6194. vuint32_t DTROS15:1; /* Channel 15 Data Transfer Overflow Status */
  6195. vuint32_t DTROS14:1; /* Channel 14 Data Transfer Overflow Status */
  6196. vuint32_t DTROS13:1; /* Channel 13 Data Transfer Overflow Status */
  6197. vuint32_t DTROS12:1; /* Channel 12 Data Transfer Overflow Status */
  6198. vuint32_t DTROS11:1; /* Channel 11 Data Transfer Overflow Status */
  6199. vuint32_t DTROS10:1; /* Channel 10 Data Transfer Overflow Status */
  6200. vuint32_t DTROS9:1; /* Channel 9 Data Transfer Overflow Status */
  6201. vuint32_t DTROS8:1; /* Channel 8 Data Transfer Overflow Status */
  6202. vuint32_t DTROS7:1; /* Channel 7 Data Transfer Overflow Status */
  6203. vuint32_t DTROS6:1; /* Channel 6 Data Transfer Overflow Status */
  6204. vuint32_t DTROS5:1; /* Channel 5 Data Transfer Overflow Status */
  6205. vuint32_t DTROS4:1; /* Channel 4 Data Transfer Overflow Status */
  6206. vuint32_t DTROS3:1; /* Channel 3 Data Transfer Overflow Status */
  6207. vuint32_t DTROS2:1; /* Channel 2 Data Transfer Overflow Status */
  6208. vuint32_t DTROS1:1; /* Channel 1 Data Transfer Overflow Status */
  6209. vuint32_t DTROS0:1; /* Channel 0 Data Transfer Overflow Status */
  6210. } B;
  6211. } CDTROSR_A;
  6212. union { /* ETPU_B Data Transfer Overflow Status */
  6213. vuint32_t R;
  6214. struct {
  6215. vuint32_t DTROS31:1; /* Channel 31 Data Transfer Overflow Status */
  6216. vuint32_t DTROS30:1; /* Channel 30 Data Transfer Overflow Status */
  6217. vuint32_t DTROS29:1; /* Channel 29 Data Transfer Overflow Status */
  6218. vuint32_t DTROS28:1; /* Channel 28 Data Transfer Overflow Status */
  6219. vuint32_t DTROS27:1; /* Channel 27 Data Transfer Overflow Status */
  6220. vuint32_t DTROS26:1; /* Channel 26 Data Transfer Overflow Status */
  6221. vuint32_t DTROS25:1; /* Channel 25 Data Transfer Overflow Status */
  6222. vuint32_t DTROS24:1; /* Channel 24 Data Transfer Overflow Status */
  6223. vuint32_t DTROS23:1; /* Channel 23 Data Transfer Overflow Status */
  6224. vuint32_t DTROS22:1; /* Channel 22 Data Transfer Overflow Status */
  6225. vuint32_t DTROS21:1; /* Channel 21 Data Transfer Overflow Status */
  6226. vuint32_t DTROS20:1; /* Channel 20 Data Transfer Overflow Status */
  6227. vuint32_t DTROS19:1; /* Channel 19 Data Transfer Overflow Status */
  6228. vuint32_t DTROS18:1; /* Channel 18 Data Transfer Overflow Status */
  6229. vuint32_t DTROS17:1; /* Channel 17 Data Transfer Overflow Status */
  6230. vuint32_t DTROS16:1; /* Channel 16 Data Transfer Overflow Status */
  6231. vuint32_t DTROS15:1; /* Channel 15 Data Transfer Overflow Status */
  6232. vuint32_t DTROS14:1; /* Channel 14 Data Transfer Overflow Status */
  6233. vuint32_t DTROS13:1; /* Channel 13 Data Transfer Overflow Status */
  6234. vuint32_t DTROS12:1; /* Channel 12 Data Transfer Overflow Status */
  6235. vuint32_t DTROS11:1; /* Channel 11 Data Transfer Overflow Status */
  6236. vuint32_t DTROS10:1; /* Channel 10 Data Transfer Overflow Status */
  6237. vuint32_t DTROS9:1; /* Channel 9 Data Transfer Overflow Status */
  6238. vuint32_t DTROS8:1; /* Channel 8 Data Transfer Overflow Status */
  6239. vuint32_t DTROS7:1; /* Channel 7 Data Transfer Overflow Status */
  6240. vuint32_t DTROS6:1; /* Channel 6 Data Transfer Overflow Status */
  6241. vuint32_t DTROS5:1; /* Channel 5 Data Transfer Overflow Status */
  6242. vuint32_t DTROS4:1; /* Channel 4 Data Transfer Overflow Status */
  6243. vuint32_t DTROS3:1; /* Channel 3 Data Transfer Overflow Status */
  6244. vuint32_t DTROS2:1; /* Channel 2 Data Transfer Overflow Status */
  6245. vuint32_t DTROS1:1; /* Channel 1 Data Transfer Overflow Status */
  6246. vuint32_t DTROS0:1; /* Channel 0 Data Transfer Overflow Status */
  6247. } B;
  6248. } CDTROSR_B;
  6249. uint32_t eTPU_reserved0238[2]; /* 0x0238-0x023F */
  6250. union { /* ETPU_A Channel Interruput Enable */
  6251. vuint32_t R;
  6252. struct {
  6253. vuint32_t CIE31:1; /* Channel 31 Interruput Enable */
  6254. vuint32_t CIE30:1; /* Channel 30 Interruput Enable */
  6255. vuint32_t CIE29:1; /* Channel 29 Interruput Enable */
  6256. vuint32_t CIE28:1; /* Channel 28 Interruput Enable */
  6257. vuint32_t CIE27:1; /* Channel 27 Interruput Enable */
  6258. vuint32_t CIE26:1; /* Channel 26 Interruput Enable */
  6259. vuint32_t CIE25:1; /* Channel 25 Interruput Enable */
  6260. vuint32_t CIE24:1; /* Channel 24 Interruput Enable */
  6261. vuint32_t CIE23:1; /* Channel 23 Interruput Enable */
  6262. vuint32_t CIE22:1; /* Channel 22 Interruput Enable */
  6263. vuint32_t CIE21:1; /* Channel 21 Interruput Enable */
  6264. vuint32_t CIE20:1; /* Channel 20 Interruput Enable */
  6265. vuint32_t CIE19:1; /* Channel 19 Interruput Enable */
  6266. vuint32_t CIE18:1; /* Channel 18 Interruput Enable */
  6267. vuint32_t CIE17:1; /* Channel 17 Interruput Enable */
  6268. vuint32_t CIE16:1; /* Channel 16 Interruput Enable */
  6269. vuint32_t CIE15:1; /* Channel 15 Interruput Enable */
  6270. vuint32_t CIE14:1; /* Channel 14 Interruput Enable */
  6271. vuint32_t CIE13:1; /* Channel 13 Interruput Enable */
  6272. vuint32_t CIE12:1; /* Channel 12 Interruput Enable */
  6273. vuint32_t CIE11:1; /* Channel 11 Interruput Enable */
  6274. vuint32_t CIE10:1; /* Channel 10 Interruput Enable */
  6275. vuint32_t CIE9:1; /* Channel 9 Interruput Enable */
  6276. vuint32_t CIE8:1; /* Channel 8 Interruput Enable */
  6277. vuint32_t CIE7:1; /* Channel 7 Interruput Enable */
  6278. vuint32_t CIE6:1; /* Channel 6 Interruput Enable */
  6279. vuint32_t CIE5:1; /* Channel 5 Interruput Enable */
  6280. vuint32_t CIE4:1; /* Channel 4 Interruput Enable */
  6281. vuint32_t CIE3:1; /* Channel 3 Interruput Enable */
  6282. vuint32_t CIE2:1; /* Channel 2 Interruput Enable */
  6283. vuint32_t CIE1:1; /* Channel 1 Interruput Enable */
  6284. vuint32_t CIE0:1; /* Channel 0 Interruput Enable */
  6285. } B;
  6286. } CIER_A;
  6287. union { /* ETPU_B Channel Interruput Enable */
  6288. vuint32_t R;
  6289. struct {
  6290. vuint32_t CIE31:1; /* Channel 31 Interruput Enable */
  6291. vuint32_t CIE30:1; /* Channel 30 Interruput Enable */
  6292. vuint32_t CIE29:1; /* Channel 29 Interruput Enable */
  6293. vuint32_t CIE28:1; /* Channel 28 Interruput Enable */
  6294. vuint32_t CIE27:1; /* Channel 27 Interruput Enable */
  6295. vuint32_t CIE26:1; /* Channel 26 Interruput Enable */
  6296. vuint32_t CIE25:1; /* Channel 25 Interruput Enable */
  6297. vuint32_t CIE24:1; /* Channel 24 Interruput Enable */
  6298. vuint32_t CIE23:1; /* Channel 23 Interruput Enable */
  6299. vuint32_t CIE22:1; /* Channel 22 Interruput Enable */
  6300. vuint32_t CIE21:1; /* Channel 21 Interruput Enable */
  6301. vuint32_t CIE20:1; /* Channel 20 Interruput Enable */
  6302. vuint32_t CIE19:1; /* Channel 19 Interruput Enable */
  6303. vuint32_t CIE18:1; /* Channel 18 Interruput Enable */
  6304. vuint32_t CIE17:1; /* Channel 17 Interruput Enable */
  6305. vuint32_t CIE16:1; /* Channel 16 Interruput Enable */
  6306. vuint32_t CIE15:1; /* Channel 15 Interruput Enable */
  6307. vuint32_t CIE14:1; /* Channel 14 Interruput Enable */
  6308. vuint32_t CIE13:1; /* Channel 13 Interruput Enable */
  6309. vuint32_t CIE12:1; /* Channel 12 Interruput Enable */
  6310. vuint32_t CIE11:1; /* Channel 11 Interruput Enable */
  6311. vuint32_t CIE10:1; /* Channel 10 Interruput Enable */
  6312. vuint32_t CIE9:1; /* Channel 9 Interruput Enable */
  6313. vuint32_t CIE8:1; /* Channel 8 Interruput Enable */
  6314. vuint32_t CIE7:1; /* Channel 7 Interruput Enable */
  6315. vuint32_t CIE6:1; /* Channel 6 Interruput Enable */
  6316. vuint32_t CIE5:1; /* Channel 5 Interruput Enable */
  6317. vuint32_t CIE4:1; /* Channel 4 Interruput Enable */
  6318. vuint32_t CIE3:1; /* Channel 3 Interruput Enable */
  6319. vuint32_t CIE2:1; /* Channel 2 Interruput Enable */
  6320. vuint32_t CIE1:1; /* Channel 1 Interruput Enable */
  6321. vuint32_t CIE0:1; /* Channel 0 Interruput Enable */
  6322. } B;
  6323. } CIER_B;
  6324. uint32_t eTPU_reserved0248[2]; /* 0x0248-0x024F */
  6325. union { /* ETPU_A Channel Data Transfer Request Enable */
  6326. vuint32_t R;
  6327. struct {
  6328. vuint32_t DTRE31:1; /* Channel 31 Data Transfer Request Enable */
  6329. vuint32_t DTRE30:1; /* Channel 30 Data Transfer Request Enable */
  6330. vuint32_t DTRE29:1; /* Channel 29 Data Transfer Request Enable */
  6331. vuint32_t DTRE28:1; /* Channel 28 Data Transfer Request Enable */
  6332. vuint32_t DTRE27:1; /* Channel 27 Data Transfer Request Enable */
  6333. vuint32_t DTRE26:1; /* Channel 26 Data Transfer Request Enable */
  6334. vuint32_t DTRE25:1; /* Channel 25 Data Transfer Request Enable */
  6335. vuint32_t DTRE24:1; /* Channel 24 Data Transfer Request Enable */
  6336. vuint32_t DTRE23:1; /* Channel 23 Data Transfer Request Enable */
  6337. vuint32_t DTRE22:1; /* Channel 22 Data Transfer Request Enable */
  6338. vuint32_t DTRE21:1; /* Channel 21 Data Transfer Request Enable */
  6339. vuint32_t DTRE20:1; /* Channel 20 Data Transfer Request Enable */
  6340. vuint32_t DTRE19:1; /* Channel 19 Data Transfer Request Enable */
  6341. vuint32_t DTRE18:1; /* Channel 18 Data Transfer Request Enable */
  6342. vuint32_t DTRE17:1; /* Channel 17 Data Transfer Request Enable */
  6343. vuint32_t DTRE16:1; /* Channel 16 Data Transfer Request Enable */
  6344. vuint32_t DTRE15:1; /* Channel 15 Data Transfer Request Enable */
  6345. vuint32_t DTRE14:1; /* Channel 14 Data Transfer Request Enable */
  6346. vuint32_t DTRE13:1; /* Channel 13 Data Transfer Request Enable */
  6347. vuint32_t DTRE12:1; /* Channel 12 Data Transfer Request Enable */
  6348. vuint32_t DTRE11:1; /* Channel 11 Data Transfer Request Enable */
  6349. vuint32_t DTRE10:1; /* Channel 10 Data Transfer Request Enable */
  6350. vuint32_t DTRE9:1; /* Channel 9 Data Transfer Request Enable */
  6351. vuint32_t DTRE8:1; /* Channel 8 Data Transfer Request Enable */
  6352. vuint32_t DTRE7:1; /* Channel 7 Data Transfer Request Enable */
  6353. vuint32_t DTRE6:1; /* Channel 6 Data Transfer Request Enable */
  6354. vuint32_t DTRE5:1; /* Channel 5 Data Transfer Request Enable */
  6355. vuint32_t DTRE4:1; /* Channel 4 Data Transfer Request Enable */
  6356. vuint32_t DTRE3:1; /* Channel 3 Data Transfer Request Enable */
  6357. vuint32_t DTRE2:1; /* Channel 2 Data Transfer Request Enable */
  6358. vuint32_t DTRE1:1; /* Channel 1 Data Transfer Request Enable */
  6359. vuint32_t DTRE0:1; /* Channel 0 Data Transfer Request Enable */
  6360. } B;
  6361. } CDTRER_A;
  6362. union { /* ETPU_B Channel Data Transfer Request Enable */
  6363. vuint32_t R;
  6364. struct {
  6365. vuint32_t DTRE31:1; /* Channel 31 Data Transfer Request Enable */
  6366. vuint32_t DTRE30:1; /* Channel 30 Data Transfer Request Enable */
  6367. vuint32_t DTRE29:1; /* Channel 29 Data Transfer Request Enable */
  6368. vuint32_t DTRE28:1; /* Channel 28 Data Transfer Request Enable */
  6369. vuint32_t DTRE27:1; /* Channel 27 Data Transfer Request Enable */
  6370. vuint32_t DTRE26:1; /* Channel 26 Data Transfer Request Enable */
  6371. vuint32_t DTRE25:1; /* Channel 25 Data Transfer Request Enable */
  6372. vuint32_t DTRE24:1; /* Channel 24 Data Transfer Request Enable */
  6373. vuint32_t DTRE23:1; /* Channel 23 Data Transfer Request Enable */
  6374. vuint32_t DTRE22:1; /* Channel 22 Data Transfer Request Enable */
  6375. vuint32_t DTRE21:1; /* Channel 21 Data Transfer Request Enable */
  6376. vuint32_t DTRE20:1; /* Channel 20 Data Transfer Request Enable */
  6377. vuint32_t DTRE19:1; /* Channel 19 Data Transfer Request Enable */
  6378. vuint32_t DTRE18:1; /* Channel 18 Data Transfer Request Enable */
  6379. vuint32_t DTRE17:1; /* Channel 17 Data Transfer Request Enable */
  6380. vuint32_t DTRE16:1; /* Channel 16 Data Transfer Request Enable */
  6381. vuint32_t DTRE15:1; /* Channel 15 Data Transfer Request Enable */
  6382. vuint32_t DTRE14:1; /* Channel 14 Data Transfer Request Enable */
  6383. vuint32_t DTRE13:1; /* Channel 13 Data Transfer Request Enable */
  6384. vuint32_t DTRE12:1; /* Channel 12 Data Transfer Request Enable */
  6385. vuint32_t DTRE11:1; /* Channel 11 Data Transfer Request Enable */
  6386. vuint32_t DTRE10:1; /* Channel 10 Data Transfer Request Enable */
  6387. vuint32_t DTRE9:1; /* Channel 9 Data Transfer Request Enable */
  6388. vuint32_t DTRE8:1; /* Channel 8 Data Transfer Request Enable */
  6389. vuint32_t DTRE7:1; /* Channel 7 Data Transfer Request Enable */
  6390. vuint32_t DTRE6:1; /* Channel 6 Data Transfer Request Enable */
  6391. vuint32_t DTRE5:1; /* Channel 5 Data Transfer Request Enable */
  6392. vuint32_t DTRE4:1; /* Channel 4 Data Transfer Request Enable */
  6393. vuint32_t DTRE3:1; /* Channel 3 Data Transfer Request Enable */
  6394. vuint32_t DTRE2:1; /* Channel 2 Data Transfer Request Enable */
  6395. vuint32_t DTRE1:1; /* Channel 1 Data Transfer Request Enable */
  6396. vuint32_t DTRE0:1; /* Channel 0 Data Transfer Request Enable */
  6397. } B;
  6398. } CDTRER_B;
  6399. uint32_t eTPU_reserved0258[2]; /* 0x0258-0x025F */
  6400. union { /* Watchdog Status Register A */
  6401. vuint32_t R;
  6402. struct {
  6403. vuint32_t WDS31:1;
  6404. vuint32_t WDS30:1;
  6405. vuint32_t WDS29:1;
  6406. vuint32_t WDS28:1;
  6407. vuint32_t WDS27:1;
  6408. vuint32_t WDS26:1;
  6409. vuint32_t WDS25:1;
  6410. vuint32_t WDS24:1;
  6411. vuint32_t WDS23:1;
  6412. vuint32_t WDS22:1;
  6413. vuint32_t WDS21:1;
  6414. vuint32_t WDS20:1;
  6415. vuint32_t WDS19:1;
  6416. vuint32_t WDS18:1;
  6417. vuint32_t WDS17:1;
  6418. vuint32_t WDS16:1;
  6419. vuint32_t WDS15:1;
  6420. vuint32_t WDS14:1;
  6421. vuint32_t WDS13:1;
  6422. vuint32_t WDS12:1;
  6423. vuint32_t WDS11:1;
  6424. vuint32_t WDS10:1;
  6425. vuint32_t WDS9:1;
  6426. vuint32_t WDS8:1;
  6427. vuint32_t WDS7:1;
  6428. vuint32_t WDS6:1;
  6429. vuint32_t WDS5:1;
  6430. vuint32_t WDS4:1;
  6431. vuint32_t WDS3:1;
  6432. vuint32_t WDS2:1;
  6433. vuint32_t WDS1:1;
  6434. vuint32_t WDS0:1;
  6435. } B;
  6436. } WDSR_A;
  6437. union { /* Watchdog Status Register B */
  6438. vuint32_t R;
  6439. struct {
  6440. vuint32_t WDS31:1;
  6441. vuint32_t WDS30:1;
  6442. vuint32_t WDS29:1;
  6443. vuint32_t WDS28:1;
  6444. vuint32_t WDS27:1;
  6445. vuint32_t WDS26:1;
  6446. vuint32_t WDS25:1;
  6447. vuint32_t WDS24:1;
  6448. vuint32_t WDS23:1;
  6449. vuint32_t WDS22:1;
  6450. vuint32_t WDS21:1;
  6451. vuint32_t WDS20:1;
  6452. vuint32_t WDS19:1;
  6453. vuint32_t WDS18:1;
  6454. vuint32_t WDS17:1;
  6455. vuint32_t WDS16:1;
  6456. vuint32_t WDS15:1;
  6457. vuint32_t WDS14:1;
  6458. vuint32_t WDS13:1;
  6459. vuint32_t WDS12:1;
  6460. vuint32_t WDS11:1;
  6461. vuint32_t WDS10:1;
  6462. vuint32_t WDS9:1;
  6463. vuint32_t WDS8:1;
  6464. vuint32_t WDS7:1;
  6465. vuint32_t WDS6:1;
  6466. vuint32_t WDS5:1;
  6467. vuint32_t WDS4:1;
  6468. vuint32_t WDS3:1;
  6469. vuint32_t WDS2:1;
  6470. vuint32_t WDS1:1;
  6471. vuint32_t WDS0:1;
  6472. } B;
  6473. } WDSR_B;
  6474. uint32_t eTPU_reserved0268[6]; /* 0x0268-0x027F */
  6475. union { /* ETPU_A Channel Pending Service Status */
  6476. vuint32_t R;
  6477. struct {
  6478. vuint32_t SR31:1; /* Channel 31 Pending Service Status */
  6479. vuint32_t SR30:1; /* Channel 30 Pending Service Status */
  6480. vuint32_t SR29:1; /* Channel 29 Pending Service Status */
  6481. vuint32_t SR28:1; /* Channel 28 Pending Service Status */
  6482. vuint32_t SR27:1; /* Channel 27 Pending Service Status */
  6483. vuint32_t SR26:1; /* Channel 26 Pending Service Status */
  6484. vuint32_t SR25:1; /* Channel 25 Pending Service Status */
  6485. vuint32_t SR24:1; /* Channel 24 Pending Service Status */
  6486. vuint32_t SR23:1; /* Channel 23 Pending Service Status */
  6487. vuint32_t SR22:1; /* Channel 22 Pending Service Status */
  6488. vuint32_t SR21:1; /* Channel 21 Pending Service Status */
  6489. vuint32_t SR20:1; /* Channel 20 Pending Service Status */
  6490. vuint32_t SR19:1; /* Channel 19 Pending Service Status */
  6491. vuint32_t SR18:1; /* Channel 18 Pending Service Status */
  6492. vuint32_t SR17:1; /* Channel 17 Pending Service Status */
  6493. vuint32_t SR16:1; /* Channel 16 Pending Service Status */
  6494. vuint32_t SR15:1; /* Channel 15 Pending Service Status */
  6495. vuint32_t SR14:1; /* Channel 14 Pending Service Status */
  6496. vuint32_t SR13:1; /* Channel 13 Pending Service Status */
  6497. vuint32_t SR12:1; /* Channel 12 Pending Service Status */
  6498. vuint32_t SR11:1; /* Channel 11 Pending Service Status */
  6499. vuint32_t SR10:1; /* Channel 10 Pending Service Status */
  6500. vuint32_t SR9:1; /* Channel 9 Pending Service Status */
  6501. vuint32_t SR8:1; /* Channel 8 Pending Service Status */
  6502. vuint32_t SR7:1; /* Channel 7 Pending Service Status */
  6503. vuint32_t SR6:1; /* Channel 6 Pending Service Status */
  6504. vuint32_t SR5:1; /* Channel 5 Pending Service Status */
  6505. vuint32_t SR4:1; /* Channel 4 Pending Service Status */
  6506. vuint32_t SR3:1; /* Channel 3 Pending Service Status */
  6507. vuint32_t SR2:1; /* Channel 2 Pending Service Status */
  6508. vuint32_t SR1:1; /* Channel 1 Pending Service Status */
  6509. vuint32_t SR0:1; /* Channel 0 Pending Service Status */
  6510. } B;
  6511. } CPSSR_A;
  6512. union { /* ETPU_B Channel Pending Service Status */
  6513. vuint32_t R;
  6514. struct {
  6515. vuint32_t SR31:1; /* Channel 31 Pending Service Status */
  6516. vuint32_t SR30:1; /* Channel 30 Pending Service Status */
  6517. vuint32_t SR29:1; /* Channel 29 Pending Service Status */
  6518. vuint32_t SR28:1; /* Channel 28 Pending Service Status */
  6519. vuint32_t SR27:1; /* Channel 27 Pending Service Status */
  6520. vuint32_t SR26:1; /* Channel 26 Pending Service Status */
  6521. vuint32_t SR25:1; /* Channel 25 Pending Service Status */
  6522. vuint32_t SR24:1; /* Channel 24 Pending Service Status */
  6523. vuint32_t SR23:1; /* Channel 23 Pending Service Status */
  6524. vuint32_t SR22:1; /* Channel 22 Pending Service Status */
  6525. vuint32_t SR21:1; /* Channel 21 Pending Service Status */
  6526. vuint32_t SR20:1; /* Channel 20 Pending Service Status */
  6527. vuint32_t SR19:1; /* Channel 19 Pending Service Status */
  6528. vuint32_t SR18:1; /* Channel 18 Pending Service Status */
  6529. vuint32_t SR17:1; /* Channel 17 Pending Service Status */
  6530. vuint32_t SR16:1; /* Channel 16 Pending Service Status */
  6531. vuint32_t SR15:1; /* Channel 15 Pending Service Status */
  6532. vuint32_t SR14:1; /* Channel 14 Pending Service Status */
  6533. vuint32_t SR13:1; /* Channel 13 Pending Service Status */
  6534. vuint32_t SR12:1; /* Channel 12 Pending Service Status */
  6535. vuint32_t SR11:1; /* Channel 11 Pending Service Status */
  6536. vuint32_t SR10:1; /* Channel 10 Pending Service Status */
  6537. vuint32_t SR9:1; /* Channel 9 Pending Service Status */
  6538. vuint32_t SR8:1; /* Channel 8 Pending Service Status */
  6539. vuint32_t SR7:1; /* Channel 7 Pending Service Status */
  6540. vuint32_t SR6:1; /* Channel 6 Pending Service Status */
  6541. vuint32_t SR5:1; /* Channel 5 Pending Service Status */
  6542. vuint32_t SR4:1; /* Channel 4 Pending Service Status */
  6543. vuint32_t SR3:1; /* Channel 3 Pending Service Status */
  6544. vuint32_t SR2:1; /* Channel 2 Pending Service Status */
  6545. vuint32_t SR1:1; /* Channel 1 Pending Service Status */
  6546. vuint32_t SR0:1; /* Channel 0 Pending Service Status */
  6547. } B;
  6548. } CPSSR_B;
  6549. uint32_t eTPU_reserved0288[2]; /* 0x0288-0x028F */
  6550. union { /* ETPU_A Channel Service Status */
  6551. vuint32_t R;
  6552. struct {
  6553. vuint32_t SS31:1; /* Channel 31 Service Status */
  6554. vuint32_t SS30:1; /* Channel 30 Service Status */
  6555. vuint32_t SS29:1; /* Channel 29 Service Status */
  6556. vuint32_t SS28:1; /* Channel 28 Service Status */
  6557. vuint32_t SS27:1; /* Channel 27 Service Status */
  6558. vuint32_t SS26:1; /* Channel 26 Service Status */
  6559. vuint32_t SS25:1; /* Channel 25 Service Status */
  6560. vuint32_t SS24:1; /* Channel 24 Service Status */
  6561. vuint32_t SS23:1; /* Channel 23 Service Status */
  6562. vuint32_t SS22:1; /* Channel 22 Service Status */
  6563. vuint32_t SS21:1; /* Channel 21 Service Status */
  6564. vuint32_t SS20:1; /* Channel 20 Service Status */
  6565. vuint32_t SS19:1; /* Channel 19 Service Status */
  6566. vuint32_t SS18:1; /* Channel 18 Service Status */
  6567. vuint32_t SS17:1; /* Channel 17 Service Status */
  6568. vuint32_t SS16:1; /* Channel 16 Service Status */
  6569. vuint32_t SS15:1; /* Channel 15 Service Status */
  6570. vuint32_t SS14:1; /* Channel 14 Service Status */
  6571. vuint32_t SS13:1; /* Channel 13 Service Status */
  6572. vuint32_t SS12:1; /* Channel 12 Service Status */
  6573. vuint32_t SS11:1; /* Channel 11 Service Status */
  6574. vuint32_t SS10:1; /* Channel 10 Service Status */
  6575. vuint32_t SS9:1; /* Channel 9 Service Status */
  6576. vuint32_t SS8:1; /* Channel 8 Service Status */
  6577. vuint32_t SS7:1; /* Channel 7 Service Status */
  6578. vuint32_t SS6:1; /* Channel 6 Service Status */
  6579. vuint32_t SS5:1; /* Channel 5 Service Status */
  6580. vuint32_t SS4:1; /* Channel 4 Service Status */
  6581. vuint32_t SS3:1; /* Channel 3 Service Status */
  6582. vuint32_t SS2:1; /* Channel 2 Service Status */
  6583. vuint32_t SS1:1; /* Channel 1 Service Status */
  6584. vuint32_t SS0:1; /* Channel 0 Service Status */
  6585. } B;
  6586. } CSSR_A;
  6587. union { /* ETPU_B Channel Service Status */
  6588. vuint32_t R;
  6589. struct {
  6590. vuint32_t SS31:1; /* Channel 31 Service Status */
  6591. vuint32_t SS30:1; /* Channel 30 Service Status */
  6592. vuint32_t SS29:1; /* Channel 29 Service Status */
  6593. vuint32_t SS28:1; /* Channel 28 Service Status */
  6594. vuint32_t SS27:1; /* Channel 27 Service Status */
  6595. vuint32_t SS26:1; /* Channel 26 Service Status */
  6596. vuint32_t SS25:1; /* Channel 25 Service Status */
  6597. vuint32_t SS24:1; /* Channel 24 Service Status */
  6598. vuint32_t SS23:1; /* Channel 23 Service Status */
  6599. vuint32_t SS22:1; /* Channel 22 Service Status */
  6600. vuint32_t SS21:1; /* Channel 21 Service Status */
  6601. vuint32_t SS20:1; /* Channel 20 Service Status */
  6602. vuint32_t SS19:1; /* Channel 19 Service Status */
  6603. vuint32_t SS18:1; /* Channel 18 Service Status */
  6604. vuint32_t SS17:1; /* Channel 17 Service Status */
  6605. vuint32_t SS16:1; /* Channel 16 Service Status */
  6606. vuint32_t SS15:1; /* Channel 15 Service Status */
  6607. vuint32_t SS14:1; /* Channel 14 Service Status */
  6608. vuint32_t SS13:1; /* Channel 13 Service Status */
  6609. vuint32_t SS12:1; /* Channel 12 Service Status */
  6610. vuint32_t SS11:1; /* Channel 11 Service Status */
  6611. vuint32_t SS10:1; /* Channel 10 Service Status */
  6612. vuint32_t SS9:1; /* Channel 9 Service Status */
  6613. vuint32_t SS8:1; /* Channel 8 Service Status */
  6614. vuint32_t SS7:1; /* Channel 7 Service Status */
  6615. vuint32_t SS6:1; /* Channel 6 Service Status */
  6616. vuint32_t SS5:1; /* Channel 5 Service Status */
  6617. vuint32_t SS4:1; /* Channel 4 Service Status */
  6618. vuint32_t SS3:1; /* Channel 3 Service Status */
  6619. vuint32_t SS2:1; /* Channel 2 Service Status */
  6620. vuint32_t SS1:1; /* Channel 1 Service Status */
  6621. vuint32_t SS0:1; /* Channel 0 Service Status */
  6622. } B;
  6623. } CSSR_B;
  6624. uint32_t eTPU_reserved0298[2]; /* 0x0298-0x029F */
  6625. uint32_t eTPU_reserved02A0[88]; /* 0x02A0-0x03FF */
  6626. /*****************************Channels********************************/
  6627. struct {
  6628. union { /* Channel Configuration Register */
  6629. vuint32_t R;
  6630. struct {
  6631. vuint32_t CIE:1; /* Channel Interruput Enable */
  6632. vuint32_t DTRE:1; /* Data Transfer Request Enable */
  6633. vuint32_t CPR:2; /* Channel Priority */
  6634. vuint32_t:2;
  6635. vuint32_t ETPD:1;
  6636. vuint32_t ETCS:1; /* Entry Table Condition Select */
  6637. vuint32_t:3;
  6638. vuint32_t CFS:5; /* Channel Function Select */
  6639. vuint32_t ODIS:1; /* Output disable */
  6640. vuint32_t OPOL:1; /* output polarity */
  6641. vuint32_t:3;
  6642. vuint32_t CPBA:11; /* Channel Parameter Base Address */
  6643. } B;
  6644. } CR;
  6645. union { /* Channel Status Control Register */
  6646. vuint32_t R;
  6647. struct {
  6648. vuint32_t CIS:1; /* Channel Interruput Status */
  6649. vuint32_t CIOS:1; /* Channel Interruput Overflow Status */
  6650. vuint32_t:6;
  6651. vuint32_t DTRS:1; /* Data Transfer Status */
  6652. vuint32_t DTROS:1; /* Data Transfer Overflow Status */
  6653. vuint32_t:6;
  6654. vuint32_t IPS:1; /* Input Pin State */
  6655. vuint32_t OPS:1; /* Output Pin State */
  6656. vuint32_t OBE:1; /* Output Buffer Enable */
  6657. vuint32_t:11;
  6658. vuint32_t FM1:1; /* Function mode */
  6659. vuint32_t FM0:1; /* Function mode */
  6660. } B;
  6661. } SCR;
  6662. union { /* Channel Host Service Request Register */
  6663. vuint32_t R;
  6664. struct {
  6665. vuint32_t:29; /* Host Service Request */
  6666. vuint32_t HSR:3;
  6667. } B;
  6668. } HSRR;
  6669. uint32_t eTPU_ch_reserved00C; /* channel offset 0x00C-0x00F */
  6670. } CHAN[127];
  6671. uint32_t eTPU_reserved1000[7168]; /* 0x1000-0x7FFF */
  6672. };
  6673. /****************************************************************************/
  6674. /* MODULE :ETPU_C */
  6675. /****************************************************************************/
  6676. /***************************Configuration Registers**************************/
  6677. struct ETPU_C_tag {
  6678. union { /* MODULE CONFIGURATION REGISTER */
  6679. vuint32_t R;
  6680. struct {
  6681. vuint32_t GEC:1; /* Global Exception Clear */
  6682. vuint32_t SDMERR:1; /* SDM Read Error */
  6683. vuint32_t WDTOC:1; /* Watchdog Timeout-eTPU_C (WDTO1 in reference manual) */
  6684. vuint32_t:1;
  6685. vuint32_t MGE1:1; /* Microcode Global Exception-ETPU_C */
  6686. vuint32_t:1;
  6687. vuint32_t ILF1:1; /* Illegal Instruction Flag-ETPU_C */
  6688. vuint32_t:1;
  6689. vuint32_t SCMERR:1; /* SCM Read Error */
  6690. vuint32_t:2;
  6691. vuint32_t SCMSIZE:5; /* Shared Code Memory size */
  6692. vuint32_t:4;
  6693. vuint32_t SCMMISC:1; /* SCM MISC Complete/Clear */
  6694. vuint32_t SCMMISF:1; /* SCM MISC Flag */
  6695. vuint32_t SCMMISEN:1; /* SCM MISC Enable */
  6696. vuint32_t:2;
  6697. vuint32_t VIS:1; /* SCM Visability */
  6698. vuint32_t:5;
  6699. vuint32_t GTBE:1; /* Global Time Base Enable */
  6700. } B;
  6701. } MCR;
  6702. union { /* COHERENT DUAL-PARAMETER CONTROL */
  6703. vuint32_t R;
  6704. struct {
  6705. vuint32_t STS:1; /* Start Status bit */
  6706. vuint32_t CTBASE:5; /* Channel Transfer Base */
  6707. vuint32_t PBASE:10; /* Parameter Buffer Base Address (PBBASE in reference manual) */
  6708. vuint32_t PWIDTH:1; /* Parameter Width */
  6709. vuint32_t PARAM0:7; /* Channel Parameter 0 */
  6710. vuint32_t WR:1; /* Read/Write selection */
  6711. vuint32_t PARAM1:7; /* Channel Parameter 1 */
  6712. } B;
  6713. } CDCR;
  6714. uint32_t eTPU_C_reserved0008; /* 0x0008-0x000B */
  6715. union { /* MISC Compare Register */
  6716. uint32_t R;
  6717. struct {
  6718. vuint32_t ETPUMISCCMP:32;
  6719. } B;
  6720. } MISCCMPR;
  6721. union { /* SCM off-range Date Register */
  6722. uint32_t R;
  6723. struct {
  6724. vuint32_t ETPUSCMOFFDATA:32;
  6725. } B;
  6726. } SCMOFFDATAR;
  6727. union { /* ETPU_C Configuration Register */
  6728. vuint32_t R;
  6729. struct {
  6730. vuint32_t FEND:1; /* Force END */
  6731. vuint32_t MDIS:1; /* Low power Stop */
  6732. vuint32_t:1;
  6733. vuint32_t STF:1; /* Stop Flag */
  6734. vuint32_t:4;
  6735. vuint32_t HLTF:1; /* Halt Mode Flag */
  6736. vuint32_t:3;
  6737. vuint32_t FCSS:1; /* Filter Clock Source Select */
  6738. vuint32_t FPSCK:3; /* Filter Prescaler Clock Control */
  6739. vuint32_t CDFC:2;
  6740. vuint32_t:1;
  6741. vuint32_t ERBA:5; /* Engine Relative Base Address */
  6742. vuint32_t SPPDIS:1; /* Schedule Priority Passing Disable */
  6743. vuint32_t:2;
  6744. vuint32_t ETB:5; /* Entry Table Base */
  6745. } B;
  6746. } ECR_C;
  6747. uint32_t eTPU_C_reserved0018; /* 0x0018-0x001B */
  6748. uint32_t eTPU_C_reserved001C; /* 0x001C-0x001F */
  6749. union { /* ETPU_C Timebase Configuration Register */
  6750. uint32_t R;
  6751. struct {
  6752. vuint32_t TCR2CTL:3; /* TCR2 Clock/Gate Control */
  6753. vuint32_t TCRCF:2; /* TCRCLK Signal Filter Control */
  6754. vuint32_t AM:2; /* Angle Mode */
  6755. vuint32_t:3;
  6756. vuint32_t TCR2P:6; /* TCR2 Prescaler Control */
  6757. vuint32_t TCR1CTL:2; /* TCR1 Clock/Gate Control */
  6758. vuint32_t TCR1CS:1; /* TCR1 Clock Source */
  6759. vuint32_t:5;
  6760. vuint32_t TCR1P:8; /* TCR1 Prescaler Control */
  6761. } B;
  6762. } TBCR_C;
  6763. union { /* ETPU_C TCR1 Visibility Register */
  6764. vuint32_t R;
  6765. struct {
  6766. vuint32_t:8;
  6767. vuint32_t TCR1:24;
  6768. } B;
  6769. } TB1R_C;
  6770. union { /* ETPU_C TCR2 Visibility Register */
  6771. vuint32_t R;
  6772. struct {
  6773. vuint32_t:8;
  6774. vuint32_t TCR2:24;
  6775. } B;
  6776. } TB2R_C;
  6777. union { /* ETPU_C STAC Configuration Register */
  6778. vuint32_t R;
  6779. struct {
  6780. vuint32_t REN1:1; /* Resource Enable TCR1 */
  6781. vuint32_t RSC1:1; /* Resource Control TCR1 */
  6782. vuint32_t:2;
  6783. vuint32_t SERVER_ID1:4; /* TCR1 Server ID */
  6784. vuint32_t:4;
  6785. vuint32_t SRV1:4; /* Resource Server Slot */
  6786. vuint32_t REN2:1; /* Resource Enable TCR2 */
  6787. vuint32_t RSC2:1; /* Resource Control TCR2 */
  6788. vuint32_t:2;
  6789. vuint32_t SERVER_ID2:4; /* TCR2 Server ID */
  6790. vuint32_t:4;
  6791. vuint32_t SRV2:4; /* Resource Server Slot */
  6792. } B;
  6793. } REDCR_C;
  6794. uint32_t eTPU_C_reserved0030[4]; /* 0x0030-0x003F */
  6795. uint32_t etpu_C_reserved0040[4]; /* 0x0040-0x004F */
  6796. uint32_t eTPU_C_reserved0050[4]; /* 0x0050-0x005F */
  6797. union { /* Watchdog Timer Register A */
  6798. vuint32_t R;
  6799. struct {
  6800. vuint32_t WDM:2; /* Watchdog Mode */
  6801. vuint32_t:14;
  6802. vuint32_t WDCNT:16; /* Watchdog Count */
  6803. } B;
  6804. } WDTR_C;
  6805. uint32_t eTPU_C_reserved0064; /* 0x0064-0x0067 */
  6806. union { /* Idle Counter Register A*/
  6807. vuint32_t R;
  6808. struct {
  6809. vuint32_t IDLE_CNT:31;
  6810. vuint32_t ICLR:1; /* Idle Clear */
  6811. } B;
  6812. } IDLE_C;
  6813. uint32_t eTPU_C_reserved006C; /* 0x006C-0x006F */
  6814. uint32_t eTPU_C_reserved0070[4]; /* 0x0070-0x007F */
  6815. uint32_t eTPU_C_reserved0080[32]; /* 0x0080-0x00FF */
  6816. union { /* Error Correction Status and Control Register */
  6817. vuint32_t R;
  6818. struct {
  6819. vuint32_t DCERR:1;
  6820. vuint32_t DNCERR:1;
  6821. vuint32_t:12;
  6822. vuint32_t CCERR:1;
  6823. vuint32_t CNCERR:1;
  6824. vuint32_t HDEIE:1;
  6825. vuint32_t MDEIE:1;
  6826. vuint32_t:13;
  6827. vuint32_t CEIE:1;
  6828. } B;
  6829. } ECSCR;
  6830. union { /* Data Error Injection Address Register */
  6831. vuint32_t R;
  6832. struct {
  6833. vuint32_t:18;
  6834. vuint32_t INJ_ADDR:12;
  6835. vuint32_t:2;
  6836. } B;
  6837. } DEIAR;
  6838. union { /* Data Error Injection Data Pattern Register */
  6839. vuint32_t R;
  6840. struct {
  6841. vuint32_t DFLIP:32;
  6842. } B;
  6843. } DEIDPR;
  6844. union { /* Data Error Injection Parity Pattern Register */
  6845. vuint32_t R;
  6846. struct {
  6847. vuint32_t:3;
  6848. vuint32_t PFLIP3:5;
  6849. vuint32_t:3;
  6850. vuint32_t PFLIP2:5;
  6851. vuint32_t:3;
  6852. vuint32_t PFLIP1:5;
  6853. vuint32_t:3;
  6854. vuint32_t PFLIP0:5;
  6855. } B;
  6856. } DEIPPR;
  6857. union { /* Data Error Report Address Register */
  6858. vuint32_t R;
  6859. struct {
  6860. vuint32_t:18;
  6861. vuint32_t ERR_ADDR:12;
  6862. vuint32_t:2;
  6863. } B;
  6864. } DERAR;
  6865. union { /* Data Error Report Data Register */
  6866. vuint32_t R;
  6867. struct {
  6868. vuint32_t DATA:32;
  6869. } B;
  6870. } DERDR;
  6871. union { /* Data Error Report Syndrome Register */
  6872. vuint32_t R;
  6873. struct {
  6874. vuint32_t:3;
  6875. vuint32_t SYND3:5;
  6876. vuint32_t:3;
  6877. vuint32_t SYND2:5;
  6878. vuint32_t:3;
  6879. vuint32_t SYND1:5;
  6880. vuint32_t:3;
  6881. vuint32_t SYND0:5;
  6882. } B;
  6883. } DERSR;
  6884. uint32_t eTPU_C_reserved011C[2]; /* 0x011C-0x0123 */
  6885. union { /* Code Error Injection Address Register */
  6886. vuint32_t R;
  6887. struct {
  6888. vuint32_t:16;
  6889. vuint32_t INJ_ADDR:14;
  6890. vuint32_t:2;
  6891. } B;
  6892. } CEIAR;
  6893. union { /* Code Error Injection Data Pattern Register */
  6894. vuint32_t R;
  6895. struct {
  6896. vuint32_t DFLIP:32;
  6897. } B;
  6898. } CEIDPR;
  6899. union { /* Code Error Injection Parity Pattern Register */
  6900. vuint32_t R;
  6901. struct {
  6902. vuint32_t:25;
  6903. vuint32_t PFLIP:7;
  6904. } B;
  6905. } CEIPPR;
  6906. union { /* Code Error Report Address Register */
  6907. vuint32_t R;
  6908. struct {
  6909. vuint32_t:16;
  6910. vuint32_t ERR_ADDR:14;
  6911. vuint32_t:2;
  6912. } B;
  6913. } CERAR;
  6914. union { /* Code Error Report Data Register */
  6915. vuint32_t R;
  6916. struct {
  6917. vuint32_t DATA:32;
  6918. } B;
  6919. } CERDR;
  6920. union { /* Code Error Report Syndrome Register */
  6921. vuint32_t R;
  6922. struct {
  6923. vuint32_t:25;
  6924. vuint32_t SYND:7;
  6925. } B;
  6926. } CERSR;
  6927. uint32_t eTPU_C_reserved013C[49]; /* 0x013C-0x01FF */
  6928. /*****************************Status and Control Registers**************************/
  6929. union { /* ETPU_C Channel Interrut Status */
  6930. vuint32_t R;
  6931. struct {
  6932. vuint32_t CIS31:1; /* Channel 31 Interrut Status */
  6933. vuint32_t CIS30:1; /* Channel 30 Interrut Status */
  6934. vuint32_t CIS29:1; /* Channel 29 Interrut Status */
  6935. vuint32_t CIS28:1; /* Channel 28 Interrut Status */
  6936. vuint32_t CIS27:1; /* Channel 27 Interrut Status */
  6937. vuint32_t CIS26:1; /* Channel 26 Interrut Status */
  6938. vuint32_t CIS25:1; /* Channel 25 Interrut Status */
  6939. vuint32_t CIS24:1; /* Channel 24 Interrut Status */
  6940. vuint32_t CIS23:1; /* Channel 23 Interrut Status */
  6941. vuint32_t CIS22:1; /* Channel 22 Interrut Status */
  6942. vuint32_t CIS21:1; /* Channel 21 Interrut Status */
  6943. vuint32_t CIS20:1; /* Channel 20 Interrut Status */
  6944. vuint32_t CIS19:1; /* Channel 19 Interrut Status */
  6945. vuint32_t CIS18:1; /* Channel 18 Interrut Status */
  6946. vuint32_t CIS17:1; /* Channel 17 Interrut Status */
  6947. vuint32_t CIS16:1; /* Channel 16 Interrut Status */
  6948. vuint32_t CIS15:1; /* Channel 15 Interrut Status */
  6949. vuint32_t CIS14:1; /* Channel 14 Interrut Status */
  6950. vuint32_t CIS13:1; /* Channel 13 Interrut Status */
  6951. vuint32_t CIS12:1; /* Channel 12 Interrut Status */
  6952. vuint32_t CIS11:1; /* Channel 11 Interrut Status */
  6953. vuint32_t CIS10:1; /* Channel 10 Interrut Status */
  6954. vuint32_t CIS9:1; /* Channel 9 Interrut Status */
  6955. vuint32_t CIS8:1; /* Channel 8 Interrut Status */
  6956. vuint32_t CIS7:1; /* Channel 7 Interrut Status */
  6957. vuint32_t CIS6:1; /* Channel 6 Interrut Status */
  6958. vuint32_t CIS5:1; /* Channel 5 Interrut Status */
  6959. vuint32_t CIS4:1; /* Channel 4 Interrut Status */
  6960. vuint32_t CIS3:1; /* Channel 3 Interrut Status */
  6961. vuint32_t CIS2:1; /* Channel 2 Interrut Status */
  6962. vuint32_t CIS1:1; /* Channel 1 Interrut Status */
  6963. vuint32_t CIS0:1; /* Channel 0 Interrut Status */
  6964. } B;
  6965. } CISR_C;
  6966. uint32_t eTPU_C_reserved0204; /* 0x0204-0x0207 */
  6967. uint32_t eTPU_C_reserved0208[2]; /* 0x0208-0x020F */
  6968. union { /* ETPU_C Data Transfer Request Status */
  6969. vuint32_t R;
  6970. struct {
  6971. vuint32_t DTRS31:1; /* Channel 31 Data Transfer Request Status */
  6972. vuint32_t DTRS30:1; /* Channel 30 Data Transfer Request Status */
  6973. vuint32_t DTRS29:1; /* Channel 29 Data Transfer Request Status */
  6974. vuint32_t DTRS28:1; /* Channel 28 Data Transfer Request Status */
  6975. vuint32_t DTRS27:1; /* Channel 27 Data Transfer Request Status */
  6976. vuint32_t DTRS26:1; /* Channel 26 Data Transfer Request Status */
  6977. vuint32_t DTRS25:1; /* Channel 25 Data Transfer Request Status */
  6978. vuint32_t DTRS24:1; /* Channel 24 Data Transfer Request Status */
  6979. vuint32_t DTRS23:1; /* Channel 23 Data Transfer Request Status */
  6980. vuint32_t DTRS22:1; /* Channel 22 Data Transfer Request Status */
  6981. vuint32_t DTRS21:1; /* Channel 21 Data Transfer Request Status */
  6982. vuint32_t DTRS20:1; /* Channel 20 Data Transfer Request Status */
  6983. vuint32_t DTRS19:1; /* Channel 19 Data Transfer Request Status */
  6984. vuint32_t DTRS18:1; /* Channel 18 Data Transfer Request Status */
  6985. vuint32_t DTRS17:1; /* Channel 17 Data Transfer Request Status */
  6986. vuint32_t DTRS16:1; /* Channel 16 Data Transfer Request Status */
  6987. vuint32_t DTRS15:1; /* Channel 15 Data Transfer Request Status */
  6988. vuint32_t DTRS14:1; /* Channel 14 Data Transfer Request Status */
  6989. vuint32_t DTRS13:1; /* Channel 13 Data Transfer Request Status */
  6990. vuint32_t DTRS12:1; /* Channel 12 Data Transfer Request Status */
  6991. vuint32_t DTRS11:1; /* Channel 11 Data Transfer Request Status */
  6992. vuint32_t DTRS10:1; /* Channel 10 Data Transfer Request Status */
  6993. vuint32_t DTRS9:1; /* Channel 9 Data Transfer Request Status */
  6994. vuint32_t DTRS8:1; /* Channel 8 Data Transfer Request Status */
  6995. vuint32_t DTRS7:1; /* Channel 7 Data Transfer Request Status */
  6996. vuint32_t DTRS6:1; /* Channel 6 Data Transfer Request Status */
  6997. vuint32_t DTRS5:1; /* Channel 5 Data Transfer Request Status */
  6998. vuint32_t DTRS4:1; /* Channel 4 Data Transfer Request Status */
  6999. vuint32_t DTRS3:1; /* Channel 3 Data Transfer Request Status */
  7000. vuint32_t DTRS2:1; /* Channel 2 Data Transfer Request Status */
  7001. vuint32_t DTRS1:1; /* Channel 1 Data Transfer Request Status */
  7002. vuint32_t DTRS0:1; /* Channel 0 Data Transfer Request Status */
  7003. } B;
  7004. } CDTRSR_C;
  7005. uint32_t eTPU_C_reserved0214; /* 0x0214-0x0217 */
  7006. uint32_t eTPU_C_reserved0218[2]; /* 0x0218-0x021F */
  7007. union { /* ETPU_C Interruput Overflow Status */
  7008. vuint32_t R;
  7009. struct {
  7010. vuint32_t CIOS31:1; /* Channel 31 Interruput Overflow Status */
  7011. vuint32_t CIOS30:1; /* Channel 30 Interruput Overflow Status */
  7012. vuint32_t CIOS29:1; /* Channel 29 Interruput Overflow Status */
  7013. vuint32_t CIOS28:1; /* Channel 28 Interruput Overflow Status */
  7014. vuint32_t CIOS27:1; /* Channel 27 Interruput Overflow Status */
  7015. vuint32_t CIOS26:1; /* Channel 26 Interruput Overflow Status */
  7016. vuint32_t CIOS25:1; /* Channel 25 Interruput Overflow Status */
  7017. vuint32_t CIOS24:1; /* Channel 24 Interruput Overflow Status */
  7018. vuint32_t CIOS23:1; /* Channel 23 Interruput Overflow Status */
  7019. vuint32_t CIOS22:1; /* Channel 22 Interruput Overflow Status */
  7020. vuint32_t CIOS21:1; /* Channel 21 Interruput Overflow Status */
  7021. vuint32_t CIOS20:1; /* Channel 20 Interruput Overflow Status */
  7022. vuint32_t CIOS19:1; /* Channel 19 Interruput Overflow Status */
  7023. vuint32_t CIOS18:1; /* Channel 18 Interruput Overflow Status */
  7024. vuint32_t CIOS17:1; /* Channel 17 Interruput Overflow Status */
  7025. vuint32_t CIOS16:1; /* Channel 16 Interruput Overflow Status */
  7026. vuint32_t CIOS15:1; /* Channel 15 Interruput Overflow Status */
  7027. vuint32_t CIOS14:1; /* Channel 14 Interruput Overflow Status */
  7028. vuint32_t CIOS13:1; /* Channel 13 Interruput Overflow Status */
  7029. vuint32_t CIOS12:1; /* Channel 12 Interruput Overflow Status */
  7030. vuint32_t CIOS11:1; /* Channel 11 Interruput Overflow Status */
  7031. vuint32_t CIOS10:1; /* Channel 10 Interruput Overflow Status */
  7032. vuint32_t CIOS9:1; /* Channel 9 Interruput Overflow Status */
  7033. vuint32_t CIOS8:1; /* Channel 8 Interruput Overflow Status */
  7034. vuint32_t CIOS7:1; /* Channel 7 Interruput Overflow Status */
  7035. vuint32_t CIOS6:1; /* Channel 6 Interruput Overflow Status */
  7036. vuint32_t CIOS5:1; /* Channel 5 Interruput Overflow Status */
  7037. vuint32_t CIOS4:1; /* Channel 4 Interruput Overflow Status */
  7038. vuint32_t CIOS3:1; /* Channel 3 Interruput Overflow Status */
  7039. vuint32_t CIOS2:1; /* Channel 2 Interruput Overflow Status */
  7040. vuint32_t CIOS1:1; /* Channel 1 Interruput Overflow Status */
  7041. vuint32_t CIOS0:1; /* Channel 0 Interruput Overflow Status */
  7042. } B;
  7043. } CIOSR_C;
  7044. uint32_t eTPU_C_reserved0224; /* 0x0224-0x0227 */
  7045. uint32_t eTPU_C_reserved0228[2]; /* 0x0228-0x022F */
  7046. union { /* ETPU_C Data Transfer Overflow Status */
  7047. vuint32_t R;
  7048. struct {
  7049. vuint32_t DTROS31:1; /* Channel 31 Data Transfer Overflow Status */
  7050. vuint32_t DTROS30:1; /* Channel 30 Data Transfer Overflow Status */
  7051. vuint32_t DTROS29:1; /* Channel 29 Data Transfer Overflow Status */
  7052. vuint32_t DTROS28:1; /* Channel 28 Data Transfer Overflow Status */
  7053. vuint32_t DTROS27:1; /* Channel 27 Data Transfer Overflow Status */
  7054. vuint32_t DTROS26:1; /* Channel 26 Data Transfer Overflow Status */
  7055. vuint32_t DTROS25:1; /* Channel 25 Data Transfer Overflow Status */
  7056. vuint32_t DTROS24:1; /* Channel 24 Data Transfer Overflow Status */
  7057. vuint32_t DTROS23:1; /* Channel 23 Data Transfer Overflow Status */
  7058. vuint32_t DTROS22:1; /* Channel 22 Data Transfer Overflow Status */
  7059. vuint32_t DTROS21:1; /* Channel 21 Data Transfer Overflow Status */
  7060. vuint32_t DTROS20:1; /* Channel 20 Data Transfer Overflow Status */
  7061. vuint32_t DTROS19:1; /* Channel 19 Data Transfer Overflow Status */
  7062. vuint32_t DTROS18:1; /* Channel 18 Data Transfer Overflow Status */
  7063. vuint32_t DTROS17:1; /* Channel 17 Data Transfer Overflow Status */
  7064. vuint32_t DTROS16:1; /* Channel 16 Data Transfer Overflow Status */
  7065. vuint32_t DTROS15:1; /* Channel 15 Data Transfer Overflow Status */
  7066. vuint32_t DTROS14:1; /* Channel 14 Data Transfer Overflow Status */
  7067. vuint32_t DTROS13:1; /* Channel 13 Data Transfer Overflow Status */
  7068. vuint32_t DTROS12:1; /* Channel 12 Data Transfer Overflow Status */
  7069. vuint32_t DTROS11:1; /* Channel 11 Data Transfer Overflow Status */
  7070. vuint32_t DTROS10:1; /* Channel 10 Data Transfer Overflow Status */
  7071. vuint32_t DTROS9:1; /* Channel 9 Data Transfer Overflow Status */
  7072. vuint32_t DTROS8:1; /* Channel 8 Data Transfer Overflow Status */
  7073. vuint32_t DTROS7:1; /* Channel 7 Data Transfer Overflow Status */
  7074. vuint32_t DTROS6:1; /* Channel 6 Data Transfer Overflow Status */
  7075. vuint32_t DTROS5:1; /* Channel 5 Data Transfer Overflow Status */
  7076. vuint32_t DTROS4:1; /* Channel 4 Data Transfer Overflow Status */
  7077. vuint32_t DTROS3:1; /* Channel 3 Data Transfer Overflow Status */
  7078. vuint32_t DTROS2:1; /* Channel 2 Data Transfer Overflow Status */
  7079. vuint32_t DTROS1:1; /* Channel 1 Data Transfer Overflow Status */
  7080. vuint32_t DTROS0:1; /* Channel 0 Data Transfer Overflow Status */
  7081. } B;
  7082. } CDTROSR_C;
  7083. uint32_t eTPU_C_reserved0234; /* 0x0234-0x0237 */
  7084. uint32_t eTPU_C_reserved0238[2]; /* 0x0238-0x023F */
  7085. union { /* ETPU_C Channel Interruput Enable */
  7086. vuint32_t R;
  7087. struct {
  7088. vuint32_t CIE31:1; /* Channel 31 Interruput Enable */
  7089. vuint32_t CIE30:1; /* Channel 30 Interruput Enable */
  7090. vuint32_t CIE29:1; /* Channel 29 Interruput Enable */
  7091. vuint32_t CIE28:1; /* Channel 28 Interruput Enable */
  7092. vuint32_t CIE27:1; /* Channel 27 Interruput Enable */
  7093. vuint32_t CIE26:1; /* Channel 26 Interruput Enable */
  7094. vuint32_t CIE25:1; /* Channel 25 Interruput Enable */
  7095. vuint32_t CIE24:1; /* Channel 24 Interruput Enable */
  7096. vuint32_t CIE23:1; /* Channel 23 Interruput Enable */
  7097. vuint32_t CIE22:1; /* Channel 22 Interruput Enable */
  7098. vuint32_t CIE21:1; /* Channel 21 Interruput Enable */
  7099. vuint32_t CIE20:1; /* Channel 20 Interruput Enable */
  7100. vuint32_t CIE19:1; /* Channel 19 Interruput Enable */
  7101. vuint32_t CIE18:1; /* Channel 18 Interruput Enable */
  7102. vuint32_t CIE17:1; /* Channel 17 Interruput Enable */
  7103. vuint32_t CIE16:1; /* Channel 16 Interruput Enable */
  7104. vuint32_t CIE15:1; /* Channel 15 Interruput Enable */
  7105. vuint32_t CIE14:1; /* Channel 14 Interruput Enable */
  7106. vuint32_t CIE13:1; /* Channel 13 Interruput Enable */
  7107. vuint32_t CIE12:1; /* Channel 12 Interruput Enable */
  7108. vuint32_t CIE11:1; /* Channel 11 Interruput Enable */
  7109. vuint32_t CIE10:1; /* Channel 10 Interruput Enable */
  7110. vuint32_t CIE9:1; /* Channel 9 Interruput Enable */
  7111. vuint32_t CIE8:1; /* Channel 8 Interruput Enable */
  7112. vuint32_t CIE7:1; /* Channel 7 Interruput Enable */
  7113. vuint32_t CIE6:1; /* Channel 6 Interruput Enable */
  7114. vuint32_t CIE5:1; /* Channel 5 Interruput Enable */
  7115. vuint32_t CIE4:1; /* Channel 4 Interruput Enable */
  7116. vuint32_t CIE3:1; /* Channel 3 Interruput Enable */
  7117. vuint32_t CIE2:1; /* Channel 2 Interruput Enable */
  7118. vuint32_t CIE1:1; /* Channel 1 Interruput Enable */
  7119. vuint32_t CIE0:1; /* Channel 0 Interruput Enable */
  7120. } B;
  7121. } CIER_C;
  7122. uint32_t eTPU_C_reserved0244; /* 0x0244-0x0247 */
  7123. uint32_t eTPU_C_reserved0248[2]; /* 0x0248-0x024F */
  7124. union { /* ETPU_C Channel Data Transfer Request Enable */
  7125. vuint32_t R;
  7126. struct {
  7127. vuint32_t DTRE31:1; /* Channel 31 Data Transfer Request Enable */
  7128. vuint32_t DTRE30:1; /* Channel 30 Data Transfer Request Enable */
  7129. vuint32_t DTRE29:1; /* Channel 29 Data Transfer Request Enable */
  7130. vuint32_t DTRE28:1; /* Channel 28 Data Transfer Request Enable */
  7131. vuint32_t DTRE27:1; /* Channel 27 Data Transfer Request Enable */
  7132. vuint32_t DTRE26:1; /* Channel 26 Data Transfer Request Enable */
  7133. vuint32_t DTRE25:1; /* Channel 25 Data Transfer Request Enable */
  7134. vuint32_t DTRE24:1; /* Channel 24 Data Transfer Request Enable */
  7135. vuint32_t DTRE23:1; /* Channel 23 Data Transfer Request Enable */
  7136. vuint32_t DTRE22:1; /* Channel 22 Data Transfer Request Enable */
  7137. vuint32_t DTRE21:1; /* Channel 21 Data Transfer Request Enable */
  7138. vuint32_t DTRE20:1; /* Channel 20 Data Transfer Request Enable */
  7139. vuint32_t DTRE19:1; /* Channel 19 Data Transfer Request Enable */
  7140. vuint32_t DTRE18:1; /* Channel 18 Data Transfer Request Enable */
  7141. vuint32_t DTRE17:1; /* Channel 17 Data Transfer Request Enable */
  7142. vuint32_t DTRE16:1; /* Channel 16 Data Transfer Request Enable */
  7143. vuint32_t DTRE15:1; /* Channel 15 Data Transfer Request Enable */
  7144. vuint32_t DTRE14:1; /* Channel 14 Data Transfer Request Enable */
  7145. vuint32_t DTRE13:1; /* Channel 13 Data Transfer Request Enable */
  7146. vuint32_t DTRE12:1; /* Channel 12 Data Transfer Request Enable */
  7147. vuint32_t DTRE11:1; /* Channel 11 Data Transfer Request Enable */
  7148. vuint32_t DTRE10:1; /* Channel 10 Data Transfer Request Enable */
  7149. vuint32_t DTRE9:1; /* Channel 9 Data Transfer Request Enable */
  7150. vuint32_t DTRE8:1; /* Channel 8 Data Transfer Request Enable */
  7151. vuint32_t DTRE7:1; /* Channel 7 Data Transfer Request Enable */
  7152. vuint32_t DTRE6:1; /* Channel 6 Data Transfer Request Enable */
  7153. vuint32_t DTRE5:1; /* Channel 5 Data Transfer Request Enable */
  7154. vuint32_t DTRE4:1; /* Channel 4 Data Transfer Request Enable */
  7155. vuint32_t DTRE3:1; /* Channel 3 Data Transfer Request Enable */
  7156. vuint32_t DTRE2:1; /* Channel 2 Data Transfer Request Enable */
  7157. vuint32_t DTRE1:1; /* Channel 1 Data Transfer Request Enable */
  7158. vuint32_t DTRE0:1; /* Channel 0 Data Transfer Request Enable */
  7159. } B;
  7160. } CDTRER_C;
  7161. uint32_t etpu_C_reserved0254; /* 0x0254-0x0257 */
  7162. uint32_t eTPU_C_reserved0258[2]; /* 0x0258-0x025F */
  7163. union { /* Watchdog Status Register A */
  7164. vuint32_t R;
  7165. struct {
  7166. vuint32_t WDS31:1;
  7167. vuint32_t WDS30:1;
  7168. vuint32_t WDS29:1;
  7169. vuint32_t WDS28:1;
  7170. vuint32_t WDS27:1;
  7171. vuint32_t WDS26:1;
  7172. vuint32_t WDS25:1;
  7173. vuint32_t WDS24:1;
  7174. vuint32_t WDS23:1;
  7175. vuint32_t WDS22:1;
  7176. vuint32_t WDS21:1;
  7177. vuint32_t WDS20:1;
  7178. vuint32_t WDS19:1;
  7179. vuint32_t WDS18:1;
  7180. vuint32_t WDS17:1;
  7181. vuint32_t WDS16:1;
  7182. vuint32_t WDS15:1;
  7183. vuint32_t WDS14:1;
  7184. vuint32_t WDS13:1;
  7185. vuint32_t WDS12:1;
  7186. vuint32_t WDS11:1;
  7187. vuint32_t WDS10:1;
  7188. vuint32_t WDS9:1;
  7189. vuint32_t WDS8:1;
  7190. vuint32_t WDS7:1;
  7191. vuint32_t WDS6:1;
  7192. vuint32_t WDS5:1;
  7193. vuint32_t WDS4:1;
  7194. vuint32_t WDS3:1;
  7195. vuint32_t WDS2:1;
  7196. vuint32_t WDS1:1;
  7197. vuint32_t WDS0:1;
  7198. } B;
  7199. } WDSR_C;
  7200. uint32_t eTPU_C_reserved0264; /* 0x0264-0x0267 */
  7201. uint32_t eTPU_C_reserved0268[6]; /* 0x0268-0x027F */
  7202. union { /* ETPU_C Channel Pending Service Status */
  7203. vuint32_t R;
  7204. struct {
  7205. vuint32_t SR31:1; /* Channel 31 Pending Service Status */
  7206. vuint32_t SR30:1; /* Channel 30 Pending Service Status */
  7207. vuint32_t SR29:1; /* Channel 29 Pending Service Status */
  7208. vuint32_t SR28:1; /* Channel 28 Pending Service Status */
  7209. vuint32_t SR27:1; /* Channel 27 Pending Service Status */
  7210. vuint32_t SR26:1; /* Channel 26 Pending Service Status */
  7211. vuint32_t SR25:1; /* Channel 25 Pending Service Status */
  7212. vuint32_t SR24:1; /* Channel 24 Pending Service Status */
  7213. vuint32_t SR23:1; /* Channel 23 Pending Service Status */
  7214. vuint32_t SR22:1; /* Channel 22 Pending Service Status */
  7215. vuint32_t SR21:1; /* Channel 21 Pending Service Status */
  7216. vuint32_t SR20:1; /* Channel 20 Pending Service Status */
  7217. vuint32_t SR19:1; /* Channel 19 Pending Service Status */
  7218. vuint32_t SR18:1; /* Channel 18 Pending Service Status */
  7219. vuint32_t SR17:1; /* Channel 17 Pending Service Status */
  7220. vuint32_t SR16:1; /* Channel 16 Pending Service Status */
  7221. vuint32_t SR15:1; /* Channel 15 Pending Service Status */
  7222. vuint32_t SR14:1; /* Channel 14 Pending Service Status */
  7223. vuint32_t SR13:1; /* Channel 13 Pending Service Status */
  7224. vuint32_t SR12:1; /* Channel 12 Pending Service Status */
  7225. vuint32_t SR11:1; /* Channel 11 Pending Service Status */
  7226. vuint32_t SR10:1; /* Channel 10 Pending Service Status */
  7227. vuint32_t SR9:1; /* Channel 9 Pending Service Status */
  7228. vuint32_t SR8:1; /* Channel 8 Pending Service Status */
  7229. vuint32_t SR7:1; /* Channel 7 Pending Service Status */
  7230. vuint32_t SR6:1; /* Channel 6 Pending Service Status */
  7231. vuint32_t SR5:1; /* Channel 5 Pending Service Status */
  7232. vuint32_t SR4:1; /* Channel 4 Pending Service Status */
  7233. vuint32_t SR3:1; /* Channel 3 Pending Service Status */
  7234. vuint32_t SR2:1; /* Channel 2 Pending Service Status */
  7235. vuint32_t SR1:1; /* Channel 1 Pending Service Status */
  7236. vuint32_t SR0:1; /* Channel 0 Pending Service Status */
  7237. } B;
  7238. } CPSSR_C;
  7239. uint32_t eTPU_C_reserved0284; /* 0x0284-0x0287 */
  7240. uint32_t eTPU_C_reserved0288[2]; /* 0x0288-0x028F */
  7241. union { /* ETPU_C Channel Service Status */
  7242. vuint32_t R;
  7243. struct {
  7244. vuint32_t SS31:1; /* Channel 31 Service Status */
  7245. vuint32_t SS30:1; /* Channel 30 Service Status */
  7246. vuint32_t SS29:1; /* Channel 29 Service Status */
  7247. vuint32_t SS28:1; /* Channel 28 Service Status */
  7248. vuint32_t SS27:1; /* Channel 27 Service Status */
  7249. vuint32_t SS26:1; /* Channel 26 Service Status */
  7250. vuint32_t SS25:1; /* Channel 25 Service Status */
  7251. vuint32_t SS24:1; /* Channel 24 Service Status */
  7252. vuint32_t SS23:1; /* Channel 23 Service Status */
  7253. vuint32_t SS22:1; /* Channel 22 Service Status */
  7254. vuint32_t SS21:1; /* Channel 21 Service Status */
  7255. vuint32_t SS20:1; /* Channel 20 Service Status */
  7256. vuint32_t SS19:1; /* Channel 19 Service Status */
  7257. vuint32_t SS18:1; /* Channel 18 Service Status */
  7258. vuint32_t SS17:1; /* Channel 17 Service Status */
  7259. vuint32_t SS16:1; /* Channel 16 Service Status */
  7260. vuint32_t SS15:1; /* Channel 15 Service Status */
  7261. vuint32_t SS14:1; /* Channel 14 Service Status */
  7262. vuint32_t SS13:1; /* Channel 13 Service Status */
  7263. vuint32_t SS12:1; /* Channel 12 Service Status */
  7264. vuint32_t SS11:1; /* Channel 11 Service Status */
  7265. vuint32_t SS10:1; /* Channel 10 Service Status */
  7266. vuint32_t SS9:1; /* Channel 9 Service Status */
  7267. vuint32_t SS8:1; /* Channel 8 Service Status */
  7268. vuint32_t SS7:1; /* Channel 7 Service Status */
  7269. vuint32_t SS6:1; /* Channel 6 Service Status */
  7270. vuint32_t SS5:1; /* Channel 5 Service Status */
  7271. vuint32_t SS4:1; /* Channel 4 Service Status */
  7272. vuint32_t SS3:1; /* Channel 3 Service Status */
  7273. vuint32_t SS2:1; /* Channel 2 Service Status */
  7274. vuint32_t SS1:1; /* Channel 1 Service Status */
  7275. vuint32_t SS0:1; /* Channel 0 Service Status */
  7276. } B;
  7277. } CSSR_C;
  7278. uint32_t eTPU_C_reserved0294; /* 0x0294-0x0297 */
  7279. uint32_t eTPU_C_reserved0298[2]; /* 0x0298-0x029F */
  7280. uint32_t eTPU_C_reserved02A0[88]; /* 0x02A0-0x03FF */
  7281. /*****************************Channels********************************/
  7282. struct {
  7283. union { /* Channel Configuration Register */
  7284. vuint32_t R;
  7285. struct {
  7286. vuint32_t CIE:1; /* Channel Interruput Enable */
  7287. vuint32_t DTRE:1; /* Data Transfer Request Enable */
  7288. vuint32_t CPR:2; /* Channel Priority */
  7289. vuint32_t:2;
  7290. vuint32_t ETPD:1;
  7291. vuint32_t ETCS:1; /* Entry Table Condition Select */
  7292. vuint32_t:3;
  7293. vuint32_t CFS:5; /* Channel Function Select */
  7294. vuint32_t ODIS:1; /* Output disable */
  7295. vuint32_t OPOL:1; /* output polarity */
  7296. vuint32_t:3;
  7297. vuint32_t CPBA:11; /* Channel Parameter Base Address */
  7298. } B;
  7299. } CR;
  7300. union { /* Channel Status Control Register */
  7301. vuint32_t R;
  7302. struct {
  7303. vuint32_t CIS:1; /* Channel Interruput Status */
  7304. vuint32_t CIOS:1; /* Channel Interruput Overflow Status */
  7305. vuint32_t:6;
  7306. vuint32_t DTRS:1; /* Data Transfer Status */
  7307. vuint32_t DTROS:1; /* Data Transfer Overflow Status */
  7308. vuint32_t:6;
  7309. vuint32_t IPS:1; /* Input Pin State */
  7310. vuint32_t OPS:1; /* Output Pin State */
  7311. vuint32_t OBE:1; /* Output Buffer Enable */
  7312. vuint32_t:11;
  7313. vuint32_t FM1:1; /* Function mode */
  7314. vuint32_t FM0:1; /* Function mode */
  7315. } B;
  7316. } SCR;
  7317. union { /* Channel Host Service Request Register */
  7318. vuint32_t R;
  7319. struct {
  7320. vuint32_t:29; /* Host Service Request */
  7321. vuint32_t HSR:3;
  7322. } B;
  7323. } HSRR;
  7324. uint32_t eTPU_C_ch_reserved00C; /* channel offset 0x00C-0x00F */
  7325. } CHAN[127];
  7326. uint32_t eTPU_C_reserved1000[7168]; /* 0x1000-0x7FFF */
  7327. };
  7328. /* ----------------------------------------------------------------------------
  7329. -- PIT Peripheral Access Layer
  7330. ---------------------------------------------------------------------------- */
  7331. /*!
  7332. * @addtogroup PIT_Peripheral_Access_Layer PIT Peripheral Access Layer
  7333. * @{
  7334. */
  7335. /** PIT - Size of Registers Arrays */
  7336. #define PIT_TIMER_COUNT 4u
  7337. /** PIT - Register Layout Typedef */
  7338. typedef struct {
  7339. __IO uint32_t MCR; /**< PIT Module Control Register, offset: 0x0 */
  7340. uint32_t RESERVED_0[63];
  7341. struct { /* offset: 0x100, array step: 0x10 */
  7342. __IO uint32_t LDVAL; /**< Timer Load Value Register, array offset: 0x100, array step: 0x10 */
  7343. __I uint32_t CVAL; /**< Current Timer Value Register, array offset: 0x104, array step: 0x10 */
  7344. __IO uint32_t TCTRL; /**< Timer Control Register, array offset: 0x108, array step: 0x10 */
  7345. __IO uint32_t TFLG; /**< Timer Flag Register, array offset: 0x10C, array step: 0x10 */
  7346. } TIMER[PIT_TIMER_COUNT];
  7347. } PIT_Type, *PIT_MemMapPtr;
  7348. /** Number of instances of the PIT module. */
  7349. #define PIT_INSTANCE_COUNT (1u)
  7350. /* PIT - Peripheral instance base addresses */
  7351. /** Peripheral PIT base address */
  7352. #define PIT_BASE (0xC3FF0000u)
  7353. /** Peripheral PIT base pointer */
  7354. #define PIT ((PIT_Type *)PIT_BASE)
  7355. /** Array initializer of PIT peripheral base addresses */
  7356. #define PIT_BASE_ADDRS { PIT_BASE }
  7357. /** Array initializer of PIT peripheral base pointers */
  7358. #define PIT_BASE_PTRS { PIT }
  7359. /** Number of interrupt vector arrays for the PIT module. */
  7360. #define PIT_IRQS_ARR_COUNT (1u)
  7361. /** Number of interrupt channels for the PIT module. */
  7362. #define PIT_IRQS_CH_COUNT (5u)
  7363. /** Interrupt vectors for the PIT peripheral type */
  7364. #define PIT_IRQS { { PIT_RTI0_IRQn, PIT_RTI1_IRQn, PIT_RTI2_IRQn, PIT_RTI3_IRQn, PIT_RTIINT_IRQn } }
  7365. /* ----------------------------------------------------------------------------
  7366. -- PIT Register Masks
  7367. ---------------------------------------------------------------------------- */
  7368. /*!
  7369. * @addtogroup PIT_Register_Masks PIT Register Masks
  7370. * @{
  7371. */
  7372. /* MCR Bit Fields */
  7373. #define PIT_MCR_FRZ_MASK 0x1u
  7374. #define PIT_MCR_FRZ_SHIFT 0u
  7375. #define PIT_MCR_FRZ_WIDTH 1u
  7376. #define PIT_MCR_FRZ(x) (((uint32_t)(((uint32_t)(x))<<PIT_MCR_FRZ_SHIFT))&PIT_MCR_FRZ_MASK)
  7377. #define PIT_MCR_MDIS_MASK 0x2u
  7378. #define PIT_MCR_MDIS_SHIFT 1u
  7379. #define PIT_MCR_MDIS_WIDTH 1u
  7380. #define PIT_MCR_MDIS(x) (((uint32_t)(((uint32_t)(x))<<PIT_MCR_MDIS_SHIFT))&PIT_MCR_MDIS_MASK)
  7381. #define PIT_MCR_MDIS_RTI_MASK 0x4u
  7382. #define PIT_MCR_MDIS_RTI_SHIFT 2u
  7383. #define PIT_MCR_MDIS_RTI_WIDTH 1u
  7384. #define PIT_MCR_MDIS_RTI(x) (((uint32_t)(((uint32_t)(x))<<PIT_MCR_MDIS_RTI_SHIFT))&PIT_MCR_MDIS_RTI_MASK)
  7385. /* LTMR64H Bit Fields */
  7386. #define PIT_LTMR64H_LTH_MASK 0xFFFFFFFFu
  7387. #define PIT_LTMR64H_LTH_SHIFT 0u
  7388. #define PIT_LTMR64H_LTH_WIDTH 32u
  7389. #define PIT_LTMR64H_LTH(x) (((uint32_t)(((uint32_t)(x))<<PIT_LTMR64H_LTH_SHIFT))&PIT_LTMR64H_LTH_MASK)
  7390. /* LTMR64L Bit Fields */
  7391. #define PIT_LTMR64L_LTL_MASK 0xFFFFFFFFu
  7392. #define PIT_LTMR64L_LTL_SHIFT 0u
  7393. #define PIT_LTMR64L_LTL_WIDTH 32u
  7394. #define PIT_LTMR64L_LTL(x) (((uint32_t)(((uint32_t)(x))<<PIT_LTMR64L_LTL_SHIFT))&PIT_LTMR64L_LTL_MASK)
  7395. /* RTI_LDVAL Bit Fields */
  7396. #define PIT_RTI_LDVAL_TSV_MASK 0xFFFFFFFFu
  7397. #define PIT_RTI_LDVAL_TSV_SHIFT 0u
  7398. #define PIT_RTI_LDVAL_TSV_WIDTH 32u
  7399. #define PIT_RTI_LDVAL_TSV(x) (((uint32_t)(((uint32_t)(x))<<PIT_RTI_LDVAL_TSV_SHIFT))&PIT_RTI_LDVAL_TSV_MASK)
  7400. /* RTI_CVAL Bit Fields */
  7401. #define PIT_RTI_CVAL_TVL_MASK 0xFFFFFFFFu
  7402. #define PIT_RTI_CVAL_TVL_SHIFT 0u
  7403. #define PIT_RTI_CVAL_TVL_WIDTH 32u
  7404. #define PIT_RTI_CVAL_TVL(x) (((uint32_t)(((uint32_t)(x))<<PIT_RTI_CVAL_TVL_SHIFT))&PIT_RTI_CVAL_TVL_MASK)
  7405. /* RTI_TCTRL Bit Fields */
  7406. #define PIT_RTI_TCTRL_TEN_MASK 0x1u
  7407. #define PIT_RTI_TCTRL_TEN_SHIFT 0u
  7408. #define PIT_RTI_TCTRL_TEN_WIDTH 1u
  7409. #define PIT_RTI_TCTRL_TEN(x) (((uint32_t)(((uint32_t)(x))<<PIT_RTI_TCTRL_TEN_SHIFT))&PIT_RTI_TCTRL_TEN_MASK)
  7410. #define PIT_RTI_TCTRL_TIE_MASK 0x2u
  7411. #define PIT_RTI_TCTRL_TIE_SHIFT 1u
  7412. #define PIT_RTI_TCTRL_TIE_WIDTH 1u
  7413. #define PIT_RTI_TCTRL_TIE(x) (((uint32_t)(((uint32_t)(x))<<PIT_RTI_TCTRL_TIE_SHIFT))&PIT_RTI_TCTRL_TIE_MASK)
  7414. /* RTI_TFLG Bit Fields */
  7415. #define PIT_RTI_TFLG_TIF_MASK 0x1u
  7416. #define PIT_RTI_TFLG_TIF_SHIFT 0u
  7417. #define PIT_RTI_TFLG_TIF_WIDTH 1u
  7418. #define PIT_RTI_TFLG_TIF(x) (((uint32_t)(((uint32_t)(x))<<PIT_RTI_TFLG_TIF_SHIFT))&PIT_RTI_TFLG_TIF_MASK)
  7419. /* LDVAL Bit Fields */
  7420. #define PIT_LDVAL_TSV_MASK 0xFFFFFFFFu
  7421. #define PIT_LDVAL_TSV_SHIFT 0u
  7422. #define PIT_LDVAL_TSV_WIDTH 32u
  7423. #define PIT_LDVAL_TSV(x) (((uint32_t)(((uint32_t)(x))<<PIT_LDVAL_TSV_SHIFT))&PIT_LDVAL_TSV_MASK)
  7424. /* CVAL Bit Fields */
  7425. #define PIT_CVAL_TVL_MASK 0xFFFFFFFFu
  7426. #define PIT_CVAL_TVL_SHIFT 0u
  7427. #define PIT_CVAL_TVL_WIDTH 32u
  7428. #define PIT_CVAL_TVL(x) (((uint32_t)(((uint32_t)(x))<<PIT_CVAL_TVL_SHIFT))&PIT_CVAL_TVL_MASK)
  7429. /* TCTRL Bit Fields */
  7430. #define PIT_TCTRL_TEN_MASK 0x1u
  7431. #define PIT_TCTRL_TEN_SHIFT 0u
  7432. #define PIT_TCTRL_TEN_WIDTH 1u
  7433. #define PIT_TCTRL_TEN(x) (((uint32_t)(((uint32_t)(x))<<PIT_TCTRL_TEN_SHIFT))&PIT_TCTRL_TEN_MASK)
  7434. #define PIT_TCTRL_TIE_MASK 0x2u
  7435. #define PIT_TCTRL_TIE_SHIFT 1u
  7436. #define PIT_TCTRL_TIE_WIDTH 1u
  7437. #define PIT_TCTRL_TIE(x) (((uint32_t)(((uint32_t)(x))<<PIT_TCTRL_TIE_SHIFT))&PIT_TCTRL_TIE_MASK)
  7438. #define PIT_TCTRL_CHN_MASK 0x4u
  7439. #define PIT_TCTRL_CHN_SHIFT 2u
  7440. #define PIT_TCTRL_CHN_WIDTH 1u
  7441. #define PIT_TCTRL_CHN(x) (((uint32_t)(((uint32_t)(x))<<PIT_TCTRL_CHN_SHIFT))&PIT_TCTRL_CHN_MASK)
  7442. /* TFLG Bit Fields */
  7443. #define PIT_TFLG_TIF_MASK 0x1u
  7444. #define PIT_TFLG_TIF_SHIFT 0u
  7445. #define PIT_TFLG_TIF_WIDTH 1u
  7446. #define PIT_TFLG_TIF(x) (((uint32_t)(((uint32_t)(x))<<PIT_TFLG_TIF_SHIFT))&PIT_TFLG_TIF_MASK)
  7447. /*!
  7448. * @}
  7449. */ /* end of group PIT_Register_Masks */
  7450. /*!
  7451. * @}
  7452. */ /* end of group PIT_Peripheral_Access_Layer */
  7453. /****************************************************************************/
  7454. /* MODULE : XBAR CrossBar */
  7455. /****************************************************************************/
  7456. struct XBAR_tag {
  7457. union { /* Master Priority Register for Slave Port 0 */
  7458. vuint32_t R;
  7459. struct {
  7460. vuint32_t:1;
  7461. vuint32_t MSTR7:3; /* EBI (development bus) */
  7462. vuint32_t:1;
  7463. vuint32_t MSTR6:3; /* FlexRay */
  7464. vuint32_t:1;
  7465. vuint32_t MSTR5:3; /* eDMA_B */
  7466. vuint32_t:1;
  7467. vuint32_t MSTR4:3; /* eDMA_A */
  7468. vuint32_t:1;
  7469. vuint32_t MSTR3:3; /* e200z7 core 1 Data, and Nexus 3 */
  7470. vuint32_t:1;
  7471. vuint32_t MSTR2:3; /* e200z7 core 1 CPU Instruction */
  7472. vuint32_t:1;
  7473. vuint32_t MSTR1:3; /* e200z7 core 0 Data, and Nexus 3 */
  7474. vuint32_t:1;
  7475. vuint32_t MSTR0:3; /* e200z7 core 0 CPU Instruction */
  7476. } B;
  7477. } MPR0;
  7478. uint32_t XBAR_reserved0004[3]; /* 0x0004-0x000F */
  7479. union { /* General Purpose Control Register for Slave Port 0 */
  7480. vuint32_t R;
  7481. struct {
  7482. vuint32_t RO:1;
  7483. vuint32_t:21;
  7484. vuint32_t ARB:2;
  7485. vuint32_t:2;
  7486. vuint32_t PCTL:2;
  7487. vuint32_t:1;
  7488. vuint32_t PARK:3;
  7489. } B;
  7490. } SGPCR0;
  7491. uint32_t XBAR_reserved0014[59]; /* 0x0014-0x00FF */
  7492. union { /* Master Priority Register for Slave Port 1 */
  7493. vuint32_t R;
  7494. struct {
  7495. vuint32_t:1;
  7496. vuint32_t MSTR7:3; /* EBI (development bus) */
  7497. vuint32_t:1;
  7498. vuint32_t MSTR6:3; /* FlexRay */
  7499. vuint32_t:1;
  7500. vuint32_t MSTR5:3; /* eDMA_B */
  7501. vuint32_t:1;
  7502. vuint32_t MSTR4:3; /* eDMA_A */
  7503. vuint32_t:1;
  7504. vuint32_t MSTR3:3; /* e200z7 core 1 Data, and Nexus 3 */
  7505. vuint32_t:1;
  7506. vuint32_t MSTR2:3; /* e200z7 core 1 CPU Instruction */
  7507. vuint32_t:1;
  7508. vuint32_t MSTR1:3; /* e200z7 core 0 Data, and Nexus 3 */
  7509. vuint32_t:1;
  7510. vuint32_t MSTR0:3; /* e200z7 core 0 CPU Instruction */
  7511. } B;
  7512. } MPR1;
  7513. uint32_t XBAR_reserved0104[3]; /* 0x0104-0x010F */
  7514. union { /* General Purpose Control Register for Slave Port 1 */
  7515. vuint32_t R;
  7516. struct {
  7517. vuint32_t RO:1;
  7518. vuint32_t:21;
  7519. vuint32_t ARB:2;
  7520. vuint32_t:2;
  7521. vuint32_t PCTL:2;
  7522. vuint32_t:1;
  7523. vuint32_t PARK:3;
  7524. } B;
  7525. } SGPCR1;
  7526. uint32_t XBAR_reserved0114[59]; /* 0x0114-0x01FF */
  7527. union { /* Master Priority Register for Slave Port 2 */
  7528. vuint32_t R;
  7529. struct {
  7530. vuint32_t:1;
  7531. vuint32_t MSTR7:3; /* EBI (development bus) */
  7532. vuint32_t:1;
  7533. vuint32_t MSTR6:3; /* FlexRay */
  7534. vuint32_t:1;
  7535. vuint32_t MSTR5:3; /* eDMA_B */
  7536. vuint32_t:1;
  7537. vuint32_t MSTR4:3; /* eDMA_A */
  7538. vuint32_t:1;
  7539. vuint32_t MSTR3:3; /* e200z7 core 1 Data, and Nexus 3 */
  7540. vuint32_t:1;
  7541. vuint32_t MSTR2:3; /* e200z7 core 1 CPU Instruction */
  7542. vuint32_t:1;
  7543. vuint32_t MSTR1:3; /* e200z7 core 0 Data, and Nexus 3 */
  7544. vuint32_t:1;
  7545. vuint32_t MSTR0:3; /* e200z7 core 0 CPU Instruction */
  7546. } B;
  7547. } MPR2;
  7548. uint32_t XBAR_reserved0204[3]; /* 0x0204-0x020F */
  7549. union { /* General Purpose Control Register for Slave Port 2 */
  7550. vuint32_t R;
  7551. struct {
  7552. vuint32_t RO:1;
  7553. vuint32_t:21;
  7554. vuint32_t ARB:2;
  7555. vuint32_t:2;
  7556. vuint32_t PCTL:2;
  7557. vuint32_t:1;
  7558. vuint32_t PARK:3;
  7559. } B;
  7560. } SGPCR2;
  7561. uint32_t XBAR_reserved0214[59]; /* 0x0214-0x02FF */
  7562. union { /* Master Priority Register for Slave Port 3 */
  7563. vuint32_t R;
  7564. struct {
  7565. vuint32_t:1;
  7566. vuint32_t MSTR7:3; /* EBI (development bus) */
  7567. vuint32_t:1;
  7568. vuint32_t MSTR6:3; /* FlexRay */
  7569. vuint32_t:1;
  7570. vuint32_t MSTR5:3; /* eDMA_B */
  7571. vuint32_t:1;
  7572. vuint32_t MSTR4:3; /* eDMA_A */
  7573. vuint32_t:1;
  7574. vuint32_t MSTR3:3; /* e200z7 core 1 Data, and Nexus 3 */
  7575. vuint32_t:1;
  7576. vuint32_t MSTR2:3; /* e200z7 core 1 CPU Instruction */
  7577. vuint32_t:1;
  7578. vuint32_t MSTR1:3; /* e200z7 core 0 Data, and Nexus 3 */
  7579. vuint32_t:1;
  7580. vuint32_t MSTR0:3; /* e200z7 core 0 CPU Instruction */
  7581. } B;
  7582. } MPR3;
  7583. uint32_t XBAR_reserved0304[3]; /* 0x0304-0x030F */
  7584. union { /* General Purpose Control Register for Slave Port 3 */
  7585. vuint32_t R;
  7586. struct {
  7587. vuint32_t RO:1;
  7588. vuint32_t:21;
  7589. vuint32_t ARB:2;
  7590. vuint32_t:2;
  7591. vuint32_t PCTL:2;
  7592. vuint32_t:1;
  7593. vuint32_t PARK:3;
  7594. } B;
  7595. } SGPCR3;
  7596. uint32_t XBAR_reserved0314[59]; /* 0x0314-0x03FF */
  7597. uint32_t XBAR_reserved0400[64]; /* 0x0400-0x04FF */
  7598. uint32_t XBAR_reserved0500[64]; /* 0x0500-0x05FF */
  7599. union { /* Master Priority Register for Slave Port 6 */
  7600. vuint32_t R;
  7601. struct {
  7602. vuint32_t:1;
  7603. vuint32_t MSTR7:3; /* EBI (development bus) */
  7604. vuint32_t:1;
  7605. vuint32_t MSTR6:3; /* FlexRay */
  7606. vuint32_t:1;
  7607. vuint32_t MSTR5:3; /* eDMA_B */
  7608. vuint32_t:1;
  7609. vuint32_t MSTR4:3; /* eDMA_A */
  7610. vuint32_t:1;
  7611. vuint32_t MSTR3:3; /* e200z7 core 1 Data, and Nexus 3 */
  7612. vuint32_t:1;
  7613. vuint32_t MSTR2:3; /* e200z7 core 1 CPU Instruction */
  7614. vuint32_t:1;
  7615. vuint32_t MSTR1:3; /* e200z7 core 0 Data, and Nexus 3 */
  7616. vuint32_t:1;
  7617. vuint32_t MSTR0:3; /* e200z7 core 0 CPU Instruction */
  7618. } B;
  7619. } MPR6;
  7620. uint32_t XBAR_reserved604[3]; /* 0x0604-0x060F */
  7621. union { /* General Purpose Control Register for Slave Port 6 */
  7622. vuint32_t R;
  7623. struct {
  7624. vuint32_t RO:1;
  7625. vuint32_t:21;
  7626. vuint32_t ARB:2;
  7627. vuint32_t:2;
  7628. vuint32_t PCTL:2;
  7629. vuint32_t:1;
  7630. vuint32_t PARK:3;
  7631. } B;
  7632. } SGPCR6;
  7633. uint32_t XBAR_reserved0614[59]; /* 0x0614-0x06FF */
  7634. union { /* Master Priority Register for Slave Port 7 */
  7635. vuint32_t R;
  7636. struct {
  7637. vuint32_t:1;
  7638. vuint32_t MSTR7:3; /* EBI (development bus) */
  7639. vuint32_t:1;
  7640. vuint32_t MSTR6:3; /* FlexRay */
  7641. vuint32_t:1;
  7642. vuint32_t MSTR5:3; /* eDMA_B */
  7643. vuint32_t:1;
  7644. vuint32_t MSTR4:3; /* eDMA_A */
  7645. vuint32_t:1;
  7646. vuint32_t MSTR3:3; /* e200z7 core 1 Data, and Nexus 3 */
  7647. vuint32_t:1;
  7648. vuint32_t MSTR2:3; /* e200z7 core 1 CPU Instruction */
  7649. vuint32_t:1;
  7650. vuint32_t MSTR1:3; /* e200z7 core 0 Data, and Nexus 3 */
  7651. vuint32_t:1;
  7652. vuint32_t MSTR0:3; /* e200z7 core 0 CPU Instruction */
  7653. } B;
  7654. } MPR7;
  7655. uint32_t XBAR_reserved704[3]; /* 0x0704-0x070F */
  7656. union {
  7657. vuint32_t R;
  7658. struct {
  7659. vuint32_t RO:1;
  7660. vuint32_t:21;
  7661. vuint32_t ARB:2;
  7662. vuint32_t:2;
  7663. vuint32_t PCTL:2;
  7664. vuint32_t:1;
  7665. vuint32_t PARK:3;
  7666. } B;
  7667. } SGPCR7; /* General Purpose Control Register for Slave Port 7 */
  7668. uint32_t XBAR_reserved0714[59]; /* 0x0714-0x07FF */
  7669. uint32_t XBAR_reserved0800[3584]; /* 0x0800-0x3FFF */
  7670. };
  7671. /****************************************************************************/
  7672. /* MODULE : MPU */
  7673. /****************************************************************************/
  7674. struct MPU_tag {
  7675. union { /* Module Control/Error Status Register */
  7676. vuint32_t R;
  7677. struct {
  7678. vuint32_t SPERR:8;
  7679. vuint32_t:4;
  7680. vuint32_t HRL:4;
  7681. vuint32_t NSP:4;
  7682. vuint32_t NRGD:4;
  7683. vuint32_t:7;
  7684. vuint32_t VLD:1;
  7685. } B;
  7686. } CESR;
  7687. uint32_t MPU_reserved0004[3]; /* 0x0004-0x000F */
  7688. struct {
  7689. union { /* MPU Error Address Registers */
  7690. vuint32_t R;
  7691. struct {
  7692. vuint32_t EADDR:32;
  7693. } B;
  7694. } EAR;
  7695. union { /* MPU Error Detail Registers */
  7696. vuint32_t R;
  7697. struct {
  7698. vuint32_t EACD:16;
  7699. vuint32_t EPID:8;
  7700. vuint32_t EMN:4;
  7701. vuint32_t EATTR:3;
  7702. vuint32_t ERW:1;
  7703. } B;
  7704. } EDR;
  7705. } PORT[4];
  7706. uint32_t MPU_reserved0030[244]; /* 0x0028-0x03FF */
  7707. struct {
  7708. union { /* Region Descriptor n Word 0 */
  7709. vuint32_t R;
  7710. struct {
  7711. vuint32_t SRTADDR:27;
  7712. vuint32_t:5;
  7713. } B;
  7714. } WORD0;
  7715. union { /* Region Descriptor n Word 1 */
  7716. vuint32_t R;
  7717. struct {
  7718. vuint32_t ENDADDR:27;
  7719. vuint32_t:5;
  7720. } B;
  7721. } WORD1;
  7722. union { /* Region Descriptor n Word 2 */
  7723. vuint32_t R;
  7724. struct {
  7725. vuint32_t M7RE:1; /* Reserved */
  7726. vuint32_t M7WE:1; /* Reserved */
  7727. vuint32_t M6RE:1; /* FlexRay Read Enable */
  7728. vuint32_t M6WE:1; /* FlexRay Write Enable */
  7729. vuint32_t M5RE:1; /* eDMA_B Read Enable */
  7730. vuint32_t M5WE:1; /* eDMA_B Write Enable */
  7731. vuint32_t M4RE:1; /* eDMA_A Read Enable */
  7732. vuint32_t M4WE:1; /* eDMA_A Write Enable */
  7733. vuint32_t M3PE:1; /* Reserved */
  7734. vuint32_t M3SM:2; /* Reserved */
  7735. vuint32_t M3UM:3; /* Reserved */
  7736. vuint32_t M2PE:1; /* Reserved */
  7737. vuint32_t M2SM:2; /* Reserved */
  7738. vuint32_t M2UM:3; /* Reserved */
  7739. vuint32_t M1PE:1; /* Core 1 PID Enable */
  7740. vuint32_t M1SM:2; /* Core 1 Supervisor Mode Access */
  7741. vuint32_t M1UM:3; /* Core 1 User Mode Access */
  7742. vuint32_t M0PE:1; /* Core 0 PID Enable */
  7743. vuint32_t M0SM:2; /* Core 0 Supervisor Mode Access */
  7744. vuint32_t M0UM:3; /* Core 0 User Mode Access */
  7745. } B;
  7746. } WORD2;
  7747. union { /* Region Descriptor n Word 3 */
  7748. vuint32_t R;
  7749. struct {
  7750. vuint32_t PID:8;
  7751. vuint32_t PIDMASK:8;
  7752. vuint32_t:15;
  7753. vuint32_t VLD:1;
  7754. } B;
  7755. } WORD3;
  7756. } RGD[16];
  7757. uint32_t MPU_reserved0500[192]; /* 0x0500-0x07FF */
  7758. union { /* Region Descriptor Alternate Access Control n */
  7759. vuint32_t R;
  7760. struct {
  7761. vuint32_t M7RE:1; /* Reserved */
  7762. vuint32_t M7WE:1; /* Reserved */
  7763. vuint32_t M6RE:1; /* FlexRay Read Enable */
  7764. vuint32_t M6WE:1; /* FlexRay Write Enable */
  7765. vuint32_t M5RE:1; /* eDMA_B Read Enable */
  7766. vuint32_t M5WE:1; /* eDMA_B Write Enable */
  7767. vuint32_t M4RE:1; /* eDMA_A Read Enable */
  7768. vuint32_t M4WE:1; /* eDMA_A Write Enable */
  7769. vuint32_t M3PE:1; /* Reserved */
  7770. vuint32_t M3SM:2; /* Reserved */
  7771. vuint32_t M3UM:3; /* Reserved */
  7772. vuint32_t M2PE:1; /* Reserved */
  7773. vuint32_t M2SM:2; /* Reserved */
  7774. vuint32_t M2UM:3; /* Reserved */
  7775. vuint32_t M1PE:1; /* Core 1 PID Enable */
  7776. vuint32_t M1SM:2; /* Core 1 Supervisor Mode Access */
  7777. vuint32_t M1UM:3; /* Core 1 User Mode Access */
  7778. vuint32_t M0PE:1; /* Core 0 PID Enable */
  7779. vuint32_t M0SM:2; /* Core 0 Supervisor Mode Access */
  7780. vuint32_t M0UM:3; /* Core 0 User Mode Access */
  7781. } B;
  7782. } RGDAAC[16];
  7783. uint32_t MPU_reserved0840[3568]; /* 0x0840-0x3FFF */
  7784. };
  7785. /****************************************************************************/
  7786. /* MODULE : SWT */
  7787. /****************************************************************************/
  7788. struct SWT_tag {
  7789. union { /* Module Configuration Register */
  7790. vuint32_t R;
  7791. struct {
  7792. vuint32_t MAP0:1;
  7793. vuint32_t MAP1:1;
  7794. vuint32_t:1;
  7795. vuint32_t:1;
  7796. vuint32_t MAP4:1;
  7797. vuint32_t MAP5:1;
  7798. vuint32_t MAP6:1;
  7799. vuint32_t MAP7:1;
  7800. vuint32_t:14;
  7801. vuint32_t KEY:1;
  7802. vuint32_t RIA:1;
  7803. vuint32_t WND:1;
  7804. vuint32_t ITR:1;
  7805. vuint32_t HLK:1;
  7806. vuint32_t SLK:1;
  7807. vuint32_t CSL:1;
  7808. vuint32_t STP:1;
  7809. vuint32_t FRZ:1;
  7810. vuint32_t WEN:1;
  7811. } B;
  7812. } MCR;
  7813. union { /* Interrupt register */
  7814. vuint32_t R;
  7815. struct {
  7816. vuint32_t :31;
  7817. vuint32_t TIF:1;
  7818. } B;
  7819. } IR;
  7820. union { /* Timeout register */
  7821. vuint32_t R;
  7822. struct {
  7823. vuint32_t WTO:32;
  7824. } B;
  7825. } TO;
  7826. union { /* Window register */
  7827. vuint32_t R;
  7828. struct {
  7829. vuint32_t WST:32;
  7830. } B;
  7831. } WN;
  7832. union { /* Service register */
  7833. vuint32_t R;
  7834. struct {
  7835. vuint32_t :16;
  7836. vuint32_t WSC:16;
  7837. } B;
  7838. } SR;
  7839. union { /* Counter output register */
  7840. vuint32_t R;
  7841. struct {
  7842. vuint32_t CNT:32;
  7843. } B;
  7844. } CO;
  7845. union { /* Service key register */
  7846. vuint32_t R;
  7847. struct {
  7848. vuint32_t :16;
  7849. vuint32_t SK:16;
  7850. } B;
  7851. } SK;
  7852. uint32_t SWT_reserved001C[4089]; /* 0x001C-0x3FFF */
  7853. };
  7854. /****************************************************************************/
  7855. /* MODULE : STM */
  7856. /****************************************************************************/
  7857. struct STM_tag {
  7858. union { /* Control Register */
  7859. vuint32_t R;
  7860. struct {
  7861. vuint32_t :16;
  7862. vuint32_t CPS:8;
  7863. vuint32_t :6;
  7864. vuint32_t FRZ:1;
  7865. vuint32_t TEN:1;
  7866. } B;
  7867. } CR;
  7868. union { /* STM Counter */
  7869. vuint32_t R;
  7870. } CNT;
  7871. uint32_t STM_reserved0008[2]; /* 0x0008-0x000F */
  7872. /* channel 0 registers */
  7873. union {
  7874. vuint32_t R;
  7875. struct {
  7876. vuint32_t :31;
  7877. vuint32_t CEN:1;
  7878. } B;
  7879. } CCR0; /* Chan 0 Control Register */
  7880. union {
  7881. vuint32_t R;
  7882. struct {
  7883. vuint32_t :31;
  7884. vuint32_t CIF:1;
  7885. } B;
  7886. } CIR0; /* Chan 0 Interrupt Register */
  7887. union {
  7888. vuint32_t R;
  7889. } CMP0; /* Chan 0 Compare Register */
  7890. uint32_t STM_reserved2[1];
  7891. /* channel 1 registers */
  7892. union {
  7893. vuint32_t R;
  7894. struct {
  7895. vuint32_t :31;
  7896. vuint32_t CEN:1;
  7897. } B;
  7898. } CCR1; /* Chan 1 Control Register */
  7899. union {
  7900. vuint32_t R;
  7901. struct {
  7902. vuint32_t :31;
  7903. vuint32_t CIF:1;
  7904. } B;
  7905. } CIR1; /* Chan 1 Interrupt Register */
  7906. union {
  7907. vuint32_t R;
  7908. } CMP1; /* Chan 1 Compare Register */
  7909. uint32_t STM_reserved3[1];
  7910. /* channel 2 registers */
  7911. union {
  7912. vuint32_t R;
  7913. struct {
  7914. vuint32_t :31;
  7915. vuint32_t CEN:1;
  7916. } B;
  7917. } CCR2; /* Chan 2 Control Register */
  7918. union {
  7919. vuint32_t R;
  7920. struct {
  7921. vuint32_t :31;
  7922. vuint32_t CIF:1;
  7923. } B;
  7924. } CIR2; /* Chan 2 Interrupt Register */
  7925. union {
  7926. vuint32_t R;
  7927. } CMP2; /* Chan 2 Compare Register */
  7928. uint32_t STM_reserved4[1];
  7929. /* channel 3 registers */
  7930. union {
  7931. vuint32_t R;
  7932. struct {
  7933. vuint32_t :31;
  7934. vuint32_t CEN:1;
  7935. } B;
  7936. } CCR3; /* Chan 3 Control Register */
  7937. union {
  7938. vuint32_t R;
  7939. struct {
  7940. vuint32_t :31;
  7941. vuint32_t CIF:1;
  7942. } B;
  7943. } CIR3; /* Chan 3 Interrupt Register */
  7944. union {
  7945. vuint32_t R;
  7946. } CMP3; /* Chan 3 Compare Register */
  7947. uint32_t STM_reserved0050[4076]; /* 0x0050-0x3FFF */
  7948. };
  7949. /****************************************************************************/
  7950. /* MODULE : ECSM */
  7951. /****************************************************************************/
  7952. struct ECSM_tag {
  7953. union { /* Processor core type */
  7954. vuint16_t R;
  7955. } PCT;
  7956. union { /* Platform revision */
  7957. vuint16_t R;
  7958. } REV;
  7959. uint32_t ECSM_reserved0004; /* 0x0004-0x0007 */
  7960. union { /* IPS Module Configuration */
  7961. vuint32_t R;
  7962. } IMC;
  7963. uint8_t ECSM_reserved000C[3]; /* 0x000C-0x000E */
  7964. union { /* Miscellaneous Reset Status Register */
  7965. vuint8_t R;
  7966. struct {
  7967. vuint8_t POR:1;
  7968. vuint8_t DIR:1;
  7969. vuint8_t SWTR:1;
  7970. vuint8_t:5;
  7971. } B;
  7972. } MRSR;
  7973. uint8_t ECSM_reserved0010[51]; /* 0x0010-0x0042 */
  7974. union { /* ECC Configuration Register */
  7975. vuint8_t R;
  7976. struct {
  7977. vuint8_t:2;
  7978. vuint8_t ER1BR:1;
  7979. vuint8_t EF1BR:1;
  7980. vuint8_t:2;
  7981. vuint8_t ERNCR:1;
  7982. vuint8_t EFNCR:1;
  7983. } B;
  7984. } ECR;
  7985. uint8_t ECSM_reserved0044[3]; /* 0x0044-0x0046 */
  7986. union { /* ECC Status Register */
  7987. vuint8_t R;
  7988. struct {
  7989. vuint8_t:2;
  7990. vuint8_t R1BC:1;
  7991. vuint8_t F1BC:1;
  7992. vuint8_t:2;
  7993. vuint8_t RNCE:1;
  7994. vuint8_t FNCE:1;
  7995. } B;
  7996. } ESR;
  7997. uint16_t ECSM_reserved0048; /* 0x0048-0x0049 */
  7998. union { /* ECC Error Generation Register */
  7999. vuint16_t R;
  8000. struct {
  8001. vuint16_t:2;
  8002. vuint16_t FRC1BI:1;
  8003. vuint16_t FR11BI:1;
  8004. vuint16_t:2;
  8005. vuint16_t FRCNCI:1;
  8006. vuint16_t FR1NCI:1;
  8007. vuint16_t:1;
  8008. vuint16_t ERRBIT:7;
  8009. } B;
  8010. } EEGR;
  8011. uint32_t ECSM_reserved004C; /* 0x004C-0x004F */
  8012. union { /* Flash ECC Address Register */
  8013. vuint32_t R;
  8014. struct {
  8015. vuint32_t FEAR:32;
  8016. } B;
  8017. } FEAR;
  8018. uint16_t ECSM_reserved0054; /* 0x0054-0x0055 */
  8019. union { /* Flash ECC Master Number Register */
  8020. vuint8_t R;
  8021. struct {
  8022. vuint8_t:4;
  8023. vuint8_t FEMR:4;
  8024. } B;
  8025. } FEMR;
  8026. union { /* Flash ECC Attributes Register */
  8027. vuint8_t R;
  8028. struct {
  8029. vuint8_t WRITE:1;
  8030. vuint8_t SIZE:3;
  8031. vuint8_t PROT0:1;
  8032. vuint8_t PROT1:1;
  8033. vuint8_t PROT2:1;
  8034. vuint8_t PROT3:1;
  8035. } B;
  8036. } FEAT;
  8037. union { /* Flash ECC Data Register High */
  8038. vuint32_t R;
  8039. struct {
  8040. vuint32_t FEDH:32;
  8041. } B;
  8042. } FEDRH;
  8043. union { /* Flash ECC Data Register Low */
  8044. vuint32_t R;
  8045. struct {
  8046. vuint32_t FEDL:32;
  8047. } B;
  8048. } FEDRL;
  8049. union { /* RAM ECC Address Register */
  8050. vuint32_t R;
  8051. struct {
  8052. vuint32_t REAR:32;
  8053. } B;
  8054. } REAR;
  8055. uint8_t ECSM_reserved0064; /* 0x0064 */
  8056. union { /* RAM ECC Syndrome Register */
  8057. vuint8_t R;
  8058. struct {
  8059. vuint8_t RESR:8;
  8060. } B;
  8061. } RESR;
  8062. union { /* RAM ECC Master Number Register */
  8063. vuint8_t R;
  8064. struct {
  8065. vuint8_t:4;
  8066. vuint8_t REMR:4;
  8067. } B;
  8068. } REMR;
  8069. union { /* RAM ECC Attributes Register */
  8070. vuint8_t R;
  8071. struct {
  8072. vuint8_t WRITE:1;
  8073. vuint8_t SIZE:3;
  8074. vuint8_t PROT0:1;
  8075. vuint8_t PROT1:1;
  8076. vuint8_t PROT2:1;
  8077. vuint8_t PROT3:1;
  8078. } B;
  8079. } REAT;
  8080. union { /* RAM ECC Data Register */
  8081. vuint32_t R;
  8082. struct {
  8083. vuint32_t REDH:32;
  8084. } B;
  8085. } REDRH;
  8086. union { /* RAM ECC Data Register */
  8087. vuint32_t R;
  8088. struct {
  8089. vuint32_t REDL:32;
  8090. } B;
  8091. } REDRL;
  8092. uint32_t ECSM_reserved0070[4068]; /* 0x0070-0x3FFF */
  8093. };
  8094. /****************************************************************************/
  8095. /* MODULE : eDMA */
  8096. /****************************************************************************/
  8097. struct EDMA_tag {
  8098. union { /* Control Register */
  8099. vuint32_t R;
  8100. struct {
  8101. vuint32_t:14;
  8102. vuint32_t CX:1; /* Legacy name. CXFR in reference manual */
  8103. vuint32_t ECX:1;
  8104. vuint32_t GRP3PRI:2;
  8105. vuint32_t GRP2PRI:2;
  8106. vuint32_t GRP1PRI:2;
  8107. vuint32_t GRP0PRI:2;
  8108. vuint32_t EMLM:1;
  8109. vuint32_t CLM:1;
  8110. vuint32_t HALT:1;
  8111. vuint32_t HOE:1;
  8112. vuint32_t ERGA:1;
  8113. vuint32_t ERCA:1;
  8114. vuint32_t EDBG:1;
  8115. vuint32_t:1;
  8116. } B;
  8117. } CR; /* Legacy naming - refer to MCR in Reference Manual */
  8118. union { /* Error Status Register */
  8119. vuint32_t R;
  8120. struct {
  8121. vuint32_t VLD:1;
  8122. vuint32_t:14;
  8123. vuint32_t ECX:1;
  8124. vuint32_t GPE:1;
  8125. vuint32_t CPE:1;
  8126. vuint32_t ERRCHN:6;
  8127. vuint32_t SAE:1;
  8128. vuint32_t SOE:1;
  8129. vuint32_t DAE:1;
  8130. vuint32_t DOE:1;
  8131. vuint32_t NCE:1;
  8132. vuint32_t SGE:1;
  8133. vuint32_t SBE:1;
  8134. vuint32_t DBE:1;
  8135. } B;
  8136. } ESR;
  8137. union { /* DMA Enable Request Register High */
  8138. vuint32_t R;
  8139. struct {
  8140. vuint32_t ERQ63:1;
  8141. vuint32_t ERQ62:1;
  8142. vuint32_t ERQ61:1;
  8143. vuint32_t ERQ60:1;
  8144. vuint32_t ERQ59:1;
  8145. vuint32_t ERQ58:1;
  8146. vuint32_t ERQ57:1;
  8147. vuint32_t ERQ56:1;
  8148. vuint32_t ERQ55:1;
  8149. vuint32_t ERQ54:1;
  8150. vuint32_t ERQ53:1;
  8151. vuint32_t ERQ52:1;
  8152. vuint32_t ERQ51:1;
  8153. vuint32_t ERQ50:1;
  8154. vuint32_t ERQ49:1;
  8155. vuint32_t ERQ48:1;
  8156. vuint32_t ERQ47:1;
  8157. vuint32_t ERQ46:1;
  8158. vuint32_t ERQ45:1;
  8159. vuint32_t ERQ44:1;
  8160. vuint32_t ERQ43:1;
  8161. vuint32_t ERQ42:1;
  8162. vuint32_t ERQ41:1;
  8163. vuint32_t ERQ40:1;
  8164. vuint32_t ERQ39:1;
  8165. vuint32_t ERQ38:1;
  8166. vuint32_t ERQ37:1;
  8167. vuint32_t ERQ36:1;
  8168. vuint32_t ERQ35:1;
  8169. vuint32_t ERQ34:1;
  8170. vuint32_t ERQ33:1;
  8171. vuint32_t ERQ32:1;
  8172. } B;
  8173. } ERQRH;
  8174. union { /* DMA Enable Request Register Low */
  8175. vuint32_t R;
  8176. struct {
  8177. vuint32_t ERQ31:1;
  8178. vuint32_t ERQ30:1;
  8179. vuint32_t ERQ29:1;
  8180. vuint32_t ERQ28:1;
  8181. vuint32_t ERQ27:1;
  8182. vuint32_t ERQ26:1;
  8183. vuint32_t ERQ25:1;
  8184. vuint32_t ERQ24:1;
  8185. vuint32_t ERQ23:1;
  8186. vuint32_t ERQ22:1;
  8187. vuint32_t ERQ21:1;
  8188. vuint32_t ERQ20:1;
  8189. vuint32_t ERQ19:1;
  8190. vuint32_t ERQ18:1;
  8191. vuint32_t ERQ17:1;
  8192. vuint32_t ERQ16:1;
  8193. vuint32_t ERQ15:1;
  8194. vuint32_t ERQ14:1;
  8195. vuint32_t ERQ13:1;
  8196. vuint32_t ERQ12:1;
  8197. vuint32_t ERQ11:1;
  8198. vuint32_t ERQ10:1;
  8199. vuint32_t ERQ09:1;
  8200. vuint32_t ERQ08:1;
  8201. vuint32_t ERQ07:1;
  8202. vuint32_t ERQ06:1;
  8203. vuint32_t ERQ05:1;
  8204. vuint32_t ERQ04:1;
  8205. vuint32_t ERQ03:1;
  8206. vuint32_t ERQ02:1;
  8207. vuint32_t ERQ01:1;
  8208. vuint32_t ERQ00:1;
  8209. } B;
  8210. } ERQRL;
  8211. union { /* DMA Enable Error Interrupt Register High */
  8212. vuint32_t R;
  8213. struct {
  8214. vuint32_t EEI63:1;
  8215. vuint32_t EEI62:1;
  8216. vuint32_t EEI61:1;
  8217. vuint32_t EEI60:1;
  8218. vuint32_t EEI59:1;
  8219. vuint32_t EEI58:1;
  8220. vuint32_t EEI57:1;
  8221. vuint32_t EEI56:1;
  8222. vuint32_t EEI55:1;
  8223. vuint32_t EEI54:1;
  8224. vuint32_t EEI53:1;
  8225. vuint32_t EEI52:1;
  8226. vuint32_t EEI51:1;
  8227. vuint32_t EEI50:1;
  8228. vuint32_t EEI49:1;
  8229. vuint32_t EEI48:1;
  8230. vuint32_t EEI47:1;
  8231. vuint32_t EEI46:1;
  8232. vuint32_t EEI45:1;
  8233. vuint32_t EEI44:1;
  8234. vuint32_t EEI43:1;
  8235. vuint32_t EEI42:1;
  8236. vuint32_t EEI41:1;
  8237. vuint32_t EEI40:1;
  8238. vuint32_t EEI39:1;
  8239. vuint32_t EEI38:1;
  8240. vuint32_t EEI37:1;
  8241. vuint32_t EEI36:1;
  8242. vuint32_t EEI35:1;
  8243. vuint32_t EEI34:1;
  8244. vuint32_t EEI33:1;
  8245. vuint32_t EEI32:1;
  8246. } B;
  8247. } EEIRH;
  8248. union { /* DMA Enable Error Interrupt Register Low */
  8249. vuint32_t R;
  8250. struct {
  8251. vuint32_t EEI31:1;
  8252. vuint32_t EEI30:1;
  8253. vuint32_t EEI29:1;
  8254. vuint32_t EEI28:1;
  8255. vuint32_t EEI27:1;
  8256. vuint32_t EEI26:1;
  8257. vuint32_t EEI25:1;
  8258. vuint32_t EEI24:1;
  8259. vuint32_t EEI23:1;
  8260. vuint32_t EEI22:1;
  8261. vuint32_t EEI21:1;
  8262. vuint32_t EEI20:1;
  8263. vuint32_t EEI19:1;
  8264. vuint32_t EEI18:1;
  8265. vuint32_t EEI17:1;
  8266. vuint32_t EEI16:1;
  8267. vuint32_t EEI15:1;
  8268. vuint32_t EEI14:1;
  8269. vuint32_t EEI13:1;
  8270. vuint32_t EEI12:1;
  8271. vuint32_t EEI11:1;
  8272. vuint32_t EEI10:1;
  8273. vuint32_t EEI09:1;
  8274. vuint32_t EEI08:1;
  8275. vuint32_t EEI07:1;
  8276. vuint32_t EEI06:1;
  8277. vuint32_t EEI05:1;
  8278. vuint32_t EEI04:1;
  8279. vuint32_t EEI03:1;
  8280. vuint32_t EEI02:1;
  8281. vuint32_t EEI01:1;
  8282. vuint32_t EEI00:1;
  8283. } B;
  8284. } EEIRL;
  8285. union { /* DMA Set Enable Request Register */
  8286. vuint8_t R;
  8287. struct {
  8288. vuint8_t NOP:1;
  8289. vuint8_t SERQ:7;
  8290. } B;
  8291. } SERQR;
  8292. union { /* DMA Clear Enable Request Register */
  8293. vuint8_t R;
  8294. struct {
  8295. vuint8_t NOP:1;
  8296. vuint8_t CERQ:7;
  8297. } B;
  8298. } CERQR;
  8299. union { /* DMA Set Enable Error Interrupt Register */
  8300. vuint8_t R;
  8301. struct {
  8302. vuint8_t NOP:1;
  8303. vuint8_t SEEI:7;
  8304. } B;
  8305. } SEEIR;
  8306. union { /* DMA Clear Enable Error Interrupt Register */
  8307. vuint8_t R;
  8308. struct {
  8309. vuint8_t NOP:1;
  8310. vuint8_t CEEI:7;
  8311. } B;
  8312. } CEEIR;
  8313. union { /* DMA Clear Interrupt Request Register */
  8314. vuint8_t R;
  8315. struct {
  8316. vuint8_t NOP:1;
  8317. vuint8_t CINT:7;
  8318. } B;
  8319. } CIRQR;
  8320. union { /* DMA Clear error Register */
  8321. vuint8_t R;
  8322. struct {
  8323. vuint8_t NOP:1;
  8324. vuint8_t CERR:7;
  8325. } B;
  8326. } CER;
  8327. union { /* Set Start Bit Register */
  8328. vuint8_t R;
  8329. struct {
  8330. vuint8_t NOP:1;
  8331. vuint8_t SSB:7;
  8332. } B;
  8333. } SSBR;
  8334. union { /* Clear Done Status Bit Register */
  8335. vuint8_t R;
  8336. struct {
  8337. vuint8_t NOP:1;
  8338. vuint8_t CDSB:7;
  8339. } B;
  8340. } CDSBR;
  8341. union { /* DMA Interrupt Request High */
  8342. vuint32_t R;
  8343. struct {
  8344. vuint32_t INT63:1;
  8345. vuint32_t INT62:1;
  8346. vuint32_t INT61:1;
  8347. vuint32_t INT60:1;
  8348. vuint32_t INT59:1;
  8349. vuint32_t INT58:1;
  8350. vuint32_t INT57:1;
  8351. vuint32_t INT56:1;
  8352. vuint32_t INT55:1;
  8353. vuint32_t INT54:1;
  8354. vuint32_t INT53:1;
  8355. vuint32_t INT52:1;
  8356. vuint32_t INT51:1;
  8357. vuint32_t INT50:1;
  8358. vuint32_t INT49:1;
  8359. vuint32_t INT48:1;
  8360. vuint32_t INT47:1;
  8361. vuint32_t INT46:1;
  8362. vuint32_t INT45:1;
  8363. vuint32_t INT44:1;
  8364. vuint32_t INT43:1;
  8365. vuint32_t INT42:1;
  8366. vuint32_t INT41:1;
  8367. vuint32_t INT40:1;
  8368. vuint32_t INT39:1;
  8369. vuint32_t INT38:1;
  8370. vuint32_t INT37:1;
  8371. vuint32_t INT36:1;
  8372. vuint32_t INT35:1;
  8373. vuint32_t INT34:1;
  8374. vuint32_t INT33:1;
  8375. vuint32_t INT32:1;
  8376. } B;
  8377. } IRQRH;
  8378. union { /* DMA Interrupt Request Low */
  8379. vuint32_t R;
  8380. struct {
  8381. vuint32_t INT31:1;
  8382. vuint32_t INT30:1;
  8383. vuint32_t INT29:1;
  8384. vuint32_t INT28:1;
  8385. vuint32_t INT27:1;
  8386. vuint32_t INT26:1;
  8387. vuint32_t INT25:1;
  8388. vuint32_t INT24:1;
  8389. vuint32_t INT23:1;
  8390. vuint32_t INT22:1;
  8391. vuint32_t INT21:1;
  8392. vuint32_t INT20:1;
  8393. vuint32_t INT19:1;
  8394. vuint32_t INT18:1;
  8395. vuint32_t INT17:1;
  8396. vuint32_t INT16:1;
  8397. vuint32_t INT15:1;
  8398. vuint32_t INT14:1;
  8399. vuint32_t INT13:1;
  8400. vuint32_t INT12:1;
  8401. vuint32_t INT11:1;
  8402. vuint32_t INT10:1;
  8403. vuint32_t INT09:1;
  8404. vuint32_t INT08:1;
  8405. vuint32_t INT07:1;
  8406. vuint32_t INT06:1;
  8407. vuint32_t INT05:1;
  8408. vuint32_t INT04:1;
  8409. vuint32_t INT03:1;
  8410. vuint32_t INT02:1;
  8411. vuint32_t INT01:1;
  8412. vuint32_t INT00:1;
  8413. } B;
  8414. } IRQRL;
  8415. union { /* DMA Error High */
  8416. vuint32_t R;
  8417. struct {
  8418. vuint32_t ERR63:1;
  8419. vuint32_t ERR62:1;
  8420. vuint32_t ERR61:1;
  8421. vuint32_t ERR60:1;
  8422. vuint32_t ERR59:1;
  8423. vuint32_t ERR58:1;
  8424. vuint32_t ERR57:1;
  8425. vuint32_t ERR56:1;
  8426. vuint32_t ERR55:1;
  8427. vuint32_t ERR54:1;
  8428. vuint32_t ERR53:1;
  8429. vuint32_t ERR52:1;
  8430. vuint32_t ERR51:1;
  8431. vuint32_t ERR50:1;
  8432. vuint32_t ERR49:1;
  8433. vuint32_t ERR48:1;
  8434. vuint32_t ERR47:1;
  8435. vuint32_t ERR46:1;
  8436. vuint32_t ERR45:1;
  8437. vuint32_t ERR44:1;
  8438. vuint32_t ERR43:1;
  8439. vuint32_t ERR42:1;
  8440. vuint32_t ERR41:1;
  8441. vuint32_t ERR40:1;
  8442. vuint32_t ERR39:1;
  8443. vuint32_t ERR38:1;
  8444. vuint32_t ERR37:1;
  8445. vuint32_t ERR36:1;
  8446. vuint32_t ERR35:1;
  8447. vuint32_t ERR34:1;
  8448. vuint32_t ERR33:1;
  8449. vuint32_t ERR32:1;
  8450. } B;
  8451. } ERH;
  8452. union { /* DMA Error Low */
  8453. vuint32_t R;
  8454. struct {
  8455. vuint32_t ERR31:1;
  8456. vuint32_t ERR30:1;
  8457. vuint32_t ERR29:1;
  8458. vuint32_t ERR28:1;
  8459. vuint32_t ERR27:1;
  8460. vuint32_t ERR26:1;
  8461. vuint32_t ERR25:1;
  8462. vuint32_t ERR24:1;
  8463. vuint32_t ERR23:1;
  8464. vuint32_t ERR22:1;
  8465. vuint32_t ERR21:1;
  8466. vuint32_t ERR20:1;
  8467. vuint32_t ERR19:1;
  8468. vuint32_t ERR18:1;
  8469. vuint32_t ERR17:1;
  8470. vuint32_t ERR16:1;
  8471. vuint32_t ERR15:1;
  8472. vuint32_t ERR14:1;
  8473. vuint32_t ERR13:1;
  8474. vuint32_t ERR12:1;
  8475. vuint32_t ERR11:1;
  8476. vuint32_t ERR10:1;
  8477. vuint32_t ERR09:1;
  8478. vuint32_t ERR08:1;
  8479. vuint32_t ERR07:1;
  8480. vuint32_t ERR06:1;
  8481. vuint32_t ERR05:1;
  8482. vuint32_t ERR04:1;
  8483. vuint32_t ERR03:1;
  8484. vuint32_t ERR02:1;
  8485. vuint32_t ERR01:1;
  8486. vuint32_t ERR00:1;
  8487. } B;
  8488. } ERL;
  8489. union { /* hardware request status high */
  8490. vuint32_t R;
  8491. struct {
  8492. vuint32_t HRS63:1;
  8493. vuint32_t HRS62:1;
  8494. vuint32_t HRS61:1;
  8495. vuint32_t HRS60:1;
  8496. vuint32_t HRS59:1;
  8497. vuint32_t HRS58:1;
  8498. vuint32_t HRS57:1;
  8499. vuint32_t HRS56:1;
  8500. vuint32_t HRS55:1;
  8501. vuint32_t HRS54:1;
  8502. vuint32_t HRS53:1;
  8503. vuint32_t HRS52:1;
  8504. vuint32_t HRS51:1;
  8505. vuint32_t HRS50:1;
  8506. vuint32_t HRS49:1;
  8507. vuint32_t HRS48:1;
  8508. vuint32_t HRS47:1;
  8509. vuint32_t HRS46:1;
  8510. vuint32_t HRS45:1;
  8511. vuint32_t HRS44:1;
  8512. vuint32_t HRS43:1;
  8513. vuint32_t HRS42:1;
  8514. vuint32_t HRS41:1;
  8515. vuint32_t HRS40:1;
  8516. vuint32_t HRS39:1;
  8517. vuint32_t HRS38:1;
  8518. vuint32_t HRS37:1;
  8519. vuint32_t HRS36:1;
  8520. vuint32_t HRS35:1;
  8521. vuint32_t HRS34:1;
  8522. vuint32_t HRS33:1;
  8523. vuint32_t HRS32:1;
  8524. } B;
  8525. } HRSH;
  8526. union { /* hardware request status low */
  8527. vuint32_t R;
  8528. struct {
  8529. vuint32_t HRS31:1;
  8530. vuint32_t HRS30:1;
  8531. vuint32_t HRS29:1;
  8532. vuint32_t HRS28:1;
  8533. vuint32_t HRS27:1;
  8534. vuint32_t HRS26:1;
  8535. vuint32_t HRS25:1;
  8536. vuint32_t HRS24:1;
  8537. vuint32_t HRS23:1;
  8538. vuint32_t HRS22:1;
  8539. vuint32_t HRS21:1;
  8540. vuint32_t HRS20:1;
  8541. vuint32_t HRS19:1;
  8542. vuint32_t HRS18:1;
  8543. vuint32_t HRS17:1;
  8544. vuint32_t HRS16:1;
  8545. vuint32_t HRS15:1;
  8546. vuint32_t HRS14:1;
  8547. vuint32_t HRS13:1;
  8548. vuint32_t HRS12:1;
  8549. vuint32_t HRS11:1;
  8550. vuint32_t HRS10:1;
  8551. vuint32_t HRS09:1;
  8552. vuint32_t HRS08:1;
  8553. vuint32_t HRS07:1;
  8554. vuint32_t HRS06:1;
  8555. vuint32_t HRS05:1;
  8556. vuint32_t HRS04:1;
  8557. vuint32_t HRS03:1;
  8558. vuint32_t HRS02:1;
  8559. vuint32_t HRS01:1;
  8560. vuint32_t HRS00:1;
  8561. } B;
  8562. } HRSL;
  8563. union { /* Global Write Register High */
  8564. vuint32_t R;
  8565. struct {
  8566. vuint32_t GWEN63:1;
  8567. vuint32_t GWEN62:1;
  8568. vuint32_t GWEN61:1;
  8569. vuint32_t GWEN60:1;
  8570. vuint32_t GWEN59:1;
  8571. vuint32_t GWEN58:1;
  8572. vuint32_t GWEN57:1;
  8573. vuint32_t GWEN56:1;
  8574. vuint32_t GWEN55:1;
  8575. vuint32_t GWEN54:1;
  8576. vuint32_t GWEN53:1;
  8577. vuint32_t GWEN52:1;
  8578. vuint32_t GWEN51:1;
  8579. vuint32_t GWEN50:1;
  8580. vuint32_t GWEN49:1;
  8581. vuint32_t GWEN48:1;
  8582. vuint32_t GWEN47:1;
  8583. vuint32_t GWEN46:1;
  8584. vuint32_t GWEN45:1;
  8585. vuint32_t GWEN44:1;
  8586. vuint32_t GWEN43:1;
  8587. vuint32_t GWEN42:1;
  8588. vuint32_t GWEN41:1;
  8589. vuint32_t GWEN40:1;
  8590. vuint32_t GWEN39:1;
  8591. vuint32_t GWEN38:1;
  8592. vuint32_t GWEN37:1;
  8593. vuint32_t GWEN36:1;
  8594. vuint32_t GWEN35:1;
  8595. vuint32_t GWEN34:1;
  8596. vuint32_t GWEN33:1;
  8597. vuint32_t GWEN32:1;
  8598. } B;
  8599. } GWRH;
  8600. union { /* hardware request status low */
  8601. vuint32_t R;
  8602. struct {
  8603. vuint32_t GWEN31:1;
  8604. vuint32_t GWEN30:1;
  8605. vuint32_t GWEN29:1;
  8606. vuint32_t GWEN28:1;
  8607. vuint32_t GWEN27:1;
  8608. vuint32_t GWEN26:1;
  8609. vuint32_t GWEN25:1;
  8610. vuint32_t GWEN24:1;
  8611. vuint32_t GWEN23:1;
  8612. vuint32_t GWEN22:1;
  8613. vuint32_t GWEN21:1;
  8614. vuint32_t GWEN20:1;
  8615. vuint32_t GWEN19:1;
  8616. vuint32_t GWEN18:1;
  8617. vuint32_t GWEN17:1;
  8618. vuint32_t GWEN16:1;
  8619. vuint32_t GWEN15:1;
  8620. vuint32_t GWEN14:1;
  8621. vuint32_t GWEN13:1;
  8622. vuint32_t GWEN12:1;
  8623. vuint32_t GWEN11:1;
  8624. vuint32_t GWEN10:1;
  8625. vuint32_t GWEN09:1;
  8626. vuint32_t GWEN08:1;
  8627. vuint32_t GWEN07:1;
  8628. vuint32_t GWEN06:1;
  8629. vuint32_t GWEN05:1;
  8630. vuint32_t GWEN04:1;
  8631. vuint32_t GWEN03:1;
  8632. vuint32_t GWEN02:1;
  8633. vuint32_t GWEN01:1;
  8634. vuint32_t GWEN00:1;
  8635. } B;
  8636. } GWRL;
  8637. uint32_t eDMA_reserved0040[48]; /* 0x0040-0x00FF */
  8638. union { /* Channel n Priority */
  8639. vuint8_t R;
  8640. struct {
  8641. vuint8_t ECP:1;
  8642. vuint8_t DPA:1;
  8643. vuint8_t GRPPRI:2;
  8644. vuint8_t CHPRI:4;
  8645. } B;
  8646. } CPR[64];
  8647. uint32_t eDMA_reserved0140[944]; /* 0x0140-0x0FFF */
  8648. /****************************************************************************/
  8649. /* DMA2 Transfer Control Descriptor */
  8650. /****************************************************************************/
  8651. struct tcd_t { /* for "standard" format TCDs (when EDMA.TCD[x].CITER.E_LINK==BITER.E_LINK=0 && EDMA.EMLM=0 ) */
  8652. /* 00 */
  8653. vuint32_t SADDR; /* Source Address */
  8654. /* 04 */ /* Transfer Attributes */
  8655. vuint16_t SMOD:5; /* Source Address Modulo */
  8656. vuint16_t SSIZE:3; /* Source Data Transfer Size */
  8657. vuint16_t DMOD:5; /* Destination Address Modulo */
  8658. vuint16_t DSIZE:3; /* Destination Data Transfer Size */
  8659. /* 06 */
  8660. vint16_t SOFF; /* Signed Source Address Offset */
  8661. /* 08 */
  8662. vuint32_t NBYTES; /* Inner ("Minor") Byte Transfer Count */
  8663. /* 0C */
  8664. vint32_t SLAST; /* Last Source Address Adjustment */
  8665. /* 10 */
  8666. vuint32_t DADDR; /* Destination Address */
  8667. /* 14 */
  8668. vuint16_t CITERE_LINK:1; /* Enable Channel-to-Channel */
  8669. /* Linking on Minor Loop Completion */
  8670. vuint16_t CITER:15; /* Current Major Iteration Count */
  8671. /* 16 */
  8672. vint16_t DOFF; /* Signed Destination Address Offset */
  8673. /* 18 */
  8674. vint32_t DLAST_SGA; /* Last Destination Address Adjustment, or */
  8675. /* Scatter/Gather Address (if E_SG = 1) */
  8676. /* 1C */
  8677. vuint16_t BITERE_LINK:1; /* Enable Channel-to-Channel */
  8678. /* Linking on Minor Loop Complete */
  8679. vuint16_t BITER:15; /* Starting ("Major") Iteration Count */
  8680. /* 1E */ /* Channel Control/Status */
  8681. vuint16_t BWC:2; /* Bandwidth Control */
  8682. vuint16_t MAJORLINKCH:6; /* Link Channel Number */
  8683. vuint16_t DONE:1; /* Channel Done */
  8684. #ifdef COMP_TO_MPC5634M_V1_6_ON
  8685. vuint16_t ACT:1;
  8686. #else
  8687. vuint16_t ACTIVE:1;
  8688. #endif
  8689. vuint16_t MAJORE_LINK:1; /* Enable Channel-to-Channel Link */
  8690. vuint16_t E_SG:1; /* Enable Scatter/Gather Descriptor */
  8691. vuint16_t D_REQ:1; /* Disable IPD_REQ When Done */
  8692. vuint16_t INT_HALF:1; /* Interrupt on CITER = (BITER >> 1) */
  8693. vuint16_t INT_MAJ:1; /* Interrupt on Major Loop Completion */
  8694. vuint16_t START:1; /* Explicit Channel Start */
  8695. } TCD[64]; /* Transfer_Control_Descriptor */
  8696. };
  8697. struct EDMA_TCD_alt1_tag { /*for alternate format TCDs (when EDMA.TCD[x].CITER.E_LINK==BITER.E_LINK=1 ) */
  8698. struct tcd_alt1_t {
  8699. /* 00 */
  8700. vuint32_t SADDR; /* Source Address */
  8701. /* 04 */ /* Transfer Attributes */
  8702. vuint16_t SMOD:5; /* Source Address Modulo */
  8703. vuint16_t SSIZE:3; /* Source Data Transfer Size */
  8704. vuint16_t DMOD:5; /* Destination Address Modulo */
  8705. vuint16_t DSIZE:3; /* Destination Data Transfer Size */
  8706. /* 06 */
  8707. vint16_t SOFF; /* Signed Source Address Offset */
  8708. /* 08 */
  8709. vuint32_t NBYTES; /* Inner ("Minor") Byte Transfer Count */
  8710. /* 0C */
  8711. vint32_t SLAST; /* Last Source Address Adjustment */
  8712. /* 10 */
  8713. vuint32_t DADDR; /* Destination Address */
  8714. /* 14 */
  8715. vuint16_t CITERE_LINK:1; /* Enable Channel-to-Channel */
  8716. /* Linking on Minor Loop Completion */
  8717. vuint16_t CITERLINKCH:6; /* Link Channel Number */
  8718. vuint16_t CITER:9; /* Current Major Iteration Count */
  8719. /* 16 */
  8720. vint16_t DOFF; /* Signed Destination Address Offset */
  8721. /* 18 */
  8722. vint32_t DLAST_SGA; /* Last Destination Address Adjustment, or */
  8723. /* Scatter/Gather Address (if E_SG = 1) */
  8724. /* 1C */
  8725. vuint16_t BITERE_LINK:1; /* Enable Channel-to-Channel */
  8726. /* Linking on Minor Loop Complete */
  8727. vuint16_t BITERLINKCH:6; /* Link Channel Number */
  8728. vuint16_t BITER:9; /* Starting ("Major") Iteration Count */
  8729. /* 1E */ /* Channel Control/Status */
  8730. vuint16_t BWC:2; /* Bandwidth Control */
  8731. vuint16_t MAJORLINKCH:6; /* Link Channel Number */
  8732. vuint16_t DONE:1; /* Channel Done */
  8733. #ifdef COMP_TO_MPC5634M_V1_6_ON
  8734. vuint16_t ACT:1;
  8735. #else
  8736. vuint16_t ACTIVE:1;
  8737. #endif
  8738. vuint16_t MAJORE_LINK:1; /* Enable Channel-to-Channel Link */
  8739. vuint16_t E_SG:1; /* Enable Scatter/Gather Descriptor */
  8740. vuint16_t D_REQ:1; /* Disable IPD_REQ When Done */
  8741. vuint16_t INT_HALF:1; /* Interrupt on CITER = (BITER >> 1) */
  8742. vuint16_t INT_MAJ:1; /* Interrupt on Major Loop Completion */
  8743. vuint16_t START:1; /* Explicit Channel Start */
  8744. } TCD[64]; /* transfer_control_descriptor */
  8745. };
  8746. /* ----------------------------------------------------------------------------
  8747. -- INTC Peripheral Access Layer
  8748. ---------------------------------------------------------------------------- */
  8749. /*!
  8750. * @addtogroup INTC_Peripheral_Access_Layer INTC Peripheral Access Layer
  8751. * @{
  8752. */
  8753. /** INTC - Size of Registers Arrays */
  8754. #define INTC_SSCIR_COUNT 8u
  8755. #define INTC_PSR_COUNT 512u
  8756. /** INTC - Register Layout Typedef */
  8757. typedef struct {
  8758. __IO uint32_t MCR; /**< INTC Module Configuration Register, offset: 0x0 */
  8759. uint8_t RESERVED_0[4];
  8760. __IO uint32_t CPR0; /**< INTC Current Priority Register for Processor n, offset: 0x8 */
  8761. __IO uint32_t CPR1; /**< INTC Current Priority Register for Processor n, offset: 0xC */
  8762. __IO uint32_t IACKR0; /**< INTC Interrupt Acknowledge Register for Processor n, offset: 0x10 */
  8763. __IO uint32_t IACKR1; /**< INTC Interrupt Acknowledge Register for Processor n, offset: 0x14 */
  8764. __O uint32_t EOIR0; /**< INTC End Of Interrupt Register for Processor n, offset: 0x18 */
  8765. __O uint32_t EOIR1; /**< INTC End Of Interrupt Register for Processor n, offset: 0x1C */
  8766. __IO uint8_t SSCIR[INTC_SSCIR_COUNT]; /**< INTC Software Set/Clear Interrupt Register, array offset: 0x20, array step: 0x1 */
  8767. uint8_t RESERVED_1[24];
  8768. __IO uint8_t PSR[INTC_PSR_COUNT]; /**< INTC Priority Select Register, array offset: 0x40, array step: 0x1 */
  8769. } INTC_Type, *INTC_MemMapPtr;
  8770. /** Number of instances of the INTC module. */
  8771. #define INTC_INSTANCE_COUNT (1u)
  8772. /* INTC - Peripheral instance base addresses */
  8773. /** Peripheral INTC base address */
  8774. #define INTC_BASE (0xFFF48000u)
  8775. /** Peripheral INTC base pointer */
  8776. #define INTC ((INTC_Type *)INTC_BASE)
  8777. /** Array initializer of INTC peripheral base addresses */
  8778. #define INTC_BASE_ADDRS { INTC_BASE }
  8779. /** Array initializer of INTC peripheral base pointers */
  8780. #define INTC_BASE_PTRS { INTC }
  8781. /* ----------------------------------------------------------------------------
  8782. -- INTC Register Masks
  8783. ---------------------------------------------------------------------------- */
  8784. /*!
  8785. * @addtogroup INTC_Register_Masks INTC Register Masks
  8786. * @{
  8787. */
  8788. /* MCR Bit Fields */
  8789. #define INTC_MCR_HVEN_PRC0_MASK 0x1u
  8790. #define INTC_MCR_HVEN_PRC0_SHIFT 0u
  8791. #define INTC_MCR_HVEN_PRC0_WIDTH 1u
  8792. #define INTC_MCR_HVEN_PRC0(x) (((uint32_t)(((uint32_t)(x))<<INTC_MCR_HVEN_PRC0_SHIFT))&INTC_MCR_HVEN_PRC0_MASK)
  8793. #define INTC_MCR_VTES_PRC0_MASK 0x20u
  8794. #define INTC_MCR_VTES_PRC0_SHIFT 5u
  8795. #define INTC_MCR_VTES_PRC0_WIDTH 1u
  8796. #define INTC_MCR_VTES_PRC0(x) (((uint32_t)(((uint32_t)(x))<<INTC_MCR_VTES_PRC0_SHIFT))&INTC_MCR_VTES_PRC0_MASK)
  8797. #define INTC_MCR_HVEN_PRC1_MASK 0x100u
  8798. #define INTC_MCR_HVEN_PRC1_SHIFT 8u
  8799. #define INTC_MCR_HVEN_PRC1_WIDTH 1u
  8800. #define INTC_MCR_HVEN_PRC1(x) (((uint32_t)(((uint32_t)(x))<<INTC_MCR_HVEN_PRC1_SHIFT))&INTC_MCR_HVEN_PRC1_MASK)
  8801. #define INTC_MCR_VTES_PRC1_MASK 0x2000u
  8802. #define INTC_MCR_VTES_PRC1_SHIFT 13u
  8803. #define INTC_MCR_VTES_PRC1_WIDTH 1u
  8804. #define INTC_MCR_VTES_PRC1(x) (((uint32_t)(((uint32_t)(x))<<INTC_MCR_VTES_PRC1_SHIFT))&INTC_MCR_VTES_PRC1_MASK)
  8805. /* CPR0 Bit Fields */
  8806. #define INTC_CPR0_PRI_MASK 0xFu
  8807. #define INTC_CPR0_PRI_SHIFT 0u
  8808. #define INTC_CPR0_PRI_WIDTH 4u
  8809. #define INTC_CPR0_PRI(x) (((uint32_t)(((uint32_t)(x))<<INTC_CPR0_PRI_SHIFT))&INTC_CPR0_PRI_MASK)
  8810. /* CPR1 Bit Fields */
  8811. #define INTC_CPR1_PRI_MASK 0xFu
  8812. #define INTC_CPR1_PRI_SHIFT 0u
  8813. #define INTC_CPR1_PRI_WIDTH 4u
  8814. #define INTC_CPR1_PRI(x) (((uint32_t)(((uint32_t)(x))<<INTC_CPR1_PRI_SHIFT))&INTC_CPR1_PRI_MASK)
  8815. /* IACKR0 Bit Fields */
  8816. #define INTC_IACKR0_INTVEC_PRCn_MASK 0x7FCu
  8817. #define INTC_IACKR0_INTVEC_PRCn_SHIFT 2u
  8818. #define INTC_IACKR0_INTVEC_PRCn_WIDTH 9u
  8819. #define INTC_IACKR0_INTVEC_PRCn(x) (((uint32_t)(((uint32_t)(x))<<INTC_IACKR0_INTVEC_PRCn_SHIFT))&INTC_IACKR0_INTVEC_PRCn_MASK)
  8820. #define INTC_IACKR0_VTBA_PRCn_MASK 0xFFFFF800u
  8821. #define INTC_IACKR0_VTBA_PRCn_SHIFT 11u
  8822. #define INTC_IACKR0_VTBA_PRCn_WIDTH 21u
  8823. #define INTC_IACKR0_VTBA_PRCn(x) (((uint32_t)(((uint32_t)(x))<<INTC_IACKR0_VTBA_PRCn_SHIFT))&INTC_IACKR0_VTBA_PRCn_MASK)
  8824. /* IACKR1 Bit Fields */
  8825. #define INTC_IACKR1_INTVEC_PRCn_MASK 0x7FCu
  8826. #define INTC_IACKR1_INTVEC_PRCn_SHIFT 2u
  8827. #define INTC_IACKR1_INTVEC_PRCn_WIDTH 9u
  8828. #define INTC_IACKR1_INTVEC_PRCn(x) (((uint32_t)(((uint32_t)(x))<<INTC_IACKR1_INTVEC_PRCn_SHIFT))&INTC_IACKR1_INTVEC_PRCn_MASK)
  8829. #define INTC_IACKR1_VTBA_PRCn_MASK 0xFFFFF800u
  8830. #define INTC_IACKR1_VTBA_PRCn_SHIFT 11u
  8831. #define INTC_IACKR1_VTBA_PRCn_WIDTH 21u
  8832. #define INTC_IACKR1_VTBA_PRCn(x) (((uint32_t)(((uint32_t)(x))<<INTC_IACKR1_VTBA_PRCn_SHIFT))&INTC_IACKR1_VTBA_PRCn_MASK)
  8833. /* EOIR0 Bit Fields */
  8834. #define INTC_EOIR0_EOI_PRCn_MASK 0xFFFFFFFFu
  8835. #define INTC_EOIR0_EOI_PRCn_SHIFT 0u
  8836. #define INTC_EOIR0_EOI_PRCn_WIDTH 32u
  8837. #define INTC_EOIR0_EOI_PRCn(x) (((uint32_t)(((uint32_t)(x))<<INTC_EOIR0_EOI_PRCn_SHIFT))&INTC_EOIR0_EOI_PRCn_MASK)
  8838. /* EOIR1 Bit Fields */
  8839. #define INTC_EOIR1_EOI_PRCn_MASK 0xFFFFFFFFu
  8840. #define INTC_EOIR1_EOI_PRCn_SHIFT 0u
  8841. #define INTC_EOIR1_EOI_PRCn_WIDTH 32u
  8842. #define INTC_EOIR1_EOI_PRCn(x) (((uint32_t)(((uint32_t)(x))<<INTC_EOIR1_EOI_PRCn_SHIFT))&INTC_EOIR1_EOI_PRCn_MASK)
  8843. /* SSCIR Bit Fields */
  8844. #define INTC_SSCIR_CLR_MASK 0x1u
  8845. #define INTC_SSCIR_CLR_SHIFT 0u
  8846. #define INTC_SSCIR_CLR_WIDTH 1u
  8847. #define INTC_SSCIR_CLR(x) (((uint8_t)(((uint8_t)(x))<<INTC_SSCIR_CLR_SHIFT))&INTC_SSCIR_CLR_MASK)
  8848. #define INTC_SSCIR_SET_MASK 0x2u
  8849. #define INTC_SSCIR_SET_SHIFT 1u
  8850. #define INTC_SSCIR_SET_WIDTH 1u
  8851. #define INTC_SSCIR_SET(x) (((uint8_t)(((uint8_t)(x))<<INTC_SSCIR_SET_SHIFT))&INTC_SSCIR_SET_MASK)
  8852. /* PSR Bit Fields */
  8853. #define INTC_PSR_PRIN_MASK 0xFu
  8854. #define INTC_PSR_PRIN_SHIFT 0u
  8855. #define INTC_PSR_PRIN_WIDTH 4u
  8856. #define INTC_PSR_PRIN(x) (((uint8_t)(((uint8_t)(x))<<INTC_PSR_PRIN_SHIFT))&INTC_PSR_PRIN_MASK)
  8857. #define INTC_PSR_PRC_SELn_MASK 0xC0u
  8858. #define INTC_PSR_PRC_SELn_SHIFT 6u
  8859. #define INTC_PSR_PRC_SELn_WIDTH 2u
  8860. #define INTC_PSR_PRC_SELn(x) (((uint8_t)(((uint8_t)(x))<<INTC_PSR_PRC_SELn_SHIFT))&INTC_PSR_PRC_SELn_MASK)
  8861. /*!
  8862. * @}
  8863. */ /* end of group INTC_Register_Masks */
  8864. /*!
  8865. * @}
  8866. */ /* end of group INTC_Peripheral_Access_Layer */
  8867. /****************************************************************************/
  8868. /* MODULE : EQADC */
  8869. /****************************************************************************/
  8870. struct EQADC_tag {
  8871. union { /* Module Configuration Register */
  8872. vuint32_t R;
  8873. struct {
  8874. vuint32_t:24;
  8875. vuint32_t ICEA0:1;
  8876. vuint32_t ICEA1:1;
  8877. vuint32_t:1;
  8878. vuint32_t:2;
  8879. vuint32_t:1;
  8880. vuint32_t DBG:2;
  8881. } B;
  8882. } MCR;
  8883. uint32_t eQADC_reserved0004; /* 0x0004-0x0007 */
  8884. uint32_t eQADC_reserved0008; /* 0x0008-0x000B */
  8885. union { /* External Trigger Digital Filter Register */
  8886. vuint32_t R;
  8887. struct {
  8888. vuint32_t:28;
  8889. vuint32_t DFL:4;
  8890. } B;
  8891. } ETDFR;
  8892. union { /* CFIFO Push Registers */
  8893. vuint32_t R;
  8894. struct {
  8895. vuint32_t CFPUSH:32;
  8896. } B;
  8897. } CFPR[6];
  8898. uint32_t eQADC_reserved0028[2]; /* 0x0028-0x002F */
  8899. union { /* Result FIFO Pop Registers */
  8900. vuint32_t R;
  8901. struct {
  8902. vuint32_t:16;
  8903. vuint32_t RFPOP:16;
  8904. } B;
  8905. } RFPR[6];
  8906. uint32_t eQADC_reserved0048[2]; /* 0x0048-0x004F */
  8907. union { /* CFIFO Control Registers */
  8908. vuint16_t R;
  8909. struct {
  8910. vuint16_t:3;
  8911. vuint16_t CFEEE:1; /* ONLY valid for CFCR[0] */
  8912. vuint16_t STRME:1; /* ONLY valid for CFCR[0] */
  8913. vuint16_t SSE:1;
  8914. vuint16_t CFINV:1;
  8915. vuint16_t:1;
  8916. vuint16_t MODE:4;
  8917. vuint16_t AMODE:4; /* ONLY valid for CFCR[0] */
  8918. } B;
  8919. } CFCR[6];
  8920. uint32_t eQADC_reserved005C; /* 0x005C-0x005F */
  8921. union { /* Interrupt and DMA Control Registers */
  8922. vuint16_t R;
  8923. struct {
  8924. vuint16_t NCIE:1;
  8925. vuint16_t TORIE:1;
  8926. vuint16_t PIE:1;
  8927. vuint16_t EOQIE:1;
  8928. vuint16_t CFUIE:1;
  8929. vuint16_t:1;
  8930. vuint16_t CFFE:1;
  8931. vuint16_t CFFS:1;
  8932. vuint16_t:4;
  8933. vuint16_t RFOIE:1;
  8934. vuint16_t:1;
  8935. vuint16_t RFDE:1;
  8936. vuint16_t RFDS:1;
  8937. } B;
  8938. } IDCR[6];
  8939. uint32_t eQADC_reserved006C; /* 0x006C-0x006F */
  8940. union { /* FIFO and Interrupt Status Registers */
  8941. vuint32_t R;
  8942. struct {
  8943. vuint32_t NCF:1;
  8944. vuint32_t TORF:1;
  8945. vuint32_t PF:1;
  8946. vuint32_t EOQF:1;
  8947. vuint32_t CFUF:1;
  8948. vuint32_t SSS:1;
  8949. vuint32_t CFFF:1;
  8950. vuint32_t:5;
  8951. vuint32_t RFOF:1;
  8952. vuint32_t:1;
  8953. vuint32_t RFDF:1;
  8954. vuint32_t:1;
  8955. vuint32_t CFCTR:4;
  8956. vuint32_t TNXTPTR:4;
  8957. vuint32_t RFCTR:4;
  8958. vuint32_t POPNXTPTR:4;
  8959. } B;
  8960. } FISR[6];
  8961. uint32_t eQADC_reserved0088[2]; /* 0x0088-0x008F */
  8962. union { /* CFIFO Transfer Counter Registers */
  8963. vuint16_t R;
  8964. struct {
  8965. vuint16_t:5;
  8966. vuint16_t TCCF:11; /* Legacy naming - refer to TC_CF in Reference Manual */
  8967. } B;
  8968. } CFTCR[6];
  8969. uint32_t eQADC_reserved009C[1]; /* 0x009F */
  8970. union { /* CFIFO Status Register 0 */
  8971. vuint32_t R;
  8972. struct {
  8973. vuint32_t CFS0:2; /* Legacy naming - refer to CFS0_TCB0 in Reference Manual */
  8974. vuint32_t CFS1:2; /* Legacy naming - refer to CFS1_TCB0 in Reference Manual */
  8975. vuint32_t CFS2:2; /* Legacy naming - refer to CFS2_TCB0 in Reference Manual */
  8976. vuint32_t CFS3:2; /* Legacy naming - refer to CFS3_TCB0 in Reference Manual */
  8977. vuint32_t CFS4:2; /* Legacy naming - refer to CFS4_TCB0 in Reference Manual */
  8978. vuint32_t CFS5:2; /* Legacy naming - refer to CFS5_TCB0 in Reference Manual */
  8979. vuint32_t:5;
  8980. vuint32_t LCFTCB0:4;
  8981. vuint32_t TC_LCFTCB0:11;
  8982. } B;
  8983. } CFSSR0;
  8984. union { /* CFIFO Status Register 1 */
  8985. vuint32_t R;
  8986. struct {
  8987. vuint32_t CFS0:2; /* Legacy naming - refer to CFS0_TCB1 in Reference Manual */
  8988. vuint32_t CFS1:2; /* Legacy naming - refer to CFS1_TCB1 in Reference Manual */
  8989. vuint32_t CFS2:2; /* Legacy naming - refer to CFS2_TCB1 in Reference Manual */
  8990. vuint32_t CFS3:2; /* Legacy naming - refer to CFS3_TCB1 in Reference Manual */
  8991. vuint32_t CFS4:2; /* Legacy naming - refer to CFS4_TCB1 in Reference Manual */
  8992. vuint32_t CFS5:2; /* Legacy naming - refer to CFS5_TCB1 in Reference Manual */
  8993. vuint32_t:5;
  8994. vuint32_t LCFTCB1:4;
  8995. vuint32_t TC_LCFTCB1:11;
  8996. } B;
  8997. } CFSSR1;
  8998. union { /* CFIFO Status Register 2 */
  8999. vuint32_t R;
  9000. struct {
  9001. vuint32_t CFS0:2; /* Legacy naming - refer to CFS0_TSSI in Reference Manual */
  9002. vuint32_t CFS1:2; /* Legacy naming - refer to CFS1_TSSI in Reference Manual */
  9003. vuint32_t CFS2:2; /* Legacy naming - refer to CFS2_TSSI in Reference Manual */
  9004. vuint32_t CFS3:2; /* Legacy naming - refer to CFS3_TSSI in Reference Manual */
  9005. vuint32_t CFS4:2; /* Legacy naming - refer to CFS4_TSSI in Reference Manual */
  9006. vuint32_t CFS5:2; /* Legacy naming - refer to CFS5_TSSI in Reference Manual */
  9007. vuint32_t:4;
  9008. vuint32_t ECBNI:1;
  9009. vuint32_t LCFTSSI:4;
  9010. vuint32_t TC_LCFTSSI:11;
  9011. } B;
  9012. } CFSSR2;
  9013. union { /* CFIFO Status Register */
  9014. vuint32_t R;
  9015. struct {
  9016. vuint32_t CFS0:2;
  9017. vuint32_t CFS1:2;
  9018. vuint32_t CFS2:2;
  9019. vuint32_t CFS3:2;
  9020. vuint32_t CFS4:2;
  9021. vuint32_t CFS5:2;
  9022. vuint32_t:20;
  9023. } B;
  9024. } CFSR;
  9025. uint32_t eQADC_reserved00B0; /* 0x00B0-0x00B3 */
  9026. uint32_t eQADC_reserved00B4; /* 0x00B4-0x00B7 */
  9027. uint32_t eQADC_reserved00B8; /* 0x00B8-0x00BB */
  9028. uint32_t eQADC_reserved00BC[5]; /* 0x00BC-0x00CF */
  9029. union { /* EQADC Red Line Client Configuration Register */
  9030. vuint32_t R;
  9031. struct {
  9032. vuint32_t:16;
  9033. vuint32_t REDBS2:4;
  9034. vuint32_t SRV2:4;
  9035. vuint32_t REDBS1:4;
  9036. vuint32_t SRV1:4;
  9037. } B;
  9038. } REDLCCR;
  9039. uint32_t eQADC_reserved00D4[11]; /* 0x00D4-0x00FF */
  9040. struct {
  9041. union {
  9042. vuint32_t R;
  9043. struct {
  9044. vuint32_t CFIFO_DATA:32;
  9045. } B;
  9046. } R[4];
  9047. union { /* NOTE: ER registers valid only for CF[0]. */
  9048. vuint32_t R;
  9049. struct {
  9050. vuint32_t CFIFO_EDATA:32;
  9051. } B;
  9052. } ER[4];
  9053. uint32_t eQADC_cf_reserved020[8]; /* CFIFO offset 0x020-0x03F */
  9054. } CF[6];
  9055. uint32_t eQADC_reserved0280[32]; /* 0x0280-0x02FF */
  9056. struct {
  9057. union {
  9058. vuint32_t R;
  9059. struct {
  9060. vuint32_t RFIFO_DATA:32;
  9061. } B;
  9062. } R[4];
  9063. uint32_t eQADC_rf_reserved010[12]; /* RFIFO offset 0x010-0x03F */
  9064. } RF[6];
  9065. uint32_t eQADC_reserved0480[3808]; /* 0x0480-0x3FFF */
  9066. };
  9067. /****************************************************************************/
  9068. /* MODULE : Decimation Filter */
  9069. /****************************************************************************/
  9070. struct DECFIL_tag {
  9071. union { /* Module Configuration Register */
  9072. vuint32_t R;
  9073. struct {
  9074. vuint32_t MDIS:1;
  9075. vuint32_t FREN:1;
  9076. vuint32_t :1;
  9077. vuint32_t FRZ:1;
  9078. vuint32_t SRES:1;
  9079. vuint32_t CASCD:2;
  9080. vuint32_t IDEN:1;
  9081. vuint32_t ODEN:1;
  9082. vuint32_t ERREN:1;
  9083. vuint32_t :1;
  9084. vuint32_t FTYPE:2;
  9085. vuint32_t :1;
  9086. vuint32_t SCAL:2;
  9087. vuint32_t IDIS:1;
  9088. vuint32_t SAT:1;
  9089. #ifdef COMP_TO_MPC5634M_V1_6_ON
  9090. vuint32_t ISEL:2;
  9091. #else
  9092. vuint32_t IO_SEL:2;
  9093. #endif
  9094. vuint32_t DEC_RATE:4;
  9095. vuint32_t SDIE:1;
  9096. vuint32_t DSEL:1;
  9097. vuint32_t IBIE:1;
  9098. vuint32_t OBIE:1;
  9099. vuint32_t EDME:1;
  9100. vuint32_t TORE:1;
  9101. vuint32_t TMODE:2;
  9102. } B;
  9103. } MCR;
  9104. union { /* Module Status Register */
  9105. vuint32_t R;
  9106. struct {
  9107. vuint32_t BSY:1;
  9108. vuint32_t:1;
  9109. vuint32_t DEC_COUNTER:4;
  9110. vuint32_t IDFC:1;
  9111. vuint32_t ODFC:1;
  9112. vuint32_t:1;
  9113. vuint32_t IBIC:1;
  9114. vuint32_t OBIC:1;
  9115. vuint32_t:1;
  9116. vuint32_t DIVRC:1;
  9117. vuint32_t OVFC:1;
  9118. vuint32_t OVRC:1;
  9119. vuint32_t IVRC:1;
  9120. vuint32_t:6;
  9121. vuint32_t IDF:1;
  9122. vuint32_t ODF:1;
  9123. vuint32_t:1;
  9124. vuint32_t IBIF:1;
  9125. vuint32_t OBIF:1;
  9126. vuint32_t:1;
  9127. vuint32_t DIVR:1;
  9128. vuint32_t OVF:1;
  9129. vuint32_t OVR:1;
  9130. vuint32_t IVR:1;
  9131. } B;
  9132. #ifdef COMP_TO_MPC5634M_V1_6_ON
  9133. } MSR;
  9134. #else
  9135. } SR;
  9136. #endif
  9137. #ifdef COMP_TO_MPC5634M_V1_6_ON
  9138. uint32_t DFILT_reserved0008[2]; /* 0x0008-0x000F */
  9139. #else
  9140. union { /* Module Extended Config Register */
  9141. vuint32_t R;
  9142. struct {
  9143. vuint32_t SDMAE:1;
  9144. vuint32_t SSIG:1;
  9145. vuint32_t SSAT:1;
  9146. vuint32_t SCSAT:1;
  9147. vuint32_t:10;
  9148. vuint32_t SRQ:1;
  9149. vuint32_t SZR0:1;
  9150. vuint32_t SISEL:1;
  9151. vuint32_t:1;
  9152. vuint32_t SZROSEL:2;
  9153. vuint32_t:2;
  9154. vuint32_t SHLTSEL:2;
  9155. vuint32_t:1;
  9156. vuint32_t SRQSEL:3;
  9157. vuint32_t:2;
  9158. vuint32_t SENSEL:2;
  9159. } B;
  9160. } MXCR;
  9161. union { /* Module Extended Status Register */
  9162. vuint32_t R;
  9163. struct {
  9164. vuint32_t:7;
  9165. vuint32_t SDFC:1;
  9166. vuint32_t:2;
  9167. vuint32_t SSEC:1;
  9168. vuint32_t SCEC:1;
  9169. vuint32_t:1;
  9170. vuint32_t SSOVFC:1;
  9171. vuint32_t SCOVFC:1;
  9172. vuint32_t SVRC:1;
  9173. vuint32_t:7;
  9174. vuint32_t SDF:1;
  9175. vuint32_t:2;
  9176. vuint32_t SSE:1;
  9177. vuint32_t SCE:1;
  9178. vuint32_t:1;
  9179. vuint32_t SSOVF:1;
  9180. vuint32_t SCOVF:1;
  9181. vuint32_t SVR:1;
  9182. } B;
  9183. } MXSR;
  9184. #endif
  9185. union { /* Interface Input Buffer Register */
  9186. vuint32_t R;
  9187. struct {
  9188. vuint32_t:3;
  9189. vuint32_t OSEL:1;
  9190. vuint32_t INTAG:4;
  9191. vuint32_t:6;
  9192. vuint32_t PREFILL:1;
  9193. vuint32_t FLUSH:1;
  9194. vuint32_t INPBUF:16;
  9195. } B;
  9196. } IB;
  9197. union { /* Interface Output Buffer Register */
  9198. vuint32_t R;
  9199. struct {
  9200. vuint32_t:11;
  9201. vuint32_t OSEL:1;
  9202. vuint32_t OUTTAG:4;
  9203. vuint32_t OUTBUF:16;
  9204. } B;
  9205. } OB;
  9206. uint32_t DFILT_reserved0018[2]; /* 0x0018-0x001F */
  9207. union { /* Coefficient n Register */
  9208. vint32_t R;
  9209. struct {
  9210. vint32_t:8;
  9211. vint32_t COEF:24;
  9212. } B;
  9213. } COEF[9];
  9214. uint32_t DFILT_reserved0044[13]; /* 0x0044-0x0077 */
  9215. union { /* TAP n Register */
  9216. vint32_t R;
  9217. struct {
  9218. vint32_t:8;
  9219. vint32_t TAP:24;
  9220. } B;
  9221. } TAP[8];
  9222. uint32_t DFILT_reserved0098[14]; /* 0x0098-0x00CF */
  9223. union { /* EDID Register */
  9224. vuint32_t R;
  9225. struct {
  9226. vuint32_t:16;
  9227. vuint32_t SAMP_DATA:16;
  9228. } B;
  9229. } EDID;
  9230. uint32_t DFILT_reserved00D4[3]; /* 0x00D4-0x00DF */
  9231. union { /* FINTVAL Register */
  9232. vuint32_t R;
  9233. struct {
  9234. vuint32_t SUM_VALUE:32;
  9235. } B;
  9236. } FINTVAL;
  9237. union { /* FINTCNT Register */
  9238. vuint32_t R;
  9239. struct {
  9240. vuint32_t COUNT:32;
  9241. } B;
  9242. } FINTCNT;
  9243. union { /* CINTVAL Register */
  9244. vuint32_t R;
  9245. struct {
  9246. vuint32_t SUM_VALUE:32;
  9247. } B;
  9248. } CINTVAL;
  9249. union { /* CINTCNT Register */
  9250. vuint32_t R;
  9251. struct {
  9252. vuint32_t COUNT:32;
  9253. } B;
  9254. } CINTCNT;
  9255. };
  9256. /****************************************************************************/
  9257. /* MODULE : DSPI */
  9258. /****************************************************************************/
  9259. struct DSPI_tag {
  9260. union { /* Module Configuration Register */
  9261. vuint32_t R;
  9262. struct {
  9263. vuint32_t MSTR:1;
  9264. vuint32_t CONT_SCKE:1;
  9265. vuint32_t DCONF:2;
  9266. vuint32_t FRZ:1;
  9267. vuint32_t MTFE:1;
  9268. vuint32_t PCSSE:1;
  9269. vuint32_t ROOE:1;
  9270. vuint32_t PCSIS7:1;
  9271. vuint32_t PCSIS6:1;
  9272. vuint32_t PCSIS5:1;
  9273. vuint32_t PCSIS4:1;
  9274. vuint32_t PCSIS3:1;
  9275. vuint32_t PCSIS2:1;
  9276. vuint32_t PCSIS1:1;
  9277. vuint32_t PCSIS0:1;
  9278. vuint32_t DOZE:1;
  9279. vuint32_t MDIS:1;
  9280. vuint32_t DIS_TXF:1;
  9281. vuint32_t DIS_RXF:1;
  9282. vuint32_t CLR_TXF:1;
  9283. vuint32_t CLR_RXF:1;
  9284. vuint32_t SMPL_PT:2;
  9285. vuint32_t:6;
  9286. vuint32_t PES:1;
  9287. vuint32_t HALT:1;
  9288. } B;
  9289. } MCR;
  9290. uint32_t DSPI_reserved0004; /* 0x0004-0x0007 */
  9291. union { /* Transfer Count Register */
  9292. vuint32_t R;
  9293. struct {
  9294. vuint32_t TCNT:16;
  9295. vuint32_t:16;
  9296. } B;
  9297. } TCR;
  9298. union { /* Clock and Transfer Attributes Registers */
  9299. vuint32_t R;
  9300. struct {
  9301. vuint32_t DBR:1;
  9302. vuint32_t FMSZ:4;
  9303. vuint32_t CPOL:1;
  9304. vuint32_t CPHA:1;
  9305. vuint32_t LSBFE:1;
  9306. vuint32_t PCSSCK:2;
  9307. vuint32_t PASC:2;
  9308. vuint32_t PDT:2;
  9309. vuint32_t PBR:2;
  9310. vuint32_t CSSCK:4;
  9311. vuint32_t ASC:4;
  9312. vuint32_t DT:4;
  9313. vuint32_t BR:4;
  9314. } B;
  9315. } CTAR[8];
  9316. union { /* Status Register */
  9317. vuint32_t R;
  9318. struct {
  9319. vuint32_t TCF:1;
  9320. vuint32_t TXRXS:1;
  9321. vuint32_t:1;
  9322. vuint32_t EOQF:1;
  9323. vuint32_t TFUF:1;
  9324. vuint32_t:1;
  9325. vuint32_t TFFF:1;
  9326. vuint32_t:2;
  9327. vuint32_t DPEF:1;
  9328. vuint32_t SPEF:1;
  9329. vuint32_t DDIF:1;
  9330. vuint32_t RFOF:1;
  9331. vuint32_t:1;
  9332. vuint32_t RFDF:1;
  9333. vuint32_t:1;
  9334. vuint32_t TXCTR:4;
  9335. vuint32_t TXNXTPTR:4;
  9336. vuint32_t RXCTR:4;
  9337. vuint32_t POPNXTPTR:4;
  9338. } B;
  9339. } SR;
  9340. union { /* DMA/Interrupt Request Select and Enable Register */
  9341. vuint32_t R;
  9342. struct {
  9343. vuint32_t TCFRE:1;
  9344. vuint32_t:2;
  9345. vuint32_t EOQFRE:1;
  9346. vuint32_t TFUFRE:1;
  9347. vuint32_t:1;
  9348. vuint32_t TFFFRE:1;
  9349. vuint32_t TFFFDIRS:1;
  9350. vuint32_t:1;
  9351. vuint32_t DPEFRE:1;
  9352. vuint32_t SPEFRE:1;
  9353. vuint32_t DDIFRE:1;
  9354. vuint32_t RFOFRE:1;
  9355. vuint32_t:1;
  9356. vuint32_t RFDFRE:1;
  9357. vuint32_t RFDFDIRS:1;
  9358. vuint32_t:16;
  9359. } B;
  9360. } RSER;
  9361. union { /* PUSH TX FIFO Register */
  9362. vuint32_t R;
  9363. struct {
  9364. vuint32_t CONT:1;
  9365. vuint32_t CTAS:3;
  9366. vuint32_t EOQ:1;
  9367. vuint32_t CTCNT:1;
  9368. vuint32_t PE:1;
  9369. vuint32_t PP:1;
  9370. vuint32_t PCS7:1;
  9371. vuint32_t PCS6:1;
  9372. vuint32_t PCS5:1;
  9373. vuint32_t PCS4:1;
  9374. vuint32_t PCS3:1;
  9375. vuint32_t PCS2:1;
  9376. vuint32_t PCS1:1;
  9377. vuint32_t PCS0:1;
  9378. vuint32_t TXDATA:16;
  9379. } B;
  9380. } PUSHR;
  9381. union { /* POP RX FIFO Register */
  9382. vuint32_t R;
  9383. struct {
  9384. vuint32_t:16;
  9385. vuint32_t RXDATA:16;
  9386. } B;
  9387. } POPR;
  9388. union { /* Transmit FIFO Registers */
  9389. vuint32_t R;
  9390. struct {
  9391. vuint32_t TXCMD:16;
  9392. vuint32_t TXDATA:16;
  9393. } B;
  9394. } TXFR[4];
  9395. uint32_t DSPI_reserved004C[12]; /* 0x004C-0x007B */
  9396. union { /* Transmit FIFO Registers */
  9397. vuint32_t R;
  9398. struct {
  9399. vuint32_t:16;
  9400. vuint32_t RXDATA:16;
  9401. } B;
  9402. } RXFR[4];
  9403. uint32_t DSPI_reserved008C[12]; /* 0x008C-0x00BB */
  9404. union { /* DSI Configuration Register */
  9405. vuint32_t R;
  9406. struct {
  9407. vuint32_t MTOE:1;
  9408. vuint32_t FMSZ4:1;
  9409. vuint32_t MTOCNT:6;
  9410. vuint32_t:3;
  9411. vuint32_t TSBC:1;
  9412. vuint32_t TXSS:1;
  9413. vuint32_t TPOL:1;
  9414. vuint32_t TRRE:1;
  9415. vuint32_t CID:1;
  9416. vuint32_t DCONT:1;
  9417. vuint32_t DSICTAS:3;
  9418. vuint32_t:4;
  9419. vuint32_t DPCS7:1;
  9420. vuint32_t DPCS6:1;
  9421. vuint32_t DPCS5:1;
  9422. vuint32_t DPCS4:1;
  9423. vuint32_t DPCS3:1;
  9424. vuint32_t DPCS2:1;
  9425. vuint32_t DPCS1:1;
  9426. vuint32_t DPCS0:1;
  9427. } B;
  9428. } DSICR;
  9429. union { /* DSI Serialization Data Register */
  9430. vuint32_t R;
  9431. struct {
  9432. vuint32_t SER_DATA:32;
  9433. } B;
  9434. } SDR;
  9435. union { /* DSI Alternate Serialization Data Register */
  9436. vuint32_t R;
  9437. struct {
  9438. vuint32_t ASER_DATA:32;
  9439. } B;
  9440. } ASDR;
  9441. union { /* DSI Transmit Comparison Register */
  9442. vuint32_t R;
  9443. struct {
  9444. vuint32_t COMP_DATA:32;
  9445. } B;
  9446. } COMPR;
  9447. union { /* DSI deserialization Data Register */
  9448. vuint32_t R;
  9449. struct {
  9450. vuint32_t DESER_DATA:32;
  9451. } B;
  9452. } DDR;
  9453. union {
  9454. vuint32_t R;
  9455. struct {
  9456. vuint32_t:3;
  9457. vuint32_t TSBCNT:5;
  9458. vuint32_t:6;
  9459. vuint32_t DSE1:1;
  9460. vuint32_t DSE0:1;
  9461. vuint32_t:8;
  9462. vuint32_t DPCS1_7:1;
  9463. vuint32_t DPCS1_6:1;
  9464. vuint32_t DPCS1_5:1;
  9465. vuint32_t DPCS1_4:1;
  9466. vuint32_t DPCS1_3:1;
  9467. vuint32_t DPCS1_2:1;
  9468. vuint32_t DPCS1_1:1;
  9469. vuint32_t DPCS1_0:1;
  9470. } B;
  9471. } DSICR1;
  9472. uint32_t DSPI_reserved00D4[4043]; /* 0x00D4-0x3FFF */
  9473. };
  9474. /* ----------------------------------------------------------------------------
  9475. -- eSCI Peripheral Access Layer
  9476. ---------------------------------------------------------------------------- */
  9477. /*!
  9478. * @addtogroup eSCI_Peripheral_Access_Layer eSCI Peripheral Access Layer
  9479. * @{
  9480. */
  9481. /** eSCI - Size of Registers Arrays */
  9482. /** eSCI - Register Layout Typedef */
  9483. typedef struct {
  9484. __IO uint16_t BRR; /**< Baud Rate Register, offset: 0x0 */
  9485. __IO uint16_t CR1; /**< Control Register 1, offset: 0x2 */
  9486. __IO uint16_t CR2; /**< Control Register 2, offset: 0x4 */
  9487. __IO uint16_t SDR; /**< SCI Data Register, offset: 0x6 */
  9488. __IO uint16_t IFSR1; /**< Interrupt Flag and Status Register 1, offset: 0x8 */
  9489. __IO uint16_t IFSR2; /**< Interrupt Flag and Status Register 2, offset: 0xA */
  9490. __IO uint16_t LCR1; /**< LIN Control Register 1, offset: 0xC */
  9491. __IO uint16_t LCR2; /**< LIN Control Register 2, offset: 0xE */
  9492. __IO uint8_t LTR; /**< LIN Transmit Register, offset: 0x10 */
  9493. uint8_t RESERVED_0[3];
  9494. __I uint8_t LRR; /**< LIN Receive Register, offset: 0x14 */
  9495. uint8_t RESERVED_1[3];
  9496. __IO uint16_t LPR; /**< LIN CRC Polynomial Register, offset: 0x18 */
  9497. __IO uint16_t CR3; /**< Control Register 3, offset: 0x1A */
  9498. } eSCI_Type, *eSCI_MemMapPtr;
  9499. /** Number of instances of the eSCI module. */
  9500. #define eSCI_INSTANCE_COUNT (6u)
  9501. /* eSCI - Peripheral instance base addresses */
  9502. /** Peripheral eSCI_0 base address */
  9503. #define eSCI_0_BASE (0xFFFB0000u)
  9504. /** Peripheral eSCI_0 base pointer */
  9505. #define eSCI_0 ((eSCI_Type *)eSCI_0_BASE)
  9506. /** Peripheral eSCI_1 base address */
  9507. #define eSCI_1_BASE (0xFFFB4000u)
  9508. /** Peripheral eSCI_1 base pointer */
  9509. #define eSCI_1 ((eSCI_Type *)eSCI_1_BASE)
  9510. /** Peripheral eSCI_2 base address */
  9511. #define eSCI_2_BASE (0xFFFB8000u)
  9512. /** Peripheral eSCI_2 base pointer */
  9513. #define eSCI_2 ((eSCI_Type *)eSCI_2_BASE)
  9514. /** Peripheral eSCI_3 base address */
  9515. #define eSCI_3_BASE (0xC3FB0000u)
  9516. /** Peripheral eSCI_3 base pointer */
  9517. #define eSCI_3 ((eSCI_Type *)eSCI_3_BASE)
  9518. /** Peripheral eSCI_4 base address */
  9519. #define eSCI_4_BASE (0xC3FB4000u)
  9520. /** Peripheral eSCI_4 base pointer */
  9521. #define eSCI_4 ((eSCI_Type *)eSCI_4_BASE)
  9522. /** Peripheral eSCI_5 base address */
  9523. #define eSCI_5_BASE (0xC3FB8000u)
  9524. /** Peripheral eSCI_5 base pointer */
  9525. #define eSCI_5 ((eSCI_Type *)eSCI_5_BASE)
  9526. /** Array initializer of eSCI peripheral base addresses */
  9527. #define eSCI_BASE_ADDRS { eSCI_0_BASE, eSCI_1_BASE, eSCI_2_BASE, eSCI_3_BASE, eSCI_4_BASE, eSCI_5_BASE }
  9528. /** Array initializer of eSCI peripheral base pointers */
  9529. #define eSCI_BASE_PTRS { eSCI_0, eSCI_1, eSCI_2, eSCI_3, eSCI_4, eSCI_5 }
  9530. /* ----------------------------------------------------------------------------
  9531. -- eSCI Register Masks
  9532. ---------------------------------------------------------------------------- */
  9533. /*!
  9534. * @addtogroup eSCI_Register_Masks eSCI Register Masks
  9535. * @{
  9536. */
  9537. /* BRR Bit Fields */
  9538. #define eSCI_BRR_SBR_MASK 0x1FFFu
  9539. #define eSCI_BRR_SBR_SHIFT 0u
  9540. #define eSCI_BRR_SBR_WIDTH 13u
  9541. #define eSCI_BRR_SBR(x) (((uint16_t)(((uint16_t)(x))<<eSCI_BRR_SBR_SHIFT))&eSCI_BRR_SBR_MASK)
  9542. /* CR1 Bit Fields */
  9543. #define eSCI_CR1_SBK_MASK 0x1u
  9544. #define eSCI_CR1_SBK_SHIFT 0u
  9545. #define eSCI_CR1_SBK_WIDTH 1u
  9546. #define eSCI_CR1_SBK(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_SBK_SHIFT))&eSCI_CR1_SBK_MASK)
  9547. #define eSCI_CR1_RWU_MASK 0x2u
  9548. #define eSCI_CR1_RWU_SHIFT 1u
  9549. #define eSCI_CR1_RWU_WIDTH 1u
  9550. #define eSCI_CR1_RWU(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_RWU_SHIFT))&eSCI_CR1_RWU_MASK)
  9551. #define eSCI_CR1_RE_MASK 0x4u
  9552. #define eSCI_CR1_RE_SHIFT 2u
  9553. #define eSCI_CR1_RE_WIDTH 1u
  9554. #define eSCI_CR1_RE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_RE_SHIFT))&eSCI_CR1_RE_MASK)
  9555. #define eSCI_CR1_TE_MASK 0x8u
  9556. #define eSCI_CR1_TE_SHIFT 3u
  9557. #define eSCI_CR1_TE_WIDTH 1u
  9558. #define eSCI_CR1_TE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_TE_SHIFT))&eSCI_CR1_TE_MASK)
  9559. #define eSCI_CR1_ILIE_MASK 0x10u
  9560. #define eSCI_CR1_ILIE_SHIFT 4u
  9561. #define eSCI_CR1_ILIE_WIDTH 1u
  9562. #define eSCI_CR1_ILIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_ILIE_SHIFT))&eSCI_CR1_ILIE_MASK)
  9563. #define eSCI_CR1_RIE_MASK 0x20u
  9564. #define eSCI_CR1_RIE_SHIFT 5u
  9565. #define eSCI_CR1_RIE_WIDTH 1u
  9566. #define eSCI_CR1_RIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_RIE_SHIFT))&eSCI_CR1_RIE_MASK)
  9567. #define eSCI_CR1_TCIE_MASK 0x40u
  9568. #define eSCI_CR1_TCIE_SHIFT 6u
  9569. #define eSCI_CR1_TCIE_WIDTH 1u
  9570. #define eSCI_CR1_TCIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_TCIE_SHIFT))&eSCI_CR1_TCIE_MASK)
  9571. #define eSCI_CR1_TIE_MASK 0x80u
  9572. #define eSCI_CR1_TIE_SHIFT 7u
  9573. #define eSCI_CR1_TIE_WIDTH 1u
  9574. #define eSCI_CR1_TIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_TIE_SHIFT))&eSCI_CR1_TIE_MASK)
  9575. #define eSCI_CR1_PT_MASK 0x100u
  9576. #define eSCI_CR1_PT_SHIFT 8u
  9577. #define eSCI_CR1_PT_WIDTH 1u
  9578. #define eSCI_CR1_PT(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_PT_SHIFT))&eSCI_CR1_PT_MASK)
  9579. #define eSCI_CR1_PE_MASK 0x200u
  9580. #define eSCI_CR1_PE_SHIFT 9u
  9581. #define eSCI_CR1_PE_WIDTH 1u
  9582. #define eSCI_CR1_PE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_PE_SHIFT))&eSCI_CR1_PE_MASK)
  9583. #define eSCI_CR1_WAKE_MASK 0x800u
  9584. #define eSCI_CR1_WAKE_SHIFT 11u
  9585. #define eSCI_CR1_WAKE_WIDTH 1u
  9586. #define eSCI_CR1_WAKE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_WAKE_SHIFT))&eSCI_CR1_WAKE_MASK)
  9587. #define eSCI_CR1_M_MASK 0x1000u
  9588. #define eSCI_CR1_M_SHIFT 12u
  9589. #define eSCI_CR1_M_WIDTH 1u
  9590. #define eSCI_CR1_M(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_M_SHIFT))&eSCI_CR1_M_MASK)
  9591. #define eSCI_CR1_RSRC_MASK 0x2000u
  9592. #define eSCI_CR1_RSRC_SHIFT 13u
  9593. #define eSCI_CR1_RSRC_WIDTH 1u
  9594. #define eSCI_CR1_RSRC(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_RSRC_SHIFT))&eSCI_CR1_RSRC_MASK)
  9595. #define eSCI_CR1_LOOPS_MASK 0x8000u
  9596. #define eSCI_CR1_LOOPS_SHIFT 15u
  9597. #define eSCI_CR1_LOOPS_WIDTH 1u
  9598. #define eSCI_CR1_LOOPS(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR1_LOOPS_SHIFT))&eSCI_CR1_LOOPS_MASK)
  9599. /* CR2 Bit Fields */
  9600. #define eSCI_CR2_PFIE_MASK 0x1u
  9601. #define eSCI_CR2_PFIE_SHIFT 0u
  9602. #define eSCI_CR2_PFIE_WIDTH 1u
  9603. #define eSCI_CR2_PFIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_PFIE_SHIFT))&eSCI_CR2_PFIE_MASK)
  9604. #define eSCI_CR2_FEIE_MASK 0x2u
  9605. #define eSCI_CR2_FEIE_SHIFT 1u
  9606. #define eSCI_CR2_FEIE_WIDTH 1u
  9607. #define eSCI_CR2_FEIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_FEIE_SHIFT))&eSCI_CR2_FEIE_MASK)
  9608. #define eSCI_CR2_NFIE_MASK 0x4u
  9609. #define eSCI_CR2_NFIE_SHIFT 2u
  9610. #define eSCI_CR2_NFIE_WIDTH 1u
  9611. #define eSCI_CR2_NFIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_NFIE_SHIFT))&eSCI_CR2_NFIE_MASK)
  9612. #define eSCI_CR2_ORIE_MASK 0x8u
  9613. #define eSCI_CR2_ORIE_SHIFT 3u
  9614. #define eSCI_CR2_ORIE_WIDTH 1u
  9615. #define eSCI_CR2_ORIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_ORIE_SHIFT))&eSCI_CR2_ORIE_MASK)
  9616. #define eSCI_CR2_PMSK_MASK 0x10u
  9617. #define eSCI_CR2_PMSK_SHIFT 4u
  9618. #define eSCI_CR2_PMSK_WIDTH 1u
  9619. #define eSCI_CR2_PMSK(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_PMSK_SHIFT))&eSCI_CR2_PMSK_MASK)
  9620. #define eSCI_CR2_RXPOL_MASK 0x20u
  9621. #define eSCI_CR2_RXPOL_SHIFT 5u
  9622. #define eSCI_CR2_RXPOL_WIDTH 1u
  9623. #define eSCI_CR2_RXPOL(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_RXPOL_SHIFT))&eSCI_CR2_RXPOL_MASK)
  9624. #define eSCI_CR2_BESTP_MASK 0x40u
  9625. #define eSCI_CR2_BESTP_SHIFT 6u
  9626. #define eSCI_CR2_BESTP_WIDTH 1u
  9627. #define eSCI_CR2_BESTP(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_BESTP_SHIFT))&eSCI_CR2_BESTP_MASK)
  9628. #define eSCI_CR2_BESM_MASK 0x80u
  9629. #define eSCI_CR2_BESM_SHIFT 7u
  9630. #define eSCI_CR2_BESM_WIDTH 1u
  9631. #define eSCI_CR2_BESM(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_BESM_SHIFT))&eSCI_CR2_BESM_MASK)
  9632. #define eSCI_CR2_TXDIR_MASK 0x100u
  9633. #define eSCI_CR2_TXDIR_SHIFT 8u
  9634. #define eSCI_CR2_TXDIR_WIDTH 1u
  9635. #define eSCI_CR2_TXDIR(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_TXDIR_SHIFT))&eSCI_CR2_TXDIR_MASK)
  9636. #define eSCI_CR2_BRCL_MASK 0x200u
  9637. #define eSCI_CR2_BRCL_SHIFT 9u
  9638. #define eSCI_CR2_BRCL_WIDTH 1u
  9639. #define eSCI_CR2_BRCL(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_BRCL_SHIFT))&eSCI_CR2_BRCL_MASK)
  9640. #define eSCI_CR2_TXDMA_MASK 0x400u
  9641. #define eSCI_CR2_TXDMA_SHIFT 10u
  9642. #define eSCI_CR2_TXDMA_WIDTH 1u
  9643. #define eSCI_CR2_TXDMA(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_TXDMA_SHIFT))&eSCI_CR2_TXDMA_MASK)
  9644. #define eSCI_CR2_RXDMA_MASK 0x800u
  9645. #define eSCI_CR2_RXDMA_SHIFT 11u
  9646. #define eSCI_CR2_RXDMA_WIDTH 1u
  9647. #define eSCI_CR2_RXDMA(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_RXDMA_SHIFT))&eSCI_CR2_RXDMA_MASK)
  9648. #define eSCI_CR2_BERRIE_MASK 0x1000u
  9649. #define eSCI_CR2_BERRIE_SHIFT 12u
  9650. #define eSCI_CR2_BERRIE_WIDTH 1u
  9651. #define eSCI_CR2_BERRIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_BERRIE_SHIFT))&eSCI_CR2_BERRIE_MASK)
  9652. #define eSCI_CR2_BSTP_MASK 0x2000u
  9653. #define eSCI_CR2_BSTP_SHIFT 13u
  9654. #define eSCI_CR2_BSTP_WIDTH 1u
  9655. #define eSCI_CR2_BSTP(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_BSTP_SHIFT))&eSCI_CR2_BSTP_MASK)
  9656. #define eSCI_CR2_FBR_MASK 0x4000u
  9657. #define eSCI_CR2_FBR_SHIFT 14u
  9658. #define eSCI_CR2_FBR_WIDTH 1u
  9659. #define eSCI_CR2_FBR(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_FBR_SHIFT))&eSCI_CR2_FBR_MASK)
  9660. #define eSCI_CR2_MDIS_MASK 0x8000u
  9661. #define eSCI_CR2_MDIS_SHIFT 15u
  9662. #define eSCI_CR2_MDIS_WIDTH 1u
  9663. #define eSCI_CR2_MDIS(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR2_MDIS_SHIFT))&eSCI_CR2_MDIS_MASK)
  9664. /* SDR Bit Fields */
  9665. #define eSCI_SDR_RDTD_MASK 0xFFFu
  9666. #define eSCI_SDR_RDTD_SHIFT 0u
  9667. #define eSCI_SDR_RDTD_WIDTH 12u
  9668. #define eSCI_SDR_RDTD(x) (((uint16_t)(((uint16_t)(x))<<eSCI_SDR_RDTD_SHIFT))&eSCI_SDR_RDTD_MASK)
  9669. #define eSCI_SDR_ERR_MASK 0x2000u
  9670. #define eSCI_SDR_ERR_SHIFT 13u
  9671. #define eSCI_SDR_ERR_WIDTH 1u
  9672. #define eSCI_SDR_ERR(x) (((uint16_t)(((uint16_t)(x))<<eSCI_SDR_ERR_SHIFT))&eSCI_SDR_ERR_MASK)
  9673. #define eSCI_SDR_TN_MASK 0x4000u
  9674. #define eSCI_SDR_TN_SHIFT 14u
  9675. #define eSCI_SDR_TN_WIDTH 1u
  9676. #define eSCI_SDR_TN(x) (((uint16_t)(((uint16_t)(x))<<eSCI_SDR_TN_SHIFT))&eSCI_SDR_TN_MASK)
  9677. #define eSCI_SDR_RN_MASK 0x8000u
  9678. #define eSCI_SDR_RN_SHIFT 15u
  9679. #define eSCI_SDR_RN_WIDTH 1u
  9680. #define eSCI_SDR_RN(x) (((uint16_t)(((uint16_t)(x))<<eSCI_SDR_RN_SHIFT))&eSCI_SDR_RN_MASK)
  9681. /* IFSR1 Bit Fields */
  9682. #define eSCI_IFSR1_RACT_MASK 0x1u
  9683. #define eSCI_IFSR1_RACT_SHIFT 0u
  9684. #define eSCI_IFSR1_RACT_WIDTH 1u
  9685. #define eSCI_IFSR1_RACT(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_RACT_SHIFT))&eSCI_IFSR1_RACT_MASK)
  9686. #define eSCI_IFSR1_TACT_MASK 0x2u
  9687. #define eSCI_IFSR1_TACT_SHIFT 1u
  9688. #define eSCI_IFSR1_TACT_WIDTH 1u
  9689. #define eSCI_IFSR1_TACT(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_TACT_SHIFT))&eSCI_IFSR1_TACT_MASK)
  9690. #define eSCI_IFSR1_LACT_MASK 0x4u
  9691. #define eSCI_IFSR1_LACT_SHIFT 2u
  9692. #define eSCI_IFSR1_LACT_WIDTH 1u
  9693. #define eSCI_IFSR1_LACT(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_LACT_SHIFT))&eSCI_IFSR1_LACT_MASK)
  9694. #define eSCI_IFSR1_WACT_MASK 0x8u
  9695. #define eSCI_IFSR1_WACT_SHIFT 3u
  9696. #define eSCI_IFSR1_WACT_WIDTH 1u
  9697. #define eSCI_IFSR1_WACT(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_WACT_SHIFT))&eSCI_IFSR1_WACT_MASK)
  9698. #define eSCI_IFSR1_BERR_MASK 0x10u
  9699. #define eSCI_IFSR1_BERR_SHIFT 4u
  9700. #define eSCI_IFSR1_BERR_WIDTH 1u
  9701. #define eSCI_IFSR1_BERR(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_BERR_SHIFT))&eSCI_IFSR1_BERR_MASK)
  9702. #define eSCI_IFSR1_DACT_MASK 0x20u
  9703. #define eSCI_IFSR1_DACT_SHIFT 5u
  9704. #define eSCI_IFSR1_DACT_WIDTH 1u
  9705. #define eSCI_IFSR1_DACT(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_DACT_SHIFT))&eSCI_IFSR1_DACT_MASK)
  9706. #define eSCI_IFSR1_PF_MASK 0x100u
  9707. #define eSCI_IFSR1_PF_SHIFT 8u
  9708. #define eSCI_IFSR1_PF_WIDTH 1u
  9709. #define eSCI_IFSR1_PF(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_PF_SHIFT))&eSCI_IFSR1_PF_MASK)
  9710. #define eSCI_IFSR1_FE_MASK 0x200u
  9711. #define eSCI_IFSR1_FE_SHIFT 9u
  9712. #define eSCI_IFSR1_FE_WIDTH 1u
  9713. #define eSCI_IFSR1_FE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_FE_SHIFT))&eSCI_IFSR1_FE_MASK)
  9714. #define eSCI_IFSR1_NF_MASK 0x400u
  9715. #define eSCI_IFSR1_NF_SHIFT 10u
  9716. #define eSCI_IFSR1_NF_WIDTH 1u
  9717. #define eSCI_IFSR1_NF(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_NF_SHIFT))&eSCI_IFSR1_NF_MASK)
  9718. #define eSCI_IFSR1_OR_MASK 0x800u
  9719. #define eSCI_IFSR1_OR_SHIFT 11u
  9720. #define eSCI_IFSR1_OR_WIDTH 1u
  9721. #define eSCI_IFSR1_OR(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_OR_SHIFT))&eSCI_IFSR1_OR_MASK)
  9722. #define eSCI_IFSR1_IDLE_MASK 0x1000u
  9723. #define eSCI_IFSR1_IDLE_SHIFT 12u
  9724. #define eSCI_IFSR1_IDLE_WIDTH 1u
  9725. #define eSCI_IFSR1_IDLE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_IDLE_SHIFT))&eSCI_IFSR1_IDLE_MASK)
  9726. #define eSCI_IFSR1_RDRF_MASK 0x2000u
  9727. #define eSCI_IFSR1_RDRF_SHIFT 13u
  9728. #define eSCI_IFSR1_RDRF_WIDTH 1u
  9729. #define eSCI_IFSR1_RDRF(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_RDRF_SHIFT))&eSCI_IFSR1_RDRF_MASK)
  9730. #define eSCI_IFSR1_TC_MASK 0x4000u
  9731. #define eSCI_IFSR1_TC_SHIFT 14u
  9732. #define eSCI_IFSR1_TC_WIDTH 1u
  9733. #define eSCI_IFSR1_TC(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_TC_SHIFT))&eSCI_IFSR1_TC_MASK)
  9734. #define eSCI_IFSR1_TDRE_MASK 0x8000u
  9735. #define eSCI_IFSR1_TDRE_SHIFT 15u
  9736. #define eSCI_IFSR1_TDRE_WIDTH 1u
  9737. #define eSCI_IFSR1_TDRE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR1_TDRE_SHIFT))&eSCI_IFSR1_TDRE_MASK)
  9738. /* IFSR2 Bit Fields */
  9739. #define eSCI_IFSR2_OVFL_MASK 0x1u
  9740. #define eSCI_IFSR2_OVFL_SHIFT 0u
  9741. #define eSCI_IFSR2_OVFL_WIDTH 1u
  9742. #define eSCI_IFSR2_OVFL(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR2_OVFL_SHIFT))&eSCI_IFSR2_OVFL_MASK)
  9743. #define eSCI_IFSR2_UREQ_MASK 0x2u
  9744. #define eSCI_IFSR2_UREQ_SHIFT 1u
  9745. #define eSCI_IFSR2_UREQ_WIDTH 1u
  9746. #define eSCI_IFSR2_UREQ(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR2_UREQ_SHIFT))&eSCI_IFSR2_UREQ_MASK)
  9747. #define eSCI_IFSR2_FRC_MASK 0x100u
  9748. #define eSCI_IFSR2_FRC_SHIFT 8u
  9749. #define eSCI_IFSR2_FRC_WIDTH 1u
  9750. #define eSCI_IFSR2_FRC(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR2_FRC_SHIFT))&eSCI_IFSR2_FRC_MASK)
  9751. #define eSCI_IFSR2_CKERR_MASK 0x200u
  9752. #define eSCI_IFSR2_CKERR_SHIFT 9u
  9753. #define eSCI_IFSR2_CKERR_WIDTH 1u
  9754. #define eSCI_IFSR2_CKERR(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR2_CKERR_SHIFT))&eSCI_IFSR2_CKERR_MASK)
  9755. #define eSCI_IFSR2_CERR_MASK 0x400u
  9756. #define eSCI_IFSR2_CERR_SHIFT 10u
  9757. #define eSCI_IFSR2_CERR_WIDTH 1u
  9758. #define eSCI_IFSR2_CERR(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR2_CERR_SHIFT))&eSCI_IFSR2_CERR_MASK)
  9759. #define eSCI_IFSR2_PBERR_MASK 0x800u
  9760. #define eSCI_IFSR2_PBERR_SHIFT 11u
  9761. #define eSCI_IFSR2_PBERR_WIDTH 1u
  9762. #define eSCI_IFSR2_PBERR(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR2_PBERR_SHIFT))&eSCI_IFSR2_PBERR_MASK)
  9763. #define eSCI_IFSR2_STO_MASK 0x1000u
  9764. #define eSCI_IFSR2_STO_SHIFT 12u
  9765. #define eSCI_IFSR2_STO_WIDTH 1u
  9766. #define eSCI_IFSR2_STO(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR2_STO_SHIFT))&eSCI_IFSR2_STO_MASK)
  9767. #define eSCI_IFSR2_LWAKE_MASK 0x2000u
  9768. #define eSCI_IFSR2_LWAKE_SHIFT 13u
  9769. #define eSCI_IFSR2_LWAKE_WIDTH 1u
  9770. #define eSCI_IFSR2_LWAKE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR2_LWAKE_SHIFT))&eSCI_IFSR2_LWAKE_MASK)
  9771. #define eSCI_IFSR2_TXRDY_MASK 0x4000u
  9772. #define eSCI_IFSR2_TXRDY_SHIFT 14u
  9773. #define eSCI_IFSR2_TXRDY_WIDTH 1u
  9774. #define eSCI_IFSR2_TXRDY(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR2_TXRDY_SHIFT))&eSCI_IFSR2_TXRDY_MASK)
  9775. #define eSCI_IFSR2_RXRDY_MASK 0x8000u
  9776. #define eSCI_IFSR2_RXRDY_SHIFT 15u
  9777. #define eSCI_IFSR2_RXRDY_WIDTH 1u
  9778. #define eSCI_IFSR2_RXRDY(x) (((uint16_t)(((uint16_t)(x))<<eSCI_IFSR2_RXRDY_SHIFT))&eSCI_IFSR2_RXRDY_MASK)
  9779. /* LCR1 Bit Fields */
  9780. #define eSCI_LCR1_FCIE_MASK 0x1u
  9781. #define eSCI_LCR1_FCIE_SHIFT 0u
  9782. #define eSCI_LCR1_FCIE_WIDTH 1u
  9783. #define eSCI_LCR1_FCIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR1_FCIE_SHIFT))&eSCI_LCR1_FCIE_MASK)
  9784. #define eSCI_LCR1_CKIE_MASK 0x2u
  9785. #define eSCI_LCR1_CKIE_SHIFT 1u
  9786. #define eSCI_LCR1_CKIE_WIDTH 1u
  9787. #define eSCI_LCR1_CKIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR1_CKIE_SHIFT))&eSCI_LCR1_CKIE_MASK)
  9788. #define eSCI_LCR1_CIE_MASK 0x4u
  9789. #define eSCI_LCR1_CIE_SHIFT 2u
  9790. #define eSCI_LCR1_CIE_WIDTH 1u
  9791. #define eSCI_LCR1_CIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR1_CIE_SHIFT))&eSCI_LCR1_CIE_MASK)
  9792. #define eSCI_LCR1_PBIE_MASK 0x8u
  9793. #define eSCI_LCR1_PBIE_SHIFT 3u
  9794. #define eSCI_LCR1_PBIE_WIDTH 1u
  9795. #define eSCI_LCR1_PBIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR1_PBIE_SHIFT))&eSCI_LCR1_PBIE_MASK)
  9796. #define eSCI_LCR1_STIE_MASK 0x10u
  9797. #define eSCI_LCR1_STIE_SHIFT 4u
  9798. #define eSCI_LCR1_STIE_WIDTH 1u
  9799. #define eSCI_LCR1_STIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR1_STIE_SHIFT))&eSCI_LCR1_STIE_MASK)
  9800. #define eSCI_LCR1_WUIE_MASK 0x20u
  9801. #define eSCI_LCR1_WUIE_SHIFT 5u
  9802. #define eSCI_LCR1_WUIE_WIDTH 1u
  9803. #define eSCI_LCR1_WUIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR1_WUIE_SHIFT))&eSCI_LCR1_WUIE_MASK)
  9804. #define eSCI_LCR1_TXIE_MASK 0x40u
  9805. #define eSCI_LCR1_TXIE_SHIFT 6u
  9806. #define eSCI_LCR1_TXIE_WIDTH 1u
  9807. #define eSCI_LCR1_TXIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR1_TXIE_SHIFT))&eSCI_LCR1_TXIE_MASK)
  9808. #define eSCI_LCR1_RXIE_MASK 0x80u
  9809. #define eSCI_LCR1_RXIE_SHIFT 7u
  9810. #define eSCI_LCR1_RXIE_WIDTH 1u
  9811. #define eSCI_LCR1_RXIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR1_RXIE_SHIFT))&eSCI_LCR1_RXIE_MASK)
  9812. #define eSCI_LCR1_LIN_MASK 0x100u
  9813. #define eSCI_LCR1_LIN_SHIFT 8u
  9814. #define eSCI_LCR1_LIN_WIDTH 1u
  9815. #define eSCI_LCR1_LIN(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR1_LIN_SHIFT))&eSCI_LCR1_LIN_MASK)
  9816. #define eSCI_LCR1_PRTY_MASK 0x200u
  9817. #define eSCI_LCR1_PRTY_SHIFT 9u
  9818. #define eSCI_LCR1_PRTY_WIDTH 1u
  9819. #define eSCI_LCR1_PRTY(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR1_PRTY_SHIFT))&eSCI_LCR1_PRTY_MASK)
  9820. #define eSCI_LCR1_WUD_MASK 0x3000u
  9821. #define eSCI_LCR1_WUD_SHIFT 12u
  9822. #define eSCI_LCR1_WUD_WIDTH 2u
  9823. #define eSCI_LCR1_WUD(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR1_WUD_SHIFT))&eSCI_LCR1_WUD_MASK)
  9824. #define eSCI_LCR1_WU_MASK 0x4000u
  9825. #define eSCI_LCR1_WU_SHIFT 14u
  9826. #define eSCI_LCR1_WU_WIDTH 1u
  9827. #define eSCI_LCR1_WU(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR1_WU_SHIFT))&eSCI_LCR1_WU_MASK)
  9828. #define eSCI_LCR1_LRES_MASK 0x8000u
  9829. #define eSCI_LCR1_LRES_SHIFT 15u
  9830. #define eSCI_LCR1_LRES_WIDTH 1u
  9831. #define eSCI_LCR1_LRES(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR1_LRES_SHIFT))&eSCI_LCR1_LRES_MASK)
  9832. /* LCR2 Bit Fields */
  9833. #define eSCI_LCR2_OFIE_MASK 0x100u
  9834. #define eSCI_LCR2_OFIE_SHIFT 8u
  9835. #define eSCI_LCR2_OFIE_WIDTH 1u
  9836. #define eSCI_LCR2_OFIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR2_OFIE_SHIFT))&eSCI_LCR2_OFIE_MASK)
  9837. #define eSCI_LCR2_UQIE_MASK 0x200u
  9838. #define eSCI_LCR2_UQIE_SHIFT 9u
  9839. #define eSCI_LCR2_UQIE_WIDTH 1u
  9840. #define eSCI_LCR2_UQIE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LCR2_UQIE_SHIFT))&eSCI_LCR2_UQIE_MASK)
  9841. /* LTR Bit Fields */
  9842. #define eSCI_LTR_DATA_MASK 0xFFu
  9843. #define eSCI_LTR_DATA_SHIFT 0u
  9844. #define eSCI_LTR_DATA_WIDTH 8u
  9845. #define eSCI_LTR_DATA(x) (((uint8_t)(((uint8_t)(x))<<eSCI_LTR_DATA_SHIFT))&eSCI_LTR_DATA_MASK)
  9846. /* LRR Bit Fields */
  9847. #define eSCI_LRR_D_MASK 0xFFu
  9848. #define eSCI_LRR_D_SHIFT 0u
  9849. #define eSCI_LRR_D_WIDTH 8u
  9850. #define eSCI_LRR_D(x) (((uint8_t)(((uint8_t)(x))<<eSCI_LRR_D_SHIFT))&eSCI_LRR_D_MASK)
  9851. /* LPR Bit Fields */
  9852. #define eSCI_LPR_P_MASK 0xFFFFu
  9853. #define eSCI_LPR_P_SHIFT 0u
  9854. #define eSCI_LPR_P_WIDTH 16u
  9855. #define eSCI_LPR_P(x) (((uint16_t)(((uint16_t)(x))<<eSCI_LPR_P_SHIFT))&eSCI_LPR_P_MASK)
  9856. /* CR3 Bit Fields */
  9857. #define eSCI_CR3_M2_MASK 0x100u
  9858. #define eSCI_CR3_M2_SHIFT 8u
  9859. #define eSCI_CR3_M2_WIDTH 1u
  9860. #define eSCI_CR3_M2(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR3_M2_SHIFT))&eSCI_CR3_M2_MASK)
  9861. #define eSCI_CR3_ERPE_MASK 0x200u
  9862. #define eSCI_CR3_ERPE_SHIFT 9u
  9863. #define eSCI_CR3_ERPE_WIDTH 1u
  9864. #define eSCI_CR3_ERPE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR3_ERPE_SHIFT))&eSCI_CR3_ERPE_MASK)
  9865. #define eSCI_CR3_ERFE_MASK 0x400u
  9866. #define eSCI_CR3_ERFE_SHIFT 10u
  9867. #define eSCI_CR3_ERFE_WIDTH 1u
  9868. #define eSCI_CR3_ERFE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR3_ERFE_SHIFT))&eSCI_CR3_ERFE_MASK)
  9869. #define eSCI_CR3_EROE_MASK 0x800u
  9870. #define eSCI_CR3_EROE_SHIFT 11u
  9871. #define eSCI_CR3_EROE_WIDTH 1u
  9872. #define eSCI_CR3_EROE(x) (((uint16_t)(((uint16_t)(x))<<eSCI_CR3_EROE_SHIFT))&eSCI_CR3_EROE_MASK)
  9873. /*!
  9874. * @}
  9875. */ /* end of group eSCI_Register_Masks */
  9876. /*!
  9877. * @}
  9878. */ /* end of group eSCI_Peripheral_Access_Layer */
  9879. /****************************************************************************/
  9880. /* MODULE : FlexCAN */
  9881. /****************************************************************************/
  9882. /** CAN - Size of Registers Arrays */
  9883. #define CAN_RAMn_COUNT (256u)
  9884. #define CAN_RXIMR_COUNT 64u
  9885. /** CAN - Register Layout Typedef */
  9886. typedef struct {
  9887. __IO uint32_t MCR; /**< Module Configuration Register, offset: 0x0 */
  9888. __IO uint32_t CTRL1; /**< Control 1 register, offset: 0x4 */
  9889. __IO uint32_t TIMER; /**< Free Running Timer, offset: 0x8 */
  9890. uint8_t RESERVED_0[4];
  9891. __IO uint32_t RXMGMASK; /**< Rx Mailboxes Global Mask Register, offset: 0x10 */
  9892. __IO uint32_t RX14MASK; /**< Rx 14 Mask register, offset: 0x14 */
  9893. __IO uint32_t RX15MASK; /**< Rx 15 Mask register, offset: 0x18 */
  9894. __IO uint32_t ECR; /**< Error Counter, offset: 0x1C */
  9895. __IO uint32_t ESR1; /**< Error and Status 1 register, offset: 0x20 */
  9896. __IO uint32_t IMASK2; /**< Interrupt Masks 2 register, offset: 0x24 */
  9897. __IO uint32_t IMASK1; /**< Interrupt Masks 1 register, offset: 0x28 */
  9898. __IO uint32_t IFLAG2; /**< Interrupt Flags 2 register, offset: 0x2C */
  9899. __IO uint32_t IFLAG1; /**< Interrupt Flags 1 register, offset: 0x30 */
  9900. __IO uint32_t CTRL2; /**< Control 2 register, offset: 0x34 */
  9901. uint32_t RESERVED_1[18];
  9902. __IO uint32_t RAMn[CAN_RAMn_COUNT]; /**< Embedded RAM, array offset: 0x60, array step: 0x4 */
  9903. uint32_t RESERVED_2[256];
  9904. __IO uint32_t RXIMR[CAN_RXIMR_COUNT]; /**< Rx Individual Mask Registers, array offset: 0x880, array step: 0x4 */
  9905. uint8_t RESERVED_3[352];
  9906. uint32_t RESERVED_4[96];
  9907. } CAN_Type, *CAN_MemMapPtr;
  9908. /****************************************************************************/
  9909. /* MODULE : FlexRay */
  9910. /****************************************************************************/
  9911. typedef union uMVR {
  9912. vuint16_t R;
  9913. struct {
  9914. vuint16_t CHIVER:8; /* CHI Version Number */
  9915. vuint16_t PEVER:8; /* PE Version Number */
  9916. } B;
  9917. } MVR_t;
  9918. typedef union uMCR {
  9919. vuint16_t R;
  9920. struct {
  9921. vuint16_t MEN:1; /* module enable */
  9922. vuint16_t SBFF:1; /* sys bus failure freeze */
  9923. vuint16_t SCM:1; /* single channel mode */
  9924. vuint16_t CHB:1; /* channel B enable */
  9925. vuint16_t CHA:1; /* channel A enable */
  9926. vuint16_t SFFE:1; /* synchronization frame filter enable */
  9927. vuint16_t:1;
  9928. vuint16_t R:1; /* reserved, read as zero. system must not
  9929. write 1 to this bit */
  9930. vuint16_t FUM:1; /* FIFO update mode */
  9931. vuint16_t FAM:1; /* FIFO address mode */
  9932. vuint16_t:1;
  9933. vuint16_t CLKSEL:1; /* protocol engine clock source select */
  9934. vuint16_t BITRATE:3; /* flexray bus bitrate */
  9935. vuint16_t:1;
  9936. } B;
  9937. } MCR_t;
  9938. typedef union uSTBSCR {
  9939. vuint16_t R;
  9940. struct {
  9941. vuint16_t WMD:1; /* write mode */
  9942. vuint16_t:3;
  9943. vuint16_t STBSSEL:4; /* strobe signal select */
  9944. vuint16_t:3;
  9945. vuint16_t ENB:1; /* strobe signal enable */
  9946. vuint16_t:2;
  9947. vuint16_t STBPSEL:2; /* strobe port select */
  9948. } B;
  9949. } STBSCR_t;
  9950. typedef union uMBDSR {
  9951. vuint16_t R;
  9952. struct {
  9953. vuint16_t:1;
  9954. vuint16_t MBSEG2DS:7; /* message buffer segment 2 data size */
  9955. vuint16_t:1;
  9956. vuint16_t MBSEG1DS:7; /* message buffer segment 1 data size */
  9957. } B;
  9958. } MBDSR_t;
  9959. typedef union uMBSSUTR {
  9960. vuint16_t R;
  9961. struct {
  9962. vuint16_t:1;
  9963. vuint16_t LAST_MB_SEG1:7; /* last message buffer control register for message buffer segment 1 */
  9964. vuint16_t:1;
  9965. vuint16_t LAST_MB_UTIL:7; /* last message buffer utilized */
  9966. } B;
  9967. } MBSSUTR_t;
  9968. typedef union uPOCR {
  9969. vuint16_t R;
  9970. vuint8_t byte[2];
  9971. struct {
  9972. vuint16_t WME:1; /* write mode external correction command */
  9973. vuint16_t:3;
  9974. vuint16_t EOC_AP:2; /* external offset correction application */
  9975. vuint16_t ERC_AP:2; /* external rate correction application */
  9976. vuint16_t BSY:1; /* command write busy / write mode command */
  9977. vuint16_t:3;
  9978. vuint16_t POCCMD:4; /* protocol command */
  9979. } B;
  9980. } POCR_t;
  9981. /* protocol commands */
  9982. typedef union uGIFER {
  9983. vuint16_t R;
  9984. struct {
  9985. vuint16_t MIF:1; /* module interrupt flag */
  9986. vuint16_t PRIF:1; /* protocol interrupt flag */
  9987. vuint16_t CHIF:1; /* CHI interrupt flag */
  9988. vuint16_t WKUPIF:1; /* wakeup interrupt flag *//* Legacy naming: Refer to WUPIF in the reference manual */
  9989. vuint16_t FNEBIF:1; /* receive FIFO channel B not empty interrupt flag *//* Legacy naming: Refer to FAFBIF in the reference manual */
  9990. vuint16_t FNEAIF:1; /* receive FIFO channel A not empty interrupt flag *//* Legacy naming: Refer to FAFAIF in the reference manual */
  9991. vuint16_t RBIF:1; /* receive message buffer interrupt flag */
  9992. vuint16_t TBIF:1; /* transmit buffer interrupt flag */
  9993. vuint16_t MIE:1; /* module interrupt enable */
  9994. vuint16_t PRIE:1; /* protocol interrupt enable */
  9995. vuint16_t CHIE:1; /* CHI interrupt enable */
  9996. vuint16_t WKUPIE:1; /* wakeup interrupt enable *//* Legacy naming: Refer to WUPIE in the reference manual */
  9997. vuint16_t FNEBIE:1; /* receive FIFO channel B not empty interrupt enable *//* Legacy naming: Refer to FAFBIE in the reference manual */
  9998. vuint16_t FNEAIE:1; /* receive FIFO channel A not empty interrupt enable *//* Legacy naming: Refer to FAFAIE in the reference manual */
  9999. vuint16_t RBIE:1; /* receive message buffer interrupt enable */
  10000. vuint16_t TBIE:1; /* transmit buffer interrupt enable */
  10001. } B;
  10002. } GIFER_t;
  10003. typedef union uPIFR0 {
  10004. vuint16_t R;
  10005. struct {
  10006. vuint16_t FATLIF:1; /* fatal protocol error interrupt flag */
  10007. vuint16_t INTLIF:1; /* internal protocol error interrupt flag */
  10008. vuint16_t ILCFIF:1; /* illegal protocol configuration flag */
  10009. vuint16_t CSAIF:1; /* cold start abort interrupt flag */
  10010. vuint16_t MRCIF:1; /* missing rate correctio interrupt flag */
  10011. vuint16_t MOCIF:1; /* missing offset correctio interrupt flag */
  10012. vuint16_t CCLIF:1; /* clock correction limit reached interrupt flag */
  10013. vuint16_t MXSIF:1; /* max sync frames detected interrupt flag */
  10014. vuint16_t MTXIF:1; /* media access test symbol received flag */
  10015. vuint16_t LTXBIF:1; /* pdLatestTx violation on channel B interrupt flag */
  10016. vuint16_t LTXAIF:1; /* pdLatestTx violation on channel A interrupt flag */
  10017. vuint16_t TBVBIF:1; /* Transmission across boundary on channel B Interrupt Flag */
  10018. vuint16_t TBVAIF:1; /* Transmission across boundary on channel A Interrupt Flag */
  10019. vuint16_t TI2IF:1; /* timer 2 expired interrupt flag */
  10020. vuint16_t TI1IF:1; /* timer 1 expired interrupt flag */
  10021. vuint16_t CYSIF:1; /* cycle start interrupt flag */
  10022. } B;
  10023. } PIFR0_t;
  10024. typedef union uPIFR1 {
  10025. vuint16_t R;
  10026. struct {
  10027. vuint16_t EMCIF:1; /* error mode changed interrupt flag */
  10028. vuint16_t IPCIF:1; /* illegal protocol command interrupt flag */
  10029. vuint16_t PECFIF:1; /* protocol engine communication failure interrupt flag */
  10030. vuint16_t PSCIF:1; /* Protocol State Changed Interrupt Flag */
  10031. vuint16_t SSI3IF:1; /* slot status counter incremented interrupt flag */
  10032. vuint16_t SSI2IF:1; /* slot status counter incremented interrupt flag */
  10033. vuint16_t SSI1IF:1; /* slot status counter incremented interrupt flag */
  10034. vuint16_t SSI0IF:1; /* slot status counter incremented interrupt flag */
  10035. vuint16_t:2;
  10036. vuint16_t EVTIF:1; /* even cycle table written interrupt flag */
  10037. vuint16_t ODTIF:1; /* odd cycle table written interrupt flag */
  10038. vuint16_t:4;
  10039. } B;
  10040. } PIFR1_t;
  10041. typedef union uPIER0 {
  10042. vuint16_t R;
  10043. struct {
  10044. vuint16_t FATLIE:1; /* fatal protocol error interrupt enable */
  10045. vuint16_t INTLIE:1; /* internal protocol error interrupt interrupt enable */
  10046. vuint16_t ILCFIE:1; /* illegal protocol configuration interrupt enable */
  10047. vuint16_t CSAIE:1; /* cold start abort interrupt enable */
  10048. vuint16_t MRCIE:1; /* missing rate correctio interrupt enable */
  10049. vuint16_t MOCIE:1; /* missing offset correctio interrupt enable */
  10050. vuint16_t CCLIE:1; /* clock correction limit reached interrupt enable */
  10051. vuint16_t MXSIE:1; /* max sync frames detected interrupt enable */
  10052. vuint16_t MTXIE:1; /* media access test symbol received interrupt enable */
  10053. vuint16_t LTXBIE:1; /* pdLatestTx violation on channel B interrupt enable */
  10054. vuint16_t LTXAIE:1; /* pdLatestTx violation on channel A interrupt enable */
  10055. vuint16_t TBVBIE:1; /* Transmission across boundary on channel B Interrupt enable */
  10056. vuint16_t TBVAIE:1; /* Transmission across boundary on channel A Interrupt enable */
  10057. vuint16_t TI2IE:1; /* timer 2 expired interrupt enable */
  10058. vuint16_t TI1IE:1; /* timer 1 expired interrupt enable */
  10059. vuint16_t CYSIE:1; /* cycle start interrupt enable */
  10060. } B;
  10061. } PIER0_t;
  10062. typedef union uPIER1 {
  10063. vuint16_t R;
  10064. struct {
  10065. vuint16_t EMCIE:1; /* error mode changed interrupt enable */
  10066. vuint16_t IPCIE:1; /* illegal protocol command interrupt enable */
  10067. vuint16_t PECFIE:1; /* protocol engine communication failure interrupt enable */
  10068. vuint16_t PSCIE:1; /* Protocol State Changed Interrupt enable */
  10069. vuint16_t SSI3IE:1; /* slot status counter incremented interrupt enable */
  10070. vuint16_t SSI2IE:1; /* slot status counter incremented interrupt enable */
  10071. vuint16_t SSI1IE:1; /* slot status counter incremented interrupt enable */
  10072. vuint16_t SSI0IE:1; /* slot status counter incremented interrupt enable */
  10073. vuint16_t:2;
  10074. vuint16_t EVTIE:1; /* even cycle table written interrupt enable */
  10075. vuint16_t ODTIE:1; /* odd cycle table written interrupt enable */
  10076. vuint16_t:4;
  10077. } B;
  10078. } PIER1_t;
  10079. typedef union uCHIERFR {
  10080. vuint16_t R;
  10081. struct {
  10082. vuint16_t FRLBEF:1; /* flame lost channel B error flag */
  10083. vuint16_t FRLAEF:1; /* frame lost channel A error flag */
  10084. vuint16_t PCMIEF:1; /* command ignored error flag */
  10085. vuint16_t FOVBEF:1; /* receive FIFO overrun channel B error flag */
  10086. vuint16_t FOVAEF:1; /* receive FIFO overrun channel A error flag */
  10087. vuint16_t MSBEF:1; /* message buffer search error flag *//* Legacy naming: Refer to MBSEF in the reference manual */
  10088. vuint16_t MBUEF:1; /* message buffer utilization error flag */
  10089. vuint16_t LCKEF:1; /* lock error flag */
  10090. vuint16_t DBLEF:1; /* double transmit message buffer lock error flag */
  10091. vuint16_t SBCFEF:1; /* system bus communication failure error flag */
  10092. vuint16_t FIDEF:1; /* frame ID error flag */
  10093. vuint16_t DPLEF:1; /* dynamic payload length error flag */
  10094. vuint16_t SPLEF:1; /* static payload length error flag */
  10095. vuint16_t NMLEF:1; /* network management length error flag */
  10096. vuint16_t NMFEF:1; /* network management frame error flag */
  10097. vuint16_t ILSAEF:1; /* illegal access error flag */
  10098. } B;
  10099. } CHIERFR_t;
  10100. typedef union uMBIVEC {
  10101. vuint16_t R;
  10102. struct {
  10103. vuint16_t:1;
  10104. vuint16_t TBIVEC:7; /* transmit buffer interrupt vector */
  10105. vuint16_t:1;
  10106. vuint16_t RBIVEC:7; /* receive buffer interrupt vector */
  10107. } B;
  10108. } MBIVEC_t;
  10109. typedef union uPSR0 {
  10110. vuint16_t R;
  10111. struct {
  10112. vuint16_t ERRMODE:2; /* error mode */
  10113. vuint16_t SLOTMODE:2; /* slot mode */
  10114. vuint16_t:1;
  10115. vuint16_t PROTSTATE:3; /* protocol state */
  10116. vuint16_t SUBSTATE:4; /* protocol sub state *//* Legacy naming: Refer to STARTUPSTATE in the reference manual */
  10117. vuint16_t:1;
  10118. vuint16_t WAKEUPSTATUS:3; /* wakeup status */
  10119. } B;
  10120. } PSR0_t;
  10121. /* protocol states */
  10122. /* protocol sub-states */
  10123. /* wakeup status */
  10124. typedef union uPSR1 {
  10125. vuint16_t R;
  10126. struct {
  10127. vuint16_t CSAA:1; /* cold start attempt abort flag */
  10128. vuint16_t SCP:1; /* cold start path *//* Legacy naming: Refer to CSP in the reference manual */
  10129. vuint16_t:1;
  10130. vuint16_t REMCSAT:5;/* remanining coldstart attempts */
  10131. vuint16_t CPN:1; /* cold start noise path */
  10132. vuint16_t HHR:1; /* host halt request pending */
  10133. vuint16_t FRZ:1; /* freeze occured */
  10134. vuint16_t APTAC:5; /* allow passive to active counter */
  10135. } B;
  10136. } PSR1_t;
  10137. typedef union uPSR2 {
  10138. vuint16_t R;
  10139. struct {
  10140. vuint16_t NBVB:1; /* NIT boundary violation on channel B */
  10141. vuint16_t NSEB:1; /* NIT syntax error on channel B */
  10142. vuint16_t STCB:1; /* symbol window transmit conflict on channel B */
  10143. vuint16_t SBVB:1; /* symbol window boundary violation on channel B */
  10144. vuint16_t SSEB:1; /* symbol window syntax error on channel B */
  10145. vuint16_t MTB:1; /* media access test symbol MTS received on channel B */
  10146. vuint16_t NBVA:1; /* NIT boundary violation on channel A */
  10147. vuint16_t NSEA:1; /* NIT syntax error on channel A */
  10148. vuint16_t STCA:1; /* symbol window transmit conflict on channel A */
  10149. vuint16_t SBVA:1; /* symbol window boundary violation on channel A */
  10150. vuint16_t SSEA:1; /* symbol window syntax error on channel A */
  10151. vuint16_t MTA:1; /* media access test symbol MTS received on channel A */
  10152. vuint16_t CLKCORRFAILCNT:4; /* clock correction failed counter */
  10153. } B;
  10154. } PSR2_t;
  10155. typedef union uPSR3 {
  10156. vuint16_t R;
  10157. struct {
  10158. vuint16_t:2;
  10159. vuint16_t WUB:1; /* wakeup symbol received on channel B */
  10160. vuint16_t ABVB:1; /* aggregated boundary violation on channel B */
  10161. vuint16_t AACB:1; /* aggregated additional communication on channel B */
  10162. vuint16_t ACEB:1; /* aggregated content error on channel B */
  10163. vuint16_t ASEB:1; /* aggregated syntax error on channel B */
  10164. vuint16_t AVFB:1; /* aggregated valid frame on channel B */
  10165. vuint16_t:2;
  10166. vuint16_t WUA:1; /* wakeup symbol received on channel A */
  10167. vuint16_t ABVA:1; /* aggregated boundary violation on channel A */
  10168. vuint16_t AACA:1; /* aggregated additional communication on channel A */
  10169. vuint16_t ACEA:1; /* aggregated content error on channel A */
  10170. vuint16_t ASEA:1; /* aggregated syntax error on channel A */
  10171. vuint16_t AVFA:1; /* aggregated valid frame on channel A */
  10172. } B;
  10173. } PSR3_t;
  10174. typedef union uCIFRR {
  10175. vuint16_t R;
  10176. struct {
  10177. vuint16_t:8;
  10178. vuint16_t MIFR:1; /* module interrupt flag */
  10179. vuint16_t PRIFR:1; /* protocol interrupt flag */
  10180. vuint16_t CHIFR:1; /* CHI interrupt flag */
  10181. vuint16_t WUPIFR:1; /* wakeup interrupt flag */
  10182. vuint16_t FNEBIFR:1; /* receive fifo channel B no empty interrupt flag *//* Legacy naming: Refer to FAFBIF in the reference manual */
  10183. vuint16_t FNEAIFR:1; /* receive fifo channel A no empty interrupt flag *//* Legacy naming: Refer to FAFAIF in the reference manual */
  10184. vuint16_t RBIFR:1; /* receive message buffer interrupt flag */
  10185. vuint16_t TBIFR:1; /* transmit buffer interrupt flag */
  10186. } B;
  10187. } CIFRR_t;
  10188. typedef union uSYMATOR {
  10189. vuint16_t R;
  10190. struct {
  10191. vuint16_t:8;
  10192. vuint16_t TIMEOUT:8; /* system memory access time-out */
  10193. } B;
  10194. } SYMATOR_t;
  10195. typedef union uSFCNTR {
  10196. vuint16_t R;
  10197. struct {
  10198. vuint16_t SFEVB:4; /* sync frames channel B, even cycle */
  10199. vuint16_t SFEVA:4; /* sync frames channel A, even cycle */
  10200. vuint16_t SFODB:4; /* sync frames channel B, odd cycle */
  10201. vuint16_t SFODA:4; /* sync frames channel A, odd cycle */
  10202. } B;
  10203. } SFCNTR_t;
  10204. typedef union uSFTCCSR {
  10205. vuint16_t R;
  10206. struct {
  10207. vuint16_t ELKT:1; /* even cycle tables lock and unlock trigger */
  10208. vuint16_t OLKT:1; /* odd cycle tables lock and unlock trigger */
  10209. vuint16_t CYCNUM:6; /* cycle number */
  10210. vuint16_t ELKS:1; /* even cycle tables lock status */
  10211. vuint16_t OLKS:1; /* odd cycle tables lock status */
  10212. vuint16_t EVAL:1; /* even cycle tables valid */
  10213. vuint16_t OVAL:1; /* odd cycle tables valid */
  10214. vuint16_t:1;
  10215. vuint16_t OPT:1; /*one pair trigger */
  10216. vuint16_t SDVEN:1; /* sync frame deviation table enable */
  10217. vuint16_t SIDEN:1; /* sync frame ID table enable */
  10218. } B;
  10219. } SFTCCSR_t;
  10220. typedef union uSFIDRFR {
  10221. vuint16_t R;
  10222. struct {
  10223. vuint16_t:6;
  10224. vuint16_t SYNFRID:10; /* sync frame rejection ID */
  10225. } B;
  10226. } SFIDRFR_t;
  10227. typedef union uTICCR {
  10228. vuint16_t R;
  10229. struct {
  10230. vuint16_t:2;
  10231. vuint16_t T2CFG:1; /* timer 2 configuration */
  10232. vuint16_t T2REP:1; /* timer 2 repetitive mode */
  10233. vuint16_t:1;
  10234. vuint16_t T2SP:1; /* timer 2 stop */
  10235. vuint16_t T2TR:1; /* timer 2 trigger */
  10236. vuint16_t T2ST:1; /* timer 2 state */
  10237. vuint16_t:3;
  10238. vuint16_t T1REP:1; /* timer 1 repetitive mode */
  10239. vuint16_t:1;
  10240. vuint16_t T1SP:1; /* timer 1 stop */
  10241. vuint16_t T1TR:1; /* timer 1 trigger */
  10242. vuint16_t T1ST:1; /* timer 1 state */
  10243. } B;
  10244. } TICCR_t;
  10245. typedef union uTI1CYSR {
  10246. vuint16_t R;
  10247. struct {
  10248. vuint16_t:2;
  10249. vuint16_t TI1CYCVAL:6; /* timer 1 cycle filter value */
  10250. vuint16_t:2;
  10251. vuint16_t TI1CYCMSK:6; /* timer 1 cycle filter mask */
  10252. } B;
  10253. } TI1CYSR_t;
  10254. typedef union uSSSR {
  10255. vuint16_t R;
  10256. struct {
  10257. vuint16_t WMD:1; /* write mode */
  10258. vuint16_t:1;
  10259. vuint16_t SEL:2; /* static slot number */
  10260. vuint16_t:1;
  10261. vuint16_t SLOTNUMBER:11; /* selector */
  10262. } B;
  10263. } SSSR_t;
  10264. typedef union uSSCCR {
  10265. vuint16_t R;
  10266. struct {
  10267. vuint16_t WMD:1; /* write mode */
  10268. vuint16_t:1;
  10269. vuint16_t SEL:2; /* selector */
  10270. vuint16_t:1;
  10271. vuint16_t CNTCFG:2; /* counter configuration */
  10272. vuint16_t MCY:1; /* multi cycle selection */
  10273. vuint16_t VFR:1; /* valid frame selection */
  10274. vuint16_t SYF:1; /* sync frame selection */
  10275. vuint16_t NUF:1; /* null frame selection */
  10276. vuint16_t SUF:1; /* startup frame selection */
  10277. vuint16_t STATUSMASK:4; /* slot status mask */
  10278. } B;
  10279. } SSCCR_t;
  10280. typedef union uSSR {
  10281. vuint16_t R;
  10282. struct {
  10283. vuint16_t VFB:1; /* valid frame on channel B */
  10284. vuint16_t SYB:1; /* valid sync frame on channel B */
  10285. vuint16_t NFB:1; /* valid null frame on channel B */
  10286. vuint16_t SUB:1; /* valid startup frame on channel B */
  10287. vuint16_t SEB:1; /* syntax error on channel B */
  10288. vuint16_t CEB:1; /* content error on channel B */
  10289. vuint16_t BVB:1; /* boundary violation on channel B */
  10290. vuint16_t TCB:1; /* tx conflict on channel B */
  10291. vuint16_t VFA:1; /* valid frame on channel A */
  10292. vuint16_t SYA:1; /* valid sync frame on channel A */
  10293. vuint16_t NFA:1; /* valid null frame on channel A */
  10294. vuint16_t SUA:1; /* valid startup frame on channel A */
  10295. vuint16_t SEA:1; /* syntax error on channel A */
  10296. vuint16_t CEA:1; /* content error on channel A */
  10297. vuint16_t BVA:1; /* boundary violation on channel A */
  10298. vuint16_t TCA:1; /* tx conflict on channel A */
  10299. } B;
  10300. } SSR_t;
  10301. typedef union uMTSCFR {
  10302. vuint16_t R;
  10303. struct {
  10304. vuint16_t MTE:1; /* media access test symbol transmission enable */
  10305. vuint16_t:1;
  10306. vuint16_t CYCCNTMSK:6; /* cycle counter mask */
  10307. vuint16_t:2;
  10308. vuint16_t CYCCNTVAL:6; /* cycle counter value */
  10309. } B;
  10310. } MTSCFR_t;
  10311. typedef union uRSBIR {
  10312. vuint16_t R;
  10313. struct {
  10314. vuint16_t WMD:1; /* write mode */
  10315. vuint16_t:1;
  10316. vuint16_t SEL:2; /* selector */
  10317. vuint16_t:4;
  10318. vuint16_t RSBIDX:8; /* receive shadow buffer index */
  10319. } B;
  10320. } RSBIR_t;
  10321. typedef union uRFDSR {
  10322. vuint16_t R;
  10323. struct {
  10324. vuint16_t FIFODEPTH:8; /* fifo depth */
  10325. vuint16_t:1;
  10326. vuint16_t ENTRYSIZE:7; /* entry size */
  10327. } B;
  10328. } RFDSR_t;
  10329. typedef union uRFRFCFR {
  10330. vuint16_t R;
  10331. struct {
  10332. vuint16_t WMD:1; /* write mode */
  10333. vuint16_t IBD:1; /* interval boundary */
  10334. vuint16_t SEL:2; /* filter number */
  10335. vuint16_t:1;
  10336. vuint16_t SID:11; /* slot ID */
  10337. } B;
  10338. } RFRFCFR_t;
  10339. typedef union uRFRFCTR {
  10340. vuint16_t R;
  10341. struct {
  10342. vuint16_t:4;
  10343. vuint16_t F3MD:1; /* filter mode */
  10344. vuint16_t F2MD:1; /* filter mode */
  10345. vuint16_t F1MD:1; /* filter mode */
  10346. vuint16_t F0MD:1; /* filter mode */
  10347. vuint16_t:4;
  10348. vuint16_t F3EN:1; /* filter enable */
  10349. vuint16_t F2EN:1; /* filter enable */
  10350. vuint16_t F1EN:1; /* filter enable */
  10351. vuint16_t F0EN:1; /* filter enable */
  10352. } B;
  10353. } RFRFCTR_t;
  10354. typedef union uPCR0 {
  10355. vuint16_t R;
  10356. struct {
  10357. vuint16_t ACTION_POINT_OFFSET:6;
  10358. vuint16_t STATIC_SLOT_LENGTH:10;
  10359. } B;
  10360. } PCR0_t;
  10361. typedef union uPCR1 {
  10362. vuint16_t R;
  10363. struct {
  10364. vuint16_t:2;
  10365. vuint16_t MACRO_AFTER_FIRST_STATIC_SLOT:14;
  10366. } B;
  10367. } PCR1_t;
  10368. typedef union uPCR2 {
  10369. vuint16_t R;
  10370. struct {
  10371. vuint16_t MINISLOT_AFTER_ACTION_POINT:6;
  10372. vuint16_t NUMBER_OF_STATIC_SLOTS:10;
  10373. } B;
  10374. } PCR2_t;
  10375. typedef union uPCR3 {
  10376. vuint16_t R;
  10377. struct {
  10378. vuint16_t WAKEUP_SYMBOL_RX_LOW:6;
  10379. vuint16_t MINISLOT_ACTION_POINT_OFFSET:5;
  10380. vuint16_t COLDSTART_ATTEMPTS:5;
  10381. } B;
  10382. } PCR3_t;
  10383. typedef union uPCR4 {
  10384. vuint16_t R;
  10385. struct {
  10386. vuint16_t CAS_RX_LOW_MAX:7;
  10387. vuint16_t WAKEUP_SYMBOL_RX_WINDOW:9;
  10388. } B;
  10389. } PCR4_t;
  10390. typedef union uPCR5 {
  10391. vuint16_t R;
  10392. struct {
  10393. vuint16_t TSS_TRANSMITTER:4;
  10394. vuint16_t WAKEUP_SYMBOL_TX_LOW:6;
  10395. vuint16_t WAKEUP_SYMBOL_RX_IDLE:6;
  10396. } B;
  10397. } PCR5_t;
  10398. typedef union uPCR6 {
  10399. vuint16_t R;
  10400. struct {
  10401. vuint16_t:1;
  10402. vuint16_t SYMBOL_WINDOW_AFTER_ACTION_POINT:8;
  10403. vuint16_t MACRO_INITIAL_OFFSET_A:7;
  10404. } B;
  10405. } PCR6_t;
  10406. typedef union uPCR7 {
  10407. vuint16_t R;
  10408. struct {
  10409. vuint16_t DECODING_CORRECTION_B:9;
  10410. vuint16_t MICRO_PER_MACRO_NOM_HALF:7;
  10411. } B;
  10412. } PCR7_t;
  10413. typedef union uPCR8 {
  10414. vuint16_t R;
  10415. struct {
  10416. vuint16_t MAX_WITHOUT_CLOCK_CORRECTION_FATAL:4;
  10417. vuint16_t MAX_WITHOUT_CLOCK_CORRECTION_PASSIVE:4;
  10418. vuint16_t WAKEUP_SYMBOL_TX_IDLE:8;
  10419. } B;
  10420. } PCR8_t;
  10421. typedef union uPCR9 {
  10422. vuint16_t R;
  10423. struct {
  10424. vuint16_t MINISLOT_EXISTS:1;
  10425. vuint16_t SYMBOL_WINDOW_EXISTS:1;
  10426. vuint16_t OFFSET_CORRECTION_OUT:14;
  10427. } B;
  10428. } PCR9_t;
  10429. typedef union uPCR10 {
  10430. vuint16_t R;
  10431. struct {
  10432. vuint16_t SINGLE_SLOT_ENABLED:1;
  10433. vuint16_t WAKEUP_CHANNEL:1;
  10434. vuint16_t MACRO_PER_CYCLE:14;
  10435. } B;
  10436. } PCR10_t;
  10437. typedef union uPCR11 {
  10438. vuint16_t R;
  10439. struct {
  10440. vuint16_t KEY_SLOT_USED_FOR_STARTUP:1;
  10441. vuint16_t KEY_SLOT_USED_FOR_SYNC:1;
  10442. vuint16_t OFFSET_CORRECTION_START:14;
  10443. } B;
  10444. } PCR11_t;
  10445. typedef union uPCR12 {
  10446. vuint16_t R;
  10447. struct {
  10448. vuint16_t ALLOW_PASSIVE_TO_ACTIVE:5;
  10449. vuint16_t KEY_SLOT_HEADER_CRC:11;
  10450. } B;
  10451. } PCR12_t;
  10452. typedef union uPCR13 {
  10453. vuint16_t R;
  10454. struct {
  10455. vuint16_t FIRST_MINISLOT_ACTION_POINT_OFFSET:6;
  10456. vuint16_t STATIC_SLOT_AFTER_ACTION_POINT:10;
  10457. } B;
  10458. } PCR13_t;
  10459. typedef union uPCR14 {
  10460. vuint16_t R;
  10461. struct {
  10462. vuint16_t RATE_CORRECTION_OUT:11;
  10463. vuint16_t LISTEN_TIMEOUT_H:5;
  10464. } B;
  10465. } PCR14_t;
  10466. typedef union uPCR15 {
  10467. vuint16_t R;
  10468. struct {
  10469. vuint16_t LISTEN_TIMEOUT_L:16;
  10470. } B;
  10471. } PCR15_t;
  10472. typedef union uPCR16 {
  10473. vuint16_t R;
  10474. struct {
  10475. vuint16_t MACRO_INITIAL_OFFSET_B:7;
  10476. vuint16_t NOISE_LISTEN_TIMEOUT_H:9;
  10477. } B;
  10478. } PCR16_t;
  10479. typedef union uPCR17 {
  10480. vuint16_t R;
  10481. struct {
  10482. vuint16_t NOISE_LISTEN_TIMEOUT_L:16;
  10483. } B;
  10484. } PCR17_t;
  10485. typedef union uPCR18 {
  10486. vuint16_t R;
  10487. struct {
  10488. vuint16_t WAKEUP_PATTERN:6;
  10489. vuint16_t KEY_SLOT_ID:10;
  10490. } B;
  10491. } PCR18_t;
  10492. typedef union uPCR19 {
  10493. vuint16_t R;
  10494. struct {
  10495. vuint16_t DECODING_CORRECTION_A:9;
  10496. vuint16_t PAYLOAD_LENGTH_STATIC:7;
  10497. } B;
  10498. } PCR19_t;
  10499. typedef union uPCR20 {
  10500. vuint16_t R;
  10501. struct {
  10502. vuint16_t MICRO_INITIAL_OFFSET_B:8;
  10503. vuint16_t MICRO_INITIAL_OFFSET_A:8;
  10504. } B;
  10505. } PCR20_t;
  10506. typedef union uPCR21 {
  10507. vuint16_t R;
  10508. struct {
  10509. vuint16_t EXTERN_RATE_CORRECTION:3;
  10510. vuint16_t LATEST_TX:13;
  10511. } B;
  10512. } PCR21_t;
  10513. typedef union uPCR22 {
  10514. vuint16_t R;
  10515. struct {
  10516. vuint16_t:1;
  10517. vuint16_t COMP_ACCEPTED_STARTUP_RANGE_A:11;
  10518. vuint16_t MICRO_PER_CYCLE_H:4;
  10519. } B;
  10520. } PCR22_t;
  10521. typedef union uPCR23 {
  10522. vuint16_t R;
  10523. struct {
  10524. vuint16_t micro_per_cycle_l:16;
  10525. } B;
  10526. } PCR23_t;
  10527. typedef union uPCR24 {
  10528. vuint16_t R;
  10529. struct {
  10530. vuint16_t CLUSTER_DRIFT_DAMPING:5;
  10531. vuint16_t MAX_PAYLOAD_LENGTH_DYNAMIC:7;
  10532. vuint16_t MICRO_PER_CYCLE_MIN_H:4;
  10533. } B;
  10534. } PCR24_t;
  10535. typedef union uPCR25 {
  10536. vuint16_t R;
  10537. struct {
  10538. vuint16_t MICRO_PER_CYCLE_MIN_L:16;
  10539. } B;
  10540. } PCR25_t;
  10541. typedef union uPCR26 {
  10542. vuint16_t R;
  10543. struct {
  10544. vuint16_t ALLOW_HALT_DUE_TO_CLOCK:1;
  10545. vuint16_t COMP_ACCEPTED_STARTUP_RANGE_B:11;
  10546. vuint16_t MICRO_PER_CYCLE_MAX_H:4;
  10547. } B;
  10548. } PCR26_t;
  10549. typedef union uPCR27 {
  10550. vuint16_t R;
  10551. struct {
  10552. vuint16_t MICRO_PER_CYCLE_MAX_L:16;
  10553. } B;
  10554. } PCR27_t;
  10555. typedef union uPCR28 {
  10556. vuint16_t R;
  10557. struct {
  10558. vuint16_t DYNAMIC_SLOT_IDLE_PHASE:2;
  10559. vuint16_t MACRO_AFTER_OFFSET_CORRECTION:14;
  10560. } B;
  10561. } PCR28_t;
  10562. typedef union uPCR29 {
  10563. vuint16_t R;
  10564. struct {
  10565. vuint16_t EXTERN_OFFSET_CORRECTION:3;
  10566. vuint16_t MINISLOTS_MAX:13;
  10567. } B;
  10568. } PCR29_t;
  10569. typedef union uPCR30 {
  10570. vuint16_t R;
  10571. struct {
  10572. vuint16_t:12;
  10573. vuint16_t SYNC_NODE_MAX:4;
  10574. } B;
  10575. } PCR30_t;
  10576. typedef union uRFSYMBADHR {
  10577. vuint16_t R;
  10578. struct {
  10579. vuint16_t SMBA:16;
  10580. } B;
  10581. } RFSYMBADHR_t;
  10582. typedef union uRFSYMBADLR {
  10583. vuint16_t R;
  10584. struct {
  10585. vuint16_t SMBA:12;
  10586. vuint16_t:4;
  10587. } B;
  10588. } RFSYMBADLR_t;
  10589. typedef union uRFPTR {
  10590. vuint16_t R;
  10591. struct {
  10592. vuint16_t:2;
  10593. vuint16_t PTD:14;
  10594. } B;
  10595. } RFPTR_t;
  10596. typedef union uRFFLPCR {
  10597. vuint16_t R;
  10598. } RFFLPCR_t;
  10599. typedef struct uMSG_BUFF_CCS {
  10600. union {
  10601. vuint16_t R;
  10602. struct {
  10603. vuint16_t:1;
  10604. vuint16_t MCM:1; /* message buffer commit mode */
  10605. vuint16_t MBT:1; /* message buffer type */
  10606. vuint16_t MTD:1; /* message buffer direction */
  10607. vuint16_t CMT:1; /* commit for transmission */
  10608. vuint16_t EDT:1; /* enable / disable trigger */
  10609. vuint16_t LCKT:1; /* lock request trigger */
  10610. vuint16_t MBIE:1; /* message buffer interrupt enable */
  10611. vuint16_t:3;
  10612. vuint16_t DUP:1; /* data updated */
  10613. vuint16_t DVAL:1; /* data valid */
  10614. vuint16_t EDS:1; /* lock status */
  10615. vuint16_t LCKS:1; /* enable / disable status */
  10616. vuint16_t MBIF:1; /* message buffer interrupt flag */
  10617. } B;
  10618. } MBCCSR;
  10619. union {
  10620. vuint16_t R;
  10621. struct {
  10622. vuint16_t MTM:1; /* message buffer transmission mode */
  10623. vuint16_t CHNLA:1; /* channel assignement *//* Legacy naming: Refer to CHA in the reference manual */
  10624. vuint16_t CHNLB:1; /* channel assignement *//* Legacy naming: Refer to CHB in the reference manual */
  10625. vuint16_t CCFE:1; /* cycle counter filter enable */
  10626. vuint16_t CCFMSK:6; /* cycle counter filter mask */
  10627. vuint16_t CCFVAL:6; /* cycle counter filter value */
  10628. } B;
  10629. } MBCCFR;
  10630. union {
  10631. vuint16_t R;
  10632. struct {
  10633. vuint16_t:5;
  10634. vuint16_t FID:11; /* frame ID */
  10635. } B;
  10636. } MBFIDR;
  10637. union {
  10638. vuint16_t R;
  10639. struct {
  10640. vuint16_t:8;
  10641. vuint16_t MBIDX:8; /* message buffer index */
  10642. } B;
  10643. } MBIDXR;
  10644. } MSG_BUFF_CCS_t;
  10645. typedef union uSYSBADHR {
  10646. vuint16_t R;
  10647. } SYSBADHR_t;
  10648. typedef union uSYSBADLR {
  10649. vuint16_t R;
  10650. } SYSBADLR_t;
  10651. typedef union uCASERCR {
  10652. vuint16_t R;
  10653. } CASERCR_t;
  10654. typedef union uCBSERCR {
  10655. vuint16_t R;
  10656. } CBSERCR_t;
  10657. typedef union uCYCTR {
  10658. vuint16_t R;
  10659. } CYCTR_t;
  10660. typedef union uMTCTR {
  10661. vuint16_t R;
  10662. } MTCTR_t;
  10663. typedef union uSLTCTAR {
  10664. vuint16_t R;
  10665. } SLTCTAR_t;
  10666. typedef union uSLTCTBR {
  10667. vuint16_t R;
  10668. } SLTCTBR_t;
  10669. typedef union uRTCORVR {
  10670. vuint16_t R;
  10671. } RTCORVR_t;
  10672. typedef union uOFCORVR {
  10673. vuint16_t R;
  10674. } OFCORVR_t;
  10675. typedef union uSFTOR {
  10676. vuint16_t R;
  10677. } SFTOR_t;
  10678. typedef union uSFIDAFVR {
  10679. vuint16_t R;
  10680. struct {
  10681. vuint16_t:6;
  10682. vuint16_t FVAL:10;
  10683. } B;
  10684. } SFIDAFVR_t;
  10685. typedef union uSFIDAFMR {
  10686. vuint16_t R;
  10687. struct {
  10688. vuint16_t:6;
  10689. vuint16_t FMSK:10;
  10690. } B;
  10691. } SFIDAFMR_t;
  10692. typedef union uNMVR {
  10693. vuint16_t R;
  10694. } NMVR_t;
  10695. typedef union uNMVLR {
  10696. vuint16_t R;
  10697. struct {
  10698. vuint16_t:12;
  10699. vuint16_t NMVL:4;
  10700. } B;
  10701. } NMVLR_t;
  10702. typedef union uT1MTOR {
  10703. vuint16_t R;
  10704. struct {
  10705. vuint16_t:2;
  10706. vuint16_t T1_MTOFFSET:14;
  10707. } B;
  10708. } T1MTOR_t;
  10709. typedef union uTI2CR0 {
  10710. vuint16_t R;
  10711. } TI2CR0_t;
  10712. typedef union uTI2CR1 {
  10713. vuint16_t R;
  10714. } TI2CR1_t;
  10715. typedef union uSSCR {
  10716. vuint16_t R;
  10717. } SSCR_t;
  10718. typedef union uRFSR {
  10719. vuint16_t R;
  10720. struct {
  10721. vuint16_t WM:8;
  10722. vuint16_t:7;
  10723. vuint16_t SEL:1;
  10724. } B;
  10725. } RFSR_t;
  10726. typedef union uRFSIR {
  10727. vuint16_t R;
  10728. struct {
  10729. vuint16_t:6;
  10730. vuint16_t SIDX:10;
  10731. } B;
  10732. } RFSIR_t;
  10733. typedef union uRFARIR {
  10734. vuint16_t R;
  10735. struct {
  10736. vuint16_t:6;
  10737. vuint16_t RDIDX:10;
  10738. } B;
  10739. } RFARIR_t;
  10740. typedef union uRFBRIR {
  10741. vuint16_t R;
  10742. struct {
  10743. vuint16_t:6;
  10744. vuint16_t RDIDX:10;
  10745. } B;
  10746. } RFBRIR_t;
  10747. typedef union uRFMIDAFVR {
  10748. vuint16_t R;
  10749. } RFMIDAFVR_t;
  10750. typedef union uRFMIAFMR {
  10751. vuint16_t R;
  10752. } RFMIAFMR_t;
  10753. typedef union uRFFIDRFVR {
  10754. vuint16_t R;
  10755. struct {
  10756. vuint16_t:5;
  10757. vuint16_t FIDRFVAL:11;
  10758. } B;
  10759. } RFFIDRFVR_t;
  10760. typedef union uRFFIDRFMR {
  10761. vuint16_t R;
  10762. struct {
  10763. vuint16_t:5;
  10764. vuint16_t FIDRFMSK:11;
  10765. } B;
  10766. } RFFIDRFMR_t;
  10767. typedef union uLDTXSLAR {
  10768. vuint16_t R;
  10769. struct {
  10770. vuint16_t:5;
  10771. vuint16_t LASTDYNTXSLOTA:11;
  10772. } B;
  10773. } LDTXSLAR_t;
  10774. typedef union uLDTXSLBR {
  10775. vuint16_t R;
  10776. struct {
  10777. vuint16_t:5;
  10778. vuint16_t LASTDYNTXSLOTB:11;
  10779. } B;
  10780. } LDTXSLBR_t;
  10781. typedef union uPEDRAR {
  10782. vuint16_t R;
  10783. struct {
  10784. vuint16_t INST:4;
  10785. vuint16_t ADDR:11;
  10786. vuint16_t DAD:1;
  10787. } B;
  10788. } PEDRAR_t;
  10789. typedef union uPEDRDR {
  10790. vuint16_t R;
  10791. } PEDRDR_t;
  10792. typedef union uRFSDOR {
  10793. vuint16_t R;
  10794. } RFSDOR_t;
  10795. typedef union uEEIFER {
  10796. vuint16_t R;
  10797. struct {
  10798. vuint16_t LRNE_OF:1;
  10799. vuint16_t LRCE_OF:1;
  10800. vuint16_t DRNE_OF:1;
  10801. vuint16_t DRCE_OF:1;
  10802. vuint16_t LRNE_IF:1;
  10803. vuint16_t LRCE_IF:1;
  10804. vuint16_t DRNE_IF:1;
  10805. vuint16_t DRCE_IF:1;
  10806. vuint16_t:4;
  10807. vuint16_t LRNE_IE:1;
  10808. vuint16_t LRCE_IE:1;
  10809. vuint16_t DRNE_IE:1;
  10810. vuint16_t DRCE_IE:1;
  10811. } B;
  10812. } EEIFER_t;
  10813. typedef union uEERICR {
  10814. vuint16_t R;
  10815. struct {
  10816. vuint16_t BDY:1;
  10817. vuint16_t:5;
  10818. vuint16_t ERS:2;
  10819. vuint16_t:3;
  10820. vuint16_t ERM:1;
  10821. vuint16_t:2;
  10822. vuint16_t EIM:1;
  10823. vuint16_t EIE:1;
  10824. } B;
  10825. } EERICR_t;
  10826. typedef union uEERAR {
  10827. vuint16_t R;
  10828. struct {
  10829. vuint16_t MID:1;
  10830. vuint16_t BANK:3;
  10831. vuint16_t ADDR:12;
  10832. } B;
  10833. } EERAR_t;
  10834. typedef union uEERDR {
  10835. vuint16_t R;
  10836. } EERDR_t;
  10837. typedef union uEERCR {
  10838. vuint16_t R;
  10839. struct {
  10840. vuint16_t:11;
  10841. vuint16_t CODE:5;
  10842. } B;
  10843. } EERCR_t;
  10844. typedef union uEEIAR {
  10845. vuint16_t R;
  10846. struct {
  10847. vuint16_t MID:1;
  10848. vuint16_t BANK:3;
  10849. vuint16_t ADDR:12;
  10850. } B;
  10851. } EEIAR_t;
  10852. typedef union uEEIDR {
  10853. vuint16_t R;
  10854. } EEIDR_t;
  10855. typedef union uEEICR {
  10856. vuint16_t R;
  10857. struct {
  10858. vuint16_t:11;
  10859. vuint16_t CODE:5;
  10860. } B;
  10861. } EEICR_t;
  10862. typedef union uMBDOR {
  10863. vuint16_t R;
  10864. } MBDOR_t;
  10865. typedef union uLEETR {
  10866. vuint16_t R;
  10867. } LEETR_t;
  10868. typedef struct FR_tag {
  10869. volatile MVR_t MVR; /*module version register *//*0 */
  10870. volatile MCR_t MCR; /*module configuration register *//*2 */
  10871. volatile SYSBADHR_t SYSBADHR; /*system memory base address high register *//*4*//* Legacy naming: Refer to SYMBADHR in the reference manual */
  10872. volatile SYSBADLR_t SYSBADLR; /*system memory base address low register *//*6*//* Legacy naming: Refer to SYMBADLR in the reference manual */
  10873. volatile STBSCR_t STBSCR; /*strobe signal control register *//*8*/
  10874. vuint16_t FR_reserved000A; /* A */
  10875. volatile MBDSR_t MBDSR; /*message buffer data size register *//*C*/
  10876. volatile MBSSUTR_t MBSSUTR; /*message buffer segment size and utilization register *//*E */
  10877. volatile PEDRAR_t PEDRAR; /* PE DRAM access register *//*10 */
  10878. volatile PEDRDR_t PEDRDR; /* PE DRAM data register *//*12 */
  10879. volatile POCR_t POCR; /*Protocol operation control register *//*14 */
  10880. volatile GIFER_t GIFER; /*global interrupt flag and enable register *//*16 */
  10881. volatile PIFR0_t PIFR0; /*protocol interrupt flag register 0 *//*18 */
  10882. volatile PIFR1_t PIFR1; /*protocol interrupt flag register 1 *//*1A */
  10883. volatile PIER0_t PIER0; /*protocol interrupt enable register 0 *//*1C */
  10884. volatile PIER1_t PIER1; /*protocol interrupt enable register 1 *//*1E */
  10885. volatile CHIERFR_t CHIERFR; /*CHI error flag register *//*20 */
  10886. volatile MBIVEC_t MBIVEC; /*message buffer interrupt vector register *//*22 */
  10887. volatile CASERCR_t CASERCR; /*channel A status error counter register *//*24 */
  10888. volatile CBSERCR_t CBSERCR; /*channel B status error counter register *//*26 */
  10889. volatile PSR0_t PSR0; /*protocol status register 0 *//*28 */
  10890. volatile PSR1_t PSR1; /*protocol status register 1 *//*2A */
  10891. volatile PSR2_t PSR2; /*protocol status register 2 *//*2C */
  10892. volatile PSR3_t PSR3; /*protocol status register 3 *//*2E */
  10893. volatile MTCTR_t MTCTR; /*macrotick counter register *//*30 */
  10894. volatile CYCTR_t CYCTR; /*cycle counter register *//*32 */
  10895. volatile SLTCTAR_t SLTCTAR; /*slot counter channel A register *//*34 */
  10896. volatile SLTCTBR_t SLTCTBR; /*slot counter channel B register *//*36 */
  10897. volatile RTCORVR_t RTCORVR; /*rate correction value register *//*38 */
  10898. volatile OFCORVR_t OFCORVR; /*offset correction value register *//*3A */
  10899. volatile CIFRR_t CIFRR; /*combined interrupt flag register *//*3C */
  10900. volatile SYMATOR_t SYMATOR; /*System memory access timeout register */
  10901. volatile SFCNTR_t SFCNTR; /*sync frame counter register *//*40 */
  10902. volatile SFTOR_t SFTOR; /*sync frame table offset register *//*42 */
  10903. volatile SFTCCSR_t SFTCCSR; /*sync frame table configuration, control, status register *//*44 */
  10904. volatile SFIDRFR_t SFIDRFR; /*sync frame ID rejection filter register *//*46 */
  10905. volatile SFIDAFVR_t SFIDAFVR; /*sync frame ID acceptance filter value regiater *//*48 */
  10906. volatile SFIDAFMR_t SFIDAFMR; /*sync frame ID acceptance filter mask register *//*4A */
  10907. volatile NMVR_t NMVR[6]; /*network management vector registers (12 bytes) *//*4C */
  10908. volatile NMVLR_t NMVLR; /*network management vector length register *//*58 */
  10909. volatile TICCR_t TICCR; /*timer configuration and control register *//*5A */
  10910. volatile TI1CYSR_t TI1CYSR; /*timer 1 cycle set register *//*5C */
  10911. volatile T1MTOR_t T1MTOR; /*timer 1 macrotick offset register *//*5E *//* Legacy naming: Refer to TI1MTOR in the reference manual */
  10912. volatile TI2CR0_t TI2CR0; /*timer 2 configuration register 0 *//*60 */
  10913. volatile TI2CR1_t TI2CR1; /*timer 2 configuration register 1 *//*62 */
  10914. volatile SSSR_t SSSR; /*slot status selection register *//*64 */
  10915. volatile SSCCR_t SSCCR; /*slot status counter condition register *//*66 */
  10916. volatile SSR_t SSR[8]; /*slot status registers 0-7 *//*68 */
  10917. volatile SSCR_t SSCR[4]; /*slot status counter registers 0-3 *//*78 */
  10918. volatile MTSCFR_t MTSACFR; /*mts a config register *//*80 */
  10919. volatile MTSCFR_t MTSBCFR; /*mts b config register *//*82 */
  10920. volatile RSBIR_t RSBIR; /*receive shadow buffer index register *//*84 */
  10921. volatile RFSR_t RFSR; /*receive fifo selection register *//*86 *//* Legacy naming: Refer to RFWMSR in the reference manual */
  10922. volatile RFSIR_t RFSIR; /*receive fifo start index register *//*88 */
  10923. volatile RFDSR_t RFDSR; /*receive fifo depth and size register *//*8A */
  10924. volatile RFARIR_t RFARIR; /*receive fifo a read index register *//*8C */
  10925. volatile RFBRIR_t RFBRIR; /*receive fifo b read index register *//*8E */
  10926. volatile RFMIDAFVR_t RFMIDAFVR; /*receive fifo message ID acceptance filter value register *//*90 */
  10927. volatile RFMIAFMR_t RFMIAFMR; /*receive fifo message ID acceptance filter mask register *//*92 */
  10928. volatile RFFIDRFVR_t RFFIDRFVR; /*receive fifo frame ID rejection filter value register *//*94 */
  10929. volatile RFFIDRFMR_t RFFIDRFMR; /*receive fifo frame ID rejection filter mask register *//*96 */
  10930. volatile RFRFCFR_t RFRFCFR; /*receive fifo range filter configuration register *//*98 */
  10931. volatile RFRFCTR_t RFRFCTR; /*receive fifo range filter control register *//*9A */
  10932. volatile LDTXSLAR_t LDTXSLAR; /*last dynamic transmit slot channel A register *//*9C */
  10933. volatile LDTXSLBR_t LDTXSLBR; /*last dynamic transmit slot channel B register *//*9E */
  10934. volatile PCR0_t PCR0; /*protocol configuration register 0 *//*A0 */
  10935. volatile PCR1_t PCR1; /*protocol configuration register 1 *//*A2 */
  10936. volatile PCR2_t PCR2; /*protocol configuration register 2 *//*A4 */
  10937. volatile PCR3_t PCR3; /*protocol configuration register 3 *//*A6 */
  10938. volatile PCR4_t PCR4; /*protocol configuration register 4 *//*A8 */
  10939. volatile PCR5_t PCR5; /*protocol configuration register 5 *//*AA */
  10940. volatile PCR6_t PCR6; /*protocol configuration register 6 *//*AC */
  10941. volatile PCR7_t PCR7; /*protocol configuration register 7 *//*AE */
  10942. volatile PCR8_t PCR8; /*protocol configuration register 8 *//*B0 */
  10943. volatile PCR9_t PCR9; /*protocol configuration register 9 *//*B2 */
  10944. volatile PCR10_t PCR10; /*protocol configuration register 10 *//*B4 */
  10945. volatile PCR11_t PCR11; /*protocol configuration register 11 *//*B6 */
  10946. volatile PCR12_t PCR12; /*protocol configuration register 12 *//*B8 */
  10947. volatile PCR13_t PCR13; /*protocol configuration register 13 *//*BA */
  10948. volatile PCR14_t PCR14; /*protocol configuration register 14 *//*BC */
  10949. volatile PCR15_t PCR15; /*protocol configuration register 15 *//*BE */
  10950. volatile PCR16_t PCR16; /*protocol configuration register 16 *//*C0 */
  10951. volatile PCR17_t PCR17; /*protocol configuration register 17 *//*C2 */
  10952. volatile PCR18_t PCR18; /*protocol configuration register 18 *//*C4 */
  10953. volatile PCR19_t PCR19; /*protocol configuration register 19 *//*C6 */
  10954. volatile PCR20_t PCR20; /*protocol configuration register 20 *//*C8 */
  10955. volatile PCR21_t PCR21; /*protocol configuration register 21 *//*CA */
  10956. volatile PCR22_t PCR22; /*protocol configuration register 22 *//*CC */
  10957. volatile PCR23_t PCR23; /*protocol configuration register 23 *//*CE */
  10958. volatile PCR24_t PCR24; /*protocol configuration register 24 *//*D0 */
  10959. volatile PCR25_t PCR25; /*protocol configuration register 25 *//*D2 */
  10960. volatile PCR26_t PCR26; /*protocol configuration register 26 *//*D4 */
  10961. volatile PCR27_t PCR27; /*protocol configuration register 27 *//*D6 */
  10962. volatile PCR28_t PCR28; /*protocol configuration register 28 *//*D8 */
  10963. volatile PCR29_t PCR29; /*protocol configuration register 29 *//*DA */
  10964. volatile PCR30_t PCR30; /*protocol configuration register 30 *//*DC */
  10965. vuint16_t FR_reserved00DE[4];
  10966. volatile RFSDOR_t RFSDOR; /* Receive FIFO Start Data Offset Register *//*E6 */
  10967. volatile RFSYMBADHR_t RFSYMBADHR; /* Receive FIFO System Memory Base Address High Register *//*E8 */
  10968. volatile RFSYMBADLR_t RFSYMBADLR; /* Receive FIFO System Memory Base Address Low Register *//*EA */
  10969. volatile RFPTR_t RFPTR; /* Receive FIFO Periodic Timer Register *//*EC */
  10970. volatile RFPTR_t RFFLPCR; /* Receive FIFO Fill Level and POP Count Register *//*EE */
  10971. volatile EEIFER_t EEIFER; /* ECC Error Interrupt Flag and Enable Register *//*F0 */
  10972. volatile EERICR_t EERICR; /* ECC Error Report and Injection Control Register *//*F2 */
  10973. volatile EERAR_t EERAR; /* ECC Error Report Address Register *//*F4 */
  10974. volatile EERDR_t EERDR; /* ECC Error Report Data Register *//*F6 */
  10975. volatile EERCR_t EERCR; /* ECC Error Report Code Register *//*F8 */
  10976. volatile EEIAR_t EEIAR; /* ECC Error Injection Address Register *//*FA */
  10977. volatile EEIDR_t EEIDR; /* ECC Error Injection Data Register *//*FC */
  10978. volatile EEICR_t EEICR; /* ECC Error Injection Code Register *//*FE */
  10979. vuint16_t FR_reserved0100[896];
  10980. volatile MSG_BUFF_CCS_t MBCCS[128]; /* message buffer configuration, control & status registers 0-127 *//*800-BFF */
  10981. vuint16_t FR_reserved0C00[512];
  10982. volatile MBDOR_t MBDOR[132]; /* message buffer data field offset registers 0-131 *//*1000-1107 */
  10983. volatile LEETR_t LEETR[6]; /* LRAM ECC error test registers 0-5 *//*1008-1113 */
  10984. vuint16_t FR_reserved1114[1910];
  10985. } FR_tag_t;
  10986. typedef union uF_HEADER /* frame header */
  10987. {
  10988. struct {
  10989. vuint16_t:1;
  10990. vuint16_t PPI:1; /* Payload Preamble Indicator */
  10991. vuint16_t NUF:1; /* Null Frame Indicator */
  10992. vuint16_t SYF:1; /* Sync Frame Indicator */
  10993. vuint16_t SUF:1; /* Startup Frame Indicator */
  10994. vuint16_t FID:11; /* Frame ID */
  10995. vuint16_t:2;
  10996. vuint16_t CYCCNT:6; /* Cycle Count */
  10997. vuint16_t:1;
  10998. vuint16_t PLDLEN:7; /* Payload Length */
  10999. vuint16_t:5;
  11000. vuint16_t HDCRC:11; /* Header CRC */
  11001. } B;
  11002. vuint16_t WORDS[3];
  11003. } F_HEADER_t;
  11004. typedef union uS_STSTUS /* slot status */
  11005. {
  11006. struct {
  11007. vuint16_t VFB:1; /* Valid Frame on channel B */
  11008. vuint16_t SYB:1; /* Sync Frame Indicator channel B */
  11009. vuint16_t NFB:1; /* Null Frame Indicator channel B */
  11010. vuint16_t SUB:1; /* Startup Frame Indicator channel B */
  11011. vuint16_t SEB:1; /* Syntax Error on channel B */
  11012. vuint16_t CEB:1; /* Content Error on channel B */
  11013. vuint16_t BVB:1; /* Boundary Violation on channel B */
  11014. vuint16_t CH:1; /* Channel */
  11015. vuint16_t VFA:1; /* Valid Frame on channel A */
  11016. vuint16_t SYA:1; /* Sync Frame Indicator channel A */
  11017. vuint16_t NFA:1; /* Null Frame Indicator channel A */
  11018. vuint16_t SUA:1; /* Startup Frame Indicator channel A */
  11019. vuint16_t SEA:1; /* Syntax Error on channel A */
  11020. vuint16_t CEA:1; /* Content Error on channel A */
  11021. vuint16_t BVA:1; /* Boundary Violation on channel A */
  11022. vuint16_t:1;
  11023. } RX;
  11024. struct {
  11025. vuint16_t VFB:1; /* Valid Frame on channel B */
  11026. vuint16_t SYB:1; /* Sync Frame Indicator channel B */
  11027. vuint16_t NFB:1; /* Null Frame Indicator channel B */
  11028. vuint16_t SUB:1; /* Startup Frame Indicator channel B */
  11029. vuint16_t SEB:1; /* Syntax Error on channel B */
  11030. vuint16_t CEB:1; /* Content Error on channel B */
  11031. vuint16_t BVB:1; /* Boundary Violation on channel B */
  11032. vuint16_t TCB:1; /* Tx Conflict on channel B */
  11033. vuint16_t VFA:1; /* Valid Frame on channel A */
  11034. vuint16_t SYA:1; /* Sync Frame Indicator channel A */
  11035. vuint16_t NFA:1; /* Null Frame Indicator channel A */
  11036. vuint16_t SUA:1; /* Startup Frame Indicator channel A */
  11037. vuint16_t SEA:1; /* Syntax Error on channel A */
  11038. vuint16_t CEA:1; /* Content Error on channel A */
  11039. vuint16_t BVA:1; /* Boundary Violation on channel A */
  11040. vuint16_t TCA:1; /* Tx Conflict on channel A */
  11041. } TX;
  11042. vuint16_t R;
  11043. } S_STATUS_t;
  11044. typedef struct uMB_HEADER /* message buffer header */
  11045. {
  11046. F_HEADER_t FRAME_HEADER;
  11047. vuint16_t DATA_OFFSET;
  11048. S_STATUS_t SLOT_STATUS;
  11049. } MB_HEADER_t;
  11050. /****************************************************************************/
  11051. /* MODULE : DTS */
  11052. /****************************************************************************/
  11053. struct DTS_tag {
  11054. union {
  11055. vuint32_t R;
  11056. struct {
  11057. vuint32_t:31; /* */
  11058. vuint32_t DTS_EN:1; /* Enable for the DTS Module */
  11059. } B;
  11060. } ENABLE; /* DTS_ENABLE @baseaddress */
  11061. union
  11062. {
  11063. vuint32_t R;
  11064. struct {
  11065. vuint32_t AD31:1; /* Startup register MSB */
  11066. vuint32_t AD30:1; /* */
  11067. vuint32_t AD29:1; /* */
  11068. vuint32_t AD28:1; /* */
  11069. vuint32_t AD27:1; /* */
  11070. vuint32_t AD26:1; /* */
  11071. vuint32_t AD25:1; /* */
  11072. vuint32_t AD24:1; /* */
  11073. vuint32_t AD23:1; /* */
  11074. vuint32_t AD22:1; /* */
  11075. vuint32_t AD21:1; /* */
  11076. vuint32_t AD20:1; /* */
  11077. vuint32_t AD19:1; /* */
  11078. vuint32_t AD18:1; /* */
  11079. vuint32_t AD17:1; /* */
  11080. vuint32_t AD16:1; /* */
  11081. vuint32_t AD15:1; /* */
  11082. vuint32_t AD14:1; /* */
  11083. vuint32_t AD13:1; /* */
  11084. vuint32_t AD12:1; /* */
  11085. vuint32_t AD11:1; /* */
  11086. vuint32_t AD10:1; /* */
  11087. vuint32_t AD9:1; /* */
  11088. vuint32_t AD8:1; /* */
  11089. vuint32_t AD7:1; /* */
  11090. vuint32_t AD6:1; /* */
  11091. vuint32_t AD5:1; /* */
  11092. vuint32_t AD4:1; /* */
  11093. vuint32_t AD3:1; /* */
  11094. vuint32_t AD2:1; /* */
  11095. vuint32_t AD1:1; /* */
  11096. vuint32_t AD0:1; /* Startup Register LSB */
  11097. } B;
  11098. } STARTUP; /* DTS_STARTUP @baseaddress + 0x4*/
  11099. union
  11100. {
  11101. vuint32_t R;
  11102. struct {
  11103. vuint32_t ST31:1; /* Semaphore register MSB */
  11104. vuint32_t ST30:1; /* */
  11105. vuint32_t ST29:1; /* */
  11106. vuint32_t ST28:1; /* */
  11107. vuint32_t ST27:1; /* */
  11108. vuint32_t ST26:1; /* */
  11109. vuint32_t ST25:1; /* */
  11110. vuint32_t ST24:1; /* */
  11111. vuint32_t ST23:1; /* */
  11112. vuint32_t ST22:1; /* */
  11113. vuint32_t ST21:1; /* */
  11114. vuint32_t ST20:1; /* */
  11115. vuint32_t ST19:1; /* */
  11116. vuint32_t ST18:1; /* */
  11117. vuint32_t ST17:1; /* */
  11118. vuint32_t ST16:1; /* */
  11119. vuint32_t ST15:1; /* */
  11120. vuint32_t ST14:1; /* */
  11121. vuint32_t ST13:1; /* */
  11122. vuint32_t ST12:1; /* */
  11123. vuint32_t ST11:1; /* */
  11124. vuint32_t ST10:1; /* */
  11125. vuint32_t ST9:1; /* */
  11126. vuint32_t ST8:1; /* */
  11127. vuint32_t ST7:1; /* */
  11128. vuint32_t ST6:1; /* */
  11129. vuint32_t ST5:1; /* */
  11130. vuint32_t ST4:1; /* */
  11131. vuint32_t ST3:1; /* */
  11132. vuint32_t ST2:1; /* */
  11133. vuint32_t ST1:1; /* */
  11134. vuint32_t ST0:1; /* Semaphore Register LSB */
  11135. } B;
  11136. } SEMAPHORE; /* DTS_STEMAPHORE @BaseAddress + 0x8 */
  11137. }; /* End of DTS Module */
  11138. /****************************************************************************/
  11139. /* MODULE : CCU */
  11140. /****************************************************************************/
  11141. struct CCU_tag {
  11142. union { /* CCU Configuration/Error Status Register */
  11143. vuint32_t R;
  11144. struct {
  11145. vuint32_t CP1ERR:2;
  11146. vuint32_t CP0ERR:2;
  11147. vuint32_t SRSTFLAG:1;
  11148. vuint32_t:1;
  11149. vuint32_t CP1IDLE:1;
  11150. vuint32_t CP0IDLE:1;
  11151. vuint32_t:2;
  11152. vuint32_t CP1IEN:1;
  11153. vuint32_t CP0IEN:1;
  11154. vuint32_t:4;
  11155. vuint32_t M3WMEN:1;
  11156. vuint32_t M2WMEN:1;
  11157. vuint32_t M1WMEN:1;
  11158. vuint32_t M0WMEN:1;
  11159. vuint32_t:10;
  11160. vuint32_t SRSTEN:1;
  11161. vuint32_t ENB:1;
  11162. } B;
  11163. } CESR;
  11164. uint32_t CCU_reserved0004[3]; /* 0x0004-0x000F */
  11165. struct {
  11166. union { /* CCU Error Address Registers */
  11167. vuint32_t R;
  11168. struct {
  11169. vuint32_t EADDR:32;
  11170. } B;
  11171. } EAR;
  11172. union { /* CCU Error Detail Registers */
  11173. vuint32_t R;
  11174. struct {
  11175. vuint32_t EACD:16;
  11176. vuint32_t EPID:8;
  11177. vuint32_t EMN:4;
  11178. vuint32_t EATTR:3;
  11179. vuint32_t ERW:1;
  11180. } B;
  11181. } EDR;
  11182. uint32_t CCU_CORE_reserved0008[2]; /* 0x0008-0x000F */
  11183. } CORE[2];
  11184. union { /* CCU Interrupt Registers */
  11185. vuint32_t R;
  11186. struct {
  11187. vuint32_t:30;
  11188. vuint32_t OIF:1;
  11189. vuint32_t EIF:1;
  11190. } B;
  11191. } IR[2];
  11192. uint32_t CCU_reserved0038[4082]; /* 0x0038-0x3FFF */
  11193. };
  11194. /* ----------------------------------------------------------------------------
  11195. -- SEMA42 Peripheral Access Layer
  11196. ---------------------------------------------------------------------------- */
  11197. /*!
  11198. * @addtogroup SEMA42_Peripheral_Access_Layer SEMA42 Peripheral Access Layer
  11199. * @{
  11200. */
  11201. /** SEMA42 - Size of Registers Arrays */
  11202. #define SEMA42_GATE_COUNT 16u
  11203. #define SEMA42_CPINE_COUNT 2u
  11204. #define SEMA42_CPNTF_COUNT 2u
  11205. /** SEMA42 - Register Layout Typedef */
  11206. typedef struct {
  11207. __IO uint8_t GATE[SEMA42_GATE_COUNT]; /**< Semaphores Gate 0 Register..Semaphores Gate 15 Register, array offset: 0x0, array step: 0x1 */
  11208. uint8_t RESERVED_0[48];
  11209. struct { /* offset: 0x40, array step: 0x8 */
  11210. __IO uint16_t CPINE; /**< Semaphores Processor n IRQ Notification Enable, array offset: 0x40, array step: 0x8 */
  11211. uint8_t RESERVED_0[6];
  11212. } CPINE[SEMA42_CPINE_COUNT];
  11213. uint8_t RESERVED_1[48];
  11214. struct { /* offset: 0x80, array step: 0x8 */
  11215. __IO uint16_t CPNTF; /**< Semaphores Processor n IRQ Notification, array offset: 0x80, array step: 0x8 */
  11216. uint8_t RESERVED_0[6];
  11217. } CPNTF[SEMA42_CPNTF_COUNT];
  11218. uint8_t RESERVED_2[112];
  11219. union { /* offset: 0x100 */
  11220. __I uint16_t R; /**< Reset Gate Read, offset: 0x100 */
  11221. __O uint16_t W; /**< Reset Gate Write, offset: 0x100 */
  11222. } RSTGT;
  11223. uint8_t RESERVED_3[2];
  11224. __IO uint16_t RSTNTF; /**< Semaphores (Secure) Reset IRQ Notification, offset: 0x104 */
  11225. } SEMA42_Type, *SEMA42_MemMapPtr;
  11226. /** Number of instances of the SEMA42 module. */
  11227. #define SEMA42_INSTANCE_COUNT (1u)
  11228. /* SEMA42 - Peripheral instance base addresses */
  11229. /** Peripheral SEMA42 base address */
  11230. #define SEMA42_BASE (0xFFF24000u)
  11231. /** Peripheral SEMA42 base pointer */
  11232. #define SEMA42 ((SEMA42_Type *)SEMA42_BASE)
  11233. /** Array initializer of SEMA42 peripheral base addresses */
  11234. #define SEMA42_BASE_ADDRS { SEMA42_BASE }
  11235. /** Array initializer of SEMA42 peripheral base pointers */
  11236. #define SEMA42_BASE_PTRS { SEMA42 }
  11237. /* ----------------------------------------------------------------------------
  11238. -- SEMA42 Register Masks
  11239. ---------------------------------------------------------------------------- */
  11240. /*!
  11241. * @addtogroup SEMA42_Register_Masks SEMA42 Register Masks
  11242. * @{
  11243. */
  11244. /* GATE Bit Fields */
  11245. #define SEMA42_GATE_GTFSM_MASK 0x3u
  11246. #define SEMA42_GATE_GTFSM_SHIFT 0u
  11247. #define SEMA42_GATE_GTFSM_WIDTH 2u
  11248. #define SEMA42_GATE_GTFSM(x) (((uint8_t)(((uint8_t)(x))<<SEMA42_GATE_GTFSM_SHIFT))&SEMA42_GATE_GTFSM_MASK)
  11249. /* CPINE Bit Fields */
  11250. #define SEMA42_CPINE_INE15_MASK 0x1u
  11251. #define SEMA42_CPINE_INE15_SHIFT 0u
  11252. #define SEMA42_CPINE_INE15_WIDTH 1u
  11253. #define SEMA42_CPINE_INE15(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE15_SHIFT))&SEMA42_CPINE_INE15_MASK)
  11254. #define SEMA42_CPINE_INE14_MASK 0x2u
  11255. #define SEMA42_CPINE_INE14_SHIFT 1u
  11256. #define SEMA42_CPINE_INE14_WIDTH 1u
  11257. #define SEMA42_CPINE_INE14(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE14_SHIFT))&SEMA42_CPINE_INE14_MASK)
  11258. #define SEMA42_CPINE_INE13_MASK 0x4u
  11259. #define SEMA42_CPINE_INE13_SHIFT 2u
  11260. #define SEMA42_CPINE_INE13_WIDTH 1u
  11261. #define SEMA42_CPINE_INE13(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE13_SHIFT))&SEMA42_CPINE_INE13_MASK)
  11262. #define SEMA42_CPINE_INE12_MASK 0x8u
  11263. #define SEMA42_CPINE_INE12_SHIFT 3u
  11264. #define SEMA42_CPINE_INE12_WIDTH 1u
  11265. #define SEMA42_CPINE_INE12(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE12_SHIFT))&SEMA42_CPINE_INE12_MASK)
  11266. #define SEMA42_CPINE_INE11_MASK 0x10u
  11267. #define SEMA42_CPINE_INE11_SHIFT 4u
  11268. #define SEMA42_CPINE_INE11_WIDTH 1u
  11269. #define SEMA42_CPINE_INE11(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE11_SHIFT))&SEMA42_CPINE_INE11_MASK)
  11270. #define SEMA42_CPINE_INE10_MASK 0x20u
  11271. #define SEMA42_CPINE_INE10_SHIFT 5u
  11272. #define SEMA42_CPINE_INE10_WIDTH 1u
  11273. #define SEMA42_CPINE_INE10(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE10_SHIFT))&SEMA42_CPINE_INE10_MASK)
  11274. #define SEMA42_CPINE_INE9_MASK 0x40u
  11275. #define SEMA42_CPINE_INE9_SHIFT 6u
  11276. #define SEMA42_CPINE_INE9_WIDTH 1u
  11277. #define SEMA42_CPINE_INE9(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE9_SHIFT))&SEMA42_CPINE_INE9_MASK)
  11278. #define SEMA42_CPINE_INE8_MASK 0x80u
  11279. #define SEMA42_CPINE_INE8_SHIFT 7u
  11280. #define SEMA42_CPINE_INE8_WIDTH 1u
  11281. #define SEMA42_CPINE_INE8(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE8_SHIFT))&SEMA42_CPINE_INE8_MASK)
  11282. #define SEMA42_CPINE_INE7_MASK 0x100u
  11283. #define SEMA42_CPINE_INE7_SHIFT 8u
  11284. #define SEMA42_CPINE_INE7_WIDTH 1u
  11285. #define SEMA42_CPINE_INE7(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE7_SHIFT))&SEMA42_CPINE_INE7_MASK)
  11286. #define SEMA42_CPINE_INE6_MASK 0x200u
  11287. #define SEMA42_CPINE_INE6_SHIFT 9u
  11288. #define SEMA42_CPINE_INE6_WIDTH 1u
  11289. #define SEMA42_CPINE_INE6(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE6_SHIFT))&SEMA42_CPINE_INE6_MASK)
  11290. #define SEMA42_CPINE_INE5_MASK 0x400u
  11291. #define SEMA42_CPINE_INE5_SHIFT 10u
  11292. #define SEMA42_CPINE_INE5_WIDTH 1u
  11293. #define SEMA42_CPINE_INE5(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE5_SHIFT))&SEMA42_CPINE_INE5_MASK)
  11294. #define SEMA42_CPINE_INE4_MASK 0x800u
  11295. #define SEMA42_CPINE_INE4_SHIFT 11u
  11296. #define SEMA42_CPINE_INE4_WIDTH 1u
  11297. #define SEMA42_CPINE_INE4(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE4_SHIFT))&SEMA42_CPINE_INE4_MASK)
  11298. #define SEMA42_CPINE_INE3_MASK 0x1000u
  11299. #define SEMA42_CPINE_INE3_SHIFT 12u
  11300. #define SEMA42_CPINE_INE3_WIDTH 1u
  11301. #define SEMA42_CPINE_INE3(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE3_SHIFT))&SEMA42_CPINE_INE3_MASK)
  11302. #define SEMA42_CPINE_INE2_MASK 0x2000u
  11303. #define SEMA42_CPINE_INE2_SHIFT 13u
  11304. #define SEMA42_CPINE_INE2_WIDTH 1u
  11305. #define SEMA42_CPINE_INE2(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE2_SHIFT))&SEMA42_CPINE_INE2_MASK)
  11306. #define SEMA42_CPINE_INE1_MASK 0x4000u
  11307. #define SEMA42_CPINE_INE1_SHIFT 14u
  11308. #define SEMA42_CPINE_INE1_WIDTH 1u
  11309. #define SEMA42_CPINE_INE1(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE1_SHIFT))&SEMA42_CPINE_INE1_MASK)
  11310. #define SEMA42_CPINE_INE0_MASK 0x8000u
  11311. #define SEMA42_CPINE_INE0_SHIFT 15u
  11312. #define SEMA42_CPINE_INE0_WIDTH 1u
  11313. #define SEMA42_CPINE_INE0(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPINE_INE0_SHIFT))&SEMA42_CPINE_INE0_MASK)
  11314. /* CPNTF Bit Fields */
  11315. #define SEMA42_CPNTF_GNn_MASK 0xFFFFu
  11316. #define SEMA42_CPNTF_GNn_SHIFT 0u
  11317. #define SEMA42_CPNTF_GNn_WIDTH 16u
  11318. #define SEMA42_CPNTF_GNn(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_CPNTF_GNn_SHIFT))&SEMA42_CPNTF_GNn_MASK)
  11319. /* RSTGT_R Bit Fields */
  11320. #define SEMA42_RSTGT_R_RSTGTN_MASK 0xFFu
  11321. #define SEMA42_RSTGT_R_RSTGTN_SHIFT 0u
  11322. #define SEMA42_RSTGT_R_RSTGTN_WIDTH 8u
  11323. #define SEMA42_RSTGT_R_RSTGTN(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_RSTGT_R_RSTGTN_SHIFT))&SEMA42_RSTGT_R_RSTGTN_MASK)
  11324. #define SEMA42_RSTGT_R_RSTGMS_MASK 0x700u
  11325. #define SEMA42_RSTGT_R_RSTGMS_SHIFT 8u
  11326. #define SEMA42_RSTGT_R_RSTGMS_WIDTH 3u
  11327. #define SEMA42_RSTGT_R_RSTGMS(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_RSTGT_R_RSTGMS_SHIFT))&SEMA42_RSTGT_R_RSTGMS_MASK)
  11328. #define SEMA42_RSTGT_R_RSTGSM_MASK 0x3000u
  11329. #define SEMA42_RSTGT_R_RSTGSM_SHIFT 12u
  11330. #define SEMA42_RSTGT_R_RSTGSM_WIDTH 2u
  11331. #define SEMA42_RSTGT_R_RSTGSM(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_RSTGT_R_RSTGSM_SHIFT))&SEMA42_RSTGT_R_RSTGSM_MASK)
  11332. /* RSTGT_W Bit Fields */
  11333. #define SEMA42_RSTGT_W_RSTGTN_MASK 0xFFu
  11334. #define SEMA42_RSTGT_W_RSTGTN_SHIFT 0u
  11335. #define SEMA42_RSTGT_W_RSTGTN_WIDTH 8u
  11336. #define SEMA42_RSTGT_W_RSTGTN(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_RSTGT_W_RSTGTN_SHIFT))&SEMA42_RSTGT_W_RSTGTN_MASK)
  11337. #define SEMA42_RSTGT_W_RSTGDP_MASK 0xFF00u
  11338. #define SEMA42_RSTGT_W_RSTGDP_SHIFT 8u
  11339. #define SEMA42_RSTGT_W_RSTGDP_WIDTH 8u
  11340. #define SEMA42_RSTGT_W_RSTGDP(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_RSTGT_W_RSTGDP_SHIFT))&SEMA42_RSTGT_W_RSTGDP_MASK)
  11341. /* RSTNTF Bit Fields */
  11342. #define SEMA42_RSTNTF_RSTNTN_MASK 0xFFu
  11343. #define SEMA42_RSTNTF_RSTNTN_SHIFT 0u
  11344. #define SEMA42_RSTNTF_RSTNTN_WIDTH 8u
  11345. #define SEMA42_RSTNTF_RSTNTN(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_RSTNTF_RSTNTN_SHIFT))&SEMA42_RSTNTF_RSTNTN_MASK)
  11346. #define SEMA42_RSTNTF_RSTNSM_RSTNMS_RSTNDP_MASK 0xFF00u
  11347. #define SEMA42_RSTNTF_RSTNSM_RSTNMS_RSTNDP_SHIFT 8u
  11348. #define SEMA42_RSTNTF_RSTNSM_RSTNMS_RSTNDP_WIDTH 8u
  11349. #define SEMA42_RSTNTF_RSTNSM_RSTNMS_RSTNDP(x) (((uint16_t)(((uint16_t)(x))<<SEMA42_RSTNTF_RSTNSM_RSTNMS_RSTNDP_SHIFT))&SEMA42_RSTNTF_RSTNSM_RSTNMS_RSTNDP_MASK)
  11350. /*!
  11351. * @}
  11352. */ /* end of group SEMA42_Register_Masks */
  11353. /*!
  11354. * @}
  11355. */ /* end of group SEMA42_Peripheral_Access_Layer */
  11356. /****************************************************************************/
  11357. /* MODULE : CRC */
  11358. /****************************************************************************/
  11359. struct CRC_SUB_tag {
  11360. union {
  11361. vuint32_t R; /* CRC Configuration Register */
  11362. struct {
  11363. vuint32_t:29;
  11364. vuint32_t POLYG:1;
  11365. vuint32_t SWAP:1;
  11366. vuint32_t INV:1;
  11367. } B;
  11368. } CRC_CFG;
  11369. union { /* CRC Input Register */
  11370. vuint8_t BYTE[4]; /* Data buffer in Bytes (8 bits) */
  11371. vuint16_t HALFWORD[2]; /* Data buffer in Half-words (16 bits) */
  11372. vuint32_t WORD; /* Data buffer in words (32 bits) */
  11373. vuint32_t R; /* Data buffer in words (32 bits) */
  11374. } CRC_INP;
  11375. union { /*CRC Current Status Register */
  11376. vuint8_t BYTE[4]; /* Data buffer in Bytes (8 bits) */
  11377. vuint16_t HALFWORD[2]; /* Data buffer in Half-words (16 bits) */
  11378. vuint32_t WORD; /* Data buffer in words (32 bits) */
  11379. vuint32_t R; /* Data buffer in words (32 bits) */
  11380. } CRC_CSTAT;
  11381. union { /* CRC Output Register */
  11382. vuint8_t BYTE[4]; /* Data buffer in Bytes (8 bits) */
  11383. vuint16_t HALFWORD[2]; /* Data buffer in Half-words (16 bits) */
  11384. vuint32_t WORD; /* Data buffer in words (32 bits) */
  11385. vuint32_t R; /* Data buffer in words (32 bits) */
  11386. } CRC_OUTP;
  11387. }; /* end of CRC_SUB_tag */
  11388. struct CRC_tag {
  11389. struct CRC_SUB_tag CNTX[3];
  11390. }; /* end of CRC_tag */
  11391. /****************************************************************************/
  11392. /* MODULE : STCU */
  11393. /****************************************************************************/
  11394. struct STCU_tag {
  11395. union {
  11396. vuint32_t R; /* STCU Control Register */
  11397. struct {
  11398. vuint32_t:1;
  11399. vuint32_t LBE:1;
  11400. vuint32_t:2;
  11401. vuint32_t FLF:2;
  11402. vuint32_t:1;
  11403. vuint32_t FCF:1;
  11404. vuint32_t LBIST_CLK_DIV:2;
  11405. vuint32_t:5;
  11406. vuint32_t SOFT_RESET:1;
  11407. vuint32_t:7;
  11408. vuint32_t IE:1;
  11409. vuint32_t:8;
  11410. } B;
  11411. } CTRL;
  11412. union {
  11413. vuint32_t R; /* STCU Enable Register */
  11414. struct {
  11415. vuint32_t:15;
  11416. vuint32_t STCU_ABORT:1;
  11417. vuint32_t:15;
  11418. vuint32_t STCU_START:1;
  11419. } B;
  11420. } ENABLE;
  11421. union {
  11422. vuint32_t R; /* STCU Status Register */
  11423. struct {
  11424. vuint32_t:5;
  11425. vuint32_t STCUR:1;
  11426. vuint32_t LBISTR:1;
  11427. vuint32_t:2;
  11428. vuint32_t DNE:1;
  11429. vuint32_t LDNE:1;
  11430. vuint32_t:6;
  11431. vuint32_t ABORT:1;
  11432. vuint32_t LOCK:1;
  11433. vuint32_t INIT_SEQ:2;
  11434. vuint32_t WDE:2;
  11435. vuint32_t:1;
  11436. vuint32_t CRC_RESULT:8;
  11437. } B;
  11438. } STAT;
  11439. union {
  11440. vuint32_t R; /* STCU Watchdog Timer */
  11441. } WDGT;
  11442. vuint32_t STCU_reserved0010; /* 0x0010-0x0013 */
  11443. union {
  11444. vuint32_t R; /* STCU Unlock Key */
  11445. struct {
  11446. vuint32_t STCU_KEY:32;
  11447. } B;
  11448. } KEY;
  11449. union {
  11450. vuint32_t R; /* LBIST Control Register */
  11451. struct {
  11452. vuint32_t:1;
  11453. vuint32_t WINDOW_SIZE:3;
  11454. vuint32_t:1;
  11455. vuint32_t PFT:1;
  11456. vuint32_t DM:1;
  11457. vuint32_t SCM:1;
  11458. vuint32_t SCAN_ENABLE_ON:4;
  11459. vuint32_t SCAN_ENABLE_OFF:4;
  11460. vuint32_t:5;
  11461. vuint32_t SHIFT_SPEED:3;
  11462. vuint32_t:3;
  11463. vuint32_t LSER:1;
  11464. vuint32_t:3;
  11465. vuint32_t DEBUG:1;
  11466. } B;
  11467. } LBIST_CTRL;
  11468. union {
  11469. vuint32_t R; /* LBIST Pattern Counter Start Register */
  11470. } LBIST_PC_START;
  11471. union {
  11472. vuint32_t R; /* LBIST Pattern Counter End Register */
  11473. } LBIST_PC_END;
  11474. union {
  11475. vuint32_t R; /* LBIST Pseudo-Random Number High */
  11476. } LBIST_PRPGH;
  11477. union {
  11478. vuint32_t R; /* LBIST Pseudo-Random Number Low */
  11479. } LBIST_PRPGL;
  11480. union {
  11481. vuint32_t R; /* LBIST Enable Register */
  11482. struct {
  11483. vuint32_t:30;
  11484. vuint32_t LBE1:1;
  11485. vuint32_t LBE0:1;
  11486. } B;
  11487. } LBIST_ENABLE;
  11488. union {
  11489. vuint32_t R; /* LBIST Status Register */
  11490. struct {
  11491. vuint32_t:14;
  11492. vuint32_t LBD1:1;
  11493. vuint32_t LBD0:1;
  11494. vuint32_t:16;
  11495. } B;
  11496. } LBIST_STATUS;
  11497. vuint32_t STCU_reserved0034[7]; /* 0x0034-0x004F */
  11498. union {
  11499. vuint32_t R; /* STCU Interrupt Enable/Status Register */
  11500. struct {
  11501. vuint32_t:31;
  11502. vuint32_t IFLAG:1;
  11503. } B;
  11504. } INTERRUPT;
  11505. union {
  11506. vuint32_t R; /* STCU Current Watchdog Timer */
  11507. } CURRENT_WDGT;
  11508. vuint32_t STCU_reserved0058[10]; /* 0x0058-0x007F */
  11509. union {
  11510. vuint32_t R; /* LBIST 0 MISRH Register */
  11511. } LBIST_MISRH0;
  11512. union {
  11513. vuint32_t R; /* LBIST 0 MISRL Register */
  11514. } LBIST_MISRL0;
  11515. union {
  11516. vuint32_t R; /* LBIST 1 MISRH Register */
  11517. } LBIST_MISRH1;
  11518. union {
  11519. vuint32_t R; /* LBIST 1 MISRL Register */
  11520. } LBIST_MISRL1;
  11521. }; /* end of STCU_tag */
  11522. /****************************************************************************/
  11523. /* Define memories */
  11524. #define SRAM_START 0x40000000
  11525. #define SRAM_SIZE 0x60000
  11526. #define SRAM_END 0x4005FFFF
  11527. #define FLASH_START 0x00000000
  11528. #define FLASH_SIZE 0x600000
  11529. #define FLASH_END 0x005FFFFF
  11530. /* Define instances of modules */
  11531. #define ETPU_C (*( struct ETPU_C_tag *) 0xC3E20000)
  11532. #define ETPU_C_DATA_RAM (*( uint32_t *) 0xC3E28000)
  11533. #define ETPU_C_DATA_RAM_END 0xC3E28BFC
  11534. #define ETPU_C_DATA_RAM_EXT (*( uint32_t *) 0xC3E2C000)
  11535. #define C_CODE_RAM (*( uint32_t *) 0xC3E30000)
  11536. #define ETPU_C_CODE_RAM (*( uint32_t *) 0xC3E30000)
  11537. #define FMPLL (*( struct FMPLL_tag *) 0xC3F80000)
  11538. #define EBI (*( struct EBI_tag *) 0xC3F84000)
  11539. #define FLASH_A (*( struct FLASH_tag *) 0xC3F88000)
  11540. #define FLASH_B (*( struct FLASH_tag *) 0xC3F8C000)
  11541. #define DTS (*( struct DTS_tag *) 0xC3F9C000)
  11542. #define EMIOS (*( struct EMIOS_tag *) 0xC3FA0000)
  11543. #define PMC (*( struct PMC_tag *) 0xC3FBC000)
  11544. #define ETPU (*( struct ETPU_tag *) 0xC3FC0000)
  11545. #define ETPU_AB (*( struct ETPU_tag *) 0xC3FC0000)
  11546. #define ETPU_DATA_RAM (*( uint32_t *) 0xC3FC8000)
  11547. #define ETPU_AB_DATA_RAM (*( uint32_t *) 0xC3FC8000)
  11548. #define ETPU_DATA_RAM_END 0xC3FC97FC
  11549. #define ETPU_AB_DATA_RAM_END 0xC3FC97FC
  11550. #define ETPU_DATA_RAM_EXT (*( uint32_t *) 0xC3FCC000)
  11551. #define ETPU_AB_DATA_RAM_EXT (*( uint32_t *) 0xC3FCC000)
  11552. #define CODE_RAM (*( uint32_t *) 0xC3FD0000)
  11553. #define AB_CODE_RAM (*( uint32_t *) 0xC3FD0000)
  11554. #define ETPU_CODE_RAM (*( uint32_t *) 0xC3FD0000)
  11555. #define ETPU_AB_CODE_RAM (*( uint32_t *) 0xC3FD0000)
  11556. #define STCU (*( struct STCU_tag *) 0xC3FF4000)
  11557. #define CRC (*( struct CRC_tag *) 0xFFE68000)
  11558. #define XBAR (*( struct XBAR_tag *) 0xFFF04000)
  11559. #define MPU (*( struct MPU_tag *) 0xFFF10000)
  11560. #define SWT_B (*( struct SWT_tag *) 0xFFF34000)
  11561. #define SWT (*( struct SWT_tag *) 0xFFF38000)
  11562. #define SWT_A (*( struct SWT_tag *) 0xFFF38000)
  11563. #define STM (*( struct STM_tag *) 0xFFF3C000)
  11564. #define ECSM (*( struct ECSM_tag *) 0xFFF40000)
  11565. #define EDMA EDMA_A
  11566. #define EDMA_A (*( struct EDMA_tag *) 0xFFF44000)
  11567. #define CCU (*( struct CCU_tag *) 0xFFF50000)
  11568. #define EDMA_B (*( struct EDMA_tag *) 0xFFF54000)
  11569. #define EQADC EQADC_A
  11570. #define EQADC_A (*( struct EQADC_tag *) 0xFFF80000)
  11571. #define EQADC_B (*( struct EQADC_tag *) 0xFFF84000)
  11572. #define DECFIL_A (*( struct DECFIL_tag *) 0xFFF88000)
  11573. #define DECFIL_B (*( struct DECFIL_tag *) 0xFFF88800)
  11574. #define DECFIL_C (*( struct DECFIL_tag *) 0xFFF89000)
  11575. #define DECFIL_D (*( struct DECFIL_tag *) 0xFFF89800)
  11576. #define DECFIL_E (*( struct DECFIL_tag *) 0xFFF8A000)
  11577. #define DECFIL_F (*( struct DECFIL_tag *) 0xFFF8A800)
  11578. #define DECFIL_G (*( struct DECFIL_tag *) 0xFFF8B000)
  11579. #define DECFIL_H (*( struct DECFIL_tag *) 0xFFF8B800)
  11580. #define DECFIL_I (*( struct DECFIL_tag *) 0xFFF8C000)
  11581. #define DECFIL_J (*( struct DECFIL_tag *) 0xFFF8C800)
  11582. #define DECFIL_K (*( struct DECFIL_tag *) 0xFFF8D000)
  11583. #define DECFIL_L (*( struct DECFIL_tag *) 0xFFF8D800)
  11584. #define DSPI_A (*( struct DSPI_tag *) 0xFFF90000)
  11585. #define DSPI_B (*( struct DSPI_tag *) 0xFFF94000)
  11586. #define DSPI_C (*( struct DSPI_tag *) 0xFFF98000)
  11587. #define DSPI_D (*( struct DSPI_tag *) 0xFFF9C000)
  11588. #define DSPI_E (*( struct DSPI_tag *) 0xFFFA0000)
  11589. /*-------------------- FLEXCAN -------------------------*/
  11590. #define CAN_INSTANCE_COUNT (4u)
  11591. /* CAN - Peripheral instance base addresses */
  11592. /** Peripheral CAN_0 base address */
  11593. #define CAN_0_BASE (0xFFFC0000u)
  11594. /** Peripheral CAN_0 base pointer */
  11595. #define CAN_0 ((CAN_Type *)CAN_0_BASE)
  11596. /** Peripheral CAN_1 base address */
  11597. #define CAN_1_BASE (0xFFFC4000u)
  11598. /** Peripheral CAN_1 base pointer */
  11599. #define CAN_1 ((CAN_Type *)CAN_1_BASE)
  11600. /** Peripheral CAN_2 base address */
  11601. #define CAN_2_BASE (0xC3E60000u)
  11602. /** Peripheral CAN_2 base pointer */
  11603. #define CAN_2 ((CAN_Type *)CAN_2_BASE)
  11604. /** Peripheral CAN_3 base address */
  11605. #define CAN_3_BASE (0xC3E64000u)
  11606. /** Peripheral CAN_3 base pointer */
  11607. #define CAN_3 ((CAN_Type *)CAN_3_BASE)
  11608. /** Array initializer of CAN peripheral base addresses */
  11609. #define CAN_BASE_ADDRS { CAN_0_BASE, CAN_1_BASE, CAN_2_BASE, CAN_3_BASE }
  11610. /** Array initializer of CAN peripheral base pointers */
  11611. #define CAN_BASE_PTRS { CAN_0, CAN_1, CAN_2, CAN_3 }
  11612. /** Interrupt vectors for the CAN peripheral type */
  11613. #define CAN_Rx_Warning_IRQS { CAN0_ESR1_IRQn, CAN1_ESR1_IRQn,\
  11614. CAN2_ESR1_IRQn, CAN3_ESR1_IRQn }
  11615. #define CAN_Tx_Warning_IRQS { CAN0_ESR1_IRQn, CAN1_ESR1_IRQn,\
  11616. CAN2_ESR1_IRQn, CAN3_ESR1_IRQn }
  11617. #define CAN_Error_IRQS { CAN0_ESR2_IRQn, CAN1_ESR2_IRQn,\
  11618. CAN2_ESR2_IRQn, CAN3_ESR2_IRQn }
  11619. #define CAN_Bus_Off_IRQS { CAN0_ESR1_IRQn, CAN1_ESR1_IRQn,\
  11620. CAN2_ESR1_IRQn, CAN3_ESR1_IRQn }
  11621. #define CAN_ORed_00_MB_IRQS { CAN0_BUF0_IRQn, \
  11622. CAN1_BUF0_IRQn, \
  11623. CAN2_BUF0_IRQn, \
  11624. CAN3_BUF0_IRQn }
  11625. #define CAN_ORed_01_MB_IRQS { CAN0_BUF1_IRQn, \
  11626. CAN1_BUF1_IRQn, \
  11627. CAN2_BUF1_IRQn, \
  11628. CAN3_BUF1_IRQn }
  11629. #define CAN_ORed_02_MB_IRQS { CAN0_BUF2_IRQn, \
  11630. CAN1_BUF2_IRQn, \
  11631. CAN2_BUF2_IRQn, \
  11632. CAN3_BUF2_IRQn }
  11633. #define CAN_ORed_03_MB_IRQS { CAN0_BUF3_IRQn, \
  11634. CAN1_BUF3_IRQn, \
  11635. CAN2_BUF3_IRQn, \
  11636. CAN3_BUF3_IRQn }
  11637. #define CAN_ORed_04_MB_IRQS { CAN0_BUF4_IRQn, \
  11638. CAN1_BUF4_IRQn, \
  11639. CAN2_BUF4_IRQn, \
  11640. CAN3_BUF4_IRQn }
  11641. #define CAN_ORed_05_MB_IRQS { CAN0_BUF5_IRQn, \
  11642. CAN1_BUF5_IRQn, \
  11643. CAN2_BUF5_IRQn, \
  11644. CAN3_BUF5_IRQn }
  11645. #define CAN_ORed_06_MB_IRQS { CAN0_BUF6_IRQn, \
  11646. CAN1_BUF6_IRQn, \
  11647. CAN2_BUF6_IRQn, \
  11648. CAN3_BUF6_IRQn }
  11649. #define CAN_ORed_07_MB_IRQS { CAN0_BUF7_IRQn, \
  11650. CAN1_BUF7_IRQn, \
  11651. CAN2_BUF7_IRQn, \
  11652. CAN3_BUF7_IRQn }
  11653. #define CAN_ORed_08_MB_IRQS { CAN0_BUF8_IRQn, \
  11654. CAN1_BUF8_IRQn, \
  11655. CAN2_BUF8_IRQn, \
  11656. CAN3_BUF8_IRQn }
  11657. #define CAN_ORed_09_MB_IRQS { CAN0_BUF9_IRQn, \
  11658. CAN1_BUF9_IRQn, \
  11659. CAN2_BUF9_IRQn, \
  11660. CAN3_BUF9_IRQn }
  11661. #define CAN_ORed_10_MB_IRQS { CAN0_BUF10_IRQn, \
  11662. CAN1_BUF10_IRQn, \
  11663. CAN2_BUF10_IRQn, \
  11664. CAN3_BUF10_IRQn }
  11665. #define CAN_ORed_11_MB_IRQS { CAN0_BUF11_IRQn, \
  11666. CAN1_BUF11_IRQn, \
  11667. CAN2_BUF11_IRQn, \
  11668. CAN3_BUF11_IRQn }
  11669. #define CAN_ORed_12_MB_IRQS { CAN0_BUF12_IRQn, \
  11670. CAN1_BUF12_IRQn, \
  11671. CAN2_BUF12_IRQn, \
  11672. CAN3_BUF12_IRQn }
  11673. #define CAN_ORed_13_MB_IRQS { CAN0_BUF13_IRQn, \
  11674. CAN1_BUF13_IRQn, \
  11675. CAN2_BUF13_IRQn, \
  11676. CAN3_BUF13_IRQn }
  11677. #define CAN_ORed_14_MB_IRQS { CAN0_BUF14_IRQn, \
  11678. CAN1_BUF14_IRQn, \
  11679. CAN2_BUF14_IRQn, \
  11680. CAN3_BUF14_IRQn }
  11681. #define CAN_ORed_15_MB_IRQS { CAN0_BUF15_IRQn, \
  11682. CAN1_BUF15_IRQn, \
  11683. CAN2_BUF15_IRQn, \
  11684. CAN3_BUF15_IRQn }
  11685. #define CAN_ORed_16_31_MB_IRQS { CAN0_BUF16_31_IRQn, \
  11686. CAN1_BUF16_31_IRQn, \
  11687. CAN2_BUF16_31_IRQn, \
  11688. CAN3_BUF16_31_IRQn }
  11689. #define CAN_ORed_32_63_MB_IRQS { CAN0_BUF32_63_IRQn, \
  11690. CAN1_BUF32_63_IRQn, \
  11691. CAN2_BUF32_63_IRQn, \
  11692. CAN3_BUF32_63_IRQn }
  11693. #define FR (*( struct FR_tag *) 0xFFFE0000)
  11694. #define TSENS (*( struct TSENS_tag *) 0xFFFEC000)
  11695. #ifdef __MWERKS__
  11696. #pragma pop
  11697. #endif
  11698. #ifdef __cplusplus
  11699. }
  11700. #endif
  11701. #endif /* ifdef _MPC567xR_H */
  11702. /*********************************************************************
  11703. *
  11704. * Copyright:
  11705. * Freescale Semiconductor, INC. All Rights Reserved.
  11706. * You are hereby granted a copyright license to use, modify, and
  11707. * distribute the SOFTWARE so long as this entire notice is
  11708. * retained without alteration in any modified and/or redistributed
  11709. * versions, and that such modified versions are clearly identified
  11710. * as such. No licenses are granted by implication, estoppel or
  11711. * otherwise under any patents or trademarks of Freescale
  11712. * Semiconductor, Inc. This software is provided on an "AS IS"
  11713. * basis and without warranty.
  11714. *
  11715. * To the maximum extent permitted by applicable law, Freescale
  11716. * Semiconductor DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED,
  11717. * INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
  11718. * PARTICULAR PURPOSE AND ANY WARRANTY AGAINST INFRINGEMENT WITH
  11719. * REGARD TO THE SOFTWARE (INCLUDING ANY MODIFIED VERSIONS THEREOF)
  11720. * AND ANY ACCOMPANYING WRITTEN MATERIALS.
  11721. *
  11722. * To the maximum extent permitted by applicable law, IN NO EVENT
  11723. * SHALL Freescale Semiconductor BE LIABLE FOR ANY DAMAGES WHATSOEVER
  11724. * (INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS,
  11725. * BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR OTHER
  11726. * PECUNIARY LOSS) ARISING OF THE USE OR INABILITY TO USE THE SOFTWARE.
  11727. *
  11728. * Freescale Semiconductor assumes no responsibility for the
  11729. * maintenance and support of this software
  11730. *
  11731. ********************************************************************/