12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588 |
- /**
- *******************************************************************************
- * @file HC32F448MCTI.h
- * @brief Headerfile for HC32F448MCTI series MCU
- @verbatim
- Change Logs:
- Date Author Notes
- 2022-12-31 CDT First version
- @endverbatim
- *******************************************************************************
- * Copyright (C) 2022, Xiaohua Semiconductor Co., Ltd. All rights reserved.
- *
- * This software component is licensed by XHSC under BSD 3-Clause license
- * (the "License"); You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- *******************************************************************************
- **/
- #ifndef __HC32F448MCTI_H__
- #define __HC32F448MCTI_H__
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*******************************************************************************
- * Configuration of the Cortex-M4 Processor and Core Peripherals
- ******************************************************************************/
- #define __MPU_PRESENT 1 /*!< HC32F448MCTI provides MPU */
- #define __VTOR_PRESENT 1 /*!< HC32F448MCTI supported vector table registers */
- #define __NVIC_PRIO_BITS 4 /*!< HC32F448MCTI uses 4 Bits for the Priority Levels */
- #define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */
- #define __FPU_PRESENT 1 /*!< FPU present */
- /*******************************************************************************
- * Interrupt Number Definition
- ******************************************************************************/
- typedef enum {
- NMI_IRQn = -14, /* 2 Non Maskable */
- HardFault_IRQn = -13, /* 3 Hard Fault */
- MemManageFault_IRQn = -12, /* 4 MemManage Fault */
- BusFault_IRQn = -11, /* 5 Bus Fault */
- UsageFault_IRQn = -10, /* 6 Usage Fault */
- SVC_IRQn = -5, /* 11 SVCall */
- DebugMonitor_IRQn = -4, /* 12 DebugMonitor */
- PendSV_IRQn = -2, /* 14 Pend SV */
- SysTick_IRQn = -1, /* 15 System Tick */
- INT000_IRQn = 0,
- INT001_IRQn = 1,
- INT002_IRQn = 2,
- INT003_IRQn = 3,
- INT004_IRQn = 4,
- INT005_IRQn = 5,
- INT006_IRQn = 6,
- INT007_IRQn = 7,
- INT008_IRQn = 8,
- INT009_IRQn = 9,
- INT010_IRQn = 10,
- INT011_IRQn = 11,
- INT012_IRQn = 12,
- INT013_IRQn = 13,
- INT014_IRQn = 14,
- INT015_IRQn = 15,
- EXTINT_PORT_EIRQ0_IRQn = 16,
- EXTINT_PORT_EIRQ1_IRQn = 17,
- EXTINT_PORT_EIRQ2_IRQn = 18,
- EXTINT_PORT_EIRQ3_IRQn = 19,
- EXTINT_PORT_EIRQ4_IRQn = 20,
- EXTINT_PORT_EIRQ5_IRQn = 21,
- EXTINT_PORT_EIRQ6_IRQn = 22,
- EXTINT_PORT_EIRQ7_IRQn = 23,
- EXTINT_PORT_EIRQ8_IRQn = 24,
- EXTINT_PORT_EIRQ9_IRQn = 25,
- EXTINT_PORT_EIRQ10_IRQn = 26,
- EXTINT_PORT_EIRQ11_IRQn = 27,
- EXTINT_PORT_EIRQ12_IRQn = 28,
- EXTINT_PORT_EIRQ13_IRQn = 29,
- EXTINT_PORT_EIRQ14_IRQn = 30,
- EXTINT_PORT_EIRQ15_IRQn = 31,
- SWINT0_IRQn = 0,
- SWINT1_IRQn = 1,
- SWINT2_IRQn = 2,
- SWINT3_IRQn = 3,
- SWINT4_IRQn = 4,
- SWINT5_IRQn = 5,
- SWINT6_IRQn = 6,
- SWINT7_IRQn = 7,
- SWINT8_IRQn = 8,
- SWINT9_IRQn = 9,
- SWINT10_IRQn = 10,
- SWINT11_IRQn = 11,
- SWINT12_IRQn = 12,
- SWINT13_IRQn = 13,
- SWINT14_IRQn = 14,
- SWINT15_IRQn = 15,
- SWINT16_IRQn = 16,
- SWINT17_IRQn = 17,
- SWINT18_IRQn = 18,
- SWINT19_IRQn = 19,
- SWINT20_IRQn = 20,
- SWINT21_IRQn = 21,
- SWINT22_IRQn = 22,
- SWINT23_IRQn = 23,
- SWINT24_IRQn = 24,
- SWINT25_IRQn = 25,
- SWINT26_IRQn = 26,
- SWINT27_IRQn = 27,
- SWINT28_IRQn = 28,
- SWINT29_IRQn = 29,
- SWINT30_IRQn = 30,
- SWINT31_IRQn = 31,
- DMA1_ERR_IRQn = 32,
- DMA1_TC0_BTC0_IRQn = 33,
- DMA1_TC1_BTC1_IRQn = 34,
- DMA1_TC2_BTC2_IRQn = 35,
- DMA1_TC3_BTC3_IRQn = 36,
- DMA1_TC4_BTC4_IRQn = 37,
- DMA1_TC5_BTC5_IRQn = 38,
- EFM_PEERR_RDCOL_IRQn = 39,
- EFM_OPTEND_IRQn = 40,
- QSPI_IRQn = 41,
- DCU1_IRQn = 42,
- DCU2_IRQn = 43,
- DCU3_IRQn = 44,
- DCU4_IRQn = 45,
- DMA2_ERR_IRQn = 46,
- DMA2_TC0_BTC0_IRQn = 47,
- DMA2_TC1_BTC1_IRQn = 48,
- DMA2_TC2_BTC2_IRQn = 49,
- DMA2_TC3_BTC3_IRQn = 50,
- DMA2_TC4_BTC4_IRQn = 51,
- DMA2_TC5_BTC5_IRQn = 52,
- TMR0_1_IRQn = 53,
- TMR0_2_IRQn = 54,
- RTC_IRQn = 55,
- XTAL_IRQn = 56,
- WKTM_IRQn = 57,
- SWDT_IRQn = 58,
- TMR6_1_GCMP_IRQn = 59,
- TMR6_1_OVF_UDF_IRQn = 60,
- TMR6_1_DTE_IRQn = 61,
- TMR6_1_SCMP_IRQn = 62,
- TMRA_1_OVF_UDF_IRQn = 63,
- TMRA_1_CMP_IRQn = 64,
- TMR6_2_GCMP_IRQn = 65,
- TMR6_2_OVF_UDF_IRQn = 66,
- TMR6_2_DTE_IRQn = 67,
- TMR6_2_SCMP_IRQn = 68,
- TMRA_2_OVF_UDF_IRQn = 69,
- TMRA_2_CMP_IRQn = 70,
- TMRA_3_OVF_UDF_IRQn = 71,
- TMRA_3_CMP_IRQn = 72,
- TMRA_4_OVF_UDF_IRQn = 73,
- TMRA_4_CMP_IRQn = 74,
- TMR4_1_GCMP_IRQn = 75,
- TMR4_1_OVF_UDF_IRQn = 76,
- TMR4_1_RELOAD_IRQn = 77,
- TMR4_1_SCMP_IRQn = 78,
- TMR4_2_GCMP_IRQn = 79,
- TMR4_2_OVF_UDF_IRQn = 80,
- TMR4_2_RELOAD_IRQn = 81,
- TMR4_2_SCMP_IRQn = 82,
- TMR4_3_GCMP_IRQn = 83,
- TMR4_3_OVF_UDF_IRQn = 84,
- TMR4_3_RELOAD_IRQn = 85,
- TMR4_3_SCMP_IRQn = 86,
- I2C1_IRQn = 87,
- I2C2_IRQn = 88,
- CMP1_IRQ_IRQn = 89,
- CMP2_IRQ_IRQn = 90,
- CMP3_IRQ_IRQn = 91,
- CMP4_IRQ_IRQn = 92,
- USART1_IRQn = 93,
- USART1_TCI_IRQn = 94,
- USART2_IRQn = 95,
- USART2_TCI_IRQn = 96,
- SPI1_IRQn = 97,
- TMRA_5_OVF_UDF_IRQn = 98,
- TMRA_5_CMP_IRQn = 99,
- EVENT_PORT1_IRQn = 100,
- EVENT_PORT2_IRQn = 101,
- EVENT_PORT3_IRQn = 102,
- EVENT_PORT4_IRQn = 103,
- USART3_IRQn = 104,
- USART3_TCI_IRQn = 105,
- USART4_IRQn = 106,
- USART4_TCI_IRQn = 107,
- SPI2_IRQn = 108,
- SPI3_IRQn = 109,
- EMB_GR0_IRQn = 110,
- EMB_GR1_IRQn = 111,
- EMB_GR2_IRQn = 112,
- EMB_GR3_IRQn = 113,
- USART5_IRQn = 114,
- USART5_TCI_IRQn = 115,
- USART6_IRQn = 116,
- USART6_TCI_IRQn = 117,
- MCAN1_INT0_IRQn = 118,
- MCAN1_INT1_IRQn = 119,
- MCAN2_INT0_IRQn = 120,
- MCAN2_INT1_IRQn = 121,
- USART1_WUPI_IRQn = 122,
- LVD1_IRQn = 123,
- LVD2_IRQn = 124,
- FCM_IRQn = 125,
- WDT_IRQn = 126,
- CTC_IRQn = 127,
- ADC1_IRQn = 128,
- ADC2_IRQn = 129,
- ADC3_IRQn = 130,
- TRNG_IRQn = 131,
- } IRQn_Type;
- #include <core_cm4.h>
- #include <stdint.h>
- /**
- *******************************************************************************
- ** \brief Event number enumeration
- ******************************************************************************/
- typedef enum {
- EVT_SRC_SWI_IRQ0 = 0U,
- EVT_SRC_SWI_IRQ1 = 1U,
- EVT_SRC_SWI_IRQ2 = 2U,
- EVT_SRC_SWI_IRQ3 = 3U,
- EVT_SRC_SWI_IRQ4 = 4U,
- EVT_SRC_SWI_IRQ5 = 5U,
- EVT_SRC_SWI_IRQ6 = 6U,
- EVT_SRC_SWI_IRQ7 = 7U,
- EVT_SRC_SWI_IRQ8 = 8U,
- EVT_SRC_SWI_IRQ9 = 9U,
- EVT_SRC_SWI_IRQ10 = 10U,
- EVT_SRC_SWI_IRQ11 = 11U,
- EVT_SRC_SWI_IRQ12 = 12U,
- EVT_SRC_SWI_IRQ13 = 13U,
- EVT_SRC_SWI_IRQ14 = 14U,
- EVT_SRC_SWI_IRQ15 = 15U,
- EVT_SRC_SWI_IRQ16 = 16U,
- EVT_SRC_SWI_IRQ17 = 17U,
- EVT_SRC_SWI_IRQ18 = 18U,
- EVT_SRC_SWI_IRQ19 = 19U,
- EVT_SRC_SWI_IRQ20 = 20U,
- EVT_SRC_SWI_IRQ21 = 21U,
- EVT_SRC_SWI_IRQ22 = 22U,
- EVT_SRC_SWI_IRQ23 = 23U,
- EVT_SRC_SWI_IRQ24 = 24U,
- EVT_SRC_SWI_IRQ25 = 25U,
- EVT_SRC_SWI_IRQ26 = 26U,
- EVT_SRC_SWI_IRQ27 = 27U,
- EVT_SRC_SWI_IRQ28 = 28U,
- EVT_SRC_SWI_IRQ29 = 29U,
- EVT_SRC_SWI_IRQ30 = 30U,
- EVT_SRC_SWI_IRQ31 = 31U,
- /* External Interrupt */
- EVT_SRC_PORT_EIRQ0 = 0U, /* EIRQ0 */
- EVT_SRC_PORT_EIRQ1 = 1U, /* EIRQ1 */
- EVT_SRC_PORT_EIRQ2 = 2U, /* EIRQ2 */
- EVT_SRC_PORT_EIRQ3 = 3U, /* EIRQ3 */
- EVT_SRC_PORT_EIRQ4 = 4U, /* EIRQ4 */
- EVT_SRC_PORT_EIRQ5 = 5U, /* EIRQ5 */
- EVT_SRC_PORT_EIRQ6 = 6U, /* EIRQ6 */
- EVT_SRC_PORT_EIRQ7 = 7U, /* EIRQ7 */
- EVT_SRC_PORT_EIRQ8 = 8U, /* EIRQ8 */
- EVT_SRC_PORT_EIRQ9 = 9U, /* EIRQ9 */
- EVT_SRC_PORT_EIRQ10 = 10U, /* EIRQ10 */
- EVT_SRC_PORT_EIRQ11 = 11U, /* EIRQ11 */
- EVT_SRC_PORT_EIRQ12 = 12U, /* EIRQ12 */
- EVT_SRC_PORT_EIRQ13 = 13U, /* EIRQ13 */
- EVT_SRC_PORT_EIRQ14 = 14U, /* EIRQ14 */
- EVT_SRC_PORT_EIRQ15 = 15U, /* EIRQ15 */
- /* DMA_1 */
- EVT_SRC_DMA1_TC0 = 33U, /* DMA_1_TC0 */
- EVT_SRC_DMA1_BTC0 = 34U, /* DMA_1_BTC0 */
- EVT_SRC_DMA1_TC1 = 35U, /* DMA_1_TC1 */
- EVT_SRC_DMA1_BTC1 = 36U, /* DMA_1_BTC1 */
- EVT_SRC_DMA1_TC2 = 37U, /* DMA_1_TC2 */
- EVT_SRC_DMA1_BTC2 = 38U, /* DMA_1_BTC2 */
- EVT_SRC_DMA1_TC3 = 39U, /* DMA_1_TC3 */
- EVT_SRC_DMA1_BTC3 = 40U, /* DMA_1_BTC3 */
- EVT_SRC_DMA1_TC4 = 41U, /* DMA_1_TC4 */
- EVT_SRC_DMA1_BTC4 = 42U, /* DMA_1_BTC4 */
- EVT_SRC_DMA1_TC5 = 43U, /* DMA_1_TC5 */
- EVT_SRC_DMA1_BTC5 = 44U, /* DMA_1_BTC5 */
- /* EFM */
- EVT_SRC_EFM_OPTEND = 51U, /* EFM_OPTEND */
- /* DCU */
- EVT_SRC_DCU1 = 55U, /* DCU1 */
- EVT_SRC_DCU2 = 56U, /* DCU2 */
- EVT_SRC_DCU3 = 57U, /* DCU3 */
- EVT_SRC_DCU4 = 58U, /* DCU4 */
- /* DMA2 */
- EVT_SRC_DMA2_TC0 = 65U, /* DMA_2_TC0 */
- EVT_SRC_DMA2_BTC0 = 66U, /* DMA_2_BTC0 */
- EVT_SRC_DMA2_TC1 = 67U, /* DMA_2_TC1 */
- EVT_SRC_DMA2_BTC1 = 68U, /* DMA_2_BTC1 */
- EVT_SRC_DMA2_TC2 = 69U, /* DMA_2_TC2 */
- EVT_SRC_DMA2_BTC2 = 70U, /* DMA_2_BTC2 */
- EVT_SRC_DMA2_TC3 = 71U, /* DMA_2_TC3 */
- EVT_SRC_DMA2_BTC3 = 72U, /* DMA_2_BTC3 */
- EVT_SRC_DMA2_TC4 = 73U, /* DMA_2_TC4 */
- EVT_SRC_DMA2_BTC4 = 74U, /* DMA_2_BTC4 */
- EVT_SRC_DMA2_TC5 = 75U, /* DMA_2_TC5 */
- EVT_SRC_DMA2_BTC5 = 76U, /* DMA_2_BTC5 */
- /* TIMER0 */
- EVT_SRC_TMR0_1_CMP_A = 96U, /* TMR0_1_CMPA */
- EVT_SRC_TMR0_1_CMP_B = 97U, /* TMR0_1_CMPB */
- EVT_SRC_TMR0_2_CMP_A = 98U, /* TMR0_2_CMPA */
- EVT_SRC_TMR0_2_CMP_B = 99U, /* TMR0_2_CMPB */
- /* RTC */
- EVT_SRC_RTC_ALM = 121U, /* RTC_ALM */
- EVT_SRC_RTC_PRD = 122U, /* RTC_PRD */
- /* TIMER6_1 */
- EVT_SRC_TMR6_1_GCMP_A = 128U, /* TMR6_1_GCMA */
- EVT_SRC_TMR6_1_GCMP_B = 129U, /* TMR6_1_GCMB */
- EVT_SRC_TMR6_1_GCMP_C = 130U, /* TMR6_1_GCMC */
- EVT_SRC_TMR6_1_GCMP_D = 131U, /* TMR6_1_GCMD */
- EVT_SRC_TMR6_1_GCMP_E = 132U, /* TMR6_1_GCME */
- EVT_SRC_TMR6_1_GCMP_F = 133U, /* TMR6_1_GCMF */
- EVT_SRC_TMR6_1_OVF = 134U, /* TMR6_1_GOVF */
- EVT_SRC_TMR6_1_UDF = 135U, /* TMR6_1_GUDF */
- EVT_SRC_TMR6_1_SCMP_A = 137U, /* TMR6_1_SCMA */
- EVT_SRC_TMR6_1_SCMP_B = 138U, /* TMR6_1_SCMB */
- /* TIMERA_1 */
- EVT_SRC_TMRA_1_OVF = 139U, /* TMRA_1_OVF */
- EVT_SRC_TMRA_1_UDF = 140U, /* TMRA_1_UDF */
- EVT_SRC_TMRA_1_CMP = 141U, /* TMRA_1_CMP */
- /* TIMER6_2 */
- EVT_SRC_TMR6_2_GCMP_A = 144U, /* TMR6_2_GCMA */
- EVT_SRC_TMR6_2_GCMP_B = 145U, /* TMR6_2_GCMB */
- EVT_SRC_TMR6_2_GCMP_C = 146U, /* TMR6_2_GCMC */
- EVT_SRC_TMR6_2_GCMP_D = 147U, /* TMR6_2_GCMD */
- EVT_SRC_TMR6_2_GCMP_E = 148U, /* TMR6_2_GCME */
- EVT_SRC_TMR6_2_GCMP_F = 149U, /* TMR6_2_GCMF */
- EVT_SRC_TMR6_2_OVF = 150U, /* TMR6_2_GOVF */
- EVT_SRC_TMR6_2_UDF = 151U, /* TMR6_2_GUDF */
- EVT_SRC_TMR6_2_SCMP_A = 153U, /* TMR6_2_SCMA */
- EVT_SRC_TMR6_2_SCMP_B = 154U, /* TMR6_2_SCMB */
- /* TIMERA_2 */
- EVT_SRC_TMRA_2_OVF = 155U, /* TMRA_2_OVF */
- EVT_SRC_TMRA_2_UDF = 156U, /* TMRA_2_UDF */
- EVT_SRC_TMRA_2_CMP = 157U, /* TMRA_2_CMP */
- /* TIMERA_3 */
- EVT_SRC_TMRA_3_OVF = 171U, /* TMRA_3_OVF */
- EVT_SRC_TMRA_3_UDF = 172U, /* TMRA_3_UDF */
- EVT_SRC_TMRA_3_CMP = 173U, /* TMRA_3_CMP */
- /* TIMERA_4 */
- EVT_SRC_TMRA_4_OVF = 187U, /* TMRA_4_OVF */
- EVT_SRC_TMRA_4_UDF = 188U, /* TMRA_4_UDF */
- EVT_SRC_TMRA_4_CMP = 189U, /* TMRA_4_CMP */
- /* TIMER4_1 */
- EVT_SRC_TMR4_1_GCMP_UH = 192U, /* TMR4_1_GCMUH */
- EVT_SRC_TMR4_1_GCMP_UL = 193U, /* TMR4_1_GCMUL */
- EVT_SRC_TMR4_1_GCMP_VH = 194U, /* TMR4_1_GCMVH */
- EVT_SRC_TMR4_1_GCMP_VL = 195U, /* TMR4_1_GCMVL */
- EVT_SRC_TMR4_1_GCMP_WH = 196U, /* TMR4_1_GCMWH */
- EVT_SRC_TMR4_1_GCMP_WL = 197U, /* TMR4_1_GCMWL */
- EVT_SRC_TMR4_1_GCMP_XH = 198U, /* TMR4_1_GCMXH */
- EVT_SRC_TMR4_1_GCMP_XL = 199U, /* TMR4_1_GCMXL */
- EVT_SRC_TMR4_1_OVF = 200U, /* TMR4_1_GOVF */
- EVT_SRC_TMR4_1_UDF = 201U, /* TMR4_1_GUDF */
- EVT_SRC_TMR4_1_RELOAD_U = 202U, /* TMR4_1_GRLU */
- EVT_SRC_TMR4_1_RELOAD_V = 203U, /* TMR4_1_GRLV */
- EVT_SRC_TMR4_1_RELOAD_W = 204U, /* TMR4_1_GRLW */
- EVT_SRC_TMR4_1_RELOAD_X = 205U, /* TMR4_1_GRLX */
- EVT_SRC_TMR4_1_SCMP_UH = 206U, /* TMR4_1_SCMUH */
- EVT_SRC_TMR4_1_SCMP_UL = 207U, /* TMR4_1_SCMUL */
- EVT_SRC_TMR4_1_SCMP_VH = 208U, /* TMR4_1_SCMVH */
- EVT_SRC_TMR4_1_SCMP_VL = 209U, /* TMR4_1_SCMVL */
- EVT_SRC_TMR4_1_SCMP_WH = 210U, /* TMR4_1_SCMWH */
- EVT_SRC_TMR4_1_SCMP_WL = 211U, /* TMR4_1_SCMWL */
- EVT_SRC_TMR4_1_SCMP_XH = 212U, /* TMR4_1_SCMXH */
- EVT_SRC_TMR4_1_SCMP_XL = 213U, /* TMR4_1_SCMXL */
- /* TIMER4_2 */
- EVT_SRC_TMR4_2_GCMP_UH = 224U, /* TMR4_2_GCMUH */
- EVT_SRC_TMR4_2_GCMP_UL = 225U, /* TMR4_2_GCMUL */
- EVT_SRC_TMR4_2_GCMP_VH = 226U, /* TMR4_2_GCMVH */
- EVT_SRC_TMR4_2_GCMP_VL = 227U, /* TMR4_2_GCMVL */
- EVT_SRC_TMR4_2_GCMP_WH = 228U, /* TMR4_2_GCMWH */
- EVT_SRC_TMR4_2_GCMP_WL = 229U, /* TMR4_2_GCMWL */
- EVT_SRC_TMR4_2_GCMP_XH = 230U, /* TMR4_2_GCMXH */
- EVT_SRC_TMR4_2_GCMP_XL = 231U, /* TMR4_2_GCMXL */
- EVT_SRC_TMR4_2_OVF = 232U, /* TMR4_2_GOVF */
- EVT_SRC_TMR4_2_UDF = 233U, /* TMR4_2_GUDF */
- EVT_SRC_TMR4_2_RELOAD_U = 234U, /* TMR4_2_GRLU */
- EVT_SRC_TMR4_2_RELOAD_V = 235U, /* TMR4_2_GRLV */
- EVT_SRC_TMR4_2_RELOAD_W = 236U, /* TMR4_2_GRLW */
- EVT_SRC_TMR4_2_RELOAD_X = 237U, /* TMR4_2_GRLX */
- EVT_SRC_TMR4_2_SCMP_UH = 238U, /* TMR4_2_SCMUH */
- EVT_SRC_TMR4_2_SCMP_UL = 239U, /* TMR4_2_SCMUL */
- EVT_SRC_TMR4_2_SCMP_VH = 240U, /* TMR4_2_SCMVH */
- EVT_SRC_TMR4_2_SCMP_VL = 241U, /* TMR4_2_SCMVL */
- EVT_SRC_TMR4_2_SCMP_WH = 242U, /* TMR4_2_SCMWH */
- EVT_SRC_TMR4_2_SCMP_WL = 243U, /* TMR4_2_SCMWL */
- EVT_SRC_TMR4_2_SCMP_XH = 244U, /* TMR4_2_SCMXH */
- EVT_SRC_TMR4_2_SCMP_XL = 245U, /* TMR4_2_SCMXL */
- /* TIMER4_3 */
- EVT_SRC_TMR4_3_GCMP_UH = 256U, /* TMR4_3_GCMUH */
- EVT_SRC_TMR4_3_GCMP_UL = 257U, /* TMR4_3_GCMUL */
- EVT_SRC_TMR4_3_GCMP_VH = 258U, /* TMR4_3_GCMVH */
- EVT_SRC_TMR4_3_GCMP_VL = 259U, /* TMR4_3_GCMVL */
- EVT_SRC_TMR4_3_GCMP_WH = 260U, /* TMR4_3_GCMWH */
- EVT_SRC_TMR4_3_GCMP_WL = 261U, /* TMR4_3_GCMWL */
- EVT_SRC_TMR4_3_GCMP_XH = 262U, /* TMR4_3_GCMXH */
- EVT_SRC_TMR4_3_GCMP_XL = 263U, /* TMR4_3_GCMXL */
- EVT_SRC_TMR4_3_OVF = 264U, /* TMR4_3_GOVF */
- EVT_SRC_TMR4_3_UDF = 265U, /* TMR4_3_GUDF */
- EVT_SRC_TMR4_3_RELOAD_U = 266U, /* TMR4_3_GRLU */
- EVT_SRC_TMR4_3_RELOAD_V = 267U, /* TMR4_3_GRLV */
- EVT_SRC_TMR4_3_RELOAD_W = 268U, /* TMR4_3_GRLW */
- EVT_SRC_TMR4_3_RELOAD_X = 269U, /* TMR4_3_GRLX */
- EVT_SRC_TMR4_3_SCMP_UH = 270U, /* TMR4_3_SCMUH */
- EVT_SRC_TMR4_3_SCMP_UL = 271U, /* TMR4_3_SCMUL */
- EVT_SRC_TMR4_3_SCMP_VH = 272U, /* TMR4_3_SCMVH */
- EVT_SRC_TMR4_3_SCMP_VL = 273U, /* TMR4_3_SCMVL */
- EVT_SRC_TMR4_3_SCMP_WH = 274U, /* TMR4_3_SCMWH */
- EVT_SRC_TMR4_3_SCMP_WL = 275U, /* TMR4_3_SCMWL */
- EVT_SRC_TMR4_3_SCMP_XH = 276U, /* TMR4_3_SCMXH */
- EVT_SRC_TMR4_3_SCMP_XL = 277U, /* TMR4_3_SCMXL */
- /* I2C1 */
- EVT_SRC_I2C1_RXI = 288U, /* I2C_1_RXI */
- EVT_SRC_I2C1_TXI = 289U, /* I2C_1_TXI */
- EVT_SRC_I2C1_TEI = 290U, /* I2C_1_TEI */
- EVT_SRC_I2C1_EEI = 291U, /* I2C_1_EEI */
- /* I2C2 */
- EVT_SRC_I2C2_RXI = 292U, /* I2C_2_RXI */
- EVT_SRC_I2C2_TXI = 293U, /* I2C_2_TXI */
- EVT_SRC_I2C2_TEI = 294U, /* I2C_2_TEI */
- EVT_SRC_I2C2_EEI = 295U, /* I2C_2_EEI */
- /* CMP */
- EVT_SRC_CMP1 = 312U, /* CMP_1_IRQ */
- EVT_SRC_CMP2 = 313U, /* CMP_2_IRQ */
- EVT_SRC_CMP3 = 314U, /* CMP_3_IRQ */
- EVT_SRC_CMP4 = 315U, /* CMP_4_IRQ */
- /* USART1 */
- EVT_SRC_USART1_EI = 321U, /* USART_1_EI */
- EVT_SRC_USART1_RI = 322U, /* USART_1_RI */
- EVT_SRC_USART1_TI = 323U, /* USART_1_TI */
- EVT_SRC_USART1_RTO = 324U, /* USART_1_RTO */
- EVT_SRC_USART1_TCI = 326U, /* USART_1_TCI */
- /* USART2 */
- EVT_SRC_USART2_EI = 328U, /* USART_2_EI */
- EVT_SRC_USART2_RI = 329U, /* USART_2_RI */
- EVT_SRC_USART2_TI = 330U, /* USART_2_TI */
- EVT_SRC_USART2_RTO = 331U, /* USART_2_RTO */
- EVT_SRC_USART2_TCI = 333U, /* USART_2_TCI */
- /* SPI1 */
- EVT_SRC_SPI1_SPRI = 334U, /* SPI_1_SPRI */
- EVT_SRC_SPI1_SPTI = 335U, /* SPI_1_SPTI */
- EVT_SRC_SPI1_SPII = 336U, /* SPI_1_SPII */
- EVT_SRC_SPI1_SPEI = 337U, /* SPI_1_SPEI */
- EVT_SRC_SPI1_SPEND = 338U, /* SPI_1_SPEND */
- /* TIMERA_5 */
- EVT_SRC_TMRA_5_OVF = 340U, /* TMRA_5_OVF */
- EVT_SRC_TMRA_5_UDF = 341U, /* TMRA_5_UDF */
- EVT_SRC_TMRA_5_CMP = 342U, /* TMRA_5_CMP */
- /* EVENT PORT */
- EVT_SRC_EVENT_PORT1 = 348U, /* EVENT_PORT1 */
- EVT_SRC_EVENT_PORT2 = 349U, /* EVENT_PORT2 */
- EVT_SRC_EVENT_PORT3 = 350U, /* EVENT_PORT3 */
- EVT_SRC_EVENT_PORT4 = 351U, /* EVENT_PORT4 */
- /* USART3 */
- EVT_SRC_USART3_BRKWKPI = 352U, /* USART_3_BRKWKPI */
- EVT_SRC_USART3_EI = 353U, /* USART_3_EI */
- EVT_SRC_USART3_RI = 354U, /* USART_3_RI */
- EVT_SRC_USART3_TI = 355U, /* USART_3_TI */
- EVT_SRC_USART3_TCI = 358U, /* USART_3_TCI */
- /* USART4 */
- EVT_SRC_USART4_EI = 360U, /* USART_4_EI */
- EVT_SRC_USART4_RI = 361U, /* USART_4_RI */
- EVT_SRC_USART4_TI = 362U, /* USART_4_TI */
- EVT_SRC_USART4_RTO = 363U, /* USART_4_RTO */
- EVT_SRC_USART4_TCI = 365U, /* USART_4_TCI */
- /* SPI2 */
- EVT_SRC_SPI2_SPRI = 366U, /* SPI_2_SPRI */
- EVT_SRC_SPI2_SPTI = 367U, /* SPI_2_SPTI */
- EVT_SRC_SPI2_SPII = 368U, /* SPI_2_SPII */
- EVT_SRC_SPI2_SPEI = 369U, /* SPI_2_SPEI */
- EVT_SRC_SPI2_SPEND = 370U, /* SPI_2_SPEND */
- /* SPI3 */
- EVT_SRC_SPI3_SPRI = 371U, /* SPI_3_SPRI */
- EVT_SRC_SPI3_SPTI = 372U, /* SPI_3_SPTI */
- EVT_SRC_SPI3_SPII = 373U, /* SPI_3_SPII */
- EVT_SRC_SPI3_SPEI = 374U, /* SPI_3_SPEI */
- EVT_SRC_SPI3_SPEND = 375U, /* SPI_3_SPEND */
- /* USART5 */
- EVT_SRC_USART5_EI = 385U, /* USART_5_EI */
- EVT_SRC_USART5_RI = 386U, /* USART_5_RI */
- EVT_SRC_USART5_TI = 387U, /* USART_5_TI */
- EVT_SRC_USART5_RTO = 388U, /* USART_5_RTO */
- EVT_SRC_USART5_TCI = 390U, /* USART_5_TCI */
- /* USART6 */
- EVT_SRC_USART6_BRKWKPI = 391U, /* USART_6_BRKWKPI */
- EVT_SRC_USART6_EI = 392U, /* USART_6_EI */
- EVT_SRC_USART6_RI = 393U, /* USART_6_RI */
- EVT_SRC_USART6_TI = 394U, /* USART_6_TI */
- EVT_SRC_USART6_TCI = 396U, /* USART_6_TCI */
- /* AOS */
- EVT_SRC_AOS_STRG = 415U, /* AOS_STRG */
- /* LVD */
- EVT_SRC_LVD1 = 465U, /* LVD1 */
- EVT_SRC_LVD2 = 466U, /* LVD2 */
- /* OTS */
- EVT_SRC_OTS = 467U, /* OTS */
- /* WDT */
- EVT_SRC_WDT_REFUDF = 471U, /* WDT_REFUDF */
- /* ADC1 */
- EVT_SRC_ADC1_EOCA = 480U, /* ADC_1_EOCA */
- EVT_SRC_ADC1_EOCB = 481U, /* ADC_1_EOCB */
- EVT_SRC_ADC1_CMP0 = 482U, /* ADC_1_CMP0 */
- EVT_SRC_ADC1_CMP1 = 483U, /* ADC_1_CMP1 */
- /* ADC2 */
- EVT_SRC_ADC2_EOCA = 484U, /* ADC_2_EOCA */
- EVT_SRC_ADC2_EOCB = 485U, /* ADC_2_EOCB */
- EVT_SRC_ADC2_CMP0 = 486U, /* ADC_2_CMP0 */
- EVT_SRC_ADC2_CMP1 = 487U, /* ADC_2_CMP1 */
- /* ADC3 */
- EVT_SRC_ADC3_EOCA = 488U, /* ADC_3_EOCA */
- EVT_SRC_ADC3_EOCB = 489U, /* ADC_3_EOCB */
- EVT_SRC_ADC3_CMP0 = 490U, /* ADC_3_CMP0 */
- EVT_SRC_ADC3_CMP1 = 491U, /* ADC_3_CMP1 */
- /* TRNG */
- EVT_SRC_TRNG_END = 492U, /* TRNG_END */
- EVT_SRC_MAX = 511U,
- } en_event_src_t;
- /**
- *******************************************************************************
- ** \brief Interrupt number enumeration
- ******************************************************************************/
- typedef enum {
- INT_SRC_SWI_IRQ0 = 0U,
- INT_SRC_SWI_IRQ1 = 1U,
- INT_SRC_SWI_IRQ2 = 2U,
- INT_SRC_SWI_IRQ3 = 3U,
- INT_SRC_SWI_IRQ4 = 4U,
- INT_SRC_SWI_IRQ5 = 5U,
- INT_SRC_SWI_IRQ6 = 6U,
- INT_SRC_SWI_IRQ7 = 7U,
- INT_SRC_SWI_IRQ8 = 8U,
- INT_SRC_SWI_IRQ9 = 9U,
- INT_SRC_SWI_IRQ10 = 10U,
- INT_SRC_SWI_IRQ11 = 11U,
- INT_SRC_SWI_IRQ12 = 12U,
- INT_SRC_SWI_IRQ13 = 13U,
- INT_SRC_SWI_IRQ14 = 14U,
- INT_SRC_SWI_IRQ15 = 15U,
- INT_SRC_SWI_IRQ16 = 16U,
- INT_SRC_SWI_IRQ17 = 17U,
- INT_SRC_SWI_IRQ18 = 18U,
- INT_SRC_SWI_IRQ19 = 19U,
- INT_SRC_SWI_IRQ20 = 20U,
- INT_SRC_SWI_IRQ21 = 21U,
- INT_SRC_SWI_IRQ22 = 22U,
- INT_SRC_SWI_IRQ23 = 23U,
- INT_SRC_SWI_IRQ24 = 24U,
- INT_SRC_SWI_IRQ25 = 25U,
- INT_SRC_SWI_IRQ26 = 26U,
- INT_SRC_SWI_IRQ27 = 27U,
- INT_SRC_SWI_IRQ28 = 28U,
- INT_SRC_SWI_IRQ29 = 29U,
- INT_SRC_SWI_IRQ30 = 30U,
- INT_SRC_SWI_IRQ31 = 31U,
- /* External Interrupt */
- INT_SRC_PORT_EIRQ0 = 0U, /* EIRQ0 */
- INT_SRC_PORT_EIRQ1 = 1U, /* EIRQ1 */
- INT_SRC_PORT_EIRQ2 = 2U, /* EIRQ2 */
- INT_SRC_PORT_EIRQ3 = 3U, /* EIRQ3 */
- INT_SRC_PORT_EIRQ4 = 4U, /* EIRQ4 */
- INT_SRC_PORT_EIRQ5 = 5U, /* EIRQ5 */
- INT_SRC_PORT_EIRQ6 = 6U, /* EIRQ6 */
- INT_SRC_PORT_EIRQ7 = 7U, /* EIRQ7 */
- INT_SRC_PORT_EIRQ8 = 8U, /* EIRQ8 */
- INT_SRC_PORT_EIRQ9 = 9U, /* EIRQ9 */
- INT_SRC_PORT_EIRQ10 = 10U, /* EIRQ10 */
- INT_SRC_PORT_EIRQ11 = 11U, /* EIRQ11 */
- INT_SRC_PORT_EIRQ12 = 12U, /* EIRQ12 */
- INT_SRC_PORT_EIRQ13 = 13U, /* EIRQ13 */
- INT_SRC_PORT_EIRQ14 = 14U, /* EIRQ14 */
- INT_SRC_PORT_EIRQ15 = 15U, /* EIRQ15 */
- /* DMA_1 */
- INT_SRC_DMA1_ERR = 32U, /* DMA_1_ERR */
- INT_SRC_DMA1_TC0 = 33U, /* DMA_1_TC0 */
- INT_SRC_DMA1_BTC0 = 34U, /* DMA_1_BTC0 */
- INT_SRC_DMA1_TC1 = 35U, /* DMA_1_TC1 */
- INT_SRC_DMA1_BTC1 = 36U, /* DMA_1_BTC1 */
- INT_SRC_DMA1_TC2 = 37U, /* DMA_1_TC2 */
- INT_SRC_DMA1_BTC2 = 38U, /* DMA_1_BTC2 */
- INT_SRC_DMA1_TC3 = 39U, /* DMA_1_TC3 */
- INT_SRC_DMA1_BTC3 = 40U, /* DMA_1_BTC3 */
- INT_SRC_DMA1_TC4 = 41U, /* DMA_1_TC4 */
- INT_SRC_DMA1_BTC4 = 42U, /* DMA_1_BTC4 */
- INT_SRC_DMA1_TC5 = 43U, /* DMA_1_TC5 */
- INT_SRC_DMA1_BTC5 = 44U, /* DMA_1_BTC5 */
- /* EFM */
- INT_SRC_EFM_PEERR = 49U, /* EFM_PEERR */
- INT_SRC_EFM_RDCOL = 50U, /* EFM_RDCOL */
- INT_SRC_EFM_OPTEND = 51U, /* EFM_OPTEND */
- /* QSPI */
- INT_SRC_QSPI_INTR = 54U, /* QSPI_INTR */
- /* DCU */
- INT_SRC_DCU1 = 55U, /* DCU1 */
- INT_SRC_DCU2 = 56U, /* DCU2 */
- INT_SRC_DCU3 = 57U, /* DCU3 */
- INT_SRC_DCU4 = 57U, /* DCU4 */
- /* DMA2 */
- INT_SRC_DMA2_ERR = 64U, /* DMA_2_ERR */
- INT_SRC_DMA2_TC0 = 65U, /* DMA_2_TC0 */
- INT_SRC_DMA2_BTC0 = 66U, /* DMA_2_BTC0 */
- INT_SRC_DMA2_TC1 = 67U, /* DMA_2_TC1 */
- INT_SRC_DMA2_BTC1 = 68U, /* DMA_2_BTC1 */
- INT_SRC_DMA2_TC2 = 69U, /* DMA_2_TC2 */
- INT_SRC_DMA2_BTC2 = 70U, /* DMA_2_BTC2 */
- INT_SRC_DMA2_TC3 = 71U, /* DMA_2_TC3 */
- INT_SRC_DMA2_BTC3 = 72U, /* DMA_2_BTC3 */
- INT_SRC_DMA2_TC4 = 73U, /* DMA_2_TC4 */
- INT_SRC_DMA2_BTC4 = 74U, /* DMA_2_BTC4 */
- INT_SRC_DMA2_TC5 = 75U, /* DMA_2_TC5 */
- INT_SRC_DMA2_BTC5 = 76U, /* DMA_2_BTC5 */
- /* TIMER0 */
- INT_SRC_TMR0_1_CMP_A = 96U, /* TMR0_1_CMPA */
- INT_SRC_TMR0_1_CMP_B = 97U, /* TMR0_1_CMPB */
- INT_SRC_TMR0_1_OVF_A = 98U, /* TMR0_1_OVFA */
- INT_SRC_TMR0_1_OVF_B = 99U, /* TMR0_1_OVFB */
- INT_SRC_TMR0_2_CMP_A = 100U, /* TMR0_2_CMPA */
- INT_SRC_TMR0_2_CMP_B = 101U, /* TMR0_2_CMPB */
- INT_SRC_TMR0_2_OVF_A = 102U, /* TMR0_2_OVFA */
- INT_SRC_TMR0_2_OVF_B = 103U, /* TMR0_2_OVFB */
- /* RTC */
- INT_SRC_RTC_TP = 120U, /* RTC_TP */
- INT_SRC_RTC_ALM = 121U, /* RTC_ALM */
- INT_SRC_RTC_PRD = 122U, /* RTC_PRD */
- /* XTAL */
- INT_SRC_XTAL_STOP = 125U, /* XTAL_STOP */
- /* WKTM */
- INT_SRC_WKTM_PRD = 126U, /* WKTM_PRD */
- /* SWDT */
- INT_SRC_SWDT_REFUDF = 127U, /* SWDT_REFUDF */
- /* TIMER6_1 */
- INT_SRC_TMR6_1_GCMP_A = 128U, /* TMR6_1_GCMA */
- INT_SRC_TMR6_1_GCMP_B = 129U, /* TMR6_1_GCMB */
- INT_SRC_TMR6_1_GCMP_C = 130U, /* TMR6_1_GCMC */
- INT_SRC_TMR6_1_GCMP_D = 131U, /* TMR6_1_GCMD */
- INT_SRC_TMR6_1_GCMP_E = 132U, /* TMR6_1_GCME */
- INT_SRC_TMR6_1_GCMP_F = 133U, /* TMR6_1_GCMF */
- INT_SRC_TMR6_1_OVF = 134U, /* TMR6_1_GOVF */
- INT_SRC_TMR6_1_UDF = 135U, /* TMR6_1_GUDF */
- INT_SRC_TMR6_1_DTE = 136U, /* TMR6_1_GDTE */
- INT_SRC_TMR6_1_SCMP_A = 137U, /* TMR6_1_SCMA */
- INT_SRC_TMR6_1_SCMP_B = 138U, /* TMR6_1_SCMB */
- /* TIMERA_1 */
- INT_SRC_TMRA_1_OVF = 139U, /* TMRA_1_OVF */
- INT_SRC_TMRA_1_UDF = 140U, /* TMRA_1_UDF */
- INT_SRC_TMRA_1_CMP = 141U, /* TMRA_1_CMP */
- /* TIMER6_2 */
- INT_SRC_TMR6_2_GCMP_A = 144U, /* TMR6_2_GCMA */
- INT_SRC_TMR6_2_GCMP_B = 145U, /* TMR6_2_GCMB */
- INT_SRC_TMR6_2_GCMP_C = 146U, /* TMR6_2_GCMC */
- INT_SRC_TMR6_2_GCMP_D = 147U, /* TMR6_2_GCMD */
- INT_SRC_TMR6_2_GCMP_E = 148U, /* TMR6_2_GCME */
- INT_SRC_TMR6_2_GCMP_F = 149U, /* TMR6_2_GCMF */
- INT_SRC_TMR6_2_OVF = 150U, /* TMR6_2_GOVF */
- INT_SRC_TMR6_2_UDF = 151U, /* TMR6_2_GUDF */
- INT_SRC_TMR6_2_DTE = 152U, /* TMR6_2_GDTE */
- INT_SRC_TMR6_2_SCMP_A = 153U, /* TMR6_2_SCMA */
- INT_SRC_TMR6_2_SCMP_B = 154U, /* TMR6_2_SCMB */
- /* TIMERA_2 */
- INT_SRC_TMRA_2_OVF = 155U, /* TMRA_2_OVF */
- INT_SRC_TMRA_2_UDF = 156U, /* TMRA_2_UDF */
- INT_SRC_TMRA_2_CMP = 157U, /* TMRA_2_CMP */
- /* TIMERA_3 */
- INT_SRC_TMRA_3_OVF = 171U, /* TMRA_3_OVF */
- INT_SRC_TMRA_3_UDF = 172U, /* TMRA_3_UDF */
- INT_SRC_TMRA_3_CMP = 173U, /* TMRA_3_CMP */
- /* TIMERA_4 */
- INT_SRC_TMRA_4_OVF = 187U, /* TMRA_4_OVF */
- INT_SRC_TMRA_4_UDF = 188U, /* TMRA_4_UDF */
- INT_SRC_TMRA_4_CMP = 189U, /* TMRA_4_CMP */
- /* TIMER4_1 */
- INT_SRC_TMR4_1_GCMP_UH = 192U, /* TMR4_1_GCMUH */
- INT_SRC_TMR4_1_GCMP_UL = 193U, /* TMR4_1_GCMUL */
- INT_SRC_TMR4_1_GCMP_VH = 194U, /* TMR4_1_GCMVH */
- INT_SRC_TMR4_1_GCMP_VL = 195U, /* TMR4_1_GCMVL */
- INT_SRC_TMR4_1_GCMP_WH = 196U, /* TMR4_1_GCMWH */
- INT_SRC_TMR4_1_GCMP_WL = 197U, /* TMR4_1_GCMWL */
- INT_SRC_TMR4_1_GCMP_XH = 198U, /* TMR4_1_GCMXH */
- INT_SRC_TMR4_1_GCMP_XL = 199U, /* TMR4_1_GCMXL */
- INT_SRC_TMR4_1_OVF = 200U, /* TMR4_1_GOVF */
- INT_SRC_TMR4_1_UDF = 201U, /* TMR4_1_GUDF */
- INT_SRC_TMR4_1_RELOAD_U = 202U, /* TMR4_1_GRLU */
- INT_SRC_TMR4_1_RELOAD_V = 203U, /* TMR4_1_GRLV */
- INT_SRC_TMR4_1_RELOAD_W = 204U, /* TMR4_1_GRLW */
- INT_SRC_TMR4_1_RELOAD_X = 205U, /* TMR4_1_GRLX */
- INT_SRC_TMR4_1_SCMP_UH = 206U, /* TMR4_1_SCMUH */
- INT_SRC_TMR4_1_SCMP_UL = 207U, /* TMR4_1_SCMUL */
- INT_SRC_TMR4_1_SCMP_VH = 208U, /* TMR4_1_SCMVH */
- INT_SRC_TMR4_1_SCMP_VL = 209U, /* TMR4_1_SCMVL */
- INT_SRC_TMR4_1_SCMP_WH = 210U, /* TMR4_1_SCMWH */
- INT_SRC_TMR4_1_SCMP_WL = 211U, /* TMR4_1_SCMWL */
- INT_SRC_TMR4_1_SCMP_XH = 212U, /* TMR4_1_SCMXH */
- INT_SRC_TMR4_1_SCMP_XL = 213U, /* TMR4_1_SCMXL */
- /* TIMER4_2 */
- INT_SRC_TMR4_2_GCMP_UH = 224U, /* TMR4_2_GCMUH */
- INT_SRC_TMR4_2_GCMP_UL = 225U, /* TMR4_2_GCMUL */
- INT_SRC_TMR4_2_GCMP_VH = 226U, /* TMR4_2_GCMVH */
- INT_SRC_TMR4_2_GCMP_VL = 227U, /* TMR4_2_GCMVL */
- INT_SRC_TMR4_2_GCMP_WH = 228U, /* TMR4_2_GCMWH */
- INT_SRC_TMR4_2_GCMP_WL = 229U, /* TMR4_2_GCMWL */
- INT_SRC_TMR4_2_GCMP_XH = 230U, /* TMR4_2_GCMXH */
- INT_SRC_TMR4_2_GCMP_XL = 231U, /* TMR4_2_GCMXL */
- INT_SRC_TMR4_2_OVF = 232U, /* TMR4_2_GOVF */
- INT_SRC_TMR4_2_UDF = 233U, /* TMR4_2_GUDF */
- INT_SRC_TMR4_2_RELOAD_U = 234U, /* TMR4_2_GRLU */
- INT_SRC_TMR4_2_RELOAD_V = 235U, /* TMR4_2_GRLV */
- INT_SRC_TMR4_2_RELOAD_W = 236U, /* TMR4_2_GRLW */
- INT_SRC_TMR4_2_RELOAD_X = 237U, /* TMR4_2_GRLX */
- INT_SRC_TMR4_2_SCMP_UH = 238U, /* TMR4_2_SCMUH */
- INT_SRC_TMR4_2_SCMP_UL = 239U, /* TMR4_2_SCMUL */
- INT_SRC_TMR4_2_SCMP_VH = 240U, /* TMR4_2_SCMVH */
- INT_SRC_TMR4_2_SCMP_VL = 241U, /* TMR4_2_SCMVL */
- INT_SRC_TMR4_2_SCMP_WH = 242U, /* TMR4_2_SCMWH */
- INT_SRC_TMR4_2_SCMP_WL = 243U, /* TMR4_2_SCMWL */
- INT_SRC_TMR4_2_SCMP_XH = 244U, /* TMR4_2_SCMXH */
- INT_SRC_TMR4_2_SCMP_XL = 245U, /* TMR4_2_SCMXL */
- /* TIMER4_3 */
- INT_SRC_TMR4_3_GCMP_UH = 256U, /* TMR4_3_GCMUH */
- INT_SRC_TMR4_3_GCMP_UL = 257U, /* TMR4_3_GCMUL */
- INT_SRC_TMR4_3_GCMP_VH = 258U, /* TMR4_3_GCMVH */
- INT_SRC_TMR4_3_GCMP_VL = 259U, /* TMR4_3_GCMVL */
- INT_SRC_TMR4_3_GCMP_WH = 260U, /* TMR4_3_GCMWH */
- INT_SRC_TMR4_3_GCMP_WL = 261U, /* TMR4_3_GCMWL */
- INT_SRC_TMR4_3_GCMP_XH = 262U, /* TMR4_3_GCMXH */
- INT_SRC_TMR4_3_GCMP_XL = 263U, /* TMR4_3_GCMXL */
- INT_SRC_TMR4_3_OVF = 264U, /* TMR4_3_GOVF */
- INT_SRC_TMR4_3_UDF = 265U, /* TMR4_3_GUDF */
- INT_SRC_TMR4_3_RELOAD_U = 266U, /* TMR4_3_GRLU */
- INT_SRC_TMR4_3_RELOAD_V = 267U, /* TMR4_3_GRLV */
- INT_SRC_TMR4_3_RELOAD_W = 268U, /* TMR4_3_GRLW */
- INT_SRC_TMR4_3_RELOAD_X = 269U, /* TMR4_3_GRLX */
- INT_SRC_TMR4_3_SCMP_UH = 270U, /* TMR4_3_SCMUH */
- INT_SRC_TMR4_3_SCMP_UL = 271U, /* TMR4_3_SCMUL */
- INT_SRC_TMR4_3_SCMP_VH = 272U, /* TMR4_3_SCMVH */
- INT_SRC_TMR4_3_SCMP_VL = 273U, /* TMR4_3_SCMVL */
- INT_SRC_TMR4_3_SCMP_WH = 274U, /* TMR4_3_SCMWH */
- INT_SRC_TMR4_3_SCMP_WL = 275U, /* TMR4_3_SCMWL */
- INT_SRC_TMR4_3_SCMP_XH = 276U, /* TMR4_3_SCMXH */
- INT_SRC_TMR4_3_SCMP_XL = 277U, /* TMR4_3_SCMXL */
- /* I2C1 */
- INT_SRC_I2C1_RXI = 288U, /* I2C_1_RXI */
- INT_SRC_I2C1_TXI = 289U, /* I2C_1_TXI */
- INT_SRC_I2C1_TEI = 290U, /* I2C_1_TEI */
- INT_SRC_I2C1_EEI = 291U, /* I2C_1_EEI */
- /* I2C2 */
- INT_SRC_I2C2_RXI = 292U, /* I2C_2_RXI */
- INT_SRC_I2C2_TXI = 293U, /* I2C_2_TXI */
- INT_SRC_I2C2_TEI = 294U, /* I2C_2_TEI */
- INT_SRC_I2C2_EEI = 295U, /* I2C_2_EEI */
- /* CMP */
- INT_SRC_CMP1 = 312U, /* CMP_1_IRQ */
- INT_SRC_CMP2 = 313U, /* CMP_2_IRQ */
- INT_SRC_CMP3 = 314U, /* CMP_3_IRQ */
- INT_SRC_CMP4 = 315U, /* CMP_4_IRQ */
- /* USART1 */
- INT_SRC_USART1_EI = 321U, /* USART_1_EI */
- INT_SRC_USART1_RI = 322U, /* USART_1_RI */
- INT_SRC_USART1_TI = 323U, /* USART_1_TI */
- INT_SRC_USART1_RTO = 324U, /* USART_1_RTO */
- INT_SRC_USART1_TENDI = 325U, /* USART_1_TENDI */
- INT_SRC_USART1_TCI = 326U, /* USART_1_TCI */
- /* USART2 */
- INT_SRC_USART2_EI = 328U, /* USART_2_EI */
- INT_SRC_USART2_RI = 329U, /* USART_2_RI */
- INT_SRC_USART2_TI = 330U, /* USART_2_TI */
- INT_SRC_USART2_RTO = 331U, /* USART_2_RTO */
- INT_SRC_USART2_TENDI = 332U, /* USART_2_TENDI */
- INT_SRC_USART2_TCI = 333U, /* USART_2_TCI */
- /* SPI1 */
- INT_SRC_SPI1_SPRI = 334U, /* SPI_1_SPRI */
- INT_SRC_SPI1_SPTI = 335U, /* SPI_1_SPTI */
- INT_SRC_SPI1_SPII = 336U, /* SPI_1_SPII */
- INT_SRC_SPI1_SPEI = 337U, /* SPI_1_SPEI */
- /* TIMERA_5 */
- INT_SRC_TMRA_5_OVF = 340U, /* TMRA_5_OVF */
- INT_SRC_TMRA_5_UDF = 341U, /* TMRA_5_UDF */
- INT_SRC_TMRA_5_CMP = 342U, /* TMRA_5_CMP */
- /* EVENT PORT */
- INT_SRC_EVENT_PORT1 = 348U, /* EVENT_PORT1 */
- INT_SRC_EVENT_PORT2 = 349U, /* EVENT_PORT2 */
- INT_SRC_EVENT_PORT3 = 350U, /* EVENT_PORT3 */
- INT_SRC_EVENT_PORT4 = 351U, /* EVENT_PORT4 */
- /* USART3 */
- INT_SRC_USART3_BRKWKPI = 352U, /* USART_3_BRKWKPI */
- INT_SRC_USART3_EI = 353U, /* USART_3_EI */
- INT_SRC_USART3_RI = 354U, /* USART_3_RI */
- INT_SRC_USART3_TI = 355U, /* USART_3_TI */
- INT_SRC_USART3_TENDI = 357U, /* USART_3_TENDI */
- INT_SRC_USART3_TCI = 358U, /* USART_3_TCI */
- /* USART4 */
- INT_SRC_USART4_EI = 360U, /* USART_4_EI */
- INT_SRC_USART4_RI = 361U, /* USART_4_RI */
- INT_SRC_USART4_TI = 362U, /* USART_4_TI */
- INT_SRC_USART4_RTO = 363U, /* USART_4_RTO */
- INT_SRC_USART4_TENDI = 364U, /* USART_4_TENDI */
- INT_SRC_USART4_TCI = 365U, /* USART_4_TCI */
- /* SPI2 */
- INT_SRC_SPI2_SPRI = 366U, /* SPI_2_SPRI */
- INT_SRC_SPI2_SPTI = 367U, /* SPI_2_SPTI */
- INT_SRC_SPI2_SPII = 368U, /* SPI_2_SPII */
- INT_SRC_SPI2_SPEI = 369U, /* SPI_2_SPEI */
- /* SPI3 */
- INT_SRC_SPI3_SPRI = 371U, /* SPI_3_SPRI */
- INT_SRC_SPI3_SPTI = 372U, /* SPI_3_SPTI */
- INT_SRC_SPI3_SPII = 373U, /* SPI_3_SPII */
- INT_SRC_SPI3_SPEI = 374U, /* SPI_3_SPEI */
- /* EMB */
- INT_SRC_EMB_GR0 = 376U, /* EMB_GR0 */
- INT_SRC_EMB_GR1 = 377U, /* EMB_GR1 */
- INT_SRC_EMB_GR2 = 378U, /* EMB_GR2 */
- INT_SRC_EMB_GR3 = 379U, /* EMB_GR3 */
- /* USART5 */
- INT_SRC_USART5_EI = 385U, /* USART_5_EI */
- INT_SRC_USART5_RI = 386U, /* USART_5_RI */
- INT_SRC_USART5_TI = 387U, /* USART_5_TI */
- INT_SRC_USART5_RTO = 388U, /* USART_5_RTO */
- INT_SRC_USART5_TENDI = 389U, /* USART_5_TENDI */
- INT_SRC_USART5_TCI = 390U, /* USART_5_TCI */
- /* USART6 */
- INT_SRC_USART6_BRKWKPI = 391U, /* USART_6_BRKWKPI */
- INT_SRC_USART6_EI = 392U, /* USART_6_EI */
- INT_SRC_USART6_RI = 393U, /* USART_6_RI */
- INT_SRC_USART6_TI = 394U, /* USART_6_TI */
- INT_SRC_USART6_TENDI = 395U, /* USART_6_TENDI */
- INT_SRC_USART6_TCI = 396U, /* USART_6_TCI */
- /* MCAN */
- INT_SRC_MCAN1_INT0 = 408U, /* MCAN1_INT_LINE0 */
- INT_SRC_MCAN1_INT1 = 409U, /* MCAN1_INT_LINE1 */
- INT_SRC_MCAN2_INT0 = 410U, /* MCAN2_INT_LINE0 */
- INT_SRC_MCAN2_INT1 = 411U, /* MCAN2_INT_LINE1 */
- /* USART1 */
- INT_SRC_USART1_WUPI = 464U, /* USART_1_WUPI */
- /* LVD */
- INT_SRC_LVD1 = 465U, /* LVD1 */
- INT_SRC_LVD2 = 466U, /* LVD2 */
- /* FCM */
- INT_SRC_FCMFERRI = 468U, /* FCMFERRI */
- INT_SRC_FCMMENDI = 469U, /* FCMMENDI */
- INT_SRC_FCMCOVFI = 470U, /* FCMCOVFI */
- /* WDT */
- INT_SRC_WDT_REFUDF = 471U, /* WDT_REFUDF */
- /* CTC */
- INT_SRC_CTC_ERR = 472U, /* CTC_ERR */
- /* ADC1 */
- INT_SRC_ADC1_EOCA = 480U, /* ADC_1_EOCA */
- INT_SRC_ADC1_EOCB = 481U, /* ADC_1_EOCB */
- INT_SRC_ADC1_CMP0 = 482U, /* ADC_1_CMP0 */
- INT_SRC_ADC1_CMP1 = 483U, /* ADC_1_CMP1 */
- /* ADC2 */
- INT_SRC_ADC2_EOCA = 484U, /* ADC_2_EOCA */
- INT_SRC_ADC2_EOCB = 485U, /* ADC_2_EOCB */
- INT_SRC_ADC2_CMP0 = 486U, /* ADC_2_CMP0 */
- INT_SRC_ADC2_CMP1 = 487U, /* ADC_2_CMP1 */
- /* ADC3 */
- INT_SRC_ADC3_EOCA = 488U, /* ADC_3_EOCA */
- INT_SRC_ADC3_EOCB = 489U, /* ADC_3_EOCB */
- INT_SRC_ADC3_CMP0 = 490U, /* ADC_3_CMP0 */
- INT_SRC_ADC3_CMP1 = 491U, /* ADC_3_CMP1 */
- /* TRNG */
- INT_SRC_TRNG_END = 492U, /* TRNG_END */
- INT_SRC_MAX = 511U,
- } en_int_src_t;
- #if defined ( __CC_ARM )
- #pragma anon_unions
- #endif
- /******************************************************************************/
- /* Device Specific Peripheral Registers structures */
- /******************************************************************************/
- /**
- * @brief ADC
- */
- typedef struct {
- __IO uint8_t STR;
- uint8_t RESERVED0[1];
- __IO uint16_t CR0;
- __IO uint16_t CR1;
- __IO uint16_t CR2;
- uint8_t RESERVED1[2];
- __IO uint16_t TRGSR;
- __IO uint32_t CHSELRA;
- __IO uint32_t CHSELRB;
- __IO uint32_t AVCHSELR;
- __IO uint8_t EXCHSELR;
- uint8_t RESERVED2[7];
- __IO uint8_t SSTR0;
- __IO uint8_t SSTR1;
- __IO uint8_t SSTR2;
- __IO uint8_t SSTR3;
- __IO uint8_t SSTR4;
- __IO uint8_t SSTR5;
- __IO uint8_t SSTR6;
- __IO uint8_t SSTR7;
- __IO uint8_t SSTR8;
- __IO uint8_t SSTR9;
- __IO uint8_t SSTR10;
- __IO uint8_t SSTR11;
- __IO uint8_t SSTR12;
- __IO uint8_t SSTR13;
- __IO uint8_t SSTR14;
- __IO uint8_t SSTR15;
- uint8_t RESERVED3[8];
- __IO uint16_t CHMUXR0;
- __IO uint16_t CHMUXR1;
- __IO uint16_t CHMUXR2;
- __IO uint16_t CHMUXR3;
- uint8_t RESERVED4[4];
- __I uint8_t ISR;
- __IO uint8_t ICR;
- __O uint8_t ISCLRR;
- uint8_t RESERVED5[5];
- __IO uint16_t SYNCCR;
- uint8_t RESERVED6[2];
- __I uint16_t DR0;
- __I uint16_t DR1;
- __I uint16_t DR2;
- __I uint16_t DR3;
- __I uint16_t DR4;
- __I uint16_t DR5;
- __I uint16_t DR6;
- __I uint16_t DR7;
- __I uint16_t DR8;
- __I uint16_t DR9;
- __I uint16_t DR10;
- __I uint16_t DR11;
- __I uint16_t DR12;
- __I uint16_t DR13;
- __I uint16_t DR14;
- __I uint16_t DR15;
- uint8_t RESERVED7[48];
- __IO uint16_t AWDCR;
- __I uint8_t AWDSR;
- __O uint8_t AWDSCLRR;
- __IO uint16_t AWD0DR0;
- __IO uint16_t AWD0DR1;
- __IO uint8_t AWD0CHSR;
- uint8_t RESERVED8[3];
- __IO uint16_t AWD1DR0;
- __IO uint16_t AWD1DR1;
- __IO uint8_t AWD1CHSR;
- } CM_ADC_TypeDef;
- /**
- * @brief AES
- */
- typedef struct {
- __IO uint32_t CR;
- uint8_t RESERVED0[12];
- __IO uint32_t DR0;
- __IO uint32_t DR1;
- __IO uint32_t DR2;
- __IO uint32_t DR3;
- __IO uint32_t KR0;
- __IO uint32_t KR1;
- __IO uint32_t KR2;
- __IO uint32_t KR3;
- __IO uint32_t KR4;
- __IO uint32_t KR5;
- __IO uint32_t KR6;
- __IO uint32_t KR7;
- } CM_AES_TypeDef;
- /**
- * @brief AOS
- */
- typedef struct {
- __O uint32_t INTSFTTRG;
- __IO uint32_t DCU_TRGSEL1;
- __IO uint32_t DCU_TRGSEL2;
- __IO uint32_t DCU_TRGSEL3;
- __IO uint32_t DCU_TRGSEL4;
- __IO uint32_t DMA1_TRGSEL0;
- __IO uint32_t DMA1_TRGSEL1;
- __IO uint32_t DMA1_TRGSEL2;
- __IO uint32_t DMA1_TRGSEL3;
- __IO uint32_t DMA1_TRGSEL4;
- __IO uint32_t DMA1_TRGSEL5;
- __IO uint32_t DMA2_TRGSEL0;
- __IO uint32_t DMA2_TRGSEL1;
- __IO uint32_t DMA2_TRGSEL2;
- __IO uint32_t DMA2_TRGSEL3;
- __IO uint32_t DMA2_TRGSEL4;
- __IO uint32_t DMA2_TRGSEL5;
- __IO uint32_t DMA_TRGSELRC;
- __IO uint32_t TMR6_HTSSR0;
- __IO uint32_t TMR6_HTSSR1;
- __IO uint32_t TMR4_HTSSR0;
- __IO uint32_t TMR4_HTSSR1;
- __IO uint32_t TMR4_HTSSR2;
- __IO uint32_t PEVNTTRGSR12;
- __IO uint32_t PEVNTTRGSR34;
- __IO uint32_t TMR0_HTSSR;
- __IO uint32_t TMRA_HTSSR0;
- __IO uint32_t TMRA_HTSSR1;
- __IO uint32_t TMRA_HTSSR2;
- __IO uint32_t TMRA_HTSSR3;
- __IO uint32_t ADC1_ITRGSELR0;
- __IO uint32_t ADC1_ITRGSELR1;
- __IO uint32_t ADC2_ITRGSELR0;
- __IO uint32_t ADC2_ITRGSELR1;
- __IO uint32_t ADC3_ITRGSELR0;
- __IO uint32_t ADC3_ITRGSELR1;
- __IO uint32_t COMTRG1;
- __IO uint32_t COMTRG2;
- uint8_t RESERVED0[104];
- __IO uint32_t PEVNTDIRR1;
- __I uint32_t PEVNTIDR1;
- __IO uint32_t PEVNTODR1;
- __IO uint32_t PEVNTORR1;
- __IO uint32_t PEVNTOSR1;
- __IO uint32_t PEVNTRISR1;
- __IO uint32_t PEVNTFAL1;
- __IO uint32_t PEVNTDIRR2;
- __I uint32_t PEVNTIDR2;
- __IO uint32_t PEVNTODR2;
- __IO uint32_t PEVNTORR2;
- __IO uint32_t PEVNTOSR2;
- __IO uint32_t PEVNTRISR2;
- __IO uint32_t PEVNTFAL2;
- __IO uint32_t PEVNTDIRR3;
- __I uint32_t PEVNTIDR3;
- __IO uint32_t PEVNTODR3;
- __IO uint32_t PEVNTORR3;
- __IO uint32_t PEVNTOSR3;
- __IO uint32_t PEVNTRISR3;
- __IO uint32_t PEVNTFAL3;
- __IO uint32_t PEVNTDIRR4;
- __I uint32_t PEVNTIDR4;
- __IO uint32_t PEVNTODR4;
- __IO uint32_t PEVNTORR4;
- __IO uint32_t PEVNTOSR4;
- __IO uint32_t PEVNTRISR4;
- __IO uint32_t PEVNTFAL4;
- __IO uint32_t PEVNTNFCR;
- uint8_t RESERVED1[140];
- __IO uint32_t PLU0_CR;
- __IO uint32_t PLU1_CR;
- __IO uint32_t PLU2_CR;
- __IO uint32_t PLU3_CR;
- __IO uint32_t PLU0_TRGSELA;
- __IO uint32_t PLU0_TRGSELB;
- __IO uint32_t PLU0_TRGSELC;
- __IO uint32_t PLU0_TRGSELD;
- __IO uint32_t PLU1_TRGSELA;
- __IO uint32_t PLU1_TRGSELB;
- __IO uint32_t PLU1_TRGSELC;
- __IO uint32_t PLU1_TRGSELD;
- __IO uint32_t PLU2_TRGSELA;
- __IO uint32_t PLU2_TRGSELB;
- __IO uint32_t PLU2_TRGSELC;
- __IO uint32_t PLU2_TRGSELD;
- __IO uint32_t PLU3_TRGSELA;
- __IO uint32_t PLU3_TRGSELB;
- __IO uint32_t PLU3_TRGSELC;
- __IO uint32_t PLU3_TRGSELD;
- } CM_AOS_TypeDef;
- /**
- * @brief CMP
- */
- typedef struct {
- __IO uint8_t MDR;
- __IO uint8_t FIR;
- __IO uint8_t OCR;
- uint8_t RESERVED0[1];
- __IO uint32_t PMSR;
- uint8_t RESERVED1[8];
- __IO uint32_t BWSR1;
- __IO uint16_t BWSR2;
- uint8_t RESERVED2[2];
- __IO uint32_t SCCR;
- __IO uint32_t SCMR;
- } CM_CMP_TypeDef;
- /**
- * @brief CMU
- */
- typedef struct {
- uint8_t RESERVED0[24];
- __IO uint32_t XTALDIVR;
- __IO uint32_t XTALDIVCR;
- uint8_t RESERVED1[19504];
- __IO uint8_t XTALCFGR;
- uint8_t RESERVED2[3];
- __IO uint8_t XTAL32CR;
- uint8_t RESERVED3[3];
- __IO uint8_t XTAL32CFGR;
- uint8_t RESERVED4[15];
- __IO uint8_t XTAL32NFR;
- uint8_t RESERVED5[3];
- __IO uint8_t LRCCR;
- uint8_t RESERVED6[7];
- __IO uint8_t LRCTRM;
- uint8_t RESERVED7[29595];
- __IO uint16_t PERICKSEL;
- uint8_t RESERVED8[6];
- __IO uint16_t CANCKCFGR;
- uint8_t RESERVED9[6];
- __IO uint32_t SCFGR;
- uint8_t RESERVED10[2];
- __IO uint8_t CKSWR;
- uint8_t RESERVED11[3];
- __IO uint8_t PLLHCR;
- uint8_t RESERVED12[7];
- __IO uint8_t XTALCR;
- uint8_t RESERVED13[3];
- __IO uint8_t HRCCR;
- uint8_t RESERVED14[1];
- __IO uint8_t MRCCR;
- uint8_t RESERVED15[3];
- __IO uint8_t OSCSTBSR;
- __IO uint8_t MCO1CFGR;
- __IO uint8_t MCO2CFGR;
- __IO uint8_t TPIUCKCFGR;
- __IO uint8_t XTALSTDCR;
- __IO uint8_t XTALSTDSR;
- uint8_t RESERVED16[31];
- __IO uint8_t MRCTRM;
- __IO uint8_t HRCTRM;
- uint8_t RESERVED17[63];
- __IO uint8_t XTALSTBCR;
- uint8_t RESERVED18[93];
- __IO uint32_t PLLHCFGR;
- } CM_CMU_TypeDef;
- /**
- * @brief CRC
- */
- typedef struct {
- __IO uint32_t CR;
- __IO uint32_t RESLT;
- uint8_t RESERVED0[120];
- __I uint32_t DAT0;
- __I uint32_t DAT1;
- __I uint32_t DAT2;
- __I uint32_t DAT3;
- __I uint32_t DAT4;
- __I uint32_t DAT5;
- __I uint32_t DAT6;
- __I uint32_t DAT7;
- __I uint32_t DAT8;
- __I uint32_t DAT9;
- __I uint32_t DAT10;
- __I uint32_t DAT11;
- __I uint32_t DAT12;
- __I uint32_t DAT13;
- __I uint32_t DAT14;
- __I uint32_t DAT15;
- __I uint32_t DAT16;
- __I uint32_t DAT17;
- __I uint32_t DAT18;
- __I uint32_t DAT19;
- __I uint32_t DAT20;
- __I uint32_t DAT21;
- __I uint32_t DAT22;
- __I uint32_t DAT23;
- __I uint32_t DAT24;
- __I uint32_t DAT25;
- __I uint32_t DAT26;
- __I uint32_t DAT27;
- __I uint32_t DAT28;
- __I uint32_t DAT29;
- __I uint32_t DAT30;
- __I uint32_t DAT31;
- } CM_CRC_TypeDef;
- /**
- * @brief CTC
- */
- typedef struct {
- __IO uint32_t CR1;
- __IO uint32_t CR2;
- __I uint32_t STR;
- __I uint16_t CNT;
- } CM_CTC_TypeDef;
- /**
- * @brief DAC
- */
- typedef struct {
- __IO uint16_t DADR1;
- __IO uint16_t DADR2;
- __IO uint16_t DACR;
- __IO uint16_t DAADPCR;
- uint8_t RESERVED0[20];
- __IO uint16_t DAOCR;
- } CM_DAC_TypeDef;
- /**
- * @brief DBGC
- */
- typedef struct {
- __IO uint32_t AUTHID0;
- __IO uint32_t AUTHID1;
- __IO uint32_t AUTHID2;
- __I uint32_t CHIPID;
- __IO uint32_t MCUSTAT;
- __IO uint32_t MCUCTL;
- __IO uint32_t FMCCTL;
- __IO uint32_t MCUDBGCSTAT;
- __IO uint32_t MCUSTPCTL;
- __IO uint32_t MCUTRACECTL;
- __IO uint32_t MCUSTPCTL2;
- } CM_DBGC_TypeDef;
- /**
- * @brief DCU
- */
- typedef struct {
- __IO uint32_t CTL;
- __I uint32_t FLAG;
- __IO uint32_t DATA0;
- __IO uint32_t DATA1;
- __IO uint32_t DATA2;
- __O uint32_t FLAGCLR;
- __IO uint32_t INTEVTSEL;
- } CM_DCU_TypeDef;
- /**
- * @brief DMA
- */
- typedef struct {
- __IO uint32_t EN;
- __I uint32_t INTSTAT0;
- __I uint32_t INTSTAT1;
- __IO uint32_t INTMASK0;
- __IO uint32_t INTMASK1;
- __O uint32_t INTCLR0;
- __O uint32_t INTCLR1;
- __IO uint32_t CHEN;
- __I uint32_t REQSTAT;
- __I uint32_t CHSTAT;
- uint8_t RESERVED0[4];
- __IO uint32_t RCFGCTL;
- uint8_t RESERVED1[4];
- __O uint32_t CHENCLR;
- uint8_t RESERVED2[8];
- __IO uint32_t SAR0;
- __IO uint32_t DAR0;
- __IO uint32_t DTCTL0;
- union {
- __IO uint32_t RPT0;
- __IO uint32_t RPTB0;
- };
- union {
- __IO uint32_t SNSEQCTL0;
- __IO uint32_t SNSEQCTLB0;
- };
- union {
- __IO uint32_t DNSEQCTL0;
- __IO uint32_t DNSEQCTLB0;
- };
- __IO uint32_t LLP0;
- __IO uint32_t CHCTL0;
- __I uint32_t MONSAR0;
- __I uint32_t MONDAR0;
- __I uint32_t MONDTCTL0;
- __I uint32_t MONRPT0;
- __I uint32_t MONSNSEQCTL0;
- __I uint32_t MONDNSEQCTL0;
- uint8_t RESERVED3[8];
- __IO uint32_t SAR1;
- __IO uint32_t DAR1;
- __IO uint32_t DTCTL1;
- union {
- __IO uint32_t RPT1;
- __IO uint32_t RPTB1;
- };
- union {
- __IO uint32_t SNSEQCTL1;
- __IO uint32_t SNSEQCTLB1;
- };
- union {
- __IO uint32_t DNSEQCTL1;
- __IO uint32_t DNSEQCTLB1;
- };
- __IO uint32_t LLP1;
- __IO uint32_t CHCTL1;
- __I uint32_t MONSAR1;
- __I uint32_t MONDAR1;
- __I uint32_t MONDTCTL1;
- __I uint32_t MONRPT1;
- __I uint32_t MONSNSEQCTL1;
- __I uint32_t MONDNSEQCTL1;
- uint8_t RESERVED4[8];
- __IO uint32_t SAR2;
- __IO uint32_t DAR2;
- __IO uint32_t DTCTL2;
- union {
- __IO uint32_t RPT2;
- __IO uint32_t RPTB2;
- };
- union {
- __IO uint32_t SNSEQCTL2;
- __IO uint32_t SNSEQCTLB2;
- };
- union {
- __IO uint32_t DNSEQCTL2;
- __IO uint32_t DNSEQCTLB2;
- };
- __IO uint32_t LLP2;
- __IO uint32_t CHCTL2;
- __I uint32_t MONSAR2;
- __I uint32_t MONDAR2;
- __I uint32_t MONDTCTL2;
- __I uint32_t MONRPT2;
- __I uint32_t MONSNSEQCTL2;
- __I uint32_t MONDNSEQCTL2;
- uint8_t RESERVED5[8];
- __IO uint32_t SAR3;
- __IO uint32_t DAR3;
- __IO uint32_t DTCTL3;
- union {
- __IO uint32_t RPT3;
- __IO uint32_t RPTB3;
- };
- union {
- __IO uint32_t SNSEQCTL3;
- __IO uint32_t SNSEQCTLB3;
- };
- union {
- __IO uint32_t DNSEQCTL3;
- __IO uint32_t DNSEQCTLB3;
- };
- __IO uint32_t LLP3;
- __IO uint32_t CHCTL3;
- __I uint32_t MONSAR3;
- __I uint32_t MONDAR3;
- __I uint32_t MONDTCTL3;
- __I uint32_t MONRPT3;
- __I uint32_t MONSNSEQCTL3;
- __I uint32_t MONDNSEQCTL3;
- uint8_t RESERVED6[8];
- __IO uint32_t SAR4;
- __IO uint32_t DAR4;
- __IO uint32_t DTCTL4;
- union {
- __IO uint32_t RPT4;
- __IO uint32_t RPTB4;
- };
- union {
- __IO uint32_t SNSEQCTL4;
- __IO uint32_t SNSEQCTLB4;
- };
- union {
- __IO uint32_t DNSEQCTL4;
- __IO uint32_t DNSEQCTLB4;
- };
- __IO uint32_t LLP4;
- __IO uint32_t CHCTL4;
- __I uint32_t MONSAR4;
- __I uint32_t MONDAR4;
- __I uint32_t MONDTCTL4;
- __I uint32_t MONRPT4;
- __I uint32_t MONSNSEQCTL4;
- __I uint32_t MONDNSEQCTL4;
- uint8_t RESERVED7[8];
- __IO uint32_t SAR5;
- __IO uint32_t DAR5;
- __IO uint32_t DTCTL5;
- union {
- __IO uint32_t RPT5;
- __IO uint32_t RPTB5;
- };
- union {
- __IO uint32_t SNSEQCTL5;
- __IO uint32_t SNSEQCTLB5;
- };
- union {
- __IO uint32_t DNSEQCTL5;
- __IO uint32_t DNSEQCTLB5;
- };
- __IO uint32_t LLP5;
- __IO uint32_t CHCTL5;
- __I uint32_t MONSAR5;
- __I uint32_t MONDAR5;
- __I uint32_t MONDTCTL5;
- __I uint32_t MONRPT5;
- __I uint32_t MONSNSEQCTL5;
- __I uint32_t MONDNSEQCTL5;
- } CM_DMA_TypeDef;
- /**
- * @brief EFM
- */
- typedef struct {
- __IO uint32_t FAPRT;
- __IO uint32_t KEY1;
- __IO uint32_t KEY2;
- uint8_t RESERVED0[8];
- __IO uint32_t FSTP;
- __IO uint32_t FRMC;
- __IO uint32_t FWMC;
- __I uint32_t FSR;
- __IO uint32_t FSCLR;
- __IO uint32_t FITE;
- __I uint32_t FSWP;
- uint8_t RESERVED1[16];
- __I uint32_t CHIPID;
- uint8_t RESERVED2[12];
- __I uint32_t UQID0;
- __I uint32_t UQID1;
- __I uint32_t UQID2;
- uint8_t RESERVED3[164];
- __IO uint32_t MMF_REMPRT;
- __IO uint32_t MMF_REMCR0;
- __IO uint32_t MMF_REMCR1;
- uint8_t RESERVED4[116];
- __IO uint32_t WLOCK;
- uint8_t RESERVED5[12];
- __IO uint32_t F0NWPRT;
- } CM_EFM_TypeDef;
- /**
- * @brief EMB
- */
- typedef struct {
- __IO uint32_t CTL1;
- __IO uint32_t CTL2;
- __IO uint32_t SOE;
- __I uint32_t STAT;
- __O uint32_t STATCLR;
- __IO uint32_t INTEN;
- __IO uint32_t RLSSEL;
- } CM_EMB_TypeDef;
- /**
- * @brief FCM
- */
- typedef struct {
- __IO uint32_t LVR;
- __IO uint32_t UVR;
- __I uint32_t CNTR;
- __IO uint32_t STR;
- __IO uint32_t MCCR;
- __IO uint32_t RCCR;
- __IO uint32_t RIER;
- __I uint32_t SR;
- __O uint32_t CLR;
- } CM_FCM_TypeDef;
- /**
- * @brief GPIO
- */
- typedef struct {
- __I uint16_t PIDRA;
- uint8_t RESERVED0[2];
- __IO uint16_t PODRA;
- __IO uint16_t POERA;
- __IO uint16_t POSRA;
- __IO uint16_t PORRA;
- __IO uint16_t POTRA;
- uint8_t RESERVED1[2];
- __I uint16_t PIDRB;
- uint8_t RESERVED2[2];
- __IO uint16_t PODRB;
- __IO uint16_t POERB;
- __IO uint16_t POSRB;
- __IO uint16_t PORRB;
- __IO uint16_t POTRB;
- uint8_t RESERVED3[2];
- __I uint16_t PIDRC;
- uint8_t RESERVED4[2];
- __IO uint16_t PODRC;
- __IO uint16_t POERC;
- __IO uint16_t POSRC;
- __IO uint16_t PORRC;
- __IO uint16_t POTRC;
- uint8_t RESERVED5[2];
- __I uint16_t PIDRD;
- uint8_t RESERVED6[2];
- __IO uint16_t PODRD;
- __IO uint16_t POERD;
- __IO uint16_t POSRD;
- __IO uint16_t PORRD;
- __IO uint16_t POTRD;
- uint8_t RESERVED7[2];
- __I uint16_t PIDRE;
- uint8_t RESERVED8[2];
- __IO uint16_t PODRE;
- __IO uint16_t POERE;
- __IO uint16_t POSRE;
- __IO uint16_t PORRE;
- __IO uint16_t POTRE;
- uint8_t RESERVED9[2];
- __I uint16_t PIDRH;
- uint8_t RESERVED10[2];
- __IO uint16_t PODRH;
- __IO uint16_t POERH;
- __IO uint16_t POSRH;
- __IO uint16_t PORRH;
- __IO uint16_t POTRH;
- uint8_t RESERVED11[918];
- __IO uint16_t PSPCR;
- uint8_t RESERVED12[2];
- __IO uint16_t PCCR;
- uint8_t RESERVED13[2];
- __IO uint16_t PWPR;
- uint8_t RESERVED14[2];
- __IO uint16_t PCRA0;
- __IO uint16_t PFSRA0;
- __IO uint16_t PCRA1;
- __IO uint16_t PFSRA1;
- __IO uint16_t PCRA2;
- __IO uint16_t PFSRA2;
- __IO uint16_t PCRA3;
- __IO uint16_t PFSRA3;
- __IO uint16_t PCRA4;
- __IO uint16_t PFSRA4;
- __IO uint16_t PCRA5;
- __IO uint16_t PFSRA5;
- __IO uint16_t PCRA6;
- __IO uint16_t PFSRA6;
- __IO uint16_t PCRA7;
- __IO uint16_t PFSRA7;
- __IO uint16_t PCRA8;
- __IO uint16_t PFSRA8;
- __IO uint16_t PCRA9;
- __IO uint16_t PFSRA9;
- __IO uint16_t PCRA10;
- __IO uint16_t PFSRA10;
- __IO uint16_t PCRA11;
- __IO uint16_t PFSRA11;
- __IO uint16_t PCRA12;
- __IO uint16_t PFSRA12;
- __IO uint16_t PCRA13;
- __IO uint16_t PFSRA13;
- __IO uint16_t PCRA14;
- __IO uint16_t PFSRA14;
- __IO uint16_t PCRA15;
- __IO uint16_t PFSRA15;
- __IO uint16_t PCRB0;
- __IO uint16_t PFSRB0;
- __IO uint16_t PCRB1;
- __IO uint16_t PFSRB1;
- __IO uint16_t PCRB2;
- __IO uint16_t PFSRB2;
- __IO uint16_t PCRB3;
- __IO uint16_t PFSRB3;
- __IO uint16_t PCRB4;
- __IO uint16_t PFSRB4;
- __IO uint16_t PCRB5;
- __IO uint16_t PFSRB5;
- __IO uint16_t PCRB6;
- __IO uint16_t PFSRB6;
- __IO uint16_t PCRB7;
- __IO uint16_t PFSRB7;
- __IO uint16_t PCRB8;
- __IO uint16_t PFSRB8;
- __IO uint16_t PCRB9;
- __IO uint16_t PFSRB9;
- __IO uint16_t PCRB10;
- __IO uint16_t PFSRB10;
- __IO uint16_t PCRB11;
- __IO uint16_t PFSRB11;
- __IO uint16_t PCRB12;
- __IO uint16_t PFSRB12;
- __IO uint16_t PCRB13;
- __IO uint16_t PFSRB13;
- __IO uint16_t PCRB14;
- __IO uint16_t PFSRB14;
- __IO uint16_t PCRB15;
- __IO uint16_t PFSRB15;
- __IO uint16_t PCRC0;
- __IO uint16_t PFSRC0;
- __IO uint16_t PCRC1;
- __IO uint16_t PFSRC1;
- __IO uint16_t PCRC2;
- __IO uint16_t PFSRC2;
- __IO uint16_t PCRC3;
- __IO uint16_t PFSRC3;
- __IO uint16_t PCRC4;
- __IO uint16_t PFSRC4;
- __IO uint16_t PCRC5;
- __IO uint16_t PFSRC5;
- __IO uint16_t PCRC6;
- __IO uint16_t PFSRC6;
- __IO uint16_t PCRC7;
- __IO uint16_t PFSRC7;
- __IO uint16_t PCRC8;
- __IO uint16_t PFSRC8;
- __IO uint16_t PCRC9;
- __IO uint16_t PFSRC9;
- __IO uint16_t PCRC10;
- __IO uint16_t PFSRC10;
- __IO uint16_t PCRC11;
- __IO uint16_t PFSRC11;
- __IO uint16_t PCRC12;
- __IO uint16_t PFSRC12;
- __IO uint16_t PCRC13;
- __IO uint16_t PFSRC13;
- __IO uint16_t PCRC14;
- __IO uint16_t PFSRC14;
- __IO uint16_t PCRC15;
- __IO uint16_t PFSRC15;
- __IO uint16_t PCRD0;
- __IO uint16_t PFSRD0;
- __IO uint16_t PCRD1;
- __IO uint16_t PFSRD1;
- __IO uint16_t PCRD2;
- __IO uint16_t PFSRD2;
- __IO uint16_t PCRD3;
- __IO uint16_t PFSRD3;
- __IO uint16_t PCRD4;
- __IO uint16_t PFSRD4;
- __IO uint16_t PCRD5;
- __IO uint16_t PFSRD5;
- __IO uint16_t PCRD6;
- __IO uint16_t PFSRD6;
- __IO uint16_t PCRD7;
- __IO uint16_t PFSRD7;
- __IO uint16_t PCRD8;
- __IO uint16_t PFSRD8;
- __IO uint16_t PCRD9;
- __IO uint16_t PFSRD9;
- __IO uint16_t PCRD10;
- __IO uint16_t PFSRD10;
- __IO uint16_t PCRD11;
- __IO uint16_t PFSRD11;
- __IO uint16_t PCRD12;
- __IO uint16_t PFSRD12;
- __IO uint16_t PCRD13;
- __IO uint16_t PFSRD13;
- __IO uint16_t PCRD14;
- __IO uint16_t PFSRD14;
- __IO uint16_t PCRD15;
- __IO uint16_t PFSRD15;
- __IO uint16_t PCRE0;
- __IO uint16_t PFSRE0;
- __IO uint16_t PCRE1;
- __IO uint16_t PFSRE1;
- __IO uint16_t PCRE2;
- __IO uint16_t PFSRE2;
- __IO uint16_t PCRE3;
- __IO uint16_t PFSRE3;
- __IO uint16_t PCRE4;
- __IO uint16_t PFSRE4;
- __IO uint16_t PCRE5;
- __IO uint16_t PFSRE5;
- __IO uint16_t PCRE6;
- __IO uint16_t PFSRE6;
- __IO uint16_t PCRE7;
- __IO uint16_t PFSRE7;
- __IO uint16_t PCRE8;
- __IO uint16_t PFSRE8;
- __IO uint16_t PCRE9;
- __IO uint16_t PFSRE9;
- __IO uint16_t PCRE10;
- __IO uint16_t PFSRE10;
- __IO uint16_t PCRE11;
- __IO uint16_t PFSRE11;
- __IO uint16_t PCRE12;
- __IO uint16_t PFSRE12;
- __IO uint16_t PCRE13;
- __IO uint16_t PFSRE13;
- __IO uint16_t PCRE14;
- __IO uint16_t PFSRE14;
- __IO uint16_t PCRE15;
- __IO uint16_t PFSRE15;
- __IO uint16_t PCRH0;
- __IO uint16_t PFSRH0;
- __IO uint16_t PCRH1;
- __IO uint16_t PFSRH1;
- __IO uint16_t PCRH2;
- __IO uint16_t PFSRH2;
- __IO uint16_t PCRH3;
- __IO uint16_t PFSRH3;
- __IO uint16_t PCRH4;
- __IO uint16_t PFSRH4;
- __IO uint16_t PCRH5;
- __IO uint16_t PFSRH5;
- __IO uint16_t PCRH6;
- __IO uint16_t PFSRH6;
- __IO uint16_t PCRH7;
- __IO uint16_t PFSRH7;
- __IO uint16_t PCRH8;
- __IO uint16_t PFSRH8;
- __IO uint16_t PCRH9;
- __IO uint16_t PFSRH9;
- __IO uint16_t PCRH10;
- __IO uint16_t PFSRH10;
- __IO uint16_t PCRH11;
- __IO uint16_t PFSRH11;
- __IO uint16_t PCRH12;
- __IO uint16_t PFSRH12;
- __IO uint16_t PCRH13;
- __IO uint16_t PFSRH13;
- __IO uint16_t PCRH14;
- __IO uint16_t PFSRH14;
- __IO uint16_t PCRH15;
- __IO uint16_t PFSRH15;
- } CM_GPIO_TypeDef;
- /**
- * @brief HASH
- */
- typedef struct {
- __IO uint32_t CR;
- uint8_t RESERVED0[12];
- __IO uint32_t HR7;
- __IO uint32_t HR6;
- __IO uint32_t HR5;
- __IO uint32_t HR4;
- __IO uint32_t HR3;
- __IO uint32_t HR2;
- __IO uint32_t HR1;
- __IO uint32_t HR0;
- uint8_t RESERVED1[16];
- __IO uint32_t DR15;
- __IO uint32_t DR14;
- __IO uint32_t DR13;
- __IO uint32_t DR12;
- __IO uint32_t DR11;
- __IO uint32_t DR10;
- __IO uint32_t DR9;
- __IO uint32_t DR8;
- __IO uint32_t DR7;
- __IO uint32_t DR6;
- __IO uint32_t DR5;
- __IO uint32_t DR4;
- __IO uint32_t DR3;
- __IO uint32_t DR2;
- __IO uint32_t DR1;
- __IO uint32_t DR0;
- } CM_HASH_TypeDef;
- /**
- * @brief I2C
- */
- typedef struct {
- __IO uint32_t CR1;
- __IO uint32_t CR2;
- __IO uint32_t CR3;
- __IO uint32_t CR4;
- __IO uint32_t SLR0;
- __IO uint32_t SLR1;
- __IO uint32_t SLTR;
- __IO uint32_t SR;
- __O uint32_t CLR;
- __O uint8_t DTR;
- uint8_t RESERVED0[3];
- __I uint8_t DRR;
- uint8_t RESERVED1[3];
- __IO uint32_t CCR;
- __IO uint32_t FLTR;
- __IO uint32_t FSTR;
- __IO uint32_t SLVADDR;
- } CM_I2C_TypeDef;
- /**
- * @brief ICG
- */
- typedef struct {
- __I uint32_t ICG0;
- __I uint32_t ICG1;
- uint8_t RESERVED0[4];
- __I uint32_t ICG3;
- __I uint32_t ICG4;
- } CM_ICG_TypeDef;
- /**
- * @brief INTC
- */
- typedef struct {
- uint8_t RESERVED0[4];
- __IO uint32_t NMIER;
- __IO uint32_t NMIFR;
- __IO uint32_t NMIFCR;
- __IO uint32_t EIRQCR0;
- __IO uint32_t EIRQCR1;
- __IO uint32_t EIRQCR2;
- __IO uint32_t EIRQCR3;
- __IO uint32_t EIRQCR4;
- __IO uint32_t EIRQCR5;
- __IO uint32_t EIRQCR6;
- __IO uint32_t EIRQCR7;
- __IO uint32_t EIRQCR8;
- __IO uint32_t EIRQCR9;
- __IO uint32_t EIRQCR10;
- __IO uint32_t EIRQCR11;
- __IO uint32_t EIRQCR12;
- __IO uint32_t EIRQCR13;
- __IO uint32_t EIRQCR14;
- __IO uint32_t EIRQCR15;
- __IO uint32_t WKEN;
- __IO uint32_t EIFR;
- __IO uint32_t EIFCR;
- __IO uint32_t INTSEL0;
- __IO uint32_t INTSEL1;
- __IO uint32_t INTSEL2;
- __IO uint32_t INTSEL3;
- __IO uint32_t INTSEL4;
- __IO uint32_t INTSEL5;
- __IO uint32_t INTSEL6;
- __IO uint32_t INTSEL7;
- __IO uint32_t INTSEL8;
- __IO uint32_t INTSEL9;
- __IO uint32_t INTSEL10;
- __IO uint32_t INTSEL11;
- __IO uint32_t INTSEL12;
- __IO uint32_t INTSEL13;
- __IO uint32_t INTSEL14;
- __IO uint32_t INTSEL15;
- __IO uint32_t INTMSK0;
- __IO uint32_t INTMSK1;
- __IO uint32_t INTMSK2;
- __IO uint32_t INTMSK3;
- __IO uint32_t INTMSK4;
- __IO uint32_t INTMSK5;
- __IO uint32_t INTMSK6;
- __IO uint32_t INTMSK7;
- __IO uint32_t INTMSK8;
- __IO uint32_t INTMSK9;
- __IO uint32_t INTMSK10;
- __IO uint32_t INTMSK11;
- __IO uint32_t INTMSK12;
- __IO uint32_t INTMSK13;
- __IO uint32_t INTMSK14;
- __IO uint32_t INTMSK15;
- __IO uint32_t SWIER;
- __IO uint32_t EVTER;
- __IO uint32_t IER;
- } CM_INTC_TypeDef;
- /**
- * @brief KEYSCAN
- */
- typedef struct {
- __IO uint32_t SCR;
- __IO uint32_t SER;
- __IO uint32_t SSR;
- } CM_KEYSCAN_TypeDef;
- /**
- * @brief MCAN
- */
- typedef struct {
- uint8_t RESERVED0[4];
- __IO uint32_t ENDN;
- uint8_t RESERVED1[4];
- __IO uint32_t DBTP;
- __IO uint32_t TEST;
- __IO uint32_t RWD;
- __IO uint32_t CCCR;
- __IO uint32_t NBTP;
- __IO uint32_t TSCC;
- __IO uint32_t TSCV;
- __IO uint32_t TOCC;
- __IO uint32_t TOCV;
- uint8_t RESERVED2[16];
- __I uint32_t ECR;
- __I uint32_t PSR;
- __IO uint32_t TDCR;
- uint8_t RESERVED3[4];
- __IO uint32_t IR;
- __IO uint32_t IE;
- __IO uint32_t ILS;
- __IO uint32_t ILE;
- uint8_t RESERVED4[32];
- __IO uint32_t GFC;
- __IO uint32_t SIDFC;
- __IO uint32_t XIDFC;
- uint8_t RESERVED5[4];
- __IO uint32_t XIDAM;
- __I uint32_t HPMS;
- __IO uint32_t NDAT1;
- __IO uint32_t NDAT2;
- __IO uint32_t RXF0C;
- __I uint32_t RXF0S;
- __IO uint32_t RXF0A;
- __IO uint32_t RXBC;
- __IO uint32_t RXF1C;
- __I uint32_t RXF1S;
- __IO uint32_t RXF1A;
- __IO uint32_t RXESC;
- __IO uint32_t TXBC;
- __I uint32_t TXFQS;
- __IO uint32_t TXESC;
- __I uint32_t TXBRP;
- __IO uint32_t TXBAR;
- __IO uint32_t TXBCR;
- __I uint32_t TXBTO;
- __I uint32_t TXBCF;
- __IO uint32_t TXBTIE;
- __IO uint32_t TXBCIE;
- uint8_t RESERVED6[8];
- __IO uint32_t TXEFC;
- __I uint32_t TXEFS;
- __IO uint32_t TXEFA;
- } CM_MCAN_TypeDef;
- /**
- * @brief MPU
- */
- typedef struct {
- __IO uint32_t RGD0;
- __IO uint32_t RGD1;
- __IO uint32_t RGD2;
- __IO uint32_t RGD3;
- __IO uint32_t RGD4;
- __IO uint32_t RGD5;
- __IO uint32_t RGD6;
- __IO uint32_t RGD7;
- __IO uint32_t RGD8;
- __IO uint32_t RGD9;
- __IO uint32_t RGD10;
- __IO uint32_t RGD11;
- __IO uint32_t RGD12;
- __IO uint32_t RGD13;
- __IO uint32_t RGD14;
- __IO uint32_t RGD15;
- __I uint32_t SR;
- __O uint32_t ECLR;
- __IO uint32_t WP;
- __IO uint32_t IPPR;
- __IO uint32_t MSPPBA;
- __IO uint32_t MSPPCTL;
- __IO uint32_t PSPPBA;
- __IO uint32_t PSPPCTL;
- __IO uint32_t S1RGE;
- __IO uint32_t S1RGWP;
- __IO uint32_t S1RGRP;
- __IO uint32_t S1CR;
- __IO uint32_t S2RGE;
- __IO uint32_t S2RGWP;
- __IO uint32_t S2RGRP;
- __IO uint32_t S2CR;
- } CM_MPU_TypeDef;
- /**
- * @brief PERIC
- */
- typedef struct {
- uint8_t RESERVED0[12];
- __IO uint32_t SMC_ENAR;
- uint8_t RESERVED1[4];
- __IO uint32_t TMR_SYNENR;
- uint8_t RESERVED2[4];
- __IO uint32_t USART1_NFC;
- } CM_PERIC_TypeDef;
- /**
- * @brief PWC
- */
- typedef struct {
- __IO uint32_t FCG0;
- __IO uint32_t FCG1;
- __IO uint32_t FCG2;
- __IO uint32_t FCG3;
- __IO uint32_t FCG0PC;
- uint8_t RESERVED0[17388];
- __IO uint16_t WKTCR;
- uint8_t RESERVED1[2046];
- __IO uint8_t PWRC0;
- uint8_t RESERVED2[3];
- __IO uint8_t PWRC1;
- uint8_t RESERVED3[3];
- __IO uint8_t PWRC2;
- uint8_t RESERVED4[3];
- __IO uint8_t PWRC3;
- uint8_t RESERVED5[3];
- __IO uint8_t PWRC4;
- uint8_t RESERVED6[3];
- __IO uint8_t PVDCR0;
- uint8_t RESERVED7[3];
- __IO uint8_t PVDCR1;
- uint8_t RESERVED8[3];
- __IO uint8_t PVDFCR;
- uint8_t RESERVED9[3];
- __IO uint8_t PVDLCR;
- uint8_t RESERVED10[7];
- __IO uint8_t PDWKE0;
- uint8_t RESERVED11[3];
- __IO uint8_t PDWKE1;
- uint8_t RESERVED12[3];
- __IO uint8_t PDWKE2;
- uint8_t RESERVED13[3];
- __IO uint8_t PDWKES;
- uint8_t RESERVED14[3];
- __IO uint8_t PDWKF0;
- uint8_t RESERVED15[3];
- __IO uint8_t PDWKF1;
- uint8_t RESERVED16[3];
- __IO uint8_t PWRC5;
- uint8_t RESERVED17[3];
- __IO uint8_t PWRC6;
- uint8_t RESERVED18[123];
- __IO uint8_t PVDICR;
- uint8_t RESERVED19[3];
- __IO uint8_t PVDDSR;
- uint8_t RESERVED20[3];
- __IO uint32_t RAMPC0;
- __IO uint32_t RAMOPM;
- __IO uint32_t PRAMLPC;
- uint8_t RESERVED21[29496];
- __IO uint16_t STPMCR;
- uint8_t RESERVED22[1008];
- __IO uint16_t FPRC;
- } CM_PWC_TypeDef;
- /**
- * @brief QSPI
- */
- typedef struct {
- __IO uint32_t CR;
- __IO uint32_t CSCR;
- __IO uint32_t FCR;
- __I uint32_t SR;
- __IO uint32_t DCOM;
- __IO uint32_t CCMD;
- __IO uint32_t XCMD;
- uint8_t RESERVED0[8];
- __O uint32_t SR2;
- uint8_t RESERVED1[2012];
- __IO uint32_t EXAR;
- } CM_QSPI_TypeDef;
- /**
- * @brief RMU
- */
- typedef struct {
- __IO uint32_t FRST0;
- __IO uint32_t FRST1;
- __IO uint32_t FRST2;
- __IO uint32_t FRST3;
- __IO uint8_t PRSTCR0;
- uint8_t RESERVED0[3];
- __IO uint32_t RSTF0;
- } CM_RMU_TypeDef;
- /**
- * @brief RTC
- */
- typedef struct {
- __IO uint8_t CR0;
- uint8_t RESERVED0[3];
- __IO uint8_t CR1;
- uint8_t RESERVED1[3];
- __IO uint8_t CR2;
- uint8_t RESERVED2[3];
- __IO uint8_t CR3;
- uint8_t RESERVED3[3];
- __IO uint8_t SEC;
- uint8_t RESERVED4[3];
- __IO uint8_t MIN;
- uint8_t RESERVED5[3];
- __IO uint8_t HOUR;
- uint8_t RESERVED6[3];
- __IO uint8_t WEEK;
- uint8_t RESERVED7[3];
- __IO uint8_t DAY;
- uint8_t RESERVED8[3];
- __IO uint8_t MON;
- uint8_t RESERVED9[3];
- __IO uint8_t YEAR;
- uint8_t RESERVED10[3];
- __IO uint8_t ALMMIN;
- uint8_t RESERVED11[3];
- __IO uint8_t ALMHOUR;
- uint8_t RESERVED12[3];
- __IO uint8_t ALMWEEK;
- uint8_t RESERVED13[3];
- __IO uint8_t ERRCRH;
- uint8_t RESERVED14[3];
- __IO uint8_t ERRCRL;
- } CM_RTC_TypeDef;
- /**
- * @brief SMC
- */
- typedef struct {
- __I uint32_t STSR;
- uint8_t RESERVED0[4];
- __O uint32_t STCR0;
- __O uint32_t STCR1;
- __O uint32_t CMDR;
- __O uint32_t TMCR;
- __O uint32_t CPCR;
- uint8_t RESERVED1[4];
- __IO uint32_t RFTR;
- uint8_t RESERVED2[220];
- __I uint32_t TMSR0;
- __I uint32_t CPSR0;
- uint8_t RESERVED3[248];
- __IO uint32_t BACR;
- uint8_t RESERVED4[4];
- __IO uint32_t CSCR0;
- __IO uint32_t CSCR1;
- } CM_SMC_TypeDef;
- /**
- * @brief SPI
- */
- typedef struct {
- __IO uint32_t DR;
- __IO uint32_t CR;
- uint8_t RESERVED0[4];
- __IO uint32_t CFG1;
- uint8_t RESERVED1[4];
- __IO uint32_t SR;
- __IO uint32_t CFG2;
- } CM_SPI_TypeDef;
- /**
- * @brief SRAMC
- */
- typedef struct {
- __IO uint32_t WTCR;
- __IO uint32_t WTPR;
- __IO uint32_t CKCR;
- __IO uint32_t CKPR;
- __IO uint32_t CKSR;
- __IO uint32_t SRAM0_EIEN;
- __IO uint32_t SRAM0_EIBIT0;
- __IO uint32_t SRAM0_EIBIT1;
- __IO uint32_t SRAM0_ECCERRADDR;
- __IO uint32_t SRAMB_EIEN;
- __IO uint32_t SRAMB_EIBIT0;
- __IO uint32_t SRAMB_EIBIT1;
- __IO uint32_t SRAMB_ECCERRADDR;
- } CM_SRAMC_TypeDef;
- /**
- * @brief SWDT
- */
- typedef struct {
- __IO uint32_t CR;
- __IO uint32_t SR;
- __IO uint32_t RR;
- } CM_SWDT_TypeDef;
- /**
- * @brief TMR0
- */
- typedef struct {
- __IO uint32_t CNTAR;
- __IO uint32_t CNTBR;
- __IO uint32_t CMPAR;
- __IO uint32_t CMPBR;
- __IO uint32_t BCONR;
- __IO uint32_t STFLR;
- } CM_TMR0_TypeDef;
- /**
- * @brief TMR4
- */
- typedef struct {
- __IO uint16_t OCCRUH;
- uint8_t RESERVED0[2];
- __IO uint16_t OCCRUL;
- uint8_t RESERVED1[2];
- __IO uint16_t OCCRVH;
- uint8_t RESERVED2[2];
- __IO uint16_t OCCRVL;
- uint8_t RESERVED3[2];
- __IO uint16_t OCCRWH;
- uint8_t RESERVED4[2];
- __IO uint16_t OCCRWL;
- uint8_t RESERVED5[2];
- __IO uint16_t OCCRXH;
- uint8_t RESERVED6[2];
- __IO uint16_t OCCRXL;
- uint8_t RESERVED7[2];
- __IO uint16_t OCSRU;
- __IO uint16_t OCERU;
- __IO uint16_t OCSRV;
- __IO uint16_t OCERV;
- __IO uint16_t OCSRW;
- __IO uint16_t OCERW;
- __IO uint16_t OCSRX;
- __IO uint16_t OCERX;
- __IO uint16_t OCMRHUH;
- uint8_t RESERVED8[2];
- __IO uint32_t OCMRLUL;
- __IO uint16_t OCMRHVH;
- uint8_t RESERVED9[2];
- __IO uint32_t OCMRLVL;
- __IO uint16_t OCMRHWH;
- uint8_t RESERVED10[2];
- __IO uint32_t OCMRLWL;
- __IO uint16_t OCMRHXH;
- uint8_t RESERVED11[2];
- __IO uint32_t OCMRLXL;
- __IO uint16_t CPSR;
- uint8_t RESERVED12[2];
- __IO uint16_t CNTR;
- uint8_t RESERVED13[2];
- __IO uint16_t CCSR;
- __IO uint16_t CVPR;
- __IO uint32_t PSCR;
- uint8_t RESERVED14[34];
- __IO uint16_t PFSRU;
- __IO uint16_t PDARU;
- __IO uint16_t PDBRU;
- uint8_t RESERVED15[2];
- __IO uint16_t PFSRV;
- __IO uint16_t PDARV;
- __IO uint16_t PDBRV;
- uint8_t RESERVED16[2];
- __IO uint16_t PFSRW;
- __IO uint16_t PDARW;
- __IO uint16_t PDBRW;
- uint8_t RESERVED17[2];
- __IO uint16_t PFSRX;
- __IO uint16_t PDARX;
- __IO uint16_t PDBRX;
- __IO uint16_t POCRU;
- uint8_t RESERVED18[2];
- __IO uint16_t POCRV;
- uint8_t RESERVED19[2];
- __IO uint16_t POCRW;
- uint8_t RESERVED20[2];
- __IO uint16_t POCRX;
- uint8_t RESERVED21[2];
- __IO uint16_t SCCRUH;
- uint8_t RESERVED22[2];
- __IO uint16_t SCCRUL;
- uint8_t RESERVED23[2];
- __IO uint16_t SCCRVH;
- uint8_t RESERVED24[2];
- __IO uint16_t SCCRVL;
- uint8_t RESERVED25[2];
- __IO uint16_t SCCRWH;
- uint8_t RESERVED26[2];
- __IO uint16_t SCCRWL;
- uint8_t RESERVED27[2];
- __IO uint16_t SCCRXH;
- uint8_t RESERVED28[2];
- __IO uint16_t SCCRXL;
- uint8_t RESERVED29[2];
- __IO uint16_t SCSRUH;
- __IO uint16_t SCMRUH;
- __IO uint16_t SCSRUL;
- __IO uint16_t SCMRUL;
- __IO uint16_t SCSRVH;
- __IO uint16_t SCMRVH;
- __IO uint16_t SCSRVL;
- __IO uint16_t SCMRVL;
- __IO uint16_t SCSRWH;
- __IO uint16_t SCMRWH;
- __IO uint16_t SCSRWL;
- __IO uint16_t SCMRWL;
- __IO uint16_t SCSRXH;
- __IO uint16_t SCMRXH;
- __IO uint16_t SCSRXL;
- __IO uint16_t SCMRXL;
- __IO uint16_t SCER;
- uint8_t RESERVED30[2];
- __IO uint32_t RCSR;
- __IO uint16_t SCIR;
- uint8_t RESERVED31[2];
- __IO uint16_t SCFR;
- } CM_TMR4_TypeDef;
- /**
- * @brief TMR6
- */
- typedef struct {
- __IO uint32_t CNTER;
- __IO uint32_t UPDAR;
- uint8_t RESERVED0[56];
- __IO uint32_t PERAR;
- __IO uint32_t PERBR;
- __IO uint32_t PERCR;
- uint8_t RESERVED1[52];
- __IO uint32_t GCMAR;
- __IO uint32_t GCMBR;
- __IO uint32_t GCMCR;
- __IO uint32_t GCMDR;
- __IO uint32_t GCMER;
- __IO uint32_t GCMFR;
- uint8_t RESERVED2[40];
- __IO uint32_t SCMAR;
- __IO uint32_t SCMBR;
- __IO uint32_t SCMCR;
- __IO uint32_t SCMDR;
- __IO uint32_t SCMER;
- __IO uint32_t SCMFR;
- uint8_t RESERVED3[40];
- __IO uint32_t DTUAR;
- __IO uint32_t DTDAR;
- __IO uint32_t DTUBR;
- __IO uint32_t DTDBR;
- uint8_t RESERVED4[48];
- __IO uint32_t GCONR;
- __IO uint32_t ICONR;
- __IO uint32_t BCONR;
- __IO uint32_t DCONR;
- uint8_t RESERVED5[4];
- __IO uint32_t PCNAR;
- __IO uint32_t PCNBR;
- __IO uint32_t FCNGR;
- __IO uint32_t VPERR;
- __IO uint32_t STFLR;
- uint8_t RESERVED6[24];
- __IO uint32_t HSTAR;
- __IO uint32_t HSTPR;
- __IO uint32_t HCLRR;
- __IO uint32_t HUPDR;
- __IO uint32_t HCPAR;
- __IO uint32_t HCPBR;
- __IO uint32_t HCUPR;
- __IO uint32_t HCDOR;
- } CM_TMR6_TypeDef;
- /**
- * @brief TMR6CR
- */
- typedef struct {
- uint8_t RESERVED0[1004];
- __IO uint32_t FCNTR;
- __IO uint32_t SSTAR;
- __IO uint32_t SSTPR;
- __IO uint32_t SCLRR;
- __IO uint32_t SUPDR;
- } CM_TMR6CR_TypeDef;
- /**
- * @brief TMRA
- */
- typedef struct {
- __IO uint32_t CNTER;
- __IO uint32_t PERAR;
- uint8_t RESERVED0[56];
- __IO uint32_t CMPAR1;
- __IO uint32_t CMPAR2;
- __IO uint32_t CMPAR3;
- __IO uint32_t CMPAR4;
- __IO uint32_t CMPAR5;
- __IO uint32_t CMPAR6;
- __IO uint32_t CMPAR7;
- __IO uint32_t CMPAR8;
- uint8_t RESERVED1[32];
- __IO uint16_t BCSTR;
- uint8_t RESERVED2[2];
- __IO uint16_t HCONR;
- uint8_t RESERVED3[2];
- __IO uint16_t HCUPR;
- uint8_t RESERVED4[2];
- __IO uint16_t HCDOR;
- uint8_t RESERVED5[2];
- __IO uint16_t ICONR;
- uint8_t RESERVED6[2];
- __IO uint16_t ECONR;
- uint8_t RESERVED7[2];
- __IO uint16_t FCONR;
- uint8_t RESERVED8[2];
- __IO uint16_t STFLR;
- uint8_t RESERVED9[34];
- __IO uint16_t BCONR1;
- uint8_t RESERVED10[6];
- __IO uint16_t BCONR2;
- uint8_t RESERVED11[6];
- __IO uint16_t BCONR3;
- uint8_t RESERVED12[6];
- __IO uint16_t BCONR4;
- uint8_t RESERVED13[38];
- __IO uint16_t CCONR1;
- uint8_t RESERVED14[2];
- __IO uint16_t CCONR2;
- uint8_t RESERVED15[2];
- __IO uint16_t CCONR3;
- uint8_t RESERVED16[2];
- __IO uint16_t CCONR4;
- uint8_t RESERVED17[2];
- __IO uint16_t CCONR5;
- uint8_t RESERVED18[2];
- __IO uint16_t CCONR6;
- uint8_t RESERVED19[2];
- __IO uint16_t CCONR7;
- uint8_t RESERVED20[2];
- __IO uint16_t CCONR8;
- uint8_t RESERVED21[34];
- __IO uint16_t PCONR1;
- uint8_t RESERVED22[2];
- __IO uint16_t PCONR2;
- uint8_t RESERVED23[2];
- __IO uint16_t PCONR3;
- uint8_t RESERVED24[2];
- __IO uint16_t PCONR4;
- uint8_t RESERVED25[2];
- __IO uint16_t PCONR5;
- uint8_t RESERVED26[2];
- __IO uint16_t PCONR6;
- uint8_t RESERVED27[2];
- __IO uint16_t PCONR7;
- uint8_t RESERVED28[2];
- __IO uint16_t PCONR8;
- } CM_TMRA_TypeDef;
- /**
- * @brief TRNG
- */
- typedef struct {
- __IO uint32_t CR;
- __IO uint32_t MR;
- uint8_t RESERVED0[4];
- __I uint32_t DR0;
- __I uint32_t DR1;
- } CM_TRNG_TypeDef;
- /**
- * @brief USART
- */
- typedef struct {
- __I uint32_t SR;
- __IO uint32_t DR;
- __IO uint32_t BRR;
- __IO uint32_t CR1;
- __IO uint32_t CR2;
- __IO uint32_t CR3;
- __IO uint32_t PR;
- __I uint32_t LBMC;
- } CM_USART_TypeDef;
- /**
- * @brief WDT
- */
- typedef struct {
- __IO uint32_t CR;
- __IO uint32_t SR;
- __IO uint32_t RR;
- } CM_WDT_TypeDef;
- /******************************************************************************/
- /* Memory Base Address */
- /******************************************************************************/
- #define EFM_BASE (0x00000000UL) /*!< EFM base address in the alias region */
- #define SRAM_BASE (0x1FFF8000UL) /*!< SRAM base address in the alias region */
- #define SMC_BASE (0x60000000UL) /*!< SMC base address in the alias region */
- #define QSPI_BASE (0x98000000UL) /*!< QSPI base address in the alias region */
- /******************************************************************************/
- /* Device Specific Peripheral Base Address */
- /******************************************************************************/
- #define CM_ADC1_BASE (0x40040000UL)
- #define CM_ADC2_BASE (0x40040400UL)
- #define CM_ADC3_BASE (0x40040800UL)
- #define CM_AES_BASE (0x40008000UL)
- #define CM_AOS_BASE (0x40010800UL)
- #define CM_CMP1_BASE (0x40038800UL)
- #define CM_CMP2_BASE (0x40038900UL)
- #define CM_CMP3_BASE (0x40038C00UL)
- #define CM_CMP4_BASE (0x40038D00UL)
- #define CM_CMU_BASE (0x40048000UL)
- #define CM_CRC_BASE (0x40008C00UL)
- #define CM_CTC_BASE (0x40049C00UL)
- #define CM_DAC_BASE (0x40041000UL)
- #define CM_DBGC_BASE (0xE0042000UL)
- #define CM_DCU1_BASE (0x40056000UL)
- #define CM_DCU2_BASE (0x40056400UL)
- #define CM_DCU3_BASE (0x40056800UL)
- #define CM_DCU4_BASE (0x40056C00UL)
- #define CM_DMA1_BASE (0x40053000UL)
- #define CM_DMA2_BASE (0x40053400UL)
- #define CM_EFM_BASE (0x40010400UL)
- #define CM_EMB0_BASE (0x40017C00UL)
- #define CM_EMB1_BASE (0x40017C20UL)
- #define CM_EMB2_BASE (0x40017C40UL)
- #define CM_EMB3_BASE (0x40017C60UL)
- #define CM_FCM_BASE (0x40048400UL)
- #define CM_GPIO_BASE (0x40053800UL)
- #define CM_HASH_BASE (0x40008400UL)
- #define CM_I2C1_BASE (0x4003B400UL)
- #define CM_I2C2_BASE (0x4003B800UL)
- #define CM_ICG_BASE (0x00000400UL)
- #define CM_INTC_BASE (0x40051000UL)
- #define CM_KEYSCAN_BASE (0x40050C00UL)
- #define CM_MCAN1_BASE (0x40029000UL)
- #define CM_MCAN2_BASE (0x40029400UL)
- #define CM_MPU_BASE (0x40050000UL)
- #define CM_PERIC_BASE (0x40055400UL)
- #define CM_PWC_BASE (0x40048000UL)
- #define CM_QSPI_BASE (0x9C000000UL)
- #define CM_RMU_BASE (0x4004CCE0UL)
- #define CM_RTC_BASE (0x4004C000UL)
- #define CM_SMC_BASE (0x88000000UL)
- #define CM_SPI1_BASE (0x4001C000UL)
- #define CM_SPI2_BASE (0x4001C400UL)
- #define CM_SPI3_BASE (0x40020000UL)
- #define CM_SRAMC_BASE (0x40050800UL)
- #define CM_SWDT_BASE (0x40049400UL)
- #define CM_TMR0_1_BASE (0x40024000UL)
- #define CM_TMR0_2_BASE (0x40024400UL)
- #define CM_TMR4_1_BASE (0x40038000UL)
- #define CM_TMR4_2_BASE (0x40038400UL)
- #define CM_TMR4_3_BASE (0x40038E00UL)
- #define CM_TMR6_1_BASE (0x4003C000UL)
- #define CM_TMR6_2_BASE (0x4003C400UL)
- #define CM_TMR6CR_BASE (0x4003C000UL)
- #define CM_TMRA_1_BASE (0x4003A000UL)
- #define CM_TMRA_2_BASE (0x4003A400UL)
- #define CM_TMRA_3_BASE (0x4003A800UL)
- #define CM_TMRA_4_BASE (0x4003AC00UL)
- #define CM_TMRA_5_BASE (0x40026000UL)
- #define CM_TRNG_BASE (0x40042000UL)
- #define CM_USART1_BASE (0x4001CC00UL)
- #define CM_USART2_BASE (0x4001D000UL)
- #define CM_USART3_BASE (0x4001D400UL)
- #define CM_USART4_BASE (0x40020C00UL)
- #define CM_USART5_BASE (0x40021000UL)
- #define CM_USART6_BASE (0x40021400UL)
- #define CM_WDT_BASE (0x40049000UL)
- /******************************************************************************/
- /* Device Specific Peripheral declaration & memory map */
- /******************************************************************************/
- #define CM_ADC1 ((CM_ADC_TypeDef *)CM_ADC1_BASE)
- #define CM_ADC2 ((CM_ADC_TypeDef *)CM_ADC2_BASE)
- #define CM_ADC3 ((CM_ADC_TypeDef *)CM_ADC3_BASE)
- #define CM_AES ((CM_AES_TypeDef *)CM_AES_BASE)
- #define CM_AOS ((CM_AOS_TypeDef *)CM_AOS_BASE)
- #define CM_CMP1 ((CM_CMP_TypeDef *)CM_CMP1_BASE)
- #define CM_CMP2 ((CM_CMP_TypeDef *)CM_CMP2_BASE)
- #define CM_CMP3 ((CM_CMP_TypeDef *)CM_CMP3_BASE)
- #define CM_CMP4 ((CM_CMP_TypeDef *)CM_CMP4_BASE)
- #define CM_CMU ((CM_CMU_TypeDef *)CM_CMU_BASE)
- #define CM_CRC ((CM_CRC_TypeDef *)CM_CRC_BASE)
- #define CM_CTC ((CM_CTC_TypeDef *)CM_CTC_BASE)
- #define CM_DAC ((CM_DAC_TypeDef *)CM_DAC_BASE)
- #define CM_DBGC ((CM_DBGC_TypeDef *)CM_DBGC_BASE)
- #define CM_DCU1 ((CM_DCU_TypeDef *)CM_DCU1_BASE)
- #define CM_DCU2 ((CM_DCU_TypeDef *)CM_DCU2_BASE)
- #define CM_DCU3 ((CM_DCU_TypeDef *)CM_DCU3_BASE)
- #define CM_DCU4 ((CM_DCU_TypeDef *)CM_DCU4_BASE)
- #define CM_DMA1 ((CM_DMA_TypeDef *)CM_DMA1_BASE)
- #define CM_DMA2 ((CM_DMA_TypeDef *)CM_DMA2_BASE)
- #define CM_EFM ((CM_EFM_TypeDef *)CM_EFM_BASE)
- #define CM_EMB0 ((CM_EMB_TypeDef *)CM_EMB0_BASE)
- #define CM_EMB1 ((CM_EMB_TypeDef *)CM_EMB1_BASE)
- #define CM_EMB2 ((CM_EMB_TypeDef *)CM_EMB2_BASE)
- #define CM_EMB3 ((CM_EMB_TypeDef *)CM_EMB3_BASE)
- #define CM_FCM ((CM_FCM_TypeDef *)CM_FCM_BASE)
- #define CM_GPIO ((CM_GPIO_TypeDef *)CM_GPIO_BASE)
- #define CM_HASH ((CM_HASH_TypeDef *)CM_HASH_BASE)
- #define CM_I2C1 ((CM_I2C_TypeDef *)CM_I2C1_BASE)
- #define CM_I2C2 ((CM_I2C_TypeDef *)CM_I2C2_BASE)
- #define CM_ICG ((CM_ICG_TypeDef *)CM_ICG_BASE)
- #define CM_INTC ((CM_INTC_TypeDef *)CM_INTC_BASE)
- #define CM_KEYSCAN ((CM_KEYSCAN_TypeDef *)CM_KEYSCAN_BASE)
- #define CM_MCAN1 ((CM_MCAN_TypeDef *)CM_MCAN1_BASE)
- #define CM_MCAN2 ((CM_MCAN_TypeDef *)CM_MCAN2_BASE)
- #define CM_MPU ((CM_MPU_TypeDef *)CM_MPU_BASE)
- #define CM_PERIC ((CM_PERIC_TypeDef *)CM_PERIC_BASE)
- #define CM_PWC ((CM_PWC_TypeDef *)CM_PWC_BASE)
- #define CM_QSPI ((CM_QSPI_TypeDef *)CM_QSPI_BASE)
- #define CM_RMU ((CM_RMU_TypeDef *)CM_RMU_BASE)
- #define CM_RTC ((CM_RTC_TypeDef *)CM_RTC_BASE)
- #define CM_SMC ((CM_SMC_TypeDef *)CM_SMC_BASE)
- #define CM_SPI1 ((CM_SPI_TypeDef *)CM_SPI1_BASE)
- #define CM_SPI2 ((CM_SPI_TypeDef *)CM_SPI2_BASE)
- #define CM_SPI3 ((CM_SPI_TypeDef *)CM_SPI3_BASE)
- #define CM_SRAMC ((CM_SRAMC_TypeDef *)CM_SRAMC_BASE)
- #define CM_SWDT ((CM_SWDT_TypeDef *)CM_SWDT_BASE)
- #define CM_TMR0_1 ((CM_TMR0_TypeDef *)CM_TMR0_1_BASE)
- #define CM_TMR0_2 ((CM_TMR0_TypeDef *)CM_TMR0_2_BASE)
- #define CM_TMR4_1 ((CM_TMR4_TypeDef *)CM_TMR4_1_BASE)
- #define CM_TMR4_2 ((CM_TMR4_TypeDef *)CM_TMR4_2_BASE)
- #define CM_TMR4_3 ((CM_TMR4_TypeDef *)CM_TMR4_3_BASE)
- #define CM_TMR6_1 ((CM_TMR6_TypeDef *)CM_TMR6_1_BASE)
- #define CM_TMR6_2 ((CM_TMR6_TypeDef *)CM_TMR6_2_BASE)
- #define CM_TMR6CR ((CM_TMR6CR_TypeDef *)CM_TMR6CR_BASE)
- #define CM_TMRA_1 ((CM_TMRA_TypeDef *)CM_TMRA_1_BASE)
- #define CM_TMRA_2 ((CM_TMRA_TypeDef *)CM_TMRA_2_BASE)
- #define CM_TMRA_3 ((CM_TMRA_TypeDef *)CM_TMRA_3_BASE)
- #define CM_TMRA_4 ((CM_TMRA_TypeDef *)CM_TMRA_4_BASE)
- #define CM_TMRA_5 ((CM_TMRA_TypeDef *)CM_TMRA_5_BASE)
- #define CM_TRNG ((CM_TRNG_TypeDef *)CM_TRNG_BASE)
- #define CM_USART1 ((CM_USART_TypeDef *)CM_USART1_BASE)
- #define CM_USART2 ((CM_USART_TypeDef *)CM_USART2_BASE)
- #define CM_USART3 ((CM_USART_TypeDef *)CM_USART3_BASE)
- #define CM_USART4 ((CM_USART_TypeDef *)CM_USART4_BASE)
- #define CM_USART5 ((CM_USART_TypeDef *)CM_USART5_BASE)
- #define CM_USART6 ((CM_USART_TypeDef *)CM_USART6_BASE)
- #define CM_WDT ((CM_WDT_TypeDef *)CM_WDT_BASE)
- /******************************************************************************/
- /* Peripheral Registers Bits Definition */
- /******************************************************************************/
- /*******************************************************************************
- Bit definition for Peripheral ADC
- *******************************************************************************/
- /* Bit definition for ADC_STR register */
- #define ADC_STR_STRT (0x01U)
- /* Bit definition for ADC_CR0 register */
- #define ADC_CR0_MS_POS (0U)
- #define ADC_CR0_MS (0x0007U)
- #define ADC_CR0_ACCSEL_POS (4U)
- #define ADC_CR0_ACCSEL (0x0030U)
- #define ADC_CR0_ACCSEL_0 (0x0010U)
- #define ADC_CR0_ACCSEL_1 (0x0020U)
- #define ADC_CR0_CLREN_POS (6U)
- #define ADC_CR0_CLREN (0x0040U)
- #define ADC_CR0_DFMT_POS (7U)
- #define ADC_CR0_DFMT (0x0080U)
- #define ADC_CR0_AVCNT_POS (8U)
- #define ADC_CR0_AVCNT (0x0700U)
- /* Bit definition for ADC_CR1 register */
- #define ADC_CR1_RSCHSEL_POS (2U)
- #define ADC_CR1_RSCHSEL (0x0004U)
- /* Bit definition for ADC_CR2 register */
- #define ADC_CR2_OVSS_POS (8U)
- #define ADC_CR2_OVSS (0x0F00U)
- #define ADC_CR2_OVSMOD_POS (12U)
- #define ADC_CR2_OVSMOD (0x1000U)
- /* Bit definition for ADC_TRGSR register */
- #define ADC_TRGSR_TRGSELA_POS (0U)
- #define ADC_TRGSR_TRGSELA (0x0003U)
- #define ADC_TRGSR_TRGSELA_0 (0x0001U)
- #define ADC_TRGSR_TRGSELA_1 (0x0002U)
- #define ADC_TRGSR_TRGENA_POS (7U)
- #define ADC_TRGSR_TRGENA (0x0080U)
- #define ADC_TRGSR_TRGSELB_POS (8U)
- #define ADC_TRGSR_TRGSELB (0x0300U)
- #define ADC_TRGSR_TRGSELB_0 (0x0100U)
- #define ADC_TRGSR_TRGSELB_1 (0x0200U)
- #define ADC_TRGSR_TRGENB_POS (15U)
- #define ADC_TRGSR_TRGENB (0x8000U)
- /* Bit definition for ADC_CHSELRA register */
- #define ADC_CHSELRA_CHSELA (0x0000FFFFUL)
- /* Bit definition for ADC_CHSELRB register */
- #define ADC_CHSELRB_CHSELB (0x0000FFFFUL)
- /* Bit definition for ADC_AVCHSELR register */
- #define ADC_AVCHSELR_AVCHSEL (0x0000FFFFUL)
- /* Bit definition for ADC_EXCHSELR register */
- #define ADC_EXCHSELR_EXCHSEL (0x01U)
- /* Bit definition for ADC_SSTR0 register */
- #define ADC_SSTR0 (0xFFU)
- /* Bit definition for ADC_SSTR1 register */
- #define ADC_SSTR1 (0xFFU)
- /* Bit definition for ADC_SSTR2 register */
- #define ADC_SSTR2 (0xFFU)
- /* Bit definition for ADC_SSTR3 register */
- #define ADC_SSTR3 (0xFFU)
- /* Bit definition for ADC_SSTR4 register */
- #define ADC_SSTR4 (0xFFU)
- /* Bit definition for ADC_SSTR5 register */
- #define ADC_SSTR5 (0xFFU)
- /* Bit definition for ADC_SSTR6 register */
- #define ADC_SSTR6 (0xFFU)
- /* Bit definition for ADC_SSTR7 register */
- #define ADC_SSTR7 (0xFFU)
- /* Bit definition for ADC_SSTR8 register */
- #define ADC_SSTR8 (0xFFU)
- /* Bit definition for ADC_SSTR9 register */
- #define ADC_SSTR9 (0xFFU)
- /* Bit definition for ADC_SSTR10 register */
- #define ADC_SSTR10 (0xFFU)
- /* Bit definition for ADC_SSTR11 register */
- #define ADC_SSTR11 (0xFFU)
- /* Bit definition for ADC_SSTR12 register */
- #define ADC_SSTR12 (0xFFU)
- /* Bit definition for ADC_SSTR13 register */
- #define ADC_SSTR13 (0xFFU)
- /* Bit definition for ADC_SSTR14 register */
- #define ADC_SSTR14 (0xFFU)
- /* Bit definition for ADC_SSTR15 register */
- #define ADC_SSTR15 (0xFFU)
- /* Bit definition for ADC_CHMUXR0 register */
- #define ADC_CHMUXR0_CH00MUX_POS (0U)
- #define ADC_CHMUXR0_CH00MUX (0x000FU)
- #define ADC_CHMUXR0_CH01MUX_POS (4U)
- #define ADC_CHMUXR0_CH01MUX (0x00F0U)
- #define ADC_CHMUXR0_CH02MUX_POS (8U)
- #define ADC_CHMUXR0_CH02MUX (0x0F00U)
- #define ADC_CHMUXR0_CH03MUX_POS (12U)
- #define ADC_CHMUXR0_CH03MUX (0xF000U)
- /* Bit definition for ADC_CHMUXR1 register */
- #define ADC_CHMUXR1_CH04MUX_POS (0U)
- #define ADC_CHMUXR1_CH04MUX (0x000FU)
- #define ADC_CHMUXR1_CH05MUX_POS (4U)
- #define ADC_CHMUXR1_CH05MUX (0x00F0U)
- #define ADC_CHMUXR1_CH06MUX_POS (8U)
- #define ADC_CHMUXR1_CH06MUX (0x0F00U)
- #define ADC_CHMUXR1_CH07MUX_POS (12U)
- #define ADC_CHMUXR1_CH07MUX (0xF000U)
- /* Bit definition for ADC_CHMUXR2 register */
- #define ADC_CHMUXR2_CH08MUX_POS (0U)
- #define ADC_CHMUXR2_CH08MUX (0x000FU)
- #define ADC_CHMUXR2_CH09MUX_POS (4U)
- #define ADC_CHMUXR2_CH09MUX (0x00F0U)
- #define ADC_CHMUXR2_CH10MUX_POS (8U)
- #define ADC_CHMUXR2_CH10MUX (0x0F00U)
- #define ADC_CHMUXR2_CH11MUX_POS (12U)
- #define ADC_CHMUXR2_CH11MUX (0xF000U)
- /* Bit definition for ADC_CHMUXR3 register */
- #define ADC_CHMUXR3_CH12MUX_POS (0U)
- #define ADC_CHMUXR3_CH12MUX (0x000FU)
- #define ADC_CHMUXR3_CH13MUX_POS (4U)
- #define ADC_CHMUXR3_CH13MUX (0x00F0U)
- #define ADC_CHMUXR3_CH14MUX_POS (8U)
- #define ADC_CHMUXR3_CH14MUX (0x0F00U)
- #define ADC_CHMUXR3_CH15MUX_POS (12U)
- #define ADC_CHMUXR3_CH15MUX (0xF000U)
- /* Bit definition for ADC_ISR register */
- #define ADC_ISR_EOCAF_POS (0U)
- #define ADC_ISR_EOCAF (0x01U)
- #define ADC_ISR_EOCBF_POS (1U)
- #define ADC_ISR_EOCBF (0x02U)
- #define ADC_ISR_SASTPDF_POS (4U)
- #define ADC_ISR_SASTPDF (0x10U)
- /* Bit definition for ADC_ICR register */
- #define ADC_ICR_EOCAIEN_POS (0U)
- #define ADC_ICR_EOCAIEN (0x01U)
- #define ADC_ICR_EOCBIEN_POS (1U)
- #define ADC_ICR_EOCBIEN (0x02U)
- /* Bit definition for ADC_ISCLRR register */
- #define ADC_ISCLRR_CLREOCAF_POS (0U)
- #define ADC_ISCLRR_CLREOCAF (0x01U)
- #define ADC_ISCLRR_CLREOCBF_POS (1U)
- #define ADC_ISCLRR_CLREOCBF (0x02U)
- #define ADC_ISCLRR_CLRSASTPDF_POS (4U)
- #define ADC_ISCLRR_CLRSASTPDF (0x10U)
- /* Bit definition for ADC_SYNCCR register */
- #define ADC_SYNCCR_SYNCEN_POS (0U)
- #define ADC_SYNCCR_SYNCEN (0x0001U)
- #define ADC_SYNCCR_SYNCMD_POS (4U)
- #define ADC_SYNCCR_SYNCMD (0x0070U)
- #define ADC_SYNCCR_SYNCDLY_POS (8U)
- #define ADC_SYNCCR_SYNCDLY (0xFF00U)
- /* Bit definition for ADC_DR0 register */
- #define ADC_DR0 (0xFFFFU)
- /* Bit definition for ADC_DR1 register */
- #define ADC_DR1 (0xFFFFU)
- /* Bit definition for ADC_DR2 register */
- #define ADC_DR2 (0xFFFFU)
- /* Bit definition for ADC_DR3 register */
- #define ADC_DR3 (0xFFFFU)
- /* Bit definition for ADC_DR4 register */
- #define ADC_DR4 (0xFFFFU)
- /* Bit definition for ADC_DR5 register */
- #define ADC_DR5 (0xFFFFU)
- /* Bit definition for ADC_DR6 register */
- #define ADC_DR6 (0xFFFFU)
- /* Bit definition for ADC_DR7 register */
- #define ADC_DR7 (0xFFFFU)
- /* Bit definition for ADC_DR8 register */
- #define ADC_DR8 (0xFFFFU)
- /* Bit definition for ADC_DR9 register */
- #define ADC_DR9 (0xFFFFU)
- /* Bit definition for ADC_DR10 register */
- #define ADC_DR10 (0xFFFFU)
- /* Bit definition for ADC_DR11 register */
- #define ADC_DR11 (0xFFFFU)
- /* Bit definition for ADC_DR12 register */
- #define ADC_DR12 (0xFFFFU)
- /* Bit definition for ADC_DR13 register */
- #define ADC_DR13 (0xFFFFU)
- /* Bit definition for ADC_DR14 register */
- #define ADC_DR14 (0xFFFFU)
- /* Bit definition for ADC_DR15 register */
- #define ADC_DR15 (0xFFFFU)
- /* Bit definition for ADC_AWDCR register */
- #define ADC_AWDCR_AWD0EN_POS (0U)
- #define ADC_AWDCR_AWD0EN (0x0001U)
- #define ADC_AWDCR_AWD0IEN_POS (1U)
- #define ADC_AWDCR_AWD0IEN (0x0002U)
- #define ADC_AWDCR_AWD0MD_POS (2U)
- #define ADC_AWDCR_AWD0MD (0x0004U)
- #define ADC_AWDCR_AWD1EN_POS (4U)
- #define ADC_AWDCR_AWD1EN (0x0010U)
- #define ADC_AWDCR_AWD1IEN_POS (5U)
- #define ADC_AWDCR_AWD1IEN (0x0020U)
- #define ADC_AWDCR_AWD1MD_POS (6U)
- #define ADC_AWDCR_AWD1MD (0x0040U)
- #define ADC_AWDCR_AWDCM_POS (8U)
- #define ADC_AWDCR_AWDCM (0x0300U)
- #define ADC_AWDCR_AWDCM_0 (0x0100U)
- #define ADC_AWDCR_AWDCM_1 (0x0200U)
- /* Bit definition for ADC_AWDSR register */
- #define ADC_AWDSR_AWD0F_POS (0U)
- #define ADC_AWDSR_AWD0F (0x01U)
- #define ADC_AWDSR_AWD1F_POS (1U)
- #define ADC_AWDSR_AWD1F (0x02U)
- #define ADC_AWDSR_AWDCMF_POS (4U)
- #define ADC_AWDSR_AWDCMF (0x10U)
- /* Bit definition for ADC_AWDSCLRR register */
- #define ADC_AWDSCLRR_CLRAWD0F_POS (0U)
- #define ADC_AWDSCLRR_CLRAWD0F (0x01U)
- #define ADC_AWDSCLRR_CLRAWD1F_POS (1U)
- #define ADC_AWDSCLRR_CLRAWD1F (0x02U)
- #define ADC_AWDSCLRR_CLRAWDCMF_POS (4U)
- #define ADC_AWDSCLRR_CLRAWDCMF (0x10U)
- /* Bit definition for ADC_AWD0DR0 register */
- #define ADC_AWD0DR0 (0xFFFFU)
- /* Bit definition for ADC_AWD0DR1 register */
- #define ADC_AWD0DR1 (0xFFFFU)
- /* Bit definition for ADC_AWD0CHSR register */
- #define ADC_AWD0CHSR_AWDCH (0x1FU)
- /* Bit definition for ADC_AWD1DR0 register */
- #define ADC_AWD1DR0 (0xFFFFU)
- /* Bit definition for ADC_AWD1DR1 register */
- #define ADC_AWD1DR1 (0xFFFFU)
- /* Bit definition for ADC_AWD1CHSR register */
- #define ADC_AWD1CHSR_AWDCH (0x1FU)
- /*******************************************************************************
- Bit definition for Peripheral AES
- *******************************************************************************/
- /* Bit definition for AES_CR register */
- #define AES_CR_START_POS (0U)
- #define AES_CR_START (0x00000001UL)
- #define AES_CR_MODE_POS (1U)
- #define AES_CR_MODE (0x00000002UL)
- #define AES_CR_KEYSIZE_POS (3U)
- #define AES_CR_KEYSIZE (0x00000018UL)
- /* Bit definition for AES_DR0 register */
- #define AES_DR0 (0xFFFFFFFFUL)
- /* Bit definition for AES_DR1 register */
- #define AES_DR1 (0xFFFFFFFFUL)
- /* Bit definition for AES_DR2 register */
- #define AES_DR2 (0xFFFFFFFFUL)
- /* Bit definition for AES_DR3 register */
- #define AES_DR3 (0xFFFFFFFFUL)
- /* Bit definition for AES_KR0 register */
- #define AES_KR0 (0xFFFFFFFFUL)
- /* Bit definition for AES_KR1 register */
- #define AES_KR1 (0xFFFFFFFFUL)
- /* Bit definition for AES_KR2 register */
- #define AES_KR2 (0xFFFFFFFFUL)
- /* Bit definition for AES_KR3 register */
- #define AES_KR3 (0xFFFFFFFFUL)
- /* Bit definition for AES_KR4 register */
- #define AES_KR4 (0xFFFFFFFFUL)
- /* Bit definition for AES_KR5 register */
- #define AES_KR5 (0xFFFFFFFFUL)
- /* Bit definition for AES_KR6 register */
- #define AES_KR6 (0xFFFFFFFFUL)
- /* Bit definition for AES_KR7 register */
- #define AES_KR7 (0xFFFFFFFFUL)
- /*******************************************************************************
- Bit definition for Peripheral AOS
- *******************************************************************************/
- /* Bit definition for AOS_INTSFTTRG register */
- #define AOS_INTSFTTRG_STRG (0x00000001UL)
- /* Bit definition for AOS_DCU_TRGSEL register */
- #define AOS_DCU_TRGSEL_TRGSEL_POS (0U)
- #define AOS_DCU_TRGSEL_TRGSEL (0x000001FFUL)
- #define AOS_DCU_TRGSEL_PLCHSEL_POS (16U)
- #define AOS_DCU_TRGSEL_PLCHSEL (0x00070000UL)
- #define AOS_DCU_TRGSEL_COMEN_POS (30U)
- #define AOS_DCU_TRGSEL_COMEN (0xC0000000UL)
- #define AOS_DCU_TRGSEL_COMEN_0 (0x40000000UL)
- #define AOS_DCU_TRGSEL_COMEN_1 (0x80000000UL)
- /* Bit definition for AOS_DMA1_TRGSEL register */
- #define AOS_DMA1_TRGSEL_TRGSEL_POS (0U)
- #define AOS_DMA1_TRGSEL_TRGSEL (0x000001FFUL)
- #define AOS_DMA1_TRGSEL_PLCHSEL_POS (16U)
- #define AOS_DMA1_TRGSEL_PLCHSEL (0x00070000UL)
- #define AOS_DMA1_TRGSEL_COMEN_POS (30U)
- #define AOS_DMA1_TRGSEL_COMEN (0xC0000000UL)
- #define AOS_DMA1_TRGSEL_COMEN_0 (0x40000000UL)
- #define AOS_DMA1_TRGSEL_COMEN_1 (0x80000000UL)
- /* Bit definition for AOS_DMA2_TRGSEL register */
- #define AOS_DMA2_TRGSEL_TRGSEL_POS (0U)
- #define AOS_DMA2_TRGSEL_TRGSEL (0x000001FFUL)
- #define AOS_DMA2_TRGSEL_PLCHSEL_POS (16U)
- #define AOS_DMA2_TRGSEL_PLCHSEL (0x00070000UL)
- #define AOS_DMA2_TRGSEL_COMEN_POS (30U)
- #define AOS_DMA2_TRGSEL_COMEN (0xC0000000UL)
- #define AOS_DMA2_TRGSEL_COMEN_0 (0x40000000UL)
- #define AOS_DMA2_TRGSEL_COMEN_1 (0x80000000UL)
- /* Bit definition for AOS_DMA_TRGSELRC register */
- #define AOS_DMA_TRGSELRC_TRGSEL_POS (0U)
- #define AOS_DMA_TRGSELRC_TRGSEL (0x000001FFUL)
- #define AOS_DMA_TRGSELRC_PLCHSEL_POS (16U)
- #define AOS_DMA_TRGSELRC_PLCHSEL (0x00070000UL)
- #define AOS_DMA_TRGSELRC_COMEN_POS (30U)
- #define AOS_DMA_TRGSELRC_COMEN (0xC0000000UL)
- #define AOS_DMA_TRGSELRC_COMEN_0 (0x40000000UL)
- #define AOS_DMA_TRGSELRC_COMEN_1 (0x80000000UL)
- /* Bit definition for AOS_TMR6_HTSSR register */
- #define AOS_TMR6_HTSSR_TRGSEL_POS (0U)
- #define AOS_TMR6_HTSSR_TRGSEL (0x000001FFUL)
- #define AOS_TMR6_HTSSR_PLCHSEL_POS (16U)
- #define AOS_TMR6_HTSSR_PLCHSEL (0x00070000UL)
- #define AOS_TMR6_HTSSR_COMEN_POS (30U)
- #define AOS_TMR6_HTSSR_COMEN (0xC0000000UL)
- #define AOS_TMR6_HTSSR_COMEN_0 (0x40000000UL)
- #define AOS_TMR6_HTSSR_COMEN_1 (0x80000000UL)
- /* Bit definition for AOS_TMR4_HTSSR register */
- #define AOS_TMR4_HTSSR_TRGSEL_POS (0U)
- #define AOS_TMR4_HTSSR_TRGSEL (0x000001FFUL)
- #define AOS_TMR4_HTSSR_PLCHSEL_POS (16U)
- #define AOS_TMR4_HTSSR_PLCHSEL (0x00070000UL)
- #define AOS_TMR4_HTSSR_COMEN_POS (30U)
- #define AOS_TMR4_HTSSR_COMEN (0xC0000000UL)
- #define AOS_TMR4_HTSSR_COMEN_0 (0x40000000UL)
- #define AOS_TMR4_HTSSR_COMEN_1 (0x80000000UL)
- /* Bit definition for AOS_PEVNTTRGSR12 register */
- #define AOS_PEVNTTRGSR12_TRGSEL_POS (0U)
- #define AOS_PEVNTTRGSR12_TRGSEL (0x000001FFUL)
- #define AOS_PEVNTTRGSR12_PLCHSEL_POS (16U)
- #define AOS_PEVNTTRGSR12_PLCHSEL (0x00070000UL)
- #define AOS_PEVNTTRGSR12_COMEN_POS (30U)
- #define AOS_PEVNTTRGSR12_COMEN (0xC0000000UL)
- #define AOS_PEVNTTRGSR12_COMEN_0 (0x40000000UL)
- #define AOS_PEVNTTRGSR12_COMEN_1 (0x80000000UL)
- /* Bit definition for AOS_PEVNTTRGSR34 register */
- #define AOS_PEVNTTRGSR34_TRGSEL_POS (0U)
- #define AOS_PEVNTTRGSR34_TRGSEL (0x000001FFUL)
- #define AOS_PEVNTTRGSR34_PLCHSEL_POS (16U)
- #define AOS_PEVNTTRGSR34_PLCHSEL (0x00070000UL)
- #define AOS_PEVNTTRGSR34_COMEN_POS (30U)
- #define AOS_PEVNTTRGSR34_COMEN (0xC0000000UL)
- #define AOS_PEVNTTRGSR34_COMEN_0 (0x40000000UL)
- #define AOS_PEVNTTRGSR34_COMEN_1 (0x80000000UL)
- /* Bit definition for AOS_TMR0_HTSSR register */
- #define AOS_TMR0_HTSSR_TRGSEL_POS (0U)
- #define AOS_TMR0_HTSSR_TRGSEL (0x000001FFUL)
- #define AOS_TMR0_HTSSR_PLCHSEL_POS (16U)
- #define AOS_TMR0_HTSSR_PLCHSEL (0x00070000UL)
- #define AOS_TMR0_HTSSR_COMEN_POS (30U)
- #define AOS_TMR0_HTSSR_COMEN (0xC0000000UL)
- #define AOS_TMR0_HTSSR_COMEN_0 (0x40000000UL)
- #define AOS_TMR0_HTSSR_COMEN_1 (0x80000000UL)
- /* Bit definition for AOS_TMRA_HTSSR register */
- #define AOS_TMRA_HTSSR_TRGSEL_POS (0U)
- #define AOS_TMRA_HTSSR_TRGSEL (0x000001FFUL)
- #define AOS_TMRA_HTSSR_PLCHSEL_POS (16U)
- #define AOS_TMRA_HTSSR_PLCHSEL (0x00070000UL)
- #define AOS_TMRA_HTSSR_COMEN_POS (30U)
- #define AOS_TMRA_HTSSR_COMEN (0xC0000000UL)
- #define AOS_TMRA_HTSSR_COMEN_0 (0x40000000UL)
- #define AOS_TMRA_HTSSR_COMEN_1 (0x80000000UL)
- /* Bit definition for AOS_ADC1_ITRGSELR register */
- #define AOS_ADC1_ITRGSELR_TRGSEL_POS (0U)
- #define AOS_ADC1_ITRGSELR_TRGSEL (0x000001FFUL)
- #define AOS_ADC1_ITRGSELR_PLCHSEL_POS (16U)
- #define AOS_ADC1_ITRGSELR_PLCHSEL (0x00070000UL)
- #define AOS_ADC1_ITRGSELR_COMEN_POS (30U)
- #define AOS_ADC1_ITRGSELR_COMEN (0xC0000000UL)
- #define AOS_ADC1_ITRGSELR_COMEN_0 (0x40000000UL)
- #define AOS_ADC1_ITRGSELR_COMEN_1 (0x80000000UL)
- /* Bit definition for AOS_ADC2_ITRGSELR register */
- #define AOS_ADC2_ITRGSELR_TRGSEL_POS (0U)
- #define AOS_ADC2_ITRGSELR_TRGSEL (0x000001FFUL)
- #define AOS_ADC2_ITRGSELR_PLCHSEL_POS (16U)
- #define AOS_ADC2_ITRGSELR_PLCHSEL (0x00070000UL)
- #define AOS_ADC2_ITRGSELR_COMEN_POS (30U)
- #define AOS_ADC2_ITRGSELR_COMEN (0xC0000000UL)
- #define AOS_ADC2_ITRGSELR_COMEN_0 (0x40000000UL)
- #define AOS_ADC2_ITRGSELR_COMEN_1 (0x80000000UL)
- /* Bit definition for AOS_ADC3_ITRGSELR register */
- #define AOS_ADC3_ITRGSELR_TRGSEL_POS (0U)
- #define AOS_ADC3_ITRGSELR_TRGSEL (0x000001FFUL)
- #define AOS_ADC3_ITRGSELR_PLCHSEL_POS (16U)
- #define AOS_ADC3_ITRGSELR_PLCHSEL (0x00070000UL)
- #define AOS_ADC3_ITRGSELR_COMEN_POS (30U)
- #define AOS_ADC3_ITRGSELR_COMEN (0xC0000000UL)
- #define AOS_ADC3_ITRGSELR_COMEN_0 (0x40000000UL)
- #define AOS_ADC3_ITRGSELR_COMEN_1 (0x80000000UL)
- /* Bit definition for AOS_COMTRG register */
- #define AOS_COMTRG_TRGSEL (0x000001FFUL)
- /* Bit definition for AOS_PEVNTDIRR register */
- #define AOS_PEVNTDIRR_PDIR (0x0000FFFFUL)
- /* Bit definition for AOS_PEVNTIDR register */
- #define AOS_PEVNTIDR_PIN (0x0000FFFFUL)
- /* Bit definition for AOS_PEVNTODR register */
- #define AOS_PEVNTODR_POUT (0x0000FFFFUL)
- /* Bit definition for AOS_PEVNTORR register */
- #define AOS_PEVNTORR_POR (0x0000FFFFUL)
- /* Bit definition for AOS_PEVNTOSR register */
- #define AOS_PEVNTOSR_POS (0x0000FFFFUL)
- /* Bit definition for AOS_PEVNTRISR register */
- #define AOS_PEVNTRISR_RIS (0x0000FFFFUL)
- /* Bit definition for AOS_PEVNTFAL register */
- #define AOS_PEVNTFAL_FAL (0x0000FFFFUL)
- /* Bit definition for AOS_PEVNTNFCR register */
- #define AOS_PEVNTNFCR_NFEN1_POS (0U)
- #define AOS_PEVNTNFCR_NFEN1 (0x00000001UL)
- #define AOS_PEVNTNFCR_DIVS1_POS (1U)
- #define AOS_PEVNTNFCR_DIVS1 (0x00000006UL)
- #define AOS_PEVNTNFCR_NFEN2_POS (8U)
- #define AOS_PEVNTNFCR_NFEN2 (0x00000100UL)
- #define AOS_PEVNTNFCR_DIVS2_POS (9U)
- #define AOS_PEVNTNFCR_DIVS2 (0x00000600UL)
- #define AOS_PEVNTNFCR_NFEN3_POS (16U)
- #define AOS_PEVNTNFCR_NFEN3 (0x00010000UL)
- #define AOS_PEVNTNFCR_DIVS3_POS (17U)
- #define AOS_PEVNTNFCR_DIVS3 (0x00060000UL)
- #define AOS_PEVNTNFCR_NFEN4_POS (24U)
- #define AOS_PEVNTNFCR_NFEN4 (0x01000000UL)
- #define AOS_PEVNTNFCR_DIVS4_POS (25U)
- #define AOS_PEVNTNFCR_DIVS4 (0x06000000UL)
- /* Bit definition for AOS_PLU_CR register */
- #define AOS_PLU_CR_PLMODE_POS (0U)
- #define AOS_PLU_CR_PLMODE (0x00000003UL)
- #define AOS_PLU_CR_PLINASEL_POS (8U)
- #define AOS_PLU_CR_PLINASEL (0x00000300UL)
- #define AOS_PLU_CR_PLINBSEL_POS (10U)
- #define AOS_PLU_CR_PLINBSEL (0x00000C00UL)
- #define AOS_PLU_CR_PLINCSEL_POS (12U)
- #define AOS_PLU_CR_PLINCSEL (0x00003000UL)
- #define AOS_PLU_CR_PLINDSEL_POS (14U)
- #define AOS_PLU_CR_PLINDSEL (0x0000C000UL)
- /* Bit definition for AOS_PLU_TRGSELA register */
- #define AOS_PLU_TRGSELA_PLTRGSEL (0x000001FFUL)
- /* Bit definition for AOS_PLU_TRGSELB register */
- #define AOS_PLU_TRGSELB_PLTRGSEL (0x000001FFUL)
- /* Bit definition for AOS_PLU_TRGSELC register */
- #define AOS_PLU_TRGSELC_PLTRGSEL (0x000001FFUL)
- /* Bit definition for AOS_PLU_TRGSELD register */
- #define AOS_PLU_TRGSELD_PLTRGSEL (0x000001FFUL)
- /*******************************************************************************
- Bit definition for Peripheral CMP
- *******************************************************************************/
- /* Bit definition for CMP_MDR register */
- #define CMP_MDR_CENA_POS (0U)
- #define CMP_MDR_CENA (0x01U)
- #define CMP_MDR_CWDE_POS (1U)
- #define CMP_MDR_CWDE (0x02U)
- #define CMP_MDR_CSMD_POS (2U)
- #define CMP_MDR_CSMD (0x0CU)
- #define CMP_MDR_CSMD_0 (0x04U)
- #define CMP_MDR_CSMD_1 (0x08U)
- #define CMP_MDR_CSST_POS (4U)
- #define CMP_MDR_CSST (0x10U)
- #define CMP_MDR_CMON_POS (7U)
- #define CMP_MDR_CMON (0x80U)
- /* Bit definition for CMP_FIR register */
- #define CMP_FIR_FCKS_POS (0U)
- #define CMP_FIR_FCKS (0x07U)
- #define CMP_FIR_CIEN_POS (3U)
- #define CMP_FIR_CIEN (0x08U)
- #define CMP_FIR_EDGS_POS (4U)
- #define CMP_FIR_EDGS (0x30U)
- #define CMP_FIR_EDGS_0 (0x10U)
- #define CMP_FIR_EDGS_1 (0x20U)
- #define CMP_FIR_CFF_POS (6U)
- #define CMP_FIR_CFF (0x40U)
- #define CMP_FIR_CRF_POS (7U)
- #define CMP_FIR_CRF (0x80U)
- /* Bit definition for CMP_OCR register */
- #define CMP_OCR_COEN_POS (0U)
- #define CMP_OCR_COEN (0x01U)
- #define CMP_OCR_COPS_POS (1U)
- #define CMP_OCR_COPS (0x02U)
- #define CMP_OCR_CPOE_POS (2U)
- #define CMP_OCR_CPOE (0x04U)
- #define CMP_OCR_BWEN_POS (4U)
- #define CMP_OCR_BWEN (0x10U)
- #define CMP_OCR_BWMD_POS (5U)
- #define CMP_OCR_BWMD (0x20U)
- #define CMP_OCR_BWOL_POS (6U)
- #define CMP_OCR_BWOL (0xC0U)
- #define CMP_OCR_BWOL_0 (0x40U)
- #define CMP_OCR_BWOL_1 (0x80U)
- /* Bit definition for CMP_PMSR register */
- #define CMP_PMSR_RVSL_POS (0U)
- #define CMP_PMSR_RVSL (0x0000000FUL)
- #define CMP_PMSR_RVSL_0 (0x00000001UL)
- #define CMP_PMSR_RVSL_1 (0x00000002UL)
- #define CMP_PMSR_RVSL_2 (0x00000004UL)
- #define CMP_PMSR_RVSL_3 (0x00000008UL)
- #define CMP_PMSR_CVSL_POS (16U)
- #define CMP_PMSR_CVSL (0x000F0000UL)
- #define CMP_PMSR_CVSL_0 (0x00010000UL)
- #define CMP_PMSR_CVSL_1 (0x00020000UL)
- #define CMP_PMSR_CVSL_2 (0x00040000UL)
- #define CMP_PMSR_CVSL_3 (0x00080000UL)
- /* Bit definition for CMP_BWSR1 register */
- #define CMP_BWSR1_CTWS0_POS (0U)
- #define CMP_BWSR1_CTWS0 (0x00000001UL)
- #define CMP_BWSR1_CTWS1_POS (1U)
- #define CMP_BWSR1_CTWS1 (0x00000002UL)
- #define CMP_BWSR1_CTWS2_POS (2U)
- #define CMP_BWSR1_CTWS2 (0x00000004UL)
- #define CMP_BWSR1_CTWS3_POS (3U)
- #define CMP_BWSR1_CTWS3 (0x00000008UL)
- #define CMP_BWSR1_CTWS4_POS (4U)
- #define CMP_BWSR1_CTWS4 (0x00000010UL)
- #define CMP_BWSR1_CTWS5_POS (5U)
- #define CMP_BWSR1_CTWS5 (0x00000020UL)
- #define CMP_BWSR1_CTWS6_POS (6U)
- #define CMP_BWSR1_CTWS6 (0x00000040UL)
- #define CMP_BWSR1_CTWS7_POS (7U)
- #define CMP_BWSR1_CTWS7 (0x00000080UL)
- #define CMP_BWSR1_CTWS8_POS (8U)
- #define CMP_BWSR1_CTWS8 (0x00000100UL)
- #define CMP_BWSR1_CTWS9_POS (9U)
- #define CMP_BWSR1_CTWS9 (0x00000200UL)
- #define CMP_BWSR1_CTWS10_POS (10U)
- #define CMP_BWSR1_CTWS10 (0x00000400UL)
- #define CMP_BWSR1_CTWS11_POS (11U)
- #define CMP_BWSR1_CTWS11 (0x00000800UL)
- #define CMP_BWSR1_CTWS12_POS (12U)
- #define CMP_BWSR1_CTWS12 (0x00001000UL)
- #define CMP_BWSR1_CTWS13_POS (13U)
- #define CMP_BWSR1_CTWS13 (0x00002000UL)
- #define CMP_BWSR1_CTWS14_POS (14U)
- #define CMP_BWSR1_CTWS14 (0x00004000UL)
- #define CMP_BWSR1_CTWS15_POS (15U)
- #define CMP_BWSR1_CTWS15 (0x00008000UL)
- #define CMP_BWSR1_CTWP0_POS (16U)
- #define CMP_BWSR1_CTWP0 (0x00010000UL)
- #define CMP_BWSR1_CTWP1_POS (17U)
- #define CMP_BWSR1_CTWP1 (0x00020000UL)
- #define CMP_BWSR1_CTWP2_POS (18U)
- #define CMP_BWSR1_CTWP2 (0x00040000UL)
- #define CMP_BWSR1_CTWP3_POS (19U)
- #define CMP_BWSR1_CTWP3 (0x00080000UL)
- #define CMP_BWSR1_CTWP4_POS (20U)
- #define CMP_BWSR1_CTWP4 (0x00100000UL)
- #define CMP_BWSR1_CTWP5_POS (21U)
- #define CMP_BWSR1_CTWP5 (0x00200000UL)
- #define CMP_BWSR1_CTWP6_POS (22U)
- #define CMP_BWSR1_CTWP6 (0x00400000UL)
- #define CMP_BWSR1_CTWP7_POS (23U)
- #define CMP_BWSR1_CTWP7 (0x00800000UL)
- #define CMP_BWSR1_CTWP8_POS (24U)
- #define CMP_BWSR1_CTWP8 (0x01000000UL)
- #define CMP_BWSR1_CTWP9_POS (25U)
- #define CMP_BWSR1_CTWP9 (0x02000000UL)
- #define CMP_BWSR1_CTWP10_POS (26U)
- #define CMP_BWSR1_CTWP10 (0x04000000UL)
- #define CMP_BWSR1_CTWP11_POS (27U)
- #define CMP_BWSR1_CTWP11 (0x08000000UL)
- #define CMP_BWSR1_CTWP12_POS (28U)
- #define CMP_BWSR1_CTWP12 (0x10000000UL)
- #define CMP_BWSR1_CTWP13_POS (29U)
- #define CMP_BWSR1_CTWP13 (0x20000000UL)
- #define CMP_BWSR1_CTWP14_POS (30U)
- #define CMP_BWSR1_CTWP14 (0x40000000UL)
- #define CMP_BWSR1_CTWP15_POS (31U)
- #define CMP_BWSR1_CTWP15 (0x80000000UL)
- /* Bit definition for CMP_BWSR2 register */
- #define CMP_BWSR2_MSKW_POS (0U)
- #define CMP_BWSR2_MSKW (0x00FFU)
- #define CMP_BWSR2_TWEG_POS (8U)
- #define CMP_BWSR2_TWEG (0x0300U)
- #define CMP_BWSR2_TWEG_0 (0x0100U)
- #define CMP_BWSR2_TWEG_1 (0x0200U)
- /* Bit definition for CMP_SCCR register */
- #define CMP_SCCR_SISL_POS (0U)
- #define CMP_SCCR_SISL (0x0000000FUL)
- #define CMP_SCCR_SPRD_POS (16U)
- #define CMP_SCCR_SPRD (0x00FF0000UL)
- #define CMP_SCCR_SSTB_POS (24U)
- #define CMP_SCCR_SSTB (0x3F000000UL)
- /* Bit definition for CMP_SCMR register */
- #define CMP_SCMR_RVST_POS (0U)
- #define CMP_SCMR_RVST (0x0000000FUL)
- #define CMP_SCMR_CVST_POS (16U)
- #define CMP_SCMR_CVST (0x000F0000UL)
- /*******************************************************************************
- Bit definition for Peripheral CMU
- *******************************************************************************/
- /* Bit definition for CMU_XTALDIVR register */
- #define CMU_XTALDIVR_DEMON_POS (0U)
- #define CMU_XTALDIVR_DEMON (0x000007FFUL)
- #define CMU_XTALDIVR_NUMER_POS (12U)
- #define CMU_XTALDIVR_NUMER (0x1FFFF000UL)
- /* Bit definition for CMU_XTALDIVCR register */
- #define CMU_XTALDIVCR_FRADIVEN (0x00000001UL)
- /* Bit definition for CMU_XTALCFGR register */
- #define CMU_XTALCFGR_XTALDRV_POS (4U)
- #define CMU_XTALCFGR_XTALDRV (0x30U)
- #define CMU_XTALCFGR_XTALDRV_0 (0x10U)
- #define CMU_XTALCFGR_XTALDRV_1 (0x20U)
- #define CMU_XTALCFGR_XTALMS_POS (6U)
- #define CMU_XTALCFGR_XTALMS (0x40U)
- /* Bit definition for CMU_XTAL32CR register */
- #define CMU_XTAL32CR_XTAL32STP (0x01U)
- /* Bit definition for CMU_XTAL32CFGR register */
- #define CMU_XTAL32CFGR_XTAL32DRV (0x07U)
- /* Bit definition for CMU_XTAL32NFR register */
- #define CMU_XTAL32NFR_XTAL32NF (0x03U)
- #define CMU_XTAL32NFR_XTAL32NF_0 (0x01U)
- #define CMU_XTAL32NFR_XTAL32NF_1 (0x02U)
- /* Bit definition for CMU_LRCCR register */
- #define CMU_LRCCR_LRCSTP (0x01U)
- /* Bit definition for CMU_LRCTRM register */
- #define CMU_LRCTRM (0xFFU)
- /* Bit definition for CMU_PERICKSEL register */
- #define CMU_PERICKSEL_PERICKSEL (0x000FU)
- /* Bit definition for CMU_CANCKCFGR register */
- #define CMU_CANCKCFGR_MCAN1CKS_POS (0U)
- #define CMU_CANCKCFGR_MCAN1CKS (0x000FU)
- #define CMU_CANCKCFGR_MCAN2CKS_POS (4U)
- #define CMU_CANCKCFGR_MCAN2CKS (0x00F0U)
- /* Bit definition for CMU_SCFGR register */
- #define CMU_SCFGR_PCLK0S_POS (0U)
- #define CMU_SCFGR_PCLK0S (0x00000007UL)
- #define CMU_SCFGR_PCLK1S_POS (4U)
- #define CMU_SCFGR_PCLK1S (0x00000070UL)
- #define CMU_SCFGR_PCLK2S_POS (8U)
- #define CMU_SCFGR_PCLK2S (0x00000700UL)
- #define CMU_SCFGR_PCLK3S_POS (12U)
- #define CMU_SCFGR_PCLK3S (0x00007000UL)
- #define CMU_SCFGR_PCLK4S_POS (16U)
- #define CMU_SCFGR_PCLK4S (0x00070000UL)
- #define CMU_SCFGR_EXCKS_POS (20U)
- #define CMU_SCFGR_EXCKS (0x00700000UL)
- #define CMU_SCFGR_HCLKS_POS (24U)
- #define CMU_SCFGR_HCLKS (0x07000000UL)
- /* Bit definition for CMU_CKSWR register */
- #define CMU_CKSWR_CKSW (0x07U)
- /* Bit definition for CMU_PLLHCR register */
- #define CMU_PLLHCR_PLLHOFF (0x01U)
- /* Bit definition for CMU_XTALCR register */
- #define CMU_XTALCR_XTALSTP (0x01U)
- /* Bit definition for CMU_HRCCR register */
- #define CMU_HRCCR_HRCSTP (0x01U)
- /* Bit definition for CMU_MRCCR register */
- #define CMU_MRCCR_MRCSTP (0x01U)
- /* Bit definition for CMU_OSCSTBSR register */
- #define CMU_OSCSTBSR_HRCSTBF_POS (0U)
- #define CMU_OSCSTBSR_HRCSTBF (0x01U)
- #define CMU_OSCSTBSR_XTALSTBF_POS (3U)
- #define CMU_OSCSTBSR_XTALSTBF (0x08U)
- #define CMU_OSCSTBSR_PLLHSTBF_POS (5U)
- #define CMU_OSCSTBSR_PLLHSTBF (0x20U)
- /* Bit definition for CMU_MCOCFGR register */
- #define CMU_MCOCFGR_MCOSEL_POS (0U)
- #define CMU_MCOCFGR_MCOSEL (0x0FU)
- #define CMU_MCOCFGR_MCODIV_POS (4U)
- #define CMU_MCOCFGR_MCODIV (0x70U)
- #define CMU_MCOCFGR_MCOEN_POS (7U)
- #define CMU_MCOCFGR_MCOEN (0x80U)
- /* Bit definition for CMU_TPIUCKCFGR register */
- #define CMU_TPIUCKCFGR_TPIUCKS_POS (0U)
- #define CMU_TPIUCKCFGR_TPIUCKS (0x03U)
- #define CMU_TPIUCKCFGR_TPIUCKS_0 (0x01U)
- #define CMU_TPIUCKCFGR_TPIUCKS_1 (0x02U)
- #define CMU_TPIUCKCFGR_TPIUCKOE_POS (7U)
- #define CMU_TPIUCKCFGR_TPIUCKOE (0x80U)
- /* Bit definition for CMU_XTALSTDCR register */
- #define CMU_XTALSTDCR_XTALSTDIE_POS (0U)
- #define CMU_XTALSTDCR_XTALSTDIE (0x01U)
- #define CMU_XTALSTDCR_XTALSTDRE_POS (1U)
- #define CMU_XTALSTDCR_XTALSTDRE (0x02U)
- #define CMU_XTALSTDCR_XTALSTDRIS_POS (2U)
- #define CMU_XTALSTDCR_XTALSTDRIS (0x04U)
- #define CMU_XTALSTDCR_XTALSTDE_POS (7U)
- #define CMU_XTALSTDCR_XTALSTDE (0x80U)
- /* Bit definition for CMU_XTALSTDSR register */
- #define CMU_XTALSTDSR_XTALSTDF (0x01U)
- /* Bit definition for CMU_MRCTRM register */
- #define CMU_MRCTRM (0xFFU)
- /* Bit definition for CMU_HRCTRM register */
- #define CMU_HRCTRM (0xFFU)
- /* Bit definition for CMU_XTALSTBCR register */
- #define CMU_XTALSTBCR_XTALSTB (0x0FU)
- /* Bit definition for CMU_PLLHCFGR register */
- #define CMU_PLLHCFGR_PLLHM_POS (0U)
- #define CMU_PLLHCFGR_PLLHM (0x00000003UL)
- #define CMU_PLLHCFGR_PLLHM_0 (0x00000001UL)
- #define CMU_PLLHCFGR_PLLHM_1 (0x00000002UL)
- #define CMU_PLLHCFGR_PLLSRC_POS (7U)
- #define CMU_PLLHCFGR_PLLSRC (0x00000080UL)
- #define CMU_PLLHCFGR_PLLHN_POS (8U)
- #define CMU_PLLHCFGR_PLLHN (0x0000FF00UL)
- #define CMU_PLLHCFGR_PLLHR_POS (20U)
- #define CMU_PLLHCFGR_PLLHR (0x00F00000UL)
- #define CMU_PLLHCFGR_PLLHQ_POS (24U)
- #define CMU_PLLHCFGR_PLLHQ (0x0F000000UL)
- #define CMU_PLLHCFGR_PLLHP_POS (28U)
- #define CMU_PLLHCFGR_PLLHP (0xF0000000UL)
- /*******************************************************************************
- Bit definition for Peripheral CRC
- *******************************************************************************/
- /* Bit definition for CRC_CR register */
- #define CRC_CR_CR_POS (0U)
- #define CRC_CR_CR (0x00000001UL)
- #define CRC_CR_FLAG_POS (1U)
- #define CRC_CR_FLAG (0x00000002UL)
- /* Bit definition for CRC_RESLT register */
- #define CRC_RESLT (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT0 register */
- #define CRC_DAT0 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT1 register */
- #define CRC_DAT1 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT2 register */
- #define CRC_DAT2 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT3 register */
- #define CRC_DAT3 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT4 register */
- #define CRC_DAT4 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT5 register */
- #define CRC_DAT5 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT6 register */
- #define CRC_DAT6 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT7 register */
- #define CRC_DAT7 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT8 register */
- #define CRC_DAT8 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT9 register */
- #define CRC_DAT9 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT10 register */
- #define CRC_DAT10 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT11 register */
- #define CRC_DAT11 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT12 register */
- #define CRC_DAT12 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT13 register */
- #define CRC_DAT13 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT14 register */
- #define CRC_DAT14 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT15 register */
- #define CRC_DAT15 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT16 register */
- #define CRC_DAT16 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT17 register */
- #define CRC_DAT17 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT18 register */
- #define CRC_DAT18 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT19 register */
- #define CRC_DAT19 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT20 register */
- #define CRC_DAT20 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT21 register */
- #define CRC_DAT21 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT22 register */
- #define CRC_DAT22 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT23 register */
- #define CRC_DAT23 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT24 register */
- #define CRC_DAT24 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT25 register */
- #define CRC_DAT25 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT26 register */
- #define CRC_DAT26 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT27 register */
- #define CRC_DAT27 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT28 register */
- #define CRC_DAT28 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT29 register */
- #define CRC_DAT29 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT30 register */
- #define CRC_DAT30 (0xFFFFFFFFUL)
- /* Bit definition for CRC_DAT31 register */
- #define CRC_DAT31 (0xFFFFFFFFUL)
- /*******************************************************************************
- Bit definition for Peripheral CTC
- *******************************************************************************/
- /* Bit definition for CTC_CR1 register */
- #define CTC_CR1_REFPSC_POS (0U)
- #define CTC_CR1_REFPSC (0x00000007UL)
- #define CTC_CR1_REFPSC_0 (0x00000001UL)
- #define CTC_CR1_REFPSC_1 (0x00000002UL)
- #define CTC_CR1_REFPSC_2 (0x00000004UL)
- #define CTC_CR1_REFCKS_POS (4U)
- #define CTC_CR1_REFCKS (0x00000030UL)
- #define CTC_CR1_REFCKS_0 (0x00000010UL)
- #define CTC_CR1_REFCKS_1 (0x00000020UL)
- #define CTC_CR1_ERRIE_POS (6U)
- #define CTC_CR1_ERRIE (0x00000040UL)
- #define CTC_CR1_CTCEN_POS (7U)
- #define CTC_CR1_CTCEN (0x00000080UL)
- #define CTC_CR1_HRCPSC_POS (8U)
- #define CTC_CR1_HRCPSC (0x00000700UL)
- #define CTC_CR1_REFEDG_POS (12U)
- #define CTC_CR1_REFEDG (0x00003000UL)
- #define CTC_CR1_REFEDG_0 (0x00001000UL)
- #define CTC_CR1_REFEDG_1 (0x00002000UL)
- #define CTC_CR1_TRMVAL_POS (16U)
- #define CTC_CR1_TRMVAL (0x003F0000UL)
- /* Bit definition for CTC_CR2 register */
- #define CTC_CR2_OFSVAL_POS (0U)
- #define CTC_CR2_OFSVAL (0x000000FFUL)
- #define CTC_CR2_RLDVAL_POS (16U)
- #define CTC_CR2_RLDVAL (0xFFFF0000UL)
- /* Bit definition for CTC_STR register */
- #define CTC_STR_TRIMOK_POS (0U)
- #define CTC_STR_TRIMOK (0x00000001UL)
- #define CTC_STR_TRMOVF_POS (1U)
- #define CTC_STR_TRMOVF (0x00000002UL)
- #define CTC_STR_TRMUDF_POS (2U)
- #define CTC_STR_TRMUDF (0x00000004UL)
- #define CTC_STR_CTCBSY_POS (3U)
- #define CTC_STR_CTCBSY (0x00000008UL)
- /* Bit definition for CTC_CNT register */
- #define CTC_CNT (0xFFFFU)
- /*******************************************************************************
- Bit definition for Peripheral DAC
- *******************************************************************************/
- /* Bit definition for DAC_DADR1 register */
- #define DAC_DADR1_DR0_POS (0U)
- #define DAC_DADR1_DR0 (0x0001U)
- #define DAC_DADR1_DR1_POS (1U)
- #define DAC_DADR1_DR1 (0x0002U)
- #define DAC_DADR1_DR2_POS (2U)
- #define DAC_DADR1_DR2 (0x0004U)
- #define DAC_DADR1_DR3_POS (3U)
- #define DAC_DADR1_DR3 (0x0008U)
- #define DAC_DADR1_DL0R4_POS (4U)
- #define DAC_DADR1_DL0R4 (0x0010U)
- #define DAC_DADR1_DL1R5_POS (5U)
- #define DAC_DADR1_DL1R5 (0x0020U)
- #define DAC_DADR1_DL2R6_POS (6U)
- #define DAC_DADR1_DL2R6 (0x0040U)
- #define DAC_DADR1_DL3R7_POS (7U)
- #define DAC_DADR1_DL3R7 (0x0080U)
- #define DAC_DADR1_DL4R8_POS (8U)
- #define DAC_DADR1_DL4R8 (0x0100U)
- #define DAC_DADR1_DL5R9_POS (9U)
- #define DAC_DADR1_DL5R9 (0x0200U)
- #define DAC_DADR1_DL6R10_POS (10U)
- #define DAC_DADR1_DL6R10 (0x0400U)
- #define DAC_DADR1_DL7R11_POS (11U)
- #define DAC_DADR1_DL7R11 (0x0800U)
- #define DAC_DADR1_DL8_POS (12U)
- #define DAC_DADR1_DL8 (0x1000U)
- #define DAC_DADR1_DL9_POS (13U)
- #define DAC_DADR1_DL9 (0x2000U)
- #define DAC_DADR1_DL10_POS (14U)
- #define DAC_DADR1_DL10 (0x4000U)
- #define DAC_DADR1_DL11_POS (15U)
- #define DAC_DADR1_DL11 (0x8000U)
- /* Bit definition for DAC_DADR2 register */
- #define DAC_DADR2_DR0_POS (0U)
- #define DAC_DADR2_DR0 (0x0001U)
- #define DAC_DADR2_DR1_POS (1U)
- #define DAC_DADR2_DR1 (0x0002U)
- #define DAC_DADR2_DR2_POS (2U)
- #define DAC_DADR2_DR2 (0x0004U)
- #define DAC_DADR2_DR3_POS (3U)
- #define DAC_DADR2_DR3 (0x0008U)
- #define DAC_DADR2_DL0R4_POS (4U)
- #define DAC_DADR2_DL0R4 (0x0010U)
- #define DAC_DADR2_DL1R5_POS (5U)
- #define DAC_DADR2_DL1R5 (0x0020U)
- #define DAC_DADR2_DL2R6_POS (6U)
- #define DAC_DADR2_DL2R6 (0x0040U)
- #define DAC_DADR2_DL3R7_POS (7U)
- #define DAC_DADR2_DL3R7 (0x0080U)
- #define DAC_DADR2_DL4R8_POS (8U)
- #define DAC_DADR2_DL4R8 (0x0100U)
- #define DAC_DADR2_DL5R9_POS (9U)
- #define DAC_DADR2_DL5R9 (0x0200U)
- #define DAC_DADR2_DL6R10_POS (10U)
- #define DAC_DADR2_DL6R10 (0x0400U)
- #define DAC_DADR2_DL7R11_POS (11U)
- #define DAC_DADR2_DL7R11 (0x0800U)
- #define DAC_DADR2_DL8_POS (12U)
- #define DAC_DADR2_DL8 (0x1000U)
- #define DAC_DADR2_DL9_POS (13U)
- #define DAC_DADR2_DL9 (0x2000U)
- #define DAC_DADR2_DL10_POS (14U)
- #define DAC_DADR2_DL10 (0x4000U)
- #define DAC_DADR2_DL11_POS (15U)
- #define DAC_DADR2_DL11 (0x8000U)
- /* Bit definition for DAC_DACR register */
- #define DAC_DACR_DAE_POS (0U)
- #define DAC_DACR_DAE (0x0001U)
- #define DAC_DACR_DA1E_POS (1U)
- #define DAC_DACR_DA1E (0x0002U)
- #define DAC_DACR_DA2E_POS (2U)
- #define DAC_DACR_DA2E (0x0004U)
- #define DAC_DACR_DPSEL_POS (8U)
- #define DAC_DACR_DPSEL (0x0100U)
- #define DAC_DACR_DAAMP1_POS (9U)
- #define DAC_DACR_DAAMP1 (0x0200U)
- #define DAC_DACR_DAAMP2_POS (10U)
- #define DAC_DACR_DAAMP2 (0x0400U)
- #define DAC_DACR_EXTDSL1_POS (11U)
- #define DAC_DACR_EXTDSL1 (0x0800U)
- #define DAC_DACR_EXTDSL2_POS (12U)
- #define DAC_DACR_EXTDSL2 (0x1000U)
- /* Bit definition for DAC_DAADPCR register */
- #define DAC_DAADPCR_ADCSL1_POS (0U)
- #define DAC_DAADPCR_ADCSL1 (0x0001U)
- #define DAC_DAADPCR_ADCSL2_POS (1U)
- #define DAC_DAADPCR_ADCSL2 (0x0002U)
- #define DAC_DAADPCR_ADCSL3_POS (2U)
- #define DAC_DAADPCR_ADCSL3 (0x0004U)
- #define DAC_DAADPCR_DA1SF_POS (8U)
- #define DAC_DAADPCR_DA1SF (0x0100U)
- #define DAC_DAADPCR_DA2SF_POS (9U)
- #define DAC_DAADPCR_DA2SF (0x0200U)
- #define DAC_DAADPCR_ADPEN_POS (15U)
- #define DAC_DAADPCR_ADPEN (0x8000U)
- /* Bit definition for DAC_DAOCR register */
- #define DAC_DAOCR_DAODIS1_POS (14U)
- #define DAC_DAOCR_DAODIS1 (0x4000U)
- #define DAC_DAOCR_DAODIS2_POS (15U)
- #define DAC_DAOCR_DAODIS2 (0x8000U)
- /*******************************************************************************
- Bit definition for Peripheral DBGC
- *******************************************************************************/
- /* Bit definition for DBGC_AUTHID0 register */
- #define DBGC_AUTHID0 (0xFFFFFFFFUL)
- /* Bit definition for DBGC_AUTHID1 register */
- #define DBGC_AUTHID1 (0xFFFFFFFFUL)
- /* Bit definition for DBGC_AUTHID2 register */
- #define DBGC_AUTHID2 (0xFFFFFFFFUL)
- /* Bit definition for DBGC_CHIPID register */
- #define DBGC_CHIPID (0xFFFFFFFFUL)
- /* Bit definition for DBGC_MCUSTAT register */
- #define DBGC_MCUSTAT_AUTH_POS (0U)
- #define DBGC_MCUSTAT_AUTH (0x00000001UL)
- #define DBGC_MCUSTAT_REMVLOCK_POS (1U)
- #define DBGC_MCUSTAT_REMVLOCK (0x00000002UL)
- #define DBGC_MCUSTAT_SAFTYLOCK1_POS (2U)
- #define DBGC_MCUSTAT_SAFTYLOCK1 (0x00000004UL)
- #define DBGC_MCUSTAT_SAFTYLOCK2_POS (3U)
- #define DBGC_MCUSTAT_SAFTYLOCK2 (0x00000008UL)
- #define DBGC_MCUSTAT_CPUSTOP_POS (8U)
- #define DBGC_MCUSTAT_CPUSTOP (0x00000100UL)
- #define DBGC_MCUSTAT_CPUSLEEP_POS (9U)
- #define DBGC_MCUSTAT_CPUSLEEP (0x00000200UL)
- /* Bit definition for DBGC_MCUCTL register */
- #define DBGC_MCUCTL_EDBGRQ_POS (0U)
- #define DBGC_MCUCTL_EDBGRQ (0x00000001UL)
- #define DBGC_MCUCTL_RESTART_POS (1U)
- #define DBGC_MCUCTL_RESTART (0x00000002UL)
- #define DBGC_MCUCTL_DIRQ_POS (8U)
- #define DBGC_MCUCTL_DIRQ (0x00000100UL)
- /* Bit definition for DBGC_FMCCTL register */
- #define DBGC_FMCCTL_ERASEREQ_POS (0U)
- #define DBGC_FMCCTL_ERASEREQ (0x00000001UL)
- #define DBGC_FMCCTL_ERASEACK_POS (1U)
- #define DBGC_FMCCTL_ERASEACK (0x00000002UL)
- #define DBGC_FMCCTL_ERASEERR_POS (2U)
- #define DBGC_FMCCTL_ERASEERR (0x00000004UL)
- /* Bit definition for DBGC_MCUDBGCSTAT register */
- #define DBGC_MCUDBGCSTAT_CDBGPWRUPREQ_POS (0U)
- #define DBGC_MCUDBGCSTAT_CDBGPWRUPREQ (0x00000001UL)
- #define DBGC_MCUDBGCSTAT_CDBGPWRUPACK_POS (1U)
- #define DBGC_MCUDBGCSTAT_CDBGPWRUPACK (0x00000002UL)
- /* Bit definition for DBGC_MCUSTPCTL register */
- #define DBGC_MCUSTPCTL_SWDTSTP_POS (0U)
- #define DBGC_MCUSTPCTL_SWDTSTP (0x00000001UL)
- #define DBGC_MCUSTPCTL_WDTSTP_POS (1U)
- #define DBGC_MCUSTPCTL_WDTSTP (0x00000002UL)
- #define DBGC_MCUSTPCTL_RTCSTP_POS (2U)
- #define DBGC_MCUSTPCTL_RTCSTP (0x00000004UL)
- #define DBGC_MCUSTPCTL_PVD0STP_POS (3U)
- #define DBGC_MCUSTPCTL_PVD0STP (0x00000008UL)
- #define DBGC_MCUSTPCTL_PVD1STP_POS (4U)
- #define DBGC_MCUSTPCTL_PVD1STP (0x00000010UL)
- #define DBGC_MCUSTPCTL_PVD2STP_POS (5U)
- #define DBGC_MCUSTPCTL_PVD2STP (0x00000020UL)
- #define DBGC_MCUSTPCTL_M06STP_POS (6U)
- #define DBGC_MCUSTPCTL_M06STP (0x00000040UL)
- #define DBGC_MCUSTPCTL_M07STP_POS (7U)
- #define DBGC_MCUSTPCTL_M07STP (0x00000080UL)
- #define DBGC_MCUSTPCTL_M08STP_POS (8U)
- #define DBGC_MCUSTPCTL_M08STP (0x00000100UL)
- #define DBGC_MCUSTPCTL_M09STP_POS (9U)
- #define DBGC_MCUSTPCTL_M09STP (0x00000200UL)
- #define DBGC_MCUSTPCTL_M10STP_POS (10U)
- #define DBGC_MCUSTPCTL_M10STP (0x00000400UL)
- #define DBGC_MCUSTPCTL_M11STP_POS (11U)
- #define DBGC_MCUSTPCTL_M11STP (0x00000800UL)
- #define DBGC_MCUSTPCTL_M12STP_POS (12U)
- #define DBGC_MCUSTPCTL_M12STP (0x00001000UL)
- #define DBGC_MCUSTPCTL_M13STP_POS (13U)
- #define DBGC_MCUSTPCTL_M13STP (0x00002000UL)
- #define DBGC_MCUSTPCTL_M14STP_POS (14U)
- #define DBGC_MCUSTPCTL_M14STP (0x00004000UL)
- #define DBGC_MCUSTPCTL_M15STP_POS (15U)
- #define DBGC_MCUSTPCTL_M15STP (0x00008000UL)
- #define DBGC_MCUSTPCTL_M16STP_POS (16U)
- #define DBGC_MCUSTPCTL_M16STP (0x00010000UL)
- #define DBGC_MCUSTPCTL_M17STP_POS (17U)
- #define DBGC_MCUSTPCTL_M17STP (0x00020000UL)
- #define DBGC_MCUSTPCTL_M18STP_POS (18U)
- #define DBGC_MCUSTPCTL_M18STP (0x00040000UL)
- #define DBGC_MCUSTPCTL_M19STP_POS (19U)
- #define DBGC_MCUSTPCTL_M19STP (0x00080000UL)
- #define DBGC_MCUSTPCTL_M20STP_POS (20U)
- #define DBGC_MCUSTPCTL_M20STP (0x00100000UL)
- #define DBGC_MCUSTPCTL_M21STP_POS (21U)
- #define DBGC_MCUSTPCTL_M21STP (0x00200000UL)
- #define DBGC_MCUSTPCTL_M22STP_POS (22U)
- #define DBGC_MCUSTPCTL_M22STP (0x00400000UL)
- #define DBGC_MCUSTPCTL_M23STP_POS (23U)
- #define DBGC_MCUSTPCTL_M23STP (0x00800000UL)
- #define DBGC_MCUSTPCTL_M24STP_POS (24U)
- #define DBGC_MCUSTPCTL_M24STP (0x01000000UL)
- #define DBGC_MCUSTPCTL_M25STP_POS (25U)
- #define DBGC_MCUSTPCTL_M25STP (0x02000000UL)
- #define DBGC_MCUSTPCTL_M26STP_POS (26U)
- #define DBGC_MCUSTPCTL_M26STP (0x04000000UL)
- #define DBGC_MCUSTPCTL_M27STP_POS (27U)
- #define DBGC_MCUSTPCTL_M27STP (0x08000000UL)
- #define DBGC_MCUSTPCTL_M28STP_POS (28U)
- #define DBGC_MCUSTPCTL_M28STP (0x10000000UL)
- #define DBGC_MCUSTPCTL_M29STP_POS (29U)
- #define DBGC_MCUSTPCTL_M29STP (0x20000000UL)
- #define DBGC_MCUSTPCTL_M30STP_POS (30U)
- #define DBGC_MCUSTPCTL_M30STP (0x40000000UL)
- #define DBGC_MCUSTPCTL_M31STP_POS (31U)
- #define DBGC_MCUSTPCTL_M31STP (0x80000000UL)
- /* Bit definition for DBGC_MCUTRACECTL register */
- #define DBGC_MCUTRACECTL_TRACEMODE_POS (0U)
- #define DBGC_MCUTRACECTL_TRACEMODE (0x00000003UL)
- #define DBGC_MCUTRACECTL_TRACEMODE_0 (0x00000001UL)
- #define DBGC_MCUTRACECTL_TRACEMODE_1 (0x00000002UL)
- #define DBGC_MCUTRACECTL_TRACEIOEN_POS (2U)
- #define DBGC_MCUTRACECTL_TRACEIOEN (0x00000004UL)
- /* Bit definition for DBGC_MCUSTPCTL2 register */
- #define DBGC_MCUSTPCTL2_M32STP_POS (0U)
- #define DBGC_MCUSTPCTL2_M32STP (0x00000001UL)
- #define DBGC_MCUSTPCTL2_M33STP_POS (1U)
- #define DBGC_MCUSTPCTL2_M33STP (0x00000002UL)
- #define DBGC_MCUSTPCTL2_M34STP_POS (2U)
- #define DBGC_MCUSTPCTL2_M34STP (0x00000004UL)
- #define DBGC_MCUSTPCTL2_M35STP_POS (3U)
- #define DBGC_MCUSTPCTL2_M35STP (0x00000008UL)
- #define DBGC_MCUSTPCTL2_M36STP_POS (4U)
- #define DBGC_MCUSTPCTL2_M36STP (0x00000010UL)
- #define DBGC_MCUSTPCTL2_M37STP_POS (5U)
- #define DBGC_MCUSTPCTL2_M37STP (0x00000020UL)
- #define DBGC_MCUSTPCTL2_M38STP_POS (6U)
- #define DBGC_MCUSTPCTL2_M38STP (0x00000040UL)
- #define DBGC_MCUSTPCTL2_M39STP_POS (7U)
- #define DBGC_MCUSTPCTL2_M39STP (0x00000080UL)
- #define DBGC_MCUSTPCTL2_M40STP_POS (8U)
- #define DBGC_MCUSTPCTL2_M40STP (0x00000100UL)
- #define DBGC_MCUSTPCTL2_M41STP_POS (9U)
- #define DBGC_MCUSTPCTL2_M41STP (0x00000200UL)
- #define DBGC_MCUSTPCTL2_M42STP_POS (10U)
- #define DBGC_MCUSTPCTL2_M42STP (0x00000400UL)
- #define DBGC_MCUSTPCTL2_M43STP_POS (11U)
- #define DBGC_MCUSTPCTL2_M43STP (0x00000800UL)
- #define DBGC_MCUSTPCTL2_M44STP_POS (12U)
- #define DBGC_MCUSTPCTL2_M44STP (0x00001000UL)
- #define DBGC_MCUSTPCTL2_M45STP_POS (13U)
- #define DBGC_MCUSTPCTL2_M45STP (0x00002000UL)
- #define DBGC_MCUSTPCTL2_M46STP_POS (14U)
- #define DBGC_MCUSTPCTL2_M46STP (0x00004000UL)
- #define DBGC_MCUSTPCTL2_M47STP_POS (15U)
- #define DBGC_MCUSTPCTL2_M47STP (0x00008000UL)
- #define DBGC_MCUSTPCTL2_M48STP_POS (16U)
- #define DBGC_MCUSTPCTL2_M48STP (0x00010000UL)
- #define DBGC_MCUSTPCTL2_M49STP_POS (17U)
- #define DBGC_MCUSTPCTL2_M49STP (0x00020000UL)
- #define DBGC_MCUSTPCTL2_M50STP_POS (18U)
- #define DBGC_MCUSTPCTL2_M50STP (0x00040000UL)
- #define DBGC_MCUSTPCTL2_M51STP_POS (19U)
- #define DBGC_MCUSTPCTL2_M51STP (0x00080000UL)
- #define DBGC_MCUSTPCTL2_M52STP_POS (20U)
- #define DBGC_MCUSTPCTL2_M52STP (0x00100000UL)
- #define DBGC_MCUSTPCTL2_M53STP_POS (21U)
- #define DBGC_MCUSTPCTL2_M53STP (0x00200000UL)
- #define DBGC_MCUSTPCTL2_M54STP_POS (22U)
- #define DBGC_MCUSTPCTL2_M54STP (0x00400000UL)
- #define DBGC_MCUSTPCTL2_M55STP_POS (23U)
- #define DBGC_MCUSTPCTL2_M55STP (0x00800000UL)
- #define DBGC_MCUSTPCTL2_M56STP_POS (24U)
- #define DBGC_MCUSTPCTL2_M56STP (0x01000000UL)
- #define DBGC_MCUSTPCTL2_M57STP_POS (25U)
- #define DBGC_MCUSTPCTL2_M57STP (0x02000000UL)
- #define DBGC_MCUSTPCTL2_M58STP_POS (26U)
- #define DBGC_MCUSTPCTL2_M58STP (0x04000000UL)
- #define DBGC_MCUSTPCTL2_M59STP_POS (27U)
- #define DBGC_MCUSTPCTL2_M59STP (0x08000000UL)
- #define DBGC_MCUSTPCTL2_M60STP_POS (28U)
- #define DBGC_MCUSTPCTL2_M60STP (0x10000000UL)
- #define DBGC_MCUSTPCTL2_M61STP_POS (29U)
- #define DBGC_MCUSTPCTL2_M61STP (0x20000000UL)
- #define DBGC_MCUSTPCTL2_M62STP_POS (30U)
- #define DBGC_MCUSTPCTL2_M62STP (0x40000000UL)
- #define DBGC_MCUSTPCTL2_M63STP_POS (31U)
- #define DBGC_MCUSTPCTL2_M63STP (0x80000000UL)
- /*******************************************************************************
- Bit definition for Peripheral DCU
- *******************************************************************************/
- /* Bit definition for DCU_CTL register */
- #define DCU_CTL_MODE_POS (0U)
- #define DCU_CTL_MODE (0x0000000FUL)
- #define DCU_CTL_DATASIZE_POS (4U)
- #define DCU_CTL_DATASIZE (0x00000030UL)
- #define DCU_CTL_DATASIZE_0 (0x00000010UL)
- #define DCU_CTL_DATASIZE_1 (0x00000020UL)
- #define DCU_CTL_COMP_TRG_POS (8U)
- #define DCU_CTL_COMP_TRG (0x00000100UL)
- #define DCU_CTL_INTEN_POS (31U)
- #define DCU_CTL_INTEN (0x80000000UL)
- /* Bit definition for DCU_FLAG register */
- #define DCU_FLAG_FLAG_OP_POS (0U)
- #define DCU_FLAG_FLAG_OP (0x00000001UL)
- #define DCU_FLAG_FLAG_LS2_POS (1U)
- #define DCU_FLAG_FLAG_LS2 (0x00000002UL)
- #define DCU_FLAG_FLAG_EQ2_POS (2U)
- #define DCU_FLAG_FLAG_EQ2 (0x00000004UL)
- #define DCU_FLAG_FLAG_GT2_POS (3U)
- #define DCU_FLAG_FLAG_GT2 (0x00000008UL)
- #define DCU_FLAG_FLAG_LS1_POS (4U)
- #define DCU_FLAG_FLAG_LS1 (0x00000010UL)
- #define DCU_FLAG_FLAG_EQ1_POS (5U)
- #define DCU_FLAG_FLAG_EQ1 (0x00000020UL)
- #define DCU_FLAG_FLAG_GT1_POS (6U)
- #define DCU_FLAG_FLAG_GT1 (0x00000040UL)
- #define DCU_FLAG_FLAG_RLD_POS (9U)
- #define DCU_FLAG_FLAG_RLD (0x00000200UL)
- #define DCU_FLAG_FLAG_BTM_POS (10U)
- #define DCU_FLAG_FLAG_BTM (0x00000400UL)
- #define DCU_FLAG_FLAG_TOP_POS (11U)
- #define DCU_FLAG_FLAG_TOP (0x00000800UL)
- /* Bit definition for DCU_DATA0 register */
- #define DCU_DATA0 (0xFFFFFFFFUL)
- /* Bit definition for DCU_DATA1 register */
- #define DCU_DATA1 (0xFFFFFFFFUL)
- /* Bit definition for DCU_DATA2 register */
- #define DCU_DATA2 (0xFFFFFFFFUL)
- /* Bit definition for DCU_FLAGCLR register */
- #define DCU_FLAGCLR_CLR_OP_POS (0U)
- #define DCU_FLAGCLR_CLR_OP (0x00000001UL)
- #define DCU_FLAGCLR_CLR_LS2_POS (1U)
- #define DCU_FLAGCLR_CLR_LS2 (0x00000002UL)
- #define DCU_FLAGCLR_CLR_EQ2_POS (2U)
- #define DCU_FLAGCLR_CLR_EQ2 (0x00000004UL)
- #define DCU_FLAGCLR_CLR_GT2_POS (3U)
- #define DCU_FLAGCLR_CLR_GT2 (0x00000008UL)
- #define DCU_FLAGCLR_CLR_LS1_POS (4U)
- #define DCU_FLAGCLR_CLR_LS1 (0x00000010UL)
- #define DCU_FLAGCLR_CLR_EQ1_POS (5U)
- #define DCU_FLAGCLR_CLR_EQ1 (0x00000020UL)
- #define DCU_FLAGCLR_CLR_GT1_POS (6U)
- #define DCU_FLAGCLR_CLR_GT1 (0x00000040UL)
- #define DCU_FLAGCLR_CLR_RLD_POS (9U)
- #define DCU_FLAGCLR_CLR_RLD (0x00000200UL)
- #define DCU_FLAGCLR_CLR_BTM_POS (10U)
- #define DCU_FLAGCLR_CLR_BTM (0x00000400UL)
- #define DCU_FLAGCLR_CLR_TOP_POS (11U)
- #define DCU_FLAGCLR_CLR_TOP (0x00000800UL)
- /* Bit definition for DCU_INTEVTSEL register */
- #define DCU_INTEVTSEL_SEL_OP_POS (0U)
- #define DCU_INTEVTSEL_SEL_OP (0x00000001UL)
- #define DCU_INTEVTSEL_SEL_LS2_POS (1U)
- #define DCU_INTEVTSEL_SEL_LS2 (0x00000002UL)
- #define DCU_INTEVTSEL_SEL_EQ2_POS (2U)
- #define DCU_INTEVTSEL_SEL_EQ2 (0x00000004UL)
- #define DCU_INTEVTSEL_SEL_GT2_POS (3U)
- #define DCU_INTEVTSEL_SEL_GT2 (0x00000008UL)
- #define DCU_INTEVTSEL_SEL_LS1_POS (4U)
- #define DCU_INTEVTSEL_SEL_LS1 (0x00000010UL)
- #define DCU_INTEVTSEL_SEL_EQ1_POS (5U)
- #define DCU_INTEVTSEL_SEL_EQ1 (0x00000020UL)
- #define DCU_INTEVTSEL_SEL_GT1_POS (6U)
- #define DCU_INTEVTSEL_SEL_GT1 (0x00000040UL)
- #define DCU_INTEVTSEL_SEL_WIN_POS (7U)
- #define DCU_INTEVTSEL_SEL_WIN (0x00000180UL)
- #define DCU_INTEVTSEL_SEL_WIN_0 (0x00000080UL)
- #define DCU_INTEVTSEL_SEL_WIN_1 (0x00000100UL)
- #define DCU_INTEVTSEL_SEL_RLD_POS (9U)
- #define DCU_INTEVTSEL_SEL_RLD (0x00000200UL)
- #define DCU_INTEVTSEL_SEL_BTM_POS (10U)
- #define DCU_INTEVTSEL_SEL_BTM (0x00000400UL)
- #define DCU_INTEVTSEL_SEL_TOP_POS (11U)
- #define DCU_INTEVTSEL_SEL_TOP (0x00000800UL)
- /*******************************************************************************
- Bit definition for Peripheral DMA
- *******************************************************************************/
- /* Bit definition for DMA_EN register */
- #define DMA_EN_EN (0x00000001UL)
- /* Bit definition for DMA_INTSTAT0 register */
- #define DMA_INTSTAT0_TRNERR_POS (0U)
- #define DMA_INTSTAT0_TRNERR (0x0000003FUL)
- #define DMA_INTSTAT0_TRNERR_0 (0x00000001UL)
- #define DMA_INTSTAT0_TRNERR_1 (0x00000002UL)
- #define DMA_INTSTAT0_TRNERR_2 (0x00000004UL)
- #define DMA_INTSTAT0_TRNERR_3 (0x00000008UL)
- #define DMA_INTSTAT0_TRNERR_4 (0x00000010UL)
- #define DMA_INTSTAT0_TRNERR_5 (0x00000020UL)
- #define DMA_INTSTAT0_REQERR_POS (16U)
- #define DMA_INTSTAT0_REQERR (0x003F0000UL)
- #define DMA_INTSTAT0_REQERR_0 (0x00010000UL)
- #define DMA_INTSTAT0_REQERR_1 (0x00020000UL)
- #define DMA_INTSTAT0_REQERR_2 (0x00040000UL)
- #define DMA_INTSTAT0_REQERR_3 (0x00080000UL)
- #define DMA_INTSTAT0_REQERR_4 (0x00100000UL)
- #define DMA_INTSTAT0_REQERR_5 (0x00200000UL)
- /* Bit definition for DMA_INTSTAT1 register */
- #define DMA_INTSTAT1_TC_POS (0U)
- #define DMA_INTSTAT1_TC (0x0000003FUL)
- #define DMA_INTSTAT1_TC_0 (0x00000001UL)
- #define DMA_INTSTAT1_TC_1 (0x00000002UL)
- #define DMA_INTSTAT1_TC_2 (0x00000004UL)
- #define DMA_INTSTAT1_TC_3 (0x00000008UL)
- #define DMA_INTSTAT1_TC_4 (0x00000010UL)
- #define DMA_INTSTAT1_TC_5 (0x00000020UL)
- #define DMA_INTSTAT1_BTC_POS (16U)
- #define DMA_INTSTAT1_BTC (0x003F0000UL)
- #define DMA_INTSTAT1_BTC_0 (0x00010000UL)
- #define DMA_INTSTAT1_BTC_1 (0x00020000UL)
- #define DMA_INTSTAT1_BTC_2 (0x00040000UL)
- #define DMA_INTSTAT1_BTC_3 (0x00080000UL)
- #define DMA_INTSTAT1_BTC_4 (0x00100000UL)
- #define DMA_INTSTAT1_BTC_5 (0x00200000UL)
- /* Bit definition for DMA_INTMASK0 register */
- #define DMA_INTMASK0_MSKTRNERR_POS (0U)
- #define DMA_INTMASK0_MSKTRNERR (0x0000003FUL)
- #define DMA_INTMASK0_MSKTRNERR_0 (0x00000001UL)
- #define DMA_INTMASK0_MSKTRNERR_1 (0x00000002UL)
- #define DMA_INTMASK0_MSKTRNERR_2 (0x00000004UL)
- #define DMA_INTMASK0_MSKTRNERR_3 (0x00000008UL)
- #define DMA_INTMASK0_MSKTRNERR_4 (0x00000010UL)
- #define DMA_INTMASK0_MSKTRNERR_5 (0x00000020UL)
- #define DMA_INTMASK0_MSKREQERR_POS (16U)
- #define DMA_INTMASK0_MSKREQERR (0x003F0000UL)
- #define DMA_INTMASK0_MSKREQERR_0 (0x00010000UL)
- #define DMA_INTMASK0_MSKREQERR_1 (0x00020000UL)
- #define DMA_INTMASK0_MSKREQERR_2 (0x00040000UL)
- #define DMA_INTMASK0_MSKREQERR_3 (0x00080000UL)
- #define DMA_INTMASK0_MSKREQERR_4 (0x00100000UL)
- #define DMA_INTMASK0_MSKREQERR_5 (0x00200000UL)
- /* Bit definition for DMA_INTMASK1 register */
- #define DMA_INTMASK1_MSKTC_POS (0U)
- #define DMA_INTMASK1_MSKTC (0x0000003FUL)
- #define DMA_INTMASK1_MSKTC_0 (0x00000001UL)
- #define DMA_INTMASK1_MSKTC_1 (0x00000002UL)
- #define DMA_INTMASK1_MSKTC_2 (0x00000004UL)
- #define DMA_INTMASK1_MSKTC_3 (0x00000008UL)
- #define DMA_INTMASK1_MSKTC_4 (0x00000010UL)
- #define DMA_INTMASK1_MSKTC_5 (0x00000020UL)
- #define DMA_INTMASK1_MSKBTC_POS (16U)
- #define DMA_INTMASK1_MSKBTC (0x003F0000UL)
- #define DMA_INTMASK1_MSKBTC_0 (0x00010000UL)
- #define DMA_INTMASK1_MSKBTC_1 (0x00020000UL)
- #define DMA_INTMASK1_MSKBTC_2 (0x00040000UL)
- #define DMA_INTMASK1_MSKBTC_3 (0x00080000UL)
- #define DMA_INTMASK1_MSKBTC_4 (0x00100000UL)
- #define DMA_INTMASK1_MSKBTC_5 (0x00200000UL)
- /* Bit definition for DMA_INTCLR0 register */
- #define DMA_INTCLR0_CLRTRNERR_POS (0U)
- #define DMA_INTCLR0_CLRTRNERR (0x0000003FUL)
- #define DMA_INTCLR0_CLRTRNERR_0 (0x00000001UL)
- #define DMA_INTCLR0_CLRTRNERR_1 (0x00000002UL)
- #define DMA_INTCLR0_CLRTRNERR_2 (0x00000004UL)
- #define DMA_INTCLR0_CLRTRNERR_3 (0x00000008UL)
- #define DMA_INTCLR0_CLRTRNERR_4 (0x00000010UL)
- #define DMA_INTCLR0_CLRTRNERR_5 (0x00000020UL)
- #define DMA_INTCLR0_CLRREQERR_POS (16U)
- #define DMA_INTCLR0_CLRREQERR (0x003F0000UL)
- #define DMA_INTCLR0_CLRREQERR_0 (0x00010000UL)
- #define DMA_INTCLR0_CLRREQERR_1 (0x00020000UL)
- #define DMA_INTCLR0_CLRREQERR_2 (0x00040000UL)
- #define DMA_INTCLR0_CLRREQERR_3 (0x00080000UL)
- #define DMA_INTCLR0_CLRREQERR_4 (0x00100000UL)
- #define DMA_INTCLR0_CLRREQERR_5 (0x00200000UL)
- /* Bit definition for DMA_INTCLR1 register */
- #define DMA_INTCLR1_CLRTC_POS (0U)
- #define DMA_INTCLR1_CLRTC (0x0000003FUL)
- #define DMA_INTCLR1_CLRTC_0 (0x00000001UL)
- #define DMA_INTCLR1_CLRTC_1 (0x00000002UL)
- #define DMA_INTCLR1_CLRTC_2 (0x00000004UL)
- #define DMA_INTCLR1_CLRTC_3 (0x00000008UL)
- #define DMA_INTCLR1_CLRTC_4 (0x00000010UL)
- #define DMA_INTCLR1_CLRTC_5 (0x00000020UL)
- #define DMA_INTCLR1_CLRBTC_POS (16U)
- #define DMA_INTCLR1_CLRBTC (0x003F0000UL)
- #define DMA_INTCLR1_CLRBTC_0 (0x00010000UL)
- #define DMA_INTCLR1_CLRBTC_1 (0x00020000UL)
- #define DMA_INTCLR1_CLRBTC_2 (0x00040000UL)
- #define DMA_INTCLR1_CLRBTC_3 (0x00080000UL)
- #define DMA_INTCLR1_CLRBTC_4 (0x00100000UL)
- #define DMA_INTCLR1_CLRBTC_5 (0x00200000UL)
- /* Bit definition for DMA_CHEN register */
- #define DMA_CHEN_CHEN (0x0000003FUL)
- #define DMA_CHEN_CHEN_0 (0x00000001UL)
- #define DMA_CHEN_CHEN_1 (0x00000002UL)
- #define DMA_CHEN_CHEN_2 (0x00000004UL)
- #define DMA_CHEN_CHEN_3 (0x00000008UL)
- #define DMA_CHEN_CHEN_4 (0x00000010UL)
- #define DMA_CHEN_CHEN_5 (0x00000020UL)
- /* Bit definition for DMA_REQSTAT register */
- #define DMA_REQSTAT_CHREQ_POS (0U)
- #define DMA_REQSTAT_CHREQ (0x0000003FUL)
- #define DMA_REQSTAT_CHREQ_0 (0x00000001UL)
- #define DMA_REQSTAT_CHREQ_1 (0x00000002UL)
- #define DMA_REQSTAT_CHREQ_2 (0x00000004UL)
- #define DMA_REQSTAT_CHREQ_3 (0x00000008UL)
- #define DMA_REQSTAT_CHREQ_4 (0x00000010UL)
- #define DMA_REQSTAT_CHREQ_5 (0x00000020UL)
- #define DMA_REQSTAT_RCFGREQ_POS (15U)
- #define DMA_REQSTAT_RCFGREQ (0x00008000UL)
- /* Bit definition for DMA_CHSTAT register */
- #define DMA_CHSTAT_DMAACT_POS (0U)
- #define DMA_CHSTAT_DMAACT (0x00000001UL)
- #define DMA_CHSTAT_RCFGACT_POS (1U)
- #define DMA_CHSTAT_RCFGACT (0x00000002UL)
- #define DMA_CHSTAT_CHACT_POS (16U)
- #define DMA_CHSTAT_CHACT (0x003F0000UL)
- #define DMA_CHSTAT_CHACT_0 (0x00010000UL)
- #define DMA_CHSTAT_CHACT_1 (0x00020000UL)
- #define DMA_CHSTAT_CHACT_2 (0x00040000UL)
- #define DMA_CHSTAT_CHACT_3 (0x00080000UL)
- #define DMA_CHSTAT_CHACT_4 (0x00100000UL)
- #define DMA_CHSTAT_CHACT_5 (0x00200000UL)
- /* Bit definition for DMA_RCFGCTL register */
- #define DMA_RCFGCTL_RCFGEN_POS (0U)
- #define DMA_RCFGCTL_RCFGEN (0x00000001UL)
- #define DMA_RCFGCTL_RCFGLLP_POS (1U)
- #define DMA_RCFGCTL_RCFGLLP (0x00000002UL)
- #define DMA_RCFGCTL_RCFGCHS_POS (8U)
- #define DMA_RCFGCTL_RCFGCHS (0x00000F00UL)
- #define DMA_RCFGCTL_SARMD_POS (16U)
- #define DMA_RCFGCTL_SARMD (0x00030000UL)
- #define DMA_RCFGCTL_SARMD_0 (0x00010000UL)
- #define DMA_RCFGCTL_SARMD_1 (0x00020000UL)
- #define DMA_RCFGCTL_DARMD_POS (18U)
- #define DMA_RCFGCTL_DARMD (0x000C0000UL)
- #define DMA_RCFGCTL_DARMD_0 (0x00040000UL)
- #define DMA_RCFGCTL_DARMD_1 (0x00080000UL)
- #define DMA_RCFGCTL_CNTMD_POS (20U)
- #define DMA_RCFGCTL_CNTMD (0x00300000UL)
- #define DMA_RCFGCTL_CNTMD_0 (0x00100000UL)
- #define DMA_RCFGCTL_CNTMD_1 (0x00200000UL)
- /* Bit definition for DMA_CHENCLR register */
- #define DMA_CHENCLR_CHENCLR (0x0000003FUL)
- #define DMA_CHENCLR_CHENCLR_0 (0x00000001UL)
- #define DMA_CHENCLR_CHENCLR_1 (0x00000002UL)
- #define DMA_CHENCLR_CHENCLR_2 (0x00000004UL)
- #define DMA_CHENCLR_CHENCLR_3 (0x00000008UL)
- #define DMA_CHENCLR_CHENCLR_4 (0x00000010UL)
- #define DMA_CHENCLR_CHENCLR_5 (0x00000020UL)
- /* Bit definition for DMA_SAR register */
- #define DMA_SAR (0xFFFFFFFFUL)
- /* Bit definition for DMA_DAR register */
- #define DMA_DAR (0xFFFFFFFFUL)
- /* Bit definition for DMA_DTCTL register */
- #define DMA_DTCTL_BLKSIZE_POS (0U)
- #define DMA_DTCTL_BLKSIZE (0x000003FFUL)
- #define DMA_DTCTL_CNT_POS (16U)
- #define DMA_DTCTL_CNT (0xFFFF0000UL)
- /* Bit definition for DMA_RPT register */
- #define DMA_RPT_SRPT_POS (0U)
- #define DMA_RPT_SRPT (0x000003FFUL)
- #define DMA_RPT_DRPT_POS (16U)
- #define DMA_RPT_DRPT (0x03FF0000UL)
- /* Bit definition for DMA_RPTB register */
- #define DMA_RPTB_SRPTB_POS (0U)
- #define DMA_RPTB_SRPTB (0x000003FFUL)
- #define DMA_RPTB_DRPTB_POS (16U)
- #define DMA_RPTB_DRPTB (0x03FF0000UL)
- /* Bit definition for DMA_SNSEQCTL register */
- #define DMA_SNSEQCTL_SOFFSET_POS (0U)
- #define DMA_SNSEQCTL_SOFFSET (0x000FFFFFUL)
- #define DMA_SNSEQCTL_SNSCNT_POS (20U)
- #define DMA_SNSEQCTL_SNSCNT (0xFFF00000UL)
- /* Bit definition for DMA_SNSEQCTLB register */
- #define DMA_SNSEQCTLB_SNSDIST_POS (0U)
- #define DMA_SNSEQCTLB_SNSDIST (0x000FFFFFUL)
- #define DMA_SNSEQCTLB_SNSCNTB_POS (20U)
- #define DMA_SNSEQCTLB_SNSCNTB (0xFFF00000UL)
- /* Bit definition for DMA_DNSEQCTL register */
- #define DMA_DNSEQCTL_DOFFSET_POS (0U)
- #define DMA_DNSEQCTL_DOFFSET (0x000FFFFFUL)
- #define DMA_DNSEQCTL_DNSCNT_POS (20U)
- #define DMA_DNSEQCTL_DNSCNT (0xFFF00000UL)
- /* Bit definition for DMA_DNSEQCTLB register */
- #define DMA_DNSEQCTLB_DNSDIST_POS (0U)
- #define DMA_DNSEQCTLB_DNSDIST (0x000FFFFFUL)
- #define DMA_DNSEQCTLB_DNSCNTB_POS (20U)
- #define DMA_DNSEQCTLB_DNSCNTB (0xFFF00000UL)
- /* Bit definition for DMA_LLP register */
- #define DMA_LLP_LLP_POS (2U)
- #define DMA_LLP_LLP (0xFFFFFFFCUL)
- /* Bit definition for DMA_CHCTL register */
- #define DMA_CHCTL_SINC_POS (0U)
- #define DMA_CHCTL_SINC (0x00000003UL)
- #define DMA_CHCTL_SINC_0 (0x00000001UL)
- #define DMA_CHCTL_SINC_1 (0x00000002UL)
- #define DMA_CHCTL_DINC_POS (2U)
- #define DMA_CHCTL_DINC (0x0000000CUL)
- #define DMA_CHCTL_DINC_0 (0x00000004UL)
- #define DMA_CHCTL_DINC_1 (0x00000008UL)
- #define DMA_CHCTL_SRPTEN_POS (4U)
- #define DMA_CHCTL_SRPTEN (0x00000010UL)
- #define DMA_CHCTL_DRPTEN_POS (5U)
- #define DMA_CHCTL_DRPTEN (0x00000020UL)
- #define DMA_CHCTL_SNSEQEN_POS (6U)
- #define DMA_CHCTL_SNSEQEN (0x00000040UL)
- #define DMA_CHCTL_DNSEQEN_POS (7U)
- #define DMA_CHCTL_DNSEQEN (0x00000080UL)
- #define DMA_CHCTL_HSIZE_POS (8U)
- #define DMA_CHCTL_HSIZE (0x00000300UL)
- #define DMA_CHCTL_HSIZE_0 (0x00000100UL)
- #define DMA_CHCTL_HSIZE_1 (0x00000200UL)
- #define DMA_CHCTL_LLPEN_POS (10U)
- #define DMA_CHCTL_LLPEN (0x00000400UL)
- #define DMA_CHCTL_LLPRUN_POS (11U)
- #define DMA_CHCTL_LLPRUN (0x00000800UL)
- #define DMA_CHCTL_IE_POS (12U)
- #define DMA_CHCTL_IE (0x00001000UL)
- /* Bit definition for DMA_MONSAR register */
- #define DMA_MONSAR (0xFFFFFFFFUL)
- /* Bit definition for DMA_MONDAR register */
- #define DMA_MONDAR (0xFFFFFFFFUL)
- /* Bit definition for DMA_MONDTCTL register */
- #define DMA_MONDTCTL_BLKSIZE_POS (0U)
- #define DMA_MONDTCTL_BLKSIZE (0x000003FFUL)
- #define DMA_MONDTCTL_CNT_POS (16U)
- #define DMA_MONDTCTL_CNT (0xFFFF0000UL)
- /* Bit definition for DMA_MONRPT register */
- #define DMA_MONRPT_SRPT_POS (0U)
- #define DMA_MONRPT_SRPT (0x000003FFUL)
- #define DMA_MONRPT_DRPT_POS (16U)
- #define DMA_MONRPT_DRPT (0x03FF0000UL)
- /* Bit definition for DMA_MONSNSEQCTL register */
- #define DMA_MONSNSEQCTL_SOFFSET_POS (0U)
- #define DMA_MONSNSEQCTL_SOFFSET (0x000FFFFFUL)
- #define DMA_MONSNSEQCTL_SNSCNT_POS (20U)
- #define DMA_MONSNSEQCTL_SNSCNT (0xFFF00000UL)
- /* Bit definition for DMA_MONDNSEQCTL register */
- #define DMA_MONDNSEQCTL_DOFFSET_POS (0U)
- #define DMA_MONDNSEQCTL_DOFFSET (0x000FFFFFUL)
- #define DMA_MONDNSEQCTL_DNSCNT_POS (20U)
- #define DMA_MONDNSEQCTL_DNSCNT (0xFFF00000UL)
- /*******************************************************************************
- Bit definition for Peripheral EFM
- *******************************************************************************/
- /* Bit definition for EFM_FAPRT register */
- #define EFM_FAPRT_FAPRT (0x0000FFFFUL)
- /* Bit definition for EFM_KEY1 register */
- #define EFM_KEY1 (0xFFFFFFFFUL)
- /* Bit definition for EFM_KEY2 register */
- #define EFM_KEY2 (0xFFFFFFFFUL)
- /* Bit definition for EFM_FSTP register */
- #define EFM_FSTP_FSTP (0x00000001UL)
- /* Bit definition for EFM_FRMC register */
- #define EFM_FRMC_FLWT_POS (0U)
- #define EFM_FRMC_FLWT (0x0000000FUL)
- #define EFM_FRMC_LVM_POS (8U)
- #define EFM_FRMC_LVM (0x00000100UL)
- #define EFM_FRMC_ICACHE_POS (16U)
- #define EFM_FRMC_ICACHE (0x00010000UL)
- #define EFM_FRMC_DCACHE_POS (17U)
- #define EFM_FRMC_DCACHE (0x00020000UL)
- #define EFM_FRMC_PREFETE_POS (18U)
- #define EFM_FRMC_PREFETE (0x00040000UL)
- #define EFM_FRMC_CRST_POS (19U)
- #define EFM_FRMC_CRST (0x00080000UL)
- /* Bit definition for EFM_FWMC register */
- #define EFM_FWMC_PEMOD_POS (0U)
- #define EFM_FWMC_PEMOD (0x00000007UL)
- #define EFM_FWMC_BUSHLDCTL_POS (8U)
- #define EFM_FWMC_BUSHLDCTL (0x00000100UL)
- #define EFM_FWMC_KEY1LOCK_POS (16U)
- #define EFM_FWMC_KEY1LOCK (0x00010000UL)
- #define EFM_FWMC_KEY2LOCK_POS (17U)
- #define EFM_FWMC_KEY2LOCK (0x00020000UL)
- /* Bit definition for EFM_FSR register */
- #define EFM_FSR_OTPWERR_POS (0U)
- #define EFM_FSR_OTPWERR (0x00000001UL)
- #define EFM_FSR_PRTWERR_POS (1U)
- #define EFM_FSR_PRTWERR (0x00000002UL)
- #define EFM_FSR_PGSZERR_POS (2U)
- #define EFM_FSR_PGSZERR (0x00000004UL)
- #define EFM_FSR_MISMTCH_POS (3U)
- #define EFM_FSR_MISMTCH (0x00000008UL)
- #define EFM_FSR_OPTEND_POS (4U)
- #define EFM_FSR_OPTEND (0x00000010UL)
- #define EFM_FSR_COLERR_POS (5U)
- #define EFM_FSR_COLERR (0x00000020UL)
- #define EFM_FSR_RDY_POS (8U)
- #define EFM_FSR_RDY (0x00000100UL)
- /* Bit definition for EFM_FSCLR register */
- #define EFM_FSCLR_OTPWERRCLR_POS (0U)
- #define EFM_FSCLR_OTPWERRCLR (0x00000001UL)
- #define EFM_FSCLR_PRTWERRCLR_POS (1U)
- #define EFM_FSCLR_PRTWERRCLR (0x00000002UL)
- #define EFM_FSCLR_PGSZERRCLR_POS (2U)
- #define EFM_FSCLR_PGSZERRCLR (0x00000004UL)
- #define EFM_FSCLR_MISMTCHCLR_POS (3U)
- #define EFM_FSCLR_MISMTCHCLR (0x00000008UL)
- #define EFM_FSCLR_OPTENDCLR_POS (4U)
- #define EFM_FSCLR_OPTENDCLR (0x00000010UL)
- #define EFM_FSCLR_COLERRCLR_POS (5U)
- #define EFM_FSCLR_COLERRCLR (0x00000020UL)
- /* Bit definition for EFM_FITE register */
- #define EFM_FITE_PEERRITE_POS (0U)
- #define EFM_FITE_PEERRITE (0x00000001UL)
- #define EFM_FITE_OPTENDITE_POS (1U)
- #define EFM_FITE_OPTENDITE (0x00000002UL)
- #define EFM_FITE_COLERRITE_POS (2U)
- #define EFM_FITE_COLERRITE (0x00000004UL)
- /* Bit definition for EFM_FSWP register */
- #define EFM_FSWP_FSWP (0x00000001UL)
- /* Bit definition for EFM_CHIPID register */
- #define EFM_CHIPID (0xFFFFFFFFUL)
- /* Bit definition for EFM_UQID0 register */
- #define EFM_UQID0 (0xFFFFFFFFUL)
- /* Bit definition for EFM_UQID1 register */
- #define EFM_UQID1 (0xFFFFFFFFUL)
- /* Bit definition for EFM_UQID2 register */
- #define EFM_UQID2 (0xFFFFFFFFUL)
- /* Bit definition for EFM_MMF_REMPRT register */
- #define EFM_MMF_REMPRT_MMF_REMPRT (0x0000FFFFUL)
- /* Bit definition for EFM_MMF_REMCR register */
- #define EFM_MMF_REMCR_RMSIZE_POS (0U)
- #define EFM_MMF_REMCR_RMSIZE (0x0000001FUL)
- #define EFM_MMF_REMCR_RMTADDR_POS (12U)
- #define EFM_MMF_REMCR_RMTADDR (0x1FFFF000UL)
- #define EFM_MMF_REMCR_EN_POS (31U)
- #define EFM_MMF_REMCR_EN (0x80000000UL)
- /* Bit definition for EFM_MMF_REMCR1 register */
- #define EFM_MMF_REMCR1_RMSIZE_POS (0U)
- #define EFM_MMF_REMCR1_RMSIZE (0x0000001FUL)
- #define EFM_MMF_REMCR1_RMTADDR_POS (12U)
- #define EFM_MMF_REMCR1_RMTADDR (0x1FFFF000UL)
- #define EFM_MMF_REMCR1_EN_POS (31U)
- #define EFM_MMF_REMCR1_EN (0x80000000UL)
- /* Bit definition for EFM_WLOCK register */
- #define EFM_WLOCK_WLOCK0 (0x00000001UL)
- /* Bit definition for EFM_F0NWPRT register */
- #define EFM_F0NWPRT_F0NWPRT0_POS (0U)
- #define EFM_F0NWPRT_F0NWPRT0 (0x00000001UL)
- #define EFM_F0NWPRT_F0NWPRT1_POS (1U)
- #define EFM_F0NWPRT_F0NWPRT1 (0x00000002UL)
- #define EFM_F0NWPRT_F0NWPRT2_POS (2U)
- #define EFM_F0NWPRT_F0NWPRT2 (0x00000004UL)
- #define EFM_F0NWPRT_F0NWPRT3_POS (3U)
- #define EFM_F0NWPRT_F0NWPRT3 (0x00000008UL)
- #define EFM_F0NWPRT_F0NWPRT4_POS (4U)
- #define EFM_F0NWPRT_F0NWPRT4 (0x00000010UL)
- #define EFM_F0NWPRT_F0NWPRT5_POS (5U)
- #define EFM_F0NWPRT_F0NWPRT5 (0x00000020UL)
- #define EFM_F0NWPRT_F0NWPRT6_POS (6U)
- #define EFM_F0NWPRT_F0NWPRT6 (0x00000040UL)
- #define EFM_F0NWPRT_F0NWPRT7_POS (7U)
- #define EFM_F0NWPRT_F0NWPRT7 (0x00000080UL)
- #define EFM_F0NWPRT_F0NWPRT8_POS (8U)
- #define EFM_F0NWPRT_F0NWPRT8 (0x00000100UL)
- #define EFM_F0NWPRT_F0NWPRT9_POS (9U)
- #define EFM_F0NWPRT_F0NWPRT9 (0x00000200UL)
- #define EFM_F0NWPRT_F0NWPRT10_POS (10U)
- #define EFM_F0NWPRT_F0NWPRT10 (0x00000400UL)
- #define EFM_F0NWPRT_F0NWPRT11_POS (11U)
- #define EFM_F0NWPRT_F0NWPRT11 (0x00000800UL)
- #define EFM_F0NWPRT_F0NWPRT12_POS (12U)
- #define EFM_F0NWPRT_F0NWPRT12 (0x00001000UL)
- #define EFM_F0NWPRT_F0NWPRT13_POS (13U)
- #define EFM_F0NWPRT_F0NWPRT13 (0x00002000UL)
- #define EFM_F0NWPRT_F0NWPRT14_POS (14U)
- #define EFM_F0NWPRT_F0NWPRT14 (0x00004000UL)
- #define EFM_F0NWPRT_F0NWPRT15_POS (15U)
- #define EFM_F0NWPRT_F0NWPRT15 (0x00008000UL)
- #define EFM_F0NWPRT_F0NWPRT16_POS (16U)
- #define EFM_F0NWPRT_F0NWPRT16 (0x00010000UL)
- #define EFM_F0NWPRT_F0NWPRT17_POS (17U)
- #define EFM_F0NWPRT_F0NWPRT17 (0x00020000UL)
- #define EFM_F0NWPRT_F0NWPRT18_POS (18U)
- #define EFM_F0NWPRT_F0NWPRT18 (0x00040000UL)
- #define EFM_F0NWPRT_F0NWPRT19_POS (19U)
- #define EFM_F0NWPRT_F0NWPRT19 (0x00080000UL)
- #define EFM_F0NWPRT_F0NWPRT20_POS (20U)
- #define EFM_F0NWPRT_F0NWPRT20 (0x00100000UL)
- #define EFM_F0NWPRT_F0NWPRT21_POS (21U)
- #define EFM_F0NWPRT_F0NWPRT21 (0x00200000UL)
- #define EFM_F0NWPRT_F0NWPRT22_POS (22U)
- #define EFM_F0NWPRT_F0NWPRT22 (0x00400000UL)
- #define EFM_F0NWPRT_F0NWPRT23_POS (23U)
- #define EFM_F0NWPRT_F0NWPRT23 (0x00800000UL)
- #define EFM_F0NWPRT_F0NWPRT24_POS (24U)
- #define EFM_F0NWPRT_F0NWPRT24 (0x01000000UL)
- #define EFM_F0NWPRT_F0NWPRT25_POS (25U)
- #define EFM_F0NWPRT_F0NWPRT25 (0x02000000UL)
- #define EFM_F0NWPRT_F0NWPRT26_POS (26U)
- #define EFM_F0NWPRT_F0NWPRT26 (0x04000000UL)
- #define EFM_F0NWPRT_F0NWPRT27_POS (27U)
- #define EFM_F0NWPRT_F0NWPRT27 (0x08000000UL)
- #define EFM_F0NWPRT_F0NWPRT28_POS (28U)
- #define EFM_F0NWPRT_F0NWPRT28 (0x10000000UL)
- #define EFM_F0NWPRT_F0NWPRT29_POS (29U)
- #define EFM_F0NWPRT_F0NWPRT29 (0x20000000UL)
- #define EFM_F0NWPRT_F0NWPRT30_POS (30U)
- #define EFM_F0NWPRT_F0NWPRT30 (0x40000000UL)
- #define EFM_F0NWPRT_F0NWPRT31_POS (31U)
- #define EFM_F0NWPRT_F0NWPRT31 (0x80000000UL)
- /*******************************************************************************
- Bit definition for Peripheral EMB
- *******************************************************************************/
- /* Bit definition for EMB_CTL1 register */
- #define EMB_CTL1_CMPEN0_POS (0U)
- #define EMB_CTL1_CMPEN0 (0x00000001UL)
- #define EMB_CTL1_CMPEN1_POS (1U)
- #define EMB_CTL1_CMPEN1 (0x00000002UL)
- #define EMB_CTL1_CMPEN2_POS (2U)
- #define EMB_CTL1_CMPEN2 (0x00000004UL)
- #define EMB_CTL1_CMPEN3_POS (3U)
- #define EMB_CTL1_CMPEN3 (0x00000008UL)
- #define EMB_CTL1_SYSEN_POS (4U)
- #define EMB_CTL1_SYSEN (0x00000010UL)
- #define EMB_CTL1_PWMSEN0_POS (5U)
- #define EMB_CTL1_PWMSEN0 (0x00000020UL)
- #define EMB_CTL1_PWMSEN1_POS (6U)
- #define EMB_CTL1_PWMSEN1 (0x00000040UL)
- #define EMB_CTL1_PWMSEN2_POS (7U)
- #define EMB_CTL1_PWMSEN2 (0x00000080UL)
- #define EMB_CTL1_PWMSEN3_POS (8U)
- #define EMB_CTL1_PWMSEN3 (0x00000100UL)
- #define EMB_CTL1_PORTINEN1_POS (16U)
- #define EMB_CTL1_PORTINEN1 (0x00010000UL)
- #define EMB_CTL1_PORTINEN2_POS (17U)
- #define EMB_CTL1_PORTINEN2 (0x00020000UL)
- #define EMB_CTL1_PORTINEN3_POS (18U)
- #define EMB_CTL1_PORTINEN3 (0x00040000UL)
- #define EMB_CTL1_PORTINEN4_POS (19U)
- #define EMB_CTL1_PORTINEN4 (0x00080000UL)
- #define EMB_CTL1_INVSEL1_POS (22U)
- #define EMB_CTL1_INVSEL1 (0x00400000UL)
- #define EMB_CTL1_INVSEL2_POS (23U)
- #define EMB_CTL1_INVSEL2 (0x00800000UL)
- #define EMB_CTL1_INVSEL3_POS (24U)
- #define EMB_CTL1_INVSEL3 (0x01000000UL)
- #define EMB_CTL1_INVSEL4_POS (25U)
- #define EMB_CTL1_INVSEL4 (0x02000000UL)
- #define EMB_CTL1_OSCSTPEN_POS (27U)
- #define EMB_CTL1_OSCSTPEN (0x08000000UL)
- #define EMB_CTL1_SRAMERREN_POS (28U)
- #define EMB_CTL1_SRAMERREN (0x10000000UL)
- #define EMB_CTL1_SRAMPYERREN_POS (29U)
- #define EMB_CTL1_SRAMPYERREN (0x20000000UL)
- #define EMB_CTL1_LOCKUPEN_POS (30U)
- #define EMB_CTL1_LOCKUPEN (0x40000000UL)
- #define EMB_CTL1_PVDEN_POS (31U)
- #define EMB_CTL1_PVDEN (0x80000000UL)
- /* Bit definition for EMB_CTL2 register */
- #define EMB_CTL2_PWMLV0_POS (0U)
- #define EMB_CTL2_PWMLV0 (0x00000001UL)
- #define EMB_CTL2_PWMLV1_POS (1U)
- #define EMB_CTL2_PWMLV1 (0x00000002UL)
- #define EMB_CTL2_PWMLV2_POS (2U)
- #define EMB_CTL2_PWMLV2 (0x00000004UL)
- #define EMB_CTL2_PWMLV3_POS (3U)
- #define EMB_CTL2_PWMLV3 (0x00000008UL)
- #define EMB_CTL2_NFSEL1_POS (16U)
- #define EMB_CTL2_NFSEL1 (0x00030000UL)
- #define EMB_CTL2_NFEN1_POS (18U)
- #define EMB_CTL2_NFEN1 (0x00040000UL)
- #define EMB_CTL2_NFSEL2_POS (19U)
- #define EMB_CTL2_NFSEL2 (0x00180000UL)
- #define EMB_CTL2_NFEN2_POS (21U)
- #define EMB_CTL2_NFEN2 (0x00200000UL)
- #define EMB_CTL2_NFSEL3_POS (22U)
- #define EMB_CTL2_NFSEL3 (0x00C00000UL)
- #define EMB_CTL2_NFEN3_POS (24U)
- #define EMB_CTL2_NFEN3 (0x01000000UL)
- #define EMB_CTL2_NFSEL4_POS (25U)
- #define EMB_CTL2_NFSEL4 (0x06000000UL)
- #define EMB_CTL2_NFEN4_POS (27U)
- #define EMB_CTL2_NFEN4 (0x08000000UL)
- /* Bit definition for EMB_SOE register */
- #define EMB_SOE_SOE (0x00000001UL)
- /* Bit definition for EMB_STAT register */
- #define EMB_STAT_PWMSF_POS (1U)
- #define EMB_STAT_PWMSF (0x00000002UL)
- #define EMB_STAT_CMPF_POS (2U)
- #define EMB_STAT_CMPF (0x00000004UL)
- #define EMB_STAT_SYSF_POS (3U)
- #define EMB_STAT_SYSF (0x00000008UL)
- #define EMB_STAT_PWMST_POS (5U)
- #define EMB_STAT_PWMST (0x00000020UL)
- #define EMB_STAT_CMPST_POS (6U)
- #define EMB_STAT_CMPST (0x00000040UL)
- #define EMB_STAT_SYSST_POS (7U)
- #define EMB_STAT_SYSST (0x00000080UL)
- #define EMB_STAT_PORTINF1_POS (8U)
- #define EMB_STAT_PORTINF1 (0x00000100UL)
- #define EMB_STAT_PORTINF2_POS (9U)
- #define EMB_STAT_PORTINF2 (0x00000200UL)
- #define EMB_STAT_PORTINF3_POS (10U)
- #define EMB_STAT_PORTINF3 (0x00000400UL)
- #define EMB_STAT_PORTINF4_POS (11U)
- #define EMB_STAT_PORTINF4 (0x00000800UL)
- #define EMB_STAT_PORTINST1_POS (14U)
- #define EMB_STAT_PORTINST1 (0x00004000UL)
- #define EMB_STAT_PORTINST2_POS (15U)
- #define EMB_STAT_PORTINST2 (0x00008000UL)
- #define EMB_STAT_PORTINST3_POS (16U)
- #define EMB_STAT_PORTINST3 (0x00010000UL)
- #define EMB_STAT_PORTINST4_POS (17U)
- #define EMB_STAT_PORTINST4 (0x00020000UL)
- /* Bit definition for EMB_STATCLR register */
- #define EMB_STATCLR_PWMSFCLR_POS (1U)
- #define EMB_STATCLR_PWMSFCLR (0x00000002UL)
- #define EMB_STATCLR_CMPFCLR_POS (2U)
- #define EMB_STATCLR_CMPFCLR (0x00000004UL)
- #define EMB_STATCLR_SYSFCLR_POS (3U)
- #define EMB_STATCLR_SYSFCLR (0x00000008UL)
- #define EMB_STATCLR_PORTINFCLR1_POS (8U)
- #define EMB_STATCLR_PORTINFCLR1 (0x00000100UL)
- #define EMB_STATCLR_PORTINFCLR2_POS (9U)
- #define EMB_STATCLR_PORTINFCLR2 (0x00000200UL)
- #define EMB_STATCLR_PORTINFCLR3_POS (10U)
- #define EMB_STATCLR_PORTINFCLR3 (0x00000400UL)
- #define EMB_STATCLR_PORTINFCLR4_POS (11U)
- #define EMB_STATCLR_PORTINFCLR4 (0x00000800UL)
- /* Bit definition for EMB_INTEN register */
- #define EMB_INTEN_PWMSINTEN_POS (1U)
- #define EMB_INTEN_PWMSINTEN (0x00000002UL)
- #define EMB_INTEN_CMPINTEN_POS (2U)
- #define EMB_INTEN_CMPINTEN (0x00000004UL)
- #define EMB_INTEN_SYSINTEN_POS (3U)
- #define EMB_INTEN_SYSINTEN (0x00000008UL)
- #define EMB_INTEN_PORTININTEN1_POS (8U)
- #define EMB_INTEN_PORTININTEN1 (0x00000100UL)
- #define EMB_INTEN_PORTININTEN2_POS (9U)
- #define EMB_INTEN_PORTININTEN2 (0x00000200UL)
- #define EMB_INTEN_PORTININTEN3_POS (10U)
- #define EMB_INTEN_PORTININTEN3 (0x00000400UL)
- #define EMB_INTEN_PORTININTEN4_POS (11U)
- #define EMB_INTEN_PORTININTEN4 (0x00000800UL)
- /* Bit definition for EMB_RLSSEL register */
- #define EMB_RLSSEL_PWMRSEL_POS (1U)
- #define EMB_RLSSEL_PWMRSEL (0x00000002UL)
- #define EMB_RLSSEL_CMPRSEL_POS (2U)
- #define EMB_RLSSEL_CMPRSEL (0x00000004UL)
- #define EMB_RLSSEL_SYSRSEL_POS (3U)
- #define EMB_RLSSEL_SYSRSEL (0x00000008UL)
- #define EMB_RLSSEL_PORTINRSEL1_POS (8U)
- #define EMB_RLSSEL_PORTINRSEL1 (0x00000100UL)
- #define EMB_RLSSEL_PORTINRSEL2_POS (9U)
- #define EMB_RLSSEL_PORTINRSEL2 (0x00000200UL)
- #define EMB_RLSSEL_PORTINRSEL3_POS (10U)
- #define EMB_RLSSEL_PORTINRSEL3 (0x00000400UL)
- #define EMB_RLSSEL_PORTINRSEL4_POS (11U)
- #define EMB_RLSSEL_PORTINRSEL4 (0x00000800UL)
- /*******************************************************************************
- Bit definition for Peripheral FCM
- *******************************************************************************/
- /* Bit definition for FCM_LVR register */
- #define FCM_LVR_LVR (0x0000FFFFUL)
- /* Bit definition for FCM_UVR register */
- #define FCM_UVR_UVR (0x0000FFFFUL)
- /* Bit definition for FCM_CNTR register */
- #define FCM_CNTR_CNTR (0x0000FFFFUL)
- /* Bit definition for FCM_STR register */
- #define FCM_STR_START (0x00000001UL)
- /* Bit definition for FCM_MCCR register */
- #define FCM_MCCR_MDIVS_POS (0U)
- #define FCM_MCCR_MDIVS (0x00000003UL)
- #define FCM_MCCR_MDIVS_0 (0x00000001UL)
- #define FCM_MCCR_MDIVS_1 (0x00000002UL)
- #define FCM_MCCR_MCKS_POS (4U)
- #define FCM_MCCR_MCKS (0x000000F0UL)
- /* Bit definition for FCM_RCCR register */
- #define FCM_RCCR_RDIVS_POS (0U)
- #define FCM_RCCR_RDIVS (0x00000003UL)
- #define FCM_RCCR_RDIVS_0 (0x00000001UL)
- #define FCM_RCCR_RDIVS_1 (0x00000002UL)
- #define FCM_RCCR_RCKS_POS (3U)
- #define FCM_RCCR_RCKS (0x00000078UL)
- #define FCM_RCCR_INEXS_POS (7U)
- #define FCM_RCCR_INEXS (0x00000080UL)
- #define FCM_RCCR_DNFS_POS (8U)
- #define FCM_RCCR_DNFS (0x00000300UL)
- #define FCM_RCCR_DNFS_0 (0x00000100UL)
- #define FCM_RCCR_DNFS_1 (0x00000200UL)
- #define FCM_RCCR_EDGES_POS (12U)
- #define FCM_RCCR_EDGES (0x00003000UL)
- #define FCM_RCCR_EDGES_0 (0x00001000UL)
- #define FCM_RCCR_EDGES_1 (0x00002000UL)
- #define FCM_RCCR_EXREFE_POS (15U)
- #define FCM_RCCR_EXREFE (0x00008000UL)
- /* Bit definition for FCM_RIER register */
- #define FCM_RIER_ERRIE_POS (0U)
- #define FCM_RIER_ERRIE (0x00000001UL)
- #define FCM_RIER_MENDIE_POS (1U)
- #define FCM_RIER_MENDIE (0x00000002UL)
- #define FCM_RIER_OVFIE_POS (2U)
- #define FCM_RIER_OVFIE (0x00000004UL)
- #define FCM_RIER_ERRINTRS_POS (4U)
- #define FCM_RIER_ERRINTRS (0x00000010UL)
- #define FCM_RIER_ERRE_POS (7U)
- #define FCM_RIER_ERRE (0x00000080UL)
- /* Bit definition for FCM_SR register */
- #define FCM_SR_ERRF_POS (0U)
- #define FCM_SR_ERRF (0x00000001UL)
- #define FCM_SR_MENDF_POS (1U)
- #define FCM_SR_MENDF (0x00000002UL)
- #define FCM_SR_OVF_POS (2U)
- #define FCM_SR_OVF (0x00000004UL)
- /* Bit definition for FCM_CLR register */
- #define FCM_CLR_ERRFCLR_POS (0U)
- #define FCM_CLR_ERRFCLR (0x00000001UL)
- #define FCM_CLR_MENDFCLR_POS (1U)
- #define FCM_CLR_MENDFCLR (0x00000002UL)
- #define FCM_CLR_OVFCLR_POS (2U)
- #define FCM_CLR_OVFCLR (0x00000004UL)
- /*******************************************************************************
- Bit definition for Peripheral GPIO
- *******************************************************************************/
- /* Bit definition for GPIO_PIDR register */
- #define GPIO_PIDR_PIN00_POS (0U)
- #define GPIO_PIDR_PIN00 (0x0001U)
- #define GPIO_PIDR_PIN01_POS (1U)
- #define GPIO_PIDR_PIN01 (0x0002U)
- #define GPIO_PIDR_PIN02_POS (2U)
- #define GPIO_PIDR_PIN02 (0x0004U)
- #define GPIO_PIDR_PIN03_POS (3U)
- #define GPIO_PIDR_PIN03 (0x0008U)
- #define GPIO_PIDR_PIN04_POS (4U)
- #define GPIO_PIDR_PIN04 (0x0010U)
- #define GPIO_PIDR_PIN05_POS (5U)
- #define GPIO_PIDR_PIN05 (0x0020U)
- #define GPIO_PIDR_PIN06_POS (6U)
- #define GPIO_PIDR_PIN06 (0x0040U)
- #define GPIO_PIDR_PIN07_POS (7U)
- #define GPIO_PIDR_PIN07 (0x0080U)
- #define GPIO_PIDR_PIN08_POS (8U)
- #define GPIO_PIDR_PIN08 (0x0100U)
- #define GPIO_PIDR_PIN09_POS (9U)
- #define GPIO_PIDR_PIN09 (0x0200U)
- #define GPIO_PIDR_PIN10_POS (10U)
- #define GPIO_PIDR_PIN10 (0x0400U)
- #define GPIO_PIDR_PIN11_POS (11U)
- #define GPIO_PIDR_PIN11 (0x0800U)
- #define GPIO_PIDR_PIN12_POS (12U)
- #define GPIO_PIDR_PIN12 (0x1000U)
- #define GPIO_PIDR_PIN13_POS (13U)
- #define GPIO_PIDR_PIN13 (0x2000U)
- #define GPIO_PIDR_PIN14_POS (14U)
- #define GPIO_PIDR_PIN14 (0x4000U)
- #define GPIO_PIDR_PIN15_POS (15U)
- #define GPIO_PIDR_PIN15 (0x8000U)
- /* Bit definition for GPIO_PODR register */
- #define GPIO_PODR_POUT00_POS (0U)
- #define GPIO_PODR_POUT00 (0x0001U)
- #define GPIO_PODR_POUT01_POS (1U)
- #define GPIO_PODR_POUT01 (0x0002U)
- #define GPIO_PODR_POUT02_POS (2U)
- #define GPIO_PODR_POUT02 (0x0004U)
- #define GPIO_PODR_POUT03_POS (3U)
- #define GPIO_PODR_POUT03 (0x0008U)
- #define GPIO_PODR_POUT04_POS (4U)
- #define GPIO_PODR_POUT04 (0x0010U)
- #define GPIO_PODR_POUT05_POS (5U)
- #define GPIO_PODR_POUT05 (0x0020U)
- #define GPIO_PODR_POUT06_POS (6U)
- #define GPIO_PODR_POUT06 (0x0040U)
- #define GPIO_PODR_POUT07_POS (7U)
- #define GPIO_PODR_POUT07 (0x0080U)
- #define GPIO_PODR_POUT08_POS (8U)
- #define GPIO_PODR_POUT08 (0x0100U)
- #define GPIO_PODR_POUT09_POS (9U)
- #define GPIO_PODR_POUT09 (0x0200U)
- #define GPIO_PODR_POUT10_POS (10U)
- #define GPIO_PODR_POUT10 (0x0400U)
- #define GPIO_PODR_POUT11_POS (11U)
- #define GPIO_PODR_POUT11 (0x0800U)
- #define GPIO_PODR_POUT12_POS (12U)
- #define GPIO_PODR_POUT12 (0x1000U)
- #define GPIO_PODR_POUT13_POS (13U)
- #define GPIO_PODR_POUT13 (0x2000U)
- #define GPIO_PODR_POUT14_POS (14U)
- #define GPIO_PODR_POUT14 (0x4000U)
- #define GPIO_PODR_POUT15_POS (15U)
- #define GPIO_PODR_POUT15 (0x8000U)
- /* Bit definition for GPIO_POER register */
- #define GPIO_POER_POUTE00_POS (0U)
- #define GPIO_POER_POUTE00 (0x0001U)
- #define GPIO_POER_POUTE01_POS (1U)
- #define GPIO_POER_POUTE01 (0x0002U)
- #define GPIO_POER_POUTE02_POS (2U)
- #define GPIO_POER_POUTE02 (0x0004U)
- #define GPIO_POER_POUTE03_POS (3U)
- #define GPIO_POER_POUTE03 (0x0008U)
- #define GPIO_POER_POUTE04_POS (4U)
- #define GPIO_POER_POUTE04 (0x0010U)
- #define GPIO_POER_POUTE05_POS (5U)
- #define GPIO_POER_POUTE05 (0x0020U)
- #define GPIO_POER_POUTE06_POS (6U)
- #define GPIO_POER_POUTE06 (0x0040U)
- #define GPIO_POER_POUTE07_POS (7U)
- #define GPIO_POER_POUTE07 (0x0080U)
- #define GPIO_POER_POUTE08_POS (8U)
- #define GPIO_POER_POUTE08 (0x0100U)
- #define GPIO_POER_POUTE09_POS (9U)
- #define GPIO_POER_POUTE09 (0x0200U)
- #define GPIO_POER_POUTE10_POS (10U)
- #define GPIO_POER_POUTE10 (0x0400U)
- #define GPIO_POER_POUTE11_POS (11U)
- #define GPIO_POER_POUTE11 (0x0800U)
- #define GPIO_POER_POUTE12_POS (12U)
- #define GPIO_POER_POUTE12 (0x1000U)
- #define GPIO_POER_POUTE13_POS (13U)
- #define GPIO_POER_POUTE13 (0x2000U)
- #define GPIO_POER_POUTE14_POS (14U)
- #define GPIO_POER_POUTE14 (0x4000U)
- #define GPIO_POER_POUTE15_POS (15U)
- #define GPIO_POER_POUTE15 (0x8000U)
- /* Bit definition for GPIO_POSR register */
- #define GPIO_POSR_POS00_POS (0U)
- #define GPIO_POSR_POS00 (0x0001U)
- #define GPIO_POSR_POS01_POS (1U)
- #define GPIO_POSR_POS01 (0x0002U)
- #define GPIO_POSR_POS02_POS (2U)
- #define GPIO_POSR_POS02 (0x0004U)
- #define GPIO_POSR_POS03_POS (3U)
- #define GPIO_POSR_POS03 (0x0008U)
- #define GPIO_POSR_POS04_POS (4U)
- #define GPIO_POSR_POS04 (0x0010U)
- #define GPIO_POSR_POS05_POS (5U)
- #define GPIO_POSR_POS05 (0x0020U)
- #define GPIO_POSR_POS06_POS (6U)
- #define GPIO_POSR_POS06 (0x0040U)
- #define GPIO_POSR_POS07_POS (7U)
- #define GPIO_POSR_POS07 (0x0080U)
- #define GPIO_POSR_POS08_POS (8U)
- #define GPIO_POSR_POS08 (0x0100U)
- #define GPIO_POSR_POS09_POS (9U)
- #define GPIO_POSR_POS09 (0x0200U)
- #define GPIO_POSR_POS10_POS (10U)
- #define GPIO_POSR_POS10 (0x0400U)
- #define GPIO_POSR_POS11_POS (11U)
- #define GPIO_POSR_POS11 (0x0800U)
- #define GPIO_POSR_POS12_POS (12U)
- #define GPIO_POSR_POS12 (0x1000U)
- #define GPIO_POSR_POS13_POS (13U)
- #define GPIO_POSR_POS13 (0x2000U)
- #define GPIO_POSR_POS14_POS (14U)
- #define GPIO_POSR_POS14 (0x4000U)
- #define GPIO_POSR_POS15_POS (15U)
- #define GPIO_POSR_POS15 (0x8000U)
- /* Bit definition for GPIO_PORR register */
- #define GPIO_PORR_POR00_POS (0U)
- #define GPIO_PORR_POR00 (0x0001U)
- #define GPIO_PORR_POR01_POS (1U)
- #define GPIO_PORR_POR01 (0x0002U)
- #define GPIO_PORR_POR02_POS (2U)
- #define GPIO_PORR_POR02 (0x0004U)
- #define GPIO_PORR_POR03_POS (3U)
- #define GPIO_PORR_POR03 (0x0008U)
- #define GPIO_PORR_POR04_POS (4U)
- #define GPIO_PORR_POR04 (0x0010U)
- #define GPIO_PORR_POR05_POS (5U)
- #define GPIO_PORR_POR05 (0x0020U)
- #define GPIO_PORR_POR06_POS (6U)
- #define GPIO_PORR_POR06 (0x0040U)
- #define GPIO_PORR_POR07_POS (7U)
- #define GPIO_PORR_POR07 (0x0080U)
- #define GPIO_PORR_POR08_POS (8U)
- #define GPIO_PORR_POR08 (0x0100U)
- #define GPIO_PORR_POR09_POS (9U)
- #define GPIO_PORR_POR09 (0x0200U)
- #define GPIO_PORR_POR10_POS (10U)
- #define GPIO_PORR_POR10 (0x0400U)
- #define GPIO_PORR_POR11_POS (11U)
- #define GPIO_PORR_POR11 (0x0800U)
- #define GPIO_PORR_POR12_POS (12U)
- #define GPIO_PORR_POR12 (0x1000U)
- #define GPIO_PORR_POR13_POS (13U)
- #define GPIO_PORR_POR13 (0x2000U)
- #define GPIO_PORR_POR14_POS (14U)
- #define GPIO_PORR_POR14 (0x4000U)
- #define GPIO_PORR_POR15_POS (15U)
- #define GPIO_PORR_POR15 (0x8000U)
- /* Bit definition for GPIO_POTR register */
- #define GPIO_POTR_POT00_POS (0U)
- #define GPIO_POTR_POT00 (0x0001U)
- #define GPIO_POTR_POT01_POS (1U)
- #define GPIO_POTR_POT01 (0x0002U)
- #define GPIO_POTR_POT02_POS (2U)
- #define GPIO_POTR_POT02 (0x0004U)
- #define GPIO_POTR_POT03_POS (3U)
- #define GPIO_POTR_POT03 (0x0008U)
- #define GPIO_POTR_POT04_POS (4U)
- #define GPIO_POTR_POT04 (0x0010U)
- #define GPIO_POTR_POT05_POS (5U)
- #define GPIO_POTR_POT05 (0x0020U)
- #define GPIO_POTR_POT06_POS (6U)
- #define GPIO_POTR_POT06 (0x0040U)
- #define GPIO_POTR_POT07_POS (7U)
- #define GPIO_POTR_POT07 (0x0080U)
- #define GPIO_POTR_POT08_POS (8U)
- #define GPIO_POTR_POT08 (0x0100U)
- #define GPIO_POTR_POT09_POS (9U)
- #define GPIO_POTR_POT09 (0x0200U)
- #define GPIO_POTR_POT10_POS (10U)
- #define GPIO_POTR_POT10 (0x0400U)
- #define GPIO_POTR_POT11_POS (11U)
- #define GPIO_POTR_POT11 (0x0800U)
- #define GPIO_POTR_POT12_POS (12U)
- #define GPIO_POTR_POT12 (0x1000U)
- #define GPIO_POTR_POT13_POS (13U)
- #define GPIO_POTR_POT13 (0x2000U)
- #define GPIO_POTR_POT14_POS (14U)
- #define GPIO_POTR_POT14 (0x4000U)
- #define GPIO_POTR_POT15_POS (15U)
- #define GPIO_POTR_POT15 (0x8000U)
- /* Bit definition for GPIO_PSPCR register */
- #define GPIO_PSPCR_SPFE (0x001FU)
- #define GPIO_PSPCR_SPFE_0 (0x0001U)
- #define GPIO_PSPCR_SPFE_1 (0x0002U)
- #define GPIO_PSPCR_SPFE_2 (0x0004U)
- #define GPIO_PSPCR_SPFE_3 (0x0008U)
- #define GPIO_PSPCR_SPFE_4 (0x0010U)
- /* Bit definition for GPIO_PCCR register */
- #define GPIO_PCCR_BFSEL_POS (0U)
- #define GPIO_PCCR_BFSEL (0x003FU)
- #define GPIO_PCCR_BFSEL_0 (0x0001U)
- #define GPIO_PCCR_BFSEL_1 (0x0002U)
- #define GPIO_PCCR_BFSEL_2 (0x0004U)
- #define GPIO_PCCR_BFSEL_3 (0x0008U)
- #define GPIO_PCCR_BFSEL_4 (0x0010U)
- #define GPIO_PCCR_BFSEL_5 (0x0020U)
- #define GPIO_PCCR_RDWT_POS (12U)
- #define GPIO_PCCR_RDWT (0x7000U)
- #define GPIO_PCCR_RDWT_0 (0x1000U)
- #define GPIO_PCCR_RDWT_1 (0x2000U)
- #define GPIO_PCCR_RDWT_2 (0x4000U)
- /* Bit definition for GPIO_PWPR register */
- #define GPIO_PWPR_WE_POS (0U)
- #define GPIO_PWPR_WE (0x0001U)
- #define GPIO_PWPR_WP_POS (8U)
- #define GPIO_PWPR_WP (0xFF00U)
- #define GPIO_PWPR_WP_0 (0x0100U)
- #define GPIO_PWPR_WP_1 (0x0200U)
- #define GPIO_PWPR_WP_2 (0x0400U)
- #define GPIO_PWPR_WP_3 (0x0800U)
- #define GPIO_PWPR_WP_4 (0x1000U)
- #define GPIO_PWPR_WP_5 (0x2000U)
- #define GPIO_PWPR_WP_6 (0x4000U)
- #define GPIO_PWPR_WP_7 (0x8000U)
- /* Bit definition for GPIO_PCR register */
- #define GPIO_PCR_POUT_POS (0U)
- #define GPIO_PCR_POUT (0x0001U)
- #define GPIO_PCR_POUTE_POS (1U)
- #define GPIO_PCR_POUTE (0x0002U)
- #define GPIO_PCR_NOD_POS (2U)
- #define GPIO_PCR_NOD (0x0004U)
- #define GPIO_PCR_DRV_POS (4U)
- #define GPIO_PCR_DRV (0x0030U)
- #define GPIO_PCR_DRV_0 (0x0010U)
- #define GPIO_PCR_DRV_1 (0x0020U)
- #define GPIO_PCR_PUU_POS (6U)
- #define GPIO_PCR_PUU (0x0040U)
- #define GPIO_PCR_PUD_POS (7U)
- #define GPIO_PCR_PUD (0x0080U)
- #define GPIO_PCR_PIN_POS (8U)
- #define GPIO_PCR_PIN (0x0100U)
- #define GPIO_PCR_INVE_POS (9U)
- #define GPIO_PCR_INVE (0x0200U)
- #define GPIO_PCR_CINSEL_POS (10U)
- #define GPIO_PCR_CINSEL (0x0400U)
- #define GPIO_PCR_INTE_POS (12U)
- #define GPIO_PCR_INTE (0x1000U)
- #define GPIO_PCR_PINAE_POS (13U)
- #define GPIO_PCR_PINAE (0x2000U)
- #define GPIO_PCR_LTE_POS (14U)
- #define GPIO_PCR_LTE (0x4000U)
- #define GPIO_PCR_DDIS_POS (15U)
- #define GPIO_PCR_DDIS (0x8000U)
- /* Bit definition for GPIO_PFSR register */
- #define GPIO_PFSR_FSEL_POS (0U)
- #define GPIO_PFSR_FSEL (0x003FU)
- #define GPIO_PFSR_FSEL_0 (0x0001U)
- #define GPIO_PFSR_FSEL_1 (0x0002U)
- #define GPIO_PFSR_FSEL_2 (0x0004U)
- #define GPIO_PFSR_FSEL_3 (0x0008U)
- #define GPIO_PFSR_FSEL_4 (0x0010U)
- #define GPIO_PFSR_FSEL_5 (0x0020U)
- #define GPIO_PFSR_BFE_POS (8U)
- #define GPIO_PFSR_BFE (0x0100U)
- /*******************************************************************************
- Bit definition for Peripheral HASH
- *******************************************************************************/
- /* Bit definition for HASH_CR register */
- #define HASH_CR_START_POS (0U)
- #define HASH_CR_START (0x00000001UL)
- #define HASH_CR_FST_GRP_POS (1U)
- #define HASH_CR_FST_GRP (0x00000002UL)
- /* Bit definition for HASH_HR7 register */
- #define HASH_HR7 (0xFFFFFFFFUL)
- /* Bit definition for HASH_HR6 register */
- #define HASH_HR6 (0xFFFFFFFFUL)
- /* Bit definition for HASH_HR5 register */
- #define HASH_HR5 (0xFFFFFFFFUL)
- /* Bit definition for HASH_HR4 register */
- #define HASH_HR4 (0xFFFFFFFFUL)
- /* Bit definition for HASH_HR3 register */
- #define HASH_HR3 (0xFFFFFFFFUL)
- /* Bit definition for HASH_HR2 register */
- #define HASH_HR2 (0xFFFFFFFFUL)
- /* Bit definition for HASH_HR1 register */
- #define HASH_HR1 (0xFFFFFFFFUL)
- /* Bit definition for HASH_HR0 register */
- #define HASH_HR0 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR15 register */
- #define HASH_DR15 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR14 register */
- #define HASH_DR14 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR13 register */
- #define HASH_DR13 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR12 register */
- #define HASH_DR12 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR11 register */
- #define HASH_DR11 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR10 register */
- #define HASH_DR10 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR9 register */
- #define HASH_DR9 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR8 register */
- #define HASH_DR8 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR7 register */
- #define HASH_DR7 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR6 register */
- #define HASH_DR6 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR5 register */
- #define HASH_DR5 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR4 register */
- #define HASH_DR4 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR3 register */
- #define HASH_DR3 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR2 register */
- #define HASH_DR2 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR1 register */
- #define HASH_DR1 (0xFFFFFFFFUL)
- /* Bit definition for HASH_DR0 register */
- #define HASH_DR0 (0xFFFFFFFFUL)
- /*******************************************************************************
- Bit definition for Peripheral I2C
- *******************************************************************************/
- /* Bit definition for I2C_CR1 register */
- #define I2C_CR1_PE_POS (0U)
- #define I2C_CR1_PE (0x00000001UL)
- #define I2C_CR1_SMBUS_POS (1U)
- #define I2C_CR1_SMBUS (0x00000002UL)
- #define I2C_CR1_SMBALRTEN_POS (2U)
- #define I2C_CR1_SMBALRTEN (0x00000004UL)
- #define I2C_CR1_SMBDEFAULTEN_POS (3U)
- #define I2C_CR1_SMBDEFAULTEN (0x00000008UL)
- #define I2C_CR1_SMBHOSTEN_POS (4U)
- #define I2C_CR1_SMBHOSTEN (0x00000010UL)
- #define I2C_CR1_ENGC_POS (6U)
- #define I2C_CR1_ENGC (0x00000040UL)
- #define I2C_CR1_RESTART_POS (7U)
- #define I2C_CR1_RESTART (0x00000080UL)
- #define I2C_CR1_START_POS (8U)
- #define I2C_CR1_START (0x00000100UL)
- #define I2C_CR1_STOP_POS (9U)
- #define I2C_CR1_STOP (0x00000200UL)
- #define I2C_CR1_ACK_POS (10U)
- #define I2C_CR1_ACK (0x00000400UL)
- #define I2C_CR1_SWRST_POS (15U)
- #define I2C_CR1_SWRST (0x00008000UL)
- /* Bit definition for I2C_CR2 register */
- #define I2C_CR2_STARTIE_POS (0U)
- #define I2C_CR2_STARTIE (0x00000001UL)
- #define I2C_CR2_SLADDR0IE_POS (1U)
- #define I2C_CR2_SLADDR0IE (0x00000002UL)
- #define I2C_CR2_SLADDR1IE_POS (2U)
- #define I2C_CR2_SLADDR1IE (0x00000004UL)
- #define I2C_CR2_TENDIE_POS (3U)
- #define I2C_CR2_TENDIE (0x00000008UL)
- #define I2C_CR2_STOPIE_POS (4U)
- #define I2C_CR2_STOPIE (0x00000010UL)
- #define I2C_CR2_RFULLIE_POS (6U)
- #define I2C_CR2_RFULLIE (0x00000040UL)
- #define I2C_CR2_TEMPTYIE_POS (7U)
- #define I2C_CR2_TEMPTYIE (0x00000080UL)
- #define I2C_CR2_ARLOIE_POS (9U)
- #define I2C_CR2_ARLOIE (0x00000200UL)
- #define I2C_CR2_RFREQIE_POS (11U)
- #define I2C_CR2_RFREQIE (0x00000800UL)
- #define I2C_CR2_NACKIE_POS (12U)
- #define I2C_CR2_NACKIE (0x00001000UL)
- #define I2C_CR2_TMOUTIE_POS (14U)
- #define I2C_CR2_TMOUTIE (0x00004000UL)
- #define I2C_CR2_GENCALLIE_POS (20U)
- #define I2C_CR2_GENCALLIE (0x00100000UL)
- #define I2C_CR2_SMBDEFAULTIE_POS (21U)
- #define I2C_CR2_SMBDEFAULTIE (0x00200000UL)
- #define I2C_CR2_SMBHOSTIE_POS (22U)
- #define I2C_CR2_SMBHOSTIE (0x00400000UL)
- #define I2C_CR2_SMBALRTIE_POS (23U)
- #define I2C_CR2_SMBALRTIE (0x00800000UL)
- /* Bit definition for I2C_CR3 register */
- #define I2C_CR3_TMOUTEN_POS (0U)
- #define I2C_CR3_TMOUTEN (0x00000001UL)
- #define I2C_CR3_LTMOUT_POS (1U)
- #define I2C_CR3_LTMOUT (0x00000002UL)
- #define I2C_CR3_HTMOUT_POS (2U)
- #define I2C_CR3_HTMOUT (0x00000004UL)
- #define I2C_CR3_FACKEN_POS (7U)
- #define I2C_CR3_FACKEN (0x00000080UL)
- /* Bit definition for I2C_CR4 register */
- #define I2C_CR4_BUSWAIT_POS (10U)
- #define I2C_CR4_BUSWAIT (0x00000400UL)
- #define I2C_CR4_BUSFREECLREN_POS (12U)
- #define I2C_CR4_BUSFREECLREN (0x00001000UL)
- /* Bit definition for I2C_SLR0 register */
- #define I2C_SLR0_SLADDR0_POS (0U)
- #define I2C_SLR0_SLADDR0 (0x000003FFUL)
- #define I2C_SLR0_SLADDR0EN_POS (12U)
- #define I2C_SLR0_SLADDR0EN (0x00001000UL)
- #define I2C_SLR0_ADDRMOD0_POS (15U)
- #define I2C_SLR0_ADDRMOD0 (0x00008000UL)
- #define I2C_SLR0_MSLADDR0_POS (16U)
- #define I2C_SLR0_MSLADDR0 (0x03FF0000UL)
- #define I2C_SLR0_MASKEN0_POS (26U)
- #define I2C_SLR0_MASKEN0 (0x04000000UL)
- /* Bit definition for I2C_SLR1 register */
- #define I2C_SLR1_SLADDR1_POS (0U)
- #define I2C_SLR1_SLADDR1 (0x000003FFUL)
- #define I2C_SLR1_SLADDR1EN_POS (12U)
- #define I2C_SLR1_SLADDR1EN (0x00001000UL)
- #define I2C_SLR1_ADDRMOD1_POS (15U)
- #define I2C_SLR1_ADDRMOD1 (0x00008000UL)
- #define I2C_SLR1_MSLADDR1_POS (16U)
- #define I2C_SLR1_MSLADDR1 (0x03FF0000UL)
- #define I2C_SLR1_MASKEN1_POS (26U)
- #define I2C_SLR1_MASKEN1 (0x04000000UL)
- /* Bit definition for I2C_SLTR register */
- #define I2C_SLTR_TOUTLOW_POS (0U)
- #define I2C_SLTR_TOUTLOW (0x0000FFFFUL)
- #define I2C_SLTR_TOUTHIGH_POS (16U)
- #define I2C_SLTR_TOUTHIGH (0xFFFF0000UL)
- /* Bit definition for I2C_SR register */
- #define I2C_SR_STARTF_POS (0U)
- #define I2C_SR_STARTF (0x00000001UL)
- #define I2C_SR_SLADDR0F_POS (1U)
- #define I2C_SR_SLADDR0F (0x00000002UL)
- #define I2C_SR_SLADDR1F_POS (2U)
- #define I2C_SR_SLADDR1F (0x00000004UL)
- #define I2C_SR_TENDF_POS (3U)
- #define I2C_SR_TENDF (0x00000008UL)
- #define I2C_SR_STOPF_POS (4U)
- #define I2C_SR_STOPF (0x00000010UL)
- #define I2C_SR_RFULLF_POS (6U)
- #define I2C_SR_RFULLF (0x00000040UL)
- #define I2C_SR_TEMPTYF_POS (7U)
- #define I2C_SR_TEMPTYF (0x00000080UL)
- #define I2C_SR_ARLOF_POS (9U)
- #define I2C_SR_ARLOF (0x00000200UL)
- #define I2C_SR_ACKRF_POS (10U)
- #define I2C_SR_ACKRF (0x00000400UL)
- #define I2C_SR_NACKF_POS (12U)
- #define I2C_SR_NACKF (0x00001000UL)
- #define I2C_SR_TMOUTF_POS (14U)
- #define I2C_SR_TMOUTF (0x00004000UL)
- #define I2C_SR_MSL_POS (16U)
- #define I2C_SR_MSL (0x00010000UL)
- #define I2C_SR_BUSY_POS (17U)
- #define I2C_SR_BUSY (0x00020000UL)
- #define I2C_SR_TRA_POS (18U)
- #define I2C_SR_TRA (0x00040000UL)
- #define I2C_SR_GENCALLF_POS (20U)
- #define I2C_SR_GENCALLF (0x00100000UL)
- #define I2C_SR_SMBDEFAULTF_POS (21U)
- #define I2C_SR_SMBDEFAULTF (0x00200000UL)
- #define I2C_SR_SMBHOSTF_POS (22U)
- #define I2C_SR_SMBHOSTF (0x00400000UL)
- #define I2C_SR_SMBALRTF_POS (23U)
- #define I2C_SR_SMBALRTF (0x00800000UL)
- #define I2C_SR_TFEMPTY_POS (24U)
- #define I2C_SR_TFEMPTY (0x01000000UL)
- #define I2C_SR_TFFULL_POS (25U)
- #define I2C_SR_TFFULL (0x02000000UL)
- #define I2C_SR_RFEMPTY_POS (26U)
- #define I2C_SR_RFEMPTY (0x04000000UL)
- #define I2C_SR_RFFULL_POS (27U)
- #define I2C_SR_RFFULL (0x08000000UL)
- #define I2C_SR_TFST_POS (28U)
- #define I2C_SR_TFST (0x30000000UL)
- #define I2C_SR_TFST_0 (0x10000000UL)
- #define I2C_SR_TFST_1 (0x20000000UL)
- #define I2C_SR_RFREQ_POS (31U)
- #define I2C_SR_RFREQ (0x80000000UL)
- /* Bit definition for I2C_CLR register */
- #define I2C_CLR_STARTFCLR_POS (0U)
- #define I2C_CLR_STARTFCLR (0x00000001UL)
- #define I2C_CLR_SLADDR0FCLR_POS (1U)
- #define I2C_CLR_SLADDR0FCLR (0x00000002UL)
- #define I2C_CLR_SLADDR1FCLR_POS (2U)
- #define I2C_CLR_SLADDR1FCLR (0x00000004UL)
- #define I2C_CLR_TENDFCLR_POS (3U)
- #define I2C_CLR_TENDFCLR (0x00000008UL)
- #define I2C_CLR_STOPFCLR_POS (4U)
- #define I2C_CLR_STOPFCLR (0x00000010UL)
- #define I2C_CLR_RFULLFCLR_POS (6U)
- #define I2C_CLR_RFULLFCLR (0x00000040UL)
- #define I2C_CLR_TEMPTYFCLR_POS (7U)
- #define I2C_CLR_TEMPTYFCLR (0x00000080UL)
- #define I2C_CLR_ARLOFCLR_POS (9U)
- #define I2C_CLR_ARLOFCLR (0x00000200UL)
- #define I2C_CLR_RFREQCLR_POS (10U)
- #define I2C_CLR_RFREQCLR (0x00000400UL)
- #define I2C_CLR_NACKFCLR_POS (12U)
- #define I2C_CLR_NACKFCLR (0x00001000UL)
- #define I2C_CLR_TMOUTFCLR_POS (14U)
- #define I2C_CLR_TMOUTFCLR (0x00004000UL)
- #define I2C_CLR_GENCALLFCLR_POS (20U)
- #define I2C_CLR_GENCALLFCLR (0x00100000UL)
- #define I2C_CLR_SMBDEFAULTFCLR_POS (21U)
- #define I2C_CLR_SMBDEFAULTFCLR (0x00200000UL)
- #define I2C_CLR_SMBHOSTFCLR_POS (22U)
- #define I2C_CLR_SMBHOSTFCLR (0x00400000UL)
- #define I2C_CLR_SMBALRTFCLR_POS (23U)
- #define I2C_CLR_SMBALRTFCLR (0x00800000UL)
- /* Bit definition for I2C_DTR register */
- #define I2C_DTR_DT (0xFFU)
- /* Bit definition for I2C_DRR register */
- #define I2C_DRR_DR (0xFFU)
- /* Bit definition for I2C_CCR register */
- #define I2C_CCR_SLOWW_POS (0U)
- #define I2C_CCR_SLOWW (0x000000FFUL)
- #define I2C_CCR_SHIGHW_POS (8U)
- #define I2C_CCR_SHIGHW (0x0000FF00UL)
- #define I2C_CCR_FREQ_POS (16U)
- #define I2C_CCR_FREQ (0x00070000UL)
- #define I2C_CCR_FMPLUSEN_POS (23U)
- #define I2C_CCR_FMPLUSEN (0x00800000UL)
- /* Bit definition for I2C_FLTR register */
- #define I2C_FLTR_DNF_POS (0U)
- #define I2C_FLTR_DNF (0x00000003UL)
- #define I2C_FLTR_DNFEN_POS (4U)
- #define I2C_FLTR_DNFEN (0x00000010UL)
- #define I2C_FLTR_ANFEN_POS (5U)
- #define I2C_FLTR_ANFEN (0x00000020UL)
- /* Bit definition for I2C_FSTR register */
- #define I2C_FSTR_FEN_POS (0U)
- #define I2C_FSTR_FEN (0x00000001UL)
- #define I2C_FSTR_TFFLUSH_POS (1U)
- #define I2C_FSTR_TFFLUSH (0x00000002UL)
- #define I2C_FSTR_RFFLUSH_POS (2U)
- #define I2C_FSTR_RFFLUSH (0x00000004UL)
- #define I2C_FSTR_NACKTFFLUSH_POS (3U)
- #define I2C_FSTR_NACKTFFLUSH (0x00000008UL)
- #define I2C_FSTR_TFST_POS (4U)
- #define I2C_FSTR_TFST (0x00000030UL)
- #define I2C_FSTR_TFST_0 (0x00000010UL)
- #define I2C_FSTR_TFST_1 (0x00000020UL)
- #define I2C_FSTR_RFST_POS (6U)
- #define I2C_FSTR_RFST (0x000000C0UL)
- #define I2C_FSTR_RFST_0 (0x00000040UL)
- #define I2C_FSTR_RFST_1 (0x00000080UL)
- /* Bit definition for I2C_SLVADDR register */
- #define I2C_SLVADDR_SLVADRR (0x000003FFUL)
- /*******************************************************************************
- Bit definition for Peripheral ICG
- *******************************************************************************/
- /* Bit definition for ICG_ICG0 register */
- #define ICG_ICG0_SWDTAUTS_POS (0U)
- #define ICG_ICG0_SWDTAUTS (0x00000001UL)
- #define ICG_ICG0_SWDTITS_POS (1U)
- #define ICG_ICG0_SWDTITS (0x00000002UL)
- #define ICG_ICG0_SWDTPERI_POS (2U)
- #define ICG_ICG0_SWDTPERI (0x0000000CUL)
- #define ICG_ICG0_SWDTPERI_0 (0x00000004UL)
- #define ICG_ICG0_SWDTPERI_1 (0x00000008UL)
- #define ICG_ICG0_SWDTCKS_POS (4U)
- #define ICG_ICG0_SWDTCKS (0x000000F0UL)
- #define ICG_ICG0_SWDTWDPT_POS (8U)
- #define ICG_ICG0_SWDTWDPT (0x00000F00UL)
- #define ICG_ICG0_SWDTSLPOFF_POS (12U)
- #define ICG_ICG0_SWDTSLPOFF (0x00001000UL)
- #define ICG_ICG0_WDTAUTS_POS (16U)
- #define ICG_ICG0_WDTAUTS (0x00010000UL)
- #define ICG_ICG0_WDTITS_POS (17U)
- #define ICG_ICG0_WDTITS (0x00020000UL)
- #define ICG_ICG0_WDTPERI_POS (18U)
- #define ICG_ICG0_WDTPERI (0x000C0000UL)
- #define ICG_ICG0_WDTPERI_0 (0x00040000UL)
- #define ICG_ICG0_WDTPERI_1 (0x00080000UL)
- #define ICG_ICG0_WDTCKS_POS (20U)
- #define ICG_ICG0_WDTCKS (0x00F00000UL)
- #define ICG_ICG0_WDTWDPT_POS (24U)
- #define ICG_ICG0_WDTWDPT (0x0F000000UL)
- #define ICG_ICG0_WDTSLPOFF_POS (28U)
- #define ICG_ICG0_WDTSLPOFF (0x10000000UL)
- /* Bit definition for ICG_ICG1 register */
- #define ICG_ICG1_HRCFREQSEL_POS (0U)
- #define ICG_ICG1_HRCFREQSEL (0x00000001UL)
- #define ICG_ICG1_HRCSTOP_POS (8U)
- #define ICG_ICG1_HRCSTOP (0x00000100UL)
- #define ICG_ICG1_BOR_LEV_POS (16U)
- #define ICG_ICG1_BOR_LEV (0x00030000UL)
- #define ICG_ICG1_BOR_LEV_0 (0x00010000UL)
- #define ICG_ICG1_BOR_LEV_1 (0x00020000UL)
- #define ICG_ICG1_BORDIS_POS (18U)
- #define ICG_ICG1_BORDIS (0x00040000UL)
- /* Bit definition for ICG_ICG3 register */
- #define ICG_ICG3_DBUSPRT (0x0000FFFFUL)
- /* Bit definition for ICG_ICG4 register */
- #define ICG_ICG4 (0xFFFFFFFFUL)
- /*******************************************************************************
- Bit definition for Peripheral INTC
- *******************************************************************************/
- /* Bit definition for INTC_NMIER register */
- #define INTC_NMIER_SWDTEN_POS (1U)
- #define INTC_NMIER_SWDTEN (0x00000002UL)
- #define INTC_NMIER_PVD1EN_POS (2U)
- #define INTC_NMIER_PVD1EN (0x00000004UL)
- #define INTC_NMIER_PVD2EN_POS (3U)
- #define INTC_NMIER_PVD2EN (0x00000008UL)
- #define INTC_NMIER_XTALSTPEN_POS (5U)
- #define INTC_NMIER_XTALSTPEN (0x00000020UL)
- #define INTC_NMIER_RPARERREN_POS (8U)
- #define INTC_NMIER_RPARERREN (0x00000100UL)
- #define INTC_NMIER_RECCERREN_POS (9U)
- #define INTC_NMIER_RECCERREN (0x00000200UL)
- #define INTC_NMIER_BUSERREN_POS (10U)
- #define INTC_NMIER_BUSERREN (0x00000400UL)
- #define INTC_NMIER_WDTEN_POS (11U)
- #define INTC_NMIER_WDTEN (0x00000800UL)
- /* Bit definition for INTC_NMIFR register */
- #define INTC_NMIFR_SWDTF_POS (1U)
- #define INTC_NMIFR_SWDTF (0x00000002UL)
- #define INTC_NMIFR_PVD1F_POS (2U)
- #define INTC_NMIFR_PVD1F (0x00000004UL)
- #define INTC_NMIFR_PVD2F_POS (3U)
- #define INTC_NMIFR_PVD2F (0x00000008UL)
- #define INTC_NMIFR_XTALSTPF_POS (5U)
- #define INTC_NMIFR_XTALSTPF (0x00000020UL)
- #define INTC_NMIFR_RPARERRF_POS (8U)
- #define INTC_NMIFR_RPARERRF (0x00000100UL)
- #define INTC_NMIFR_RECCERRF_POS (9U)
- #define INTC_NMIFR_RECCERRF (0x00000200UL)
- #define INTC_NMIFR_BUSERRF_POS (10U)
- #define INTC_NMIFR_BUSERRF (0x00000400UL)
- #define INTC_NMIFR_WDTF_POS (11U)
- #define INTC_NMIFR_WDTF (0x00000800UL)
- /* Bit definition for INTC_NMIFCR register */
- #define INTC_NMIFCR_SWDTFCLR_POS (1U)
- #define INTC_NMIFCR_SWDTFCLR (0x00000002UL)
- #define INTC_NMIFCR_PVD1FCLR_POS (2U)
- #define INTC_NMIFCR_PVD1FCLR (0x00000004UL)
- #define INTC_NMIFCR_PVD2FCLR_POS (3U)
- #define INTC_NMIFCR_PVD2FCLR (0x00000008UL)
- #define INTC_NMIFCR_XTALSTPFCLR_POS (5U)
- #define INTC_NMIFCR_XTALSTPFCLR (0x00000020UL)
- #define INTC_NMIFCR_RPARERRFCLR_POS (8U)
- #define INTC_NMIFCR_RPARERRFCLR (0x00000100UL)
- #define INTC_NMIFCR_RECCERRFCLR_POS (9U)
- #define INTC_NMIFCR_RECCERRFCLR (0x00000200UL)
- #define INTC_NMIFCR_BUSERRFCLR_POS (10U)
- #define INTC_NMIFCR_BUSERRFCLR (0x00000400UL)
- #define INTC_NMIFCR_WDTFCLR_POS (11U)
- #define INTC_NMIFCR_WDTFCLR (0x00000800UL)
- /* Bit definition for INTC_EIRQCR register */
- #define INTC_EIRQCR_EIRQTRG_POS (0U)
- #define INTC_EIRQCR_EIRQTRG (0x00000003UL)
- #define INTC_EIRQCR_EIRQTRG_0 (0x00000001UL)
- #define INTC_EIRQCR_EIRQTRG_1 (0x00000002UL)
- #define INTC_EIRQCR_EISMPCLK_POS (4U)
- #define INTC_EIRQCR_EISMPCLK (0x00000030UL)
- #define INTC_EIRQCR_EISMPCLK_0 (0x00000010UL)
- #define INTC_EIRQCR_EISMPCLK_1 (0x00000020UL)
- #define INTC_EIRQCR_EFEN_POS (7U)
- #define INTC_EIRQCR_EFEN (0x00000080UL)
- #define INTC_EIRQCR_NOCSEL_POS (12U)
- #define INTC_EIRQCR_NOCSEL (0x00003000UL)
- #define INTC_EIRQCR_NOCSEL_0 (0x00001000UL)
- #define INTC_EIRQCR_NOCSEL_1 (0x00002000UL)
- #define INTC_EIRQCR_NOCEN_POS (15U)
- #define INTC_EIRQCR_NOCEN (0x00008000UL)
- /* Bit definition for INTC_WKEN register */
- #define INTC_WKEN_EIRQWKEN_POS (0U)
- #define INTC_WKEN_EIRQWKEN (0x0000FFFFUL)
- #define INTC_WKEN_EIRQWKEN_0 (0x00000001UL)
- #define INTC_WKEN_EIRQWKEN_1 (0x00000002UL)
- #define INTC_WKEN_EIRQWKEN_2 (0x00000004UL)
- #define INTC_WKEN_EIRQWKEN_3 (0x00000008UL)
- #define INTC_WKEN_EIRQWKEN_4 (0x00000010UL)
- #define INTC_WKEN_EIRQWKEN_5 (0x00000020UL)
- #define INTC_WKEN_EIRQWKEN_6 (0x00000040UL)
- #define INTC_WKEN_EIRQWKEN_7 (0x00000080UL)
- #define INTC_WKEN_EIRQWKEN_8 (0x00000100UL)
- #define INTC_WKEN_EIRQWKEN_9 (0x00000200UL)
- #define INTC_WKEN_EIRQWKEN_10 (0x00000400UL)
- #define INTC_WKEN_EIRQWKEN_11 (0x00000800UL)
- #define INTC_WKEN_EIRQWKEN_12 (0x00001000UL)
- #define INTC_WKEN_EIRQWKEN_13 (0x00002000UL)
- #define INTC_WKEN_EIRQWKEN_14 (0x00004000UL)
- #define INTC_WKEN_EIRQWKEN_15 (0x00008000UL)
- #define INTC_WKEN_SWDTWKEN_POS (16U)
- #define INTC_WKEN_SWDTWKEN (0x00010000UL)
- #define INTC_WKEN_PVD1WKEN_POS (17U)
- #define INTC_WKEN_PVD1WKEN (0x00020000UL)
- #define INTC_WKEN_PVD2WKEN_POS (18U)
- #define INTC_WKEN_PVD2WKEN (0x00040000UL)
- #define INTC_WKEN_CMP1WKEN_POS (19U)
- #define INTC_WKEN_CMP1WKEN (0x00080000UL)
- #define INTC_WKEN_WKTMWKEN_POS (20U)
- #define INTC_WKEN_WKTMWKEN (0x00100000UL)
- #define INTC_WKEN_RTCALMWKEN_POS (21U)
- #define INTC_WKEN_RTCALMWKEN (0x00200000UL)
- #define INTC_WKEN_RTCPRDWKEN_POS (22U)
- #define INTC_WKEN_RTCPRDWKEN (0x00400000UL)
- #define INTC_WKEN_TMR0CMPWKEN_POS (23U)
- #define INTC_WKEN_TMR0CMPWKEN (0x00800000UL)
- #define INTC_WKEN_RXWKEN_POS (26U)
- #define INTC_WKEN_RXWKEN (0x04000000UL)
- #define INTC_WKEN_CMP2WKEN_POS (29U)
- #define INTC_WKEN_CMP2WKEN (0x20000000UL)
- #define INTC_WKEN_CMP3WKEN_POS (30U)
- #define INTC_WKEN_CMP3WKEN (0x40000000UL)
- #define INTC_WKEN_CMP4WKEN_POS (31U)
- #define INTC_WKEN_CMP4WKEN (0x80000000UL)
- /* Bit definition for INTC_EIFR register */
- #define INTC_EIFR_EIF0_POS (0U)
- #define INTC_EIFR_EIF0 (0x00000001UL)
- #define INTC_EIFR_EIF1_POS (1U)
- #define INTC_EIFR_EIF1 (0x00000002UL)
- #define INTC_EIFR_EIF2_POS (2U)
- #define INTC_EIFR_EIF2 (0x00000004UL)
- #define INTC_EIFR_EIF3_POS (3U)
- #define INTC_EIFR_EIF3 (0x00000008UL)
- #define INTC_EIFR_EIF4_POS (4U)
- #define INTC_EIFR_EIF4 (0x00000010UL)
- #define INTC_EIFR_EIF5_POS (5U)
- #define INTC_EIFR_EIF5 (0x00000020UL)
- #define INTC_EIFR_EIF6_POS (6U)
- #define INTC_EIFR_EIF6 (0x00000040UL)
- #define INTC_EIFR_EIF7_POS (7U)
- #define INTC_EIFR_EIF7 (0x00000080UL)
- #define INTC_EIFR_EIF8_POS (8U)
- #define INTC_EIFR_EIF8 (0x00000100UL)
- #define INTC_EIFR_EIF9_POS (9U)
- #define INTC_EIFR_EIF9 (0x00000200UL)
- #define INTC_EIFR_EIF10_POS (10U)
- #define INTC_EIFR_EIF10 (0x00000400UL)
- #define INTC_EIFR_EIF11_POS (11U)
- #define INTC_EIFR_EIF11 (0x00000800UL)
- #define INTC_EIFR_EIF12_POS (12U)
- #define INTC_EIFR_EIF12 (0x00001000UL)
- #define INTC_EIFR_EIF13_POS (13U)
- #define INTC_EIFR_EIF13 (0x00002000UL)
- #define INTC_EIFR_EIF14_POS (14U)
- #define INTC_EIFR_EIF14 (0x00004000UL)
- #define INTC_EIFR_EIF15_POS (15U)
- #define INTC_EIFR_EIF15 (0x00008000UL)
- /* Bit definition for INTC_EIFCR register */
- #define INTC_EIFCR_EIFCLR0_POS (0U)
- #define INTC_EIFCR_EIFCLR0 (0x00000001UL)
- #define INTC_EIFCR_EIFCLR1_POS (1U)
- #define INTC_EIFCR_EIFCLR1 (0x00000002UL)
- #define INTC_EIFCR_EIFCLR2_POS (2U)
- #define INTC_EIFCR_EIFCLR2 (0x00000004UL)
- #define INTC_EIFCR_EIFCLR3_POS (3U)
- #define INTC_EIFCR_EIFCLR3 (0x00000008UL)
- #define INTC_EIFCR_EIFCLR4_POS (4U)
- #define INTC_EIFCR_EIFCLR4 (0x00000010UL)
- #define INTC_EIFCR_EIFCLR5_POS (5U)
- #define INTC_EIFCR_EIFCLR5 (0x00000020UL)
- #define INTC_EIFCR_EIFCLR6_POS (6U)
- #define INTC_EIFCR_EIFCLR6 (0x00000040UL)
- #define INTC_EIFCR_EIFCLR7_POS (7U)
- #define INTC_EIFCR_EIFCLR7 (0x00000080UL)
- #define INTC_EIFCR_EIFCLR8_POS (8U)
- #define INTC_EIFCR_EIFCLR8 (0x00000100UL)
- #define INTC_EIFCR_EIFCLR9_POS (9U)
- #define INTC_EIFCR_EIFCLR9 (0x00000200UL)
- #define INTC_EIFCR_EIFCLR10_POS (10U)
- #define INTC_EIFCR_EIFCLR10 (0x00000400UL)
- #define INTC_EIFCR_EIFCLR11_POS (11U)
- #define INTC_EIFCR_EIFCLR11 (0x00000800UL)
- #define INTC_EIFCR_EIFCLR12_POS (12U)
- #define INTC_EIFCR_EIFCLR12 (0x00001000UL)
- #define INTC_EIFCR_EIFCLR13_POS (13U)
- #define INTC_EIFCR_EIFCLR13 (0x00002000UL)
- #define INTC_EIFCR_EIFCLR14_POS (14U)
- #define INTC_EIFCR_EIFCLR14 (0x00004000UL)
- #define INTC_EIFCR_EIFCLR15_POS (15U)
- #define INTC_EIFCR_EIFCLR15 (0x00008000UL)
- /* Bit definition for INTC_INTSEL register */
- #define INTC_INTSEL_INTSEL (0x000001FFUL)
- /* Bit definition for INTC_INTMSK0 register */
- #define INTC_INTMSK0_INTMSK0_POS (0U)
- #define INTC_INTMSK0_INTMSK0 (0x00000001UL)
- #define INTC_INTMSK0_INTMSK1_POS (1U)
- #define INTC_INTMSK0_INTMSK1 (0x00000002UL)
- #define INTC_INTMSK0_INTMSK2_POS (2U)
- #define INTC_INTMSK0_INTMSK2 (0x00000004UL)
- #define INTC_INTMSK0_INTMSK3_POS (3U)
- #define INTC_INTMSK0_INTMSK3 (0x00000008UL)
- #define INTC_INTMSK0_INTMSK4_POS (4U)
- #define INTC_INTMSK0_INTMSK4 (0x00000010UL)
- #define INTC_INTMSK0_INTMSK5_POS (5U)
- #define INTC_INTMSK0_INTMSK5 (0x00000020UL)
- #define INTC_INTMSK0_INTMSK6_POS (6U)
- #define INTC_INTMSK0_INTMSK6 (0x00000040UL)
- #define INTC_INTMSK0_INTMSK7_POS (7U)
- #define INTC_INTMSK0_INTMSK7 (0x00000080UL)
- #define INTC_INTMSK0_INTMSK8_POS (8U)
- #define INTC_INTMSK0_INTMSK8 (0x00000100UL)
- #define INTC_INTMSK0_INTMSK9_POS (9U)
- #define INTC_INTMSK0_INTMSK9 (0x00000200UL)
- #define INTC_INTMSK0_INTMSK10_POS (10U)
- #define INTC_INTMSK0_INTMSK10 (0x00000400UL)
- #define INTC_INTMSK0_INTMSK11_POS (11U)
- #define INTC_INTMSK0_INTMSK11 (0x00000800UL)
- #define INTC_INTMSK0_INTMSK12_POS (12U)
- #define INTC_INTMSK0_INTMSK12 (0x00001000UL)
- #define INTC_INTMSK0_INTMSK13_POS (13U)
- #define INTC_INTMSK0_INTMSK13 (0x00002000UL)
- #define INTC_INTMSK0_INTMSK14_POS (14U)
- #define INTC_INTMSK0_INTMSK14 (0x00004000UL)
- #define INTC_INTMSK0_INTMSK15_POS (15U)
- #define INTC_INTMSK0_INTMSK15 (0x00008000UL)
- #define INTC_INTMSK0_INTMSK16_POS (16U)
- #define INTC_INTMSK0_INTMSK16 (0x00010000UL)
- #define INTC_INTMSK0_INTMSK17_POS (17U)
- #define INTC_INTMSK0_INTMSK17 (0x00020000UL)
- #define INTC_INTMSK0_INTMSK18_POS (18U)
- #define INTC_INTMSK0_INTMSK18 (0x00040000UL)
- #define INTC_INTMSK0_INTMSK19_POS (19U)
- #define INTC_INTMSK0_INTMSK19 (0x00080000UL)
- #define INTC_INTMSK0_INTMSK20_POS (20U)
- #define INTC_INTMSK0_INTMSK20 (0x00100000UL)
- #define INTC_INTMSK0_INTMSK21_POS (21U)
- #define INTC_INTMSK0_INTMSK21 (0x00200000UL)
- #define INTC_INTMSK0_INTMSK22_POS (22U)
- #define INTC_INTMSK0_INTMSK22 (0x00400000UL)
- #define INTC_INTMSK0_INTMSK23_POS (23U)
- #define INTC_INTMSK0_INTMSK23 (0x00800000UL)
- #define INTC_INTMSK0_INTMSK24_POS (24U)
- #define INTC_INTMSK0_INTMSK24 (0x01000000UL)
- #define INTC_INTMSK0_INTMSK25_POS (25U)
- #define INTC_INTMSK0_INTMSK25 (0x02000000UL)
- #define INTC_INTMSK0_INTMSK26_POS (26U)
- #define INTC_INTMSK0_INTMSK26 (0x04000000UL)
- #define INTC_INTMSK0_INTMSK27_POS (27U)
- #define INTC_INTMSK0_INTMSK27 (0x08000000UL)
- #define INTC_INTMSK0_INTMSK28_POS (28U)
- #define INTC_INTMSK0_INTMSK28 (0x10000000UL)
- #define INTC_INTMSK0_INTMSK29_POS (29U)
- #define INTC_INTMSK0_INTMSK29 (0x20000000UL)
- #define INTC_INTMSK0_INTMSK30_POS (30U)
- #define INTC_INTMSK0_INTMSK30 (0x40000000UL)
- #define INTC_INTMSK0_INTMSK31_POS (31U)
- #define INTC_INTMSK0_INTMSK31 (0x80000000UL)
- /* Bit definition for INTC_INTMSK1 register */
- #define INTC_INTMSK1_INTMSK32_POS (0U)
- #define INTC_INTMSK1_INTMSK32 (0x00000001UL)
- #define INTC_INTMSK1_INTMSK33_POS (1U)
- #define INTC_INTMSK1_INTMSK33 (0x00000002UL)
- #define INTC_INTMSK1_INTMSK34_POS (2U)
- #define INTC_INTMSK1_INTMSK34 (0x00000004UL)
- #define INTC_INTMSK1_INTMSK35_POS (3U)
- #define INTC_INTMSK1_INTMSK35 (0x00000008UL)
- #define INTC_INTMSK1_INTMSK36_POS (4U)
- #define INTC_INTMSK1_INTMSK36 (0x00000010UL)
- #define INTC_INTMSK1_INTMSK37_POS (5U)
- #define INTC_INTMSK1_INTMSK37 (0x00000020UL)
- #define INTC_INTMSK1_INTMSK38_POS (6U)
- #define INTC_INTMSK1_INTMSK38 (0x00000040UL)
- #define INTC_INTMSK1_INTMSK39_POS (7U)
- #define INTC_INTMSK1_INTMSK39 (0x00000080UL)
- #define INTC_INTMSK1_INTMSK40_POS (8U)
- #define INTC_INTMSK1_INTMSK40 (0x00000100UL)
- #define INTC_INTMSK1_INTMSK41_POS (9U)
- #define INTC_INTMSK1_INTMSK41 (0x00000200UL)
- #define INTC_INTMSK1_INTMSK42_POS (10U)
- #define INTC_INTMSK1_INTMSK42 (0x00000400UL)
- #define INTC_INTMSK1_INTMSK43_POS (11U)
- #define INTC_INTMSK1_INTMSK43 (0x00000800UL)
- #define INTC_INTMSK1_INTMSK44_POS (12U)
- #define INTC_INTMSK1_INTMSK44 (0x00001000UL)
- #define INTC_INTMSK1_INTMSK45_POS (13U)
- #define INTC_INTMSK1_INTMSK45 (0x00002000UL)
- #define INTC_INTMSK1_INTMSK46_POS (14U)
- #define INTC_INTMSK1_INTMSK46 (0x00004000UL)
- #define INTC_INTMSK1_INTMSK47_POS (15U)
- #define INTC_INTMSK1_INTMSK47 (0x00008000UL)
- #define INTC_INTMSK1_INTMSK48_POS (16U)
- #define INTC_INTMSK1_INTMSK48 (0x00010000UL)
- #define INTC_INTMSK1_INTMSK49_POS (17U)
- #define INTC_INTMSK1_INTMSK49 (0x00020000UL)
- #define INTC_INTMSK1_INTMSK50_POS (18U)
- #define INTC_INTMSK1_INTMSK50 (0x00040000UL)
- #define INTC_INTMSK1_INTMSK51_POS (19U)
- #define INTC_INTMSK1_INTMSK51 (0x00080000UL)
- #define INTC_INTMSK1_INTMSK52_POS (20U)
- #define INTC_INTMSK1_INTMSK52 (0x00100000UL)
- #define INTC_INTMSK1_INTMSK53_POS (21U)
- #define INTC_INTMSK1_INTMSK53 (0x00200000UL)
- #define INTC_INTMSK1_INTMSK54_POS (22U)
- #define INTC_INTMSK1_INTMSK54 (0x00400000UL)
- #define INTC_INTMSK1_INTMSK55_POS (23U)
- #define INTC_INTMSK1_INTMSK55 (0x00800000UL)
- #define INTC_INTMSK1_INTMSK56_POS (24U)
- #define INTC_INTMSK1_INTMSK56 (0x01000000UL)
- #define INTC_INTMSK1_INTMSK57_POS (25U)
- #define INTC_INTMSK1_INTMSK57 (0x02000000UL)
- #define INTC_INTMSK1_INTMSK58_POS (26U)
- #define INTC_INTMSK1_INTMSK58 (0x04000000UL)
- #define INTC_INTMSK1_INTMSK59_POS (27U)
- #define INTC_INTMSK1_INTMSK59 (0x08000000UL)
- #define INTC_INTMSK1_INTMSK60_POS (28U)
- #define INTC_INTMSK1_INTMSK60 (0x10000000UL)
- #define INTC_INTMSK1_INTMSK61_POS (29U)
- #define INTC_INTMSK1_INTMSK61 (0x20000000UL)
- #define INTC_INTMSK1_INTMSK62_POS (30U)
- #define INTC_INTMSK1_INTMSK62 (0x40000000UL)
- #define INTC_INTMSK1_INTMSK63_POS (31U)
- #define INTC_INTMSK1_INTMSK63 (0x80000000UL)
- /* Bit definition for INTC_INTMSK2 register */
- #define INTC_INTMSK2_INTMSK64_POS (0U)
- #define INTC_INTMSK2_INTMSK64 (0x00000001UL)
- #define INTC_INTMSK2_INTMSK65_POS (1U)
- #define INTC_INTMSK2_INTMSK65 (0x00000002UL)
- #define INTC_INTMSK2_INTMSK66_POS (2U)
- #define INTC_INTMSK2_INTMSK66 (0x00000004UL)
- #define INTC_INTMSK2_INTMSK67_POS (3U)
- #define INTC_INTMSK2_INTMSK67 (0x00000008UL)
- #define INTC_INTMSK2_INTMSK68_POS (4U)
- #define INTC_INTMSK2_INTMSK68 (0x00000010UL)
- #define INTC_INTMSK2_INTMSK69_POS (5U)
- #define INTC_INTMSK2_INTMSK69 (0x00000020UL)
- #define INTC_INTMSK2_INTMSK70_POS (6U)
- #define INTC_INTMSK2_INTMSK70 (0x00000040UL)
- #define INTC_INTMSK2_INTMSK71_POS (7U)
- #define INTC_INTMSK2_INTMSK71 (0x00000080UL)
- #define INTC_INTMSK2_INTMSK72_POS (8U)
- #define INTC_INTMSK2_INTMSK72 (0x00000100UL)
- #define INTC_INTMSK2_INTMSK73_POS (9U)
- #define INTC_INTMSK2_INTMSK73 (0x00000200UL)
- #define INTC_INTMSK2_INTMSK74_POS (10U)
- #define INTC_INTMSK2_INTMSK74 (0x00000400UL)
- #define INTC_INTMSK2_INTMSK75_POS (11U)
- #define INTC_INTMSK2_INTMSK75 (0x00000800UL)
- #define INTC_INTMSK2_INTMSK76_POS (12U)
- #define INTC_INTMSK2_INTMSK76 (0x00001000UL)
- #define INTC_INTMSK2_INTMSK77_POS (13U)
- #define INTC_INTMSK2_INTMSK77 (0x00002000UL)
- #define INTC_INTMSK2_INTMSK78_POS (14U)
- #define INTC_INTMSK2_INTMSK78 (0x00004000UL)
- #define INTC_INTMSK2_INTMSK79_POS (15U)
- #define INTC_INTMSK2_INTMSK79 (0x00008000UL)
- #define INTC_INTMSK2_INTMSK80_POS (16U)
- #define INTC_INTMSK2_INTMSK80 (0x00010000UL)
- #define INTC_INTMSK2_INTMSK81_POS (17U)
- #define INTC_INTMSK2_INTMSK81 (0x00020000UL)
- #define INTC_INTMSK2_INTMSK82_POS (18U)
- #define INTC_INTMSK2_INTMSK82 (0x00040000UL)
- #define INTC_INTMSK2_INTMSK83_POS (19U)
- #define INTC_INTMSK2_INTMSK83 (0x00080000UL)
- #define INTC_INTMSK2_INTMSK84_POS (20U)
- #define INTC_INTMSK2_INTMSK84 (0x00100000UL)
- #define INTC_INTMSK2_INTMSK85_POS (21U)
- #define INTC_INTMSK2_INTMSK85 (0x00200000UL)
- #define INTC_INTMSK2_INTMSK86_POS (22U)
- #define INTC_INTMSK2_INTMSK86 (0x00400000UL)
- #define INTC_INTMSK2_INTMSK87_POS (23U)
- #define INTC_INTMSK2_INTMSK87 (0x00800000UL)
- #define INTC_INTMSK2_INTMSK88_POS (24U)
- #define INTC_INTMSK2_INTMSK88 (0x01000000UL)
- #define INTC_INTMSK2_INTMSK89_POS (25U)
- #define INTC_INTMSK2_INTMSK89 (0x02000000UL)
- #define INTC_INTMSK2_INTMSK90_POS (26U)
- #define INTC_INTMSK2_INTMSK90 (0x04000000UL)
- #define INTC_INTMSK2_INTMSK91_POS (27U)
- #define INTC_INTMSK2_INTMSK91 (0x08000000UL)
- #define INTC_INTMSK2_INTMSK92_POS (28U)
- #define INTC_INTMSK2_INTMSK92 (0x10000000UL)
- #define INTC_INTMSK2_INTMSK93_POS (29U)
- #define INTC_INTMSK2_INTMSK93 (0x20000000UL)
- #define INTC_INTMSK2_INTMSK94_POS (30U)
- #define INTC_INTMSK2_INTMSK94 (0x40000000UL)
- #define INTC_INTMSK2_INTMSK95_POS (31U)
- #define INTC_INTMSK2_INTMSK95 (0x80000000UL)
- /* Bit definition for INTC_INTMSK3 register */
- #define INTC_INTMSK3_INTMSK96_POS (0U)
- #define INTC_INTMSK3_INTMSK96 (0x00000001UL)
- #define INTC_INTMSK3_INTMSK97_POS (1U)
- #define INTC_INTMSK3_INTMSK97 (0x00000002UL)
- #define INTC_INTMSK3_INTMSK98_POS (2U)
- #define INTC_INTMSK3_INTMSK98 (0x00000004UL)
- #define INTC_INTMSK3_INTMSK99_POS (3U)
- #define INTC_INTMSK3_INTMSK99 (0x00000008UL)
- #define INTC_INTMSK3_INTMSK100_POS (4U)
- #define INTC_INTMSK3_INTMSK100 (0x00000010UL)
- #define INTC_INTMSK3_INTMSK101_POS (5U)
- #define INTC_INTMSK3_INTMSK101 (0x00000020UL)
- #define INTC_INTMSK3_INTMSK102_POS (6U)
- #define INTC_INTMSK3_INTMSK102 (0x00000040UL)
- #define INTC_INTMSK3_INTMSK103_POS (7U)
- #define INTC_INTMSK3_INTMSK103 (0x00000080UL)
- #define INTC_INTMSK3_INTMSK104_POS (8U)
- #define INTC_INTMSK3_INTMSK104 (0x00000100UL)
- #define INTC_INTMSK3_INTMSK105_POS (9U)
- #define INTC_INTMSK3_INTMSK105 (0x00000200UL)
- #define INTC_INTMSK3_INTMSK106_POS (10U)
- #define INTC_INTMSK3_INTMSK106 (0x00000400UL)
- #define INTC_INTMSK3_INTMSK107_POS (11U)
- #define INTC_INTMSK3_INTMSK107 (0x00000800UL)
- #define INTC_INTMSK3_INTMSK108_POS (12U)
- #define INTC_INTMSK3_INTMSK108 (0x00001000UL)
- #define INTC_INTMSK3_INTMSK109_POS (13U)
- #define INTC_INTMSK3_INTMSK109 (0x00002000UL)
- #define INTC_INTMSK3_INTMSK110_POS (14U)
- #define INTC_INTMSK3_INTMSK110 (0x00004000UL)
- #define INTC_INTMSK3_INTMSK111_POS (15U)
- #define INTC_INTMSK3_INTMSK111 (0x00008000UL)
- #define INTC_INTMSK3_INTMSK112_POS (16U)
- #define INTC_INTMSK3_INTMSK112 (0x00010000UL)
- #define INTC_INTMSK3_INTMSK113_POS (17U)
- #define INTC_INTMSK3_INTMSK113 (0x00020000UL)
- #define INTC_INTMSK3_INTMSK114_POS (18U)
- #define INTC_INTMSK3_INTMSK114 (0x00040000UL)
- #define INTC_INTMSK3_INTMSK115_POS (19U)
- #define INTC_INTMSK3_INTMSK115 (0x00080000UL)
- #define INTC_INTMSK3_INTMSK116_POS (20U)
- #define INTC_INTMSK3_INTMSK116 (0x00100000UL)
- #define INTC_INTMSK3_INTMSK117_POS (21U)
- #define INTC_INTMSK3_INTMSK117 (0x00200000UL)
- #define INTC_INTMSK3_INTMSK118_POS (22U)
- #define INTC_INTMSK3_INTMSK118 (0x00400000UL)
- #define INTC_INTMSK3_INTMSK119_POS (23U)
- #define INTC_INTMSK3_INTMSK119 (0x00800000UL)
- #define INTC_INTMSK3_INTMSK120_POS (24U)
- #define INTC_INTMSK3_INTMSK120 (0x01000000UL)
- #define INTC_INTMSK3_INTMSK121_POS (25U)
- #define INTC_INTMSK3_INTMSK121 (0x02000000UL)
- #define INTC_INTMSK3_INTMSK122_POS (26U)
- #define INTC_INTMSK3_INTMSK122 (0x04000000UL)
- #define INTC_INTMSK3_INTMSK123_POS (27U)
- #define INTC_INTMSK3_INTMSK123 (0x08000000UL)
- #define INTC_INTMSK3_INTMSK124_POS (28U)
- #define INTC_INTMSK3_INTMSK124 (0x10000000UL)
- #define INTC_INTMSK3_INTMSK125_POS (29U)
- #define INTC_INTMSK3_INTMSK125 (0x20000000UL)
- #define INTC_INTMSK3_INTMSK126_POS (30U)
- #define INTC_INTMSK3_INTMSK126 (0x40000000UL)
- #define INTC_INTMSK3_INTMSK127_POS (31U)
- #define INTC_INTMSK3_INTMSK127 (0x80000000UL)
- /* Bit definition for INTC_INTMSK4 register */
- #define INTC_INTMSK4_INTMSK128_POS (0U)
- #define INTC_INTMSK4_INTMSK128 (0x00000001UL)
- #define INTC_INTMSK4_INTMSK129_POS (1U)
- #define INTC_INTMSK4_INTMSK129 (0x00000002UL)
- #define INTC_INTMSK4_INTMSK130_POS (2U)
- #define INTC_INTMSK4_INTMSK130 (0x00000004UL)
- #define INTC_INTMSK4_INTMSK131_POS (3U)
- #define INTC_INTMSK4_INTMSK131 (0x00000008UL)
- #define INTC_INTMSK4_INTMSK132_POS (4U)
- #define INTC_INTMSK4_INTMSK132 (0x00000010UL)
- #define INTC_INTMSK4_INTMSK133_POS (5U)
- #define INTC_INTMSK4_INTMSK133 (0x00000020UL)
- #define INTC_INTMSK4_INTMSK134_POS (6U)
- #define INTC_INTMSK4_INTMSK134 (0x00000040UL)
- #define INTC_INTMSK4_INTMSK135_POS (7U)
- #define INTC_INTMSK4_INTMSK135 (0x00000080UL)
- #define INTC_INTMSK4_INTMSK136_POS (8U)
- #define INTC_INTMSK4_INTMSK136 (0x00000100UL)
- #define INTC_INTMSK4_INTMSK137_POS (9U)
- #define INTC_INTMSK4_INTMSK137 (0x00000200UL)
- #define INTC_INTMSK4_INTMSK138_POS (10U)
- #define INTC_INTMSK4_INTMSK138 (0x00000400UL)
- #define INTC_INTMSK4_INTMSK139_POS (11U)
- #define INTC_INTMSK4_INTMSK139 (0x00000800UL)
- #define INTC_INTMSK4_INTMSK140_POS (12U)
- #define INTC_INTMSK4_INTMSK140 (0x00001000UL)
- #define INTC_INTMSK4_INTMSK141_POS (13U)
- #define INTC_INTMSK4_INTMSK141 (0x00002000UL)
- #define INTC_INTMSK4_INTMSK142_POS (14U)
- #define INTC_INTMSK4_INTMSK142 (0x00004000UL)
- #define INTC_INTMSK4_INTMSK143_POS (15U)
- #define INTC_INTMSK4_INTMSK143 (0x00008000UL)
- #define INTC_INTMSK4_INTMSK144_POS (16U)
- #define INTC_INTMSK4_INTMSK144 (0x00010000UL)
- #define INTC_INTMSK4_INTMSK145_POS (17U)
- #define INTC_INTMSK4_INTMSK145 (0x00020000UL)
- #define INTC_INTMSK4_INTMSK146_POS (18U)
- #define INTC_INTMSK4_INTMSK146 (0x00040000UL)
- #define INTC_INTMSK4_INTMSK147_POS (19U)
- #define INTC_INTMSK4_INTMSK147 (0x00080000UL)
- #define INTC_INTMSK4_INTMSK148_POS (20U)
- #define INTC_INTMSK4_INTMSK148 (0x00100000UL)
- #define INTC_INTMSK4_INTMSK149_POS (21U)
- #define INTC_INTMSK4_INTMSK149 (0x00200000UL)
- #define INTC_INTMSK4_INTMSK150_POS (22U)
- #define INTC_INTMSK4_INTMSK150 (0x00400000UL)
- #define INTC_INTMSK4_INTMSK151_POS (23U)
- #define INTC_INTMSK4_INTMSK151 (0x00800000UL)
- #define INTC_INTMSK4_INTMSK152_POS (24U)
- #define INTC_INTMSK4_INTMSK152 (0x01000000UL)
- #define INTC_INTMSK4_INTMSK153_POS (25U)
- #define INTC_INTMSK4_INTMSK153 (0x02000000UL)
- #define INTC_INTMSK4_INTMSK154_POS (26U)
- #define INTC_INTMSK4_INTMSK154 (0x04000000UL)
- #define INTC_INTMSK4_INTMSK155_POS (27U)
- #define INTC_INTMSK4_INTMSK155 (0x08000000UL)
- #define INTC_INTMSK4_INTMSK156_POS (28U)
- #define INTC_INTMSK4_INTMSK156 (0x10000000UL)
- #define INTC_INTMSK4_INTMSK157_POS (29U)
- #define INTC_INTMSK4_INTMSK157 (0x20000000UL)
- #define INTC_INTMSK4_INTMSK158_POS (30U)
- #define INTC_INTMSK4_INTMSK158 (0x40000000UL)
- #define INTC_INTMSK4_INTMSK159_POS (31U)
- #define INTC_INTMSK4_INTMSK159 (0x80000000UL)
- /* Bit definition for INTC_INTMSK5 register */
- #define INTC_INTMSK5_INTMSK260_POS (0U)
- #define INTC_INTMSK5_INTMSK260 (0x00000001UL)
- #define INTC_INTMSK5_INTMSK261_POS (1U)
- #define INTC_INTMSK5_INTMSK261 (0x00000002UL)
- #define INTC_INTMSK5_INTMSK262_POS (2U)
- #define INTC_INTMSK5_INTMSK262 (0x00000004UL)
- #define INTC_INTMSK5_INTMSK263_POS (3U)
- #define INTC_INTMSK5_INTMSK263 (0x00000008UL)
- #define INTC_INTMSK5_INTMSK264_POS (4U)
- #define INTC_INTMSK5_INTMSK264 (0x00000010UL)
- #define INTC_INTMSK5_INTMSK265_POS (5U)
- #define INTC_INTMSK5_INTMSK265 (0x00000020UL)
- #define INTC_INTMSK5_INTMSK266_POS (6U)
- #define INTC_INTMSK5_INTMSK266 (0x00000040UL)
- #define INTC_INTMSK5_INTMSK267_POS (7U)
- #define INTC_INTMSK5_INTMSK267 (0x00000080UL)
- #define INTC_INTMSK5_INTMSK268_POS (8U)
- #define INTC_INTMSK5_INTMSK268 (0x00000100UL)
- #define INTC_INTMSK5_INTMSK269_POS (9U)
- #define INTC_INTMSK5_INTMSK269 (0x00000200UL)
- #define INTC_INTMSK5_INTMSK270_POS (10U)
- #define INTC_INTMSK5_INTMSK270 (0x00000400UL)
- #define INTC_INTMSK5_INTMSK271_POS (11U)
- #define INTC_INTMSK5_INTMSK271 (0x00000800UL)
- #define INTC_INTMSK5_INTMSK272_POS (12U)
- #define INTC_INTMSK5_INTMSK272 (0x00001000UL)
- #define INTC_INTMSK5_INTMSK273_POS (13U)
- #define INTC_INTMSK5_INTMSK273 (0x00002000UL)
- #define INTC_INTMSK5_INTMSK274_POS (14U)
- #define INTC_INTMSK5_INTMSK274 (0x00004000UL)
- #define INTC_INTMSK5_INTMSK275_POS (15U)
- #define INTC_INTMSK5_INTMSK275 (0x00008000UL)
- #define INTC_INTMSK5_INTMSK276_POS (16U)
- #define INTC_INTMSK5_INTMSK276 (0x00010000UL)
- #define INTC_INTMSK5_INTMSK277_POS (17U)
- #define INTC_INTMSK5_INTMSK277 (0x00020000UL)
- #define INTC_INTMSK5_INTMSK278_POS (18U)
- #define INTC_INTMSK5_INTMSK278 (0x00040000UL)
- #define INTC_INTMSK5_INTMSK279_POS (19U)
- #define INTC_INTMSK5_INTMSK279 (0x00080000UL)
- #define INTC_INTMSK5_INTMSK280_POS (20U)
- #define INTC_INTMSK5_INTMSK280 (0x00100000UL)
- #define INTC_INTMSK5_INTMSK281_POS (21U)
- #define INTC_INTMSK5_INTMSK281 (0x00200000UL)
- #define INTC_INTMSK5_INTMSK282_POS (22U)
- #define INTC_INTMSK5_INTMSK282 (0x00400000UL)
- #define INTC_INTMSK5_INTMSK283_POS (23U)
- #define INTC_INTMSK5_INTMSK283 (0x00800000UL)
- #define INTC_INTMSK5_INTMSK284_POS (24U)
- #define INTC_INTMSK5_INTMSK284 (0x01000000UL)
- #define INTC_INTMSK5_INTMSK285_POS (25U)
- #define INTC_INTMSK5_INTMSK285 (0x02000000UL)
- #define INTC_INTMSK5_INTMSK286_POS (26U)
- #define INTC_INTMSK5_INTMSK286 (0x04000000UL)
- #define INTC_INTMSK5_INTMSK287_POS (27U)
- #define INTC_INTMSK5_INTMSK287 (0x08000000UL)
- #define INTC_INTMSK5_INTMSK288_POS (28U)
- #define INTC_INTMSK5_INTMSK288 (0x10000000UL)
- #define INTC_INTMSK5_INTMSK289_POS (29U)
- #define INTC_INTMSK5_INTMSK289 (0x20000000UL)
- #define INTC_INTMSK5_INTMSK290_POS (30U)
- #define INTC_INTMSK5_INTMSK290 (0x40000000UL)
- #define INTC_INTMSK5_INTMSK291_POS (31U)
- #define INTC_INTMSK5_INTMSK291 (0x80000000UL)
- /* Bit definition for INTC_INTMSK6 register */
- #define INTC_INTMSK6_INTMSK192_POS (0U)
- #define INTC_INTMSK6_INTMSK192 (0x00000001UL)
- #define INTC_INTMSK6_INTMSK193_POS (1U)
- #define INTC_INTMSK6_INTMSK193 (0x00000002UL)
- #define INTC_INTMSK6_INTMSK194_POS (2U)
- #define INTC_INTMSK6_INTMSK194 (0x00000004UL)
- #define INTC_INTMSK6_INTMSK195_POS (3U)
- #define INTC_INTMSK6_INTMSK195 (0x00000008UL)
- #define INTC_INTMSK6_INTMSK196_POS (4U)
- #define INTC_INTMSK6_INTMSK196 (0x00000010UL)
- #define INTC_INTMSK6_INTMSK197_POS (5U)
- #define INTC_INTMSK6_INTMSK197 (0x00000020UL)
- #define INTC_INTMSK6_INTMSK198_POS (6U)
- #define INTC_INTMSK6_INTMSK198 (0x00000040UL)
- #define INTC_INTMSK6_INTMSK199_POS (7U)
- #define INTC_INTMSK6_INTMSK199 (0x00000080UL)
- #define INTC_INTMSK6_INTMSK200_POS (8U)
- #define INTC_INTMSK6_INTMSK200 (0x00000100UL)
- #define INTC_INTMSK6_INTMSK201_POS (9U)
- #define INTC_INTMSK6_INTMSK201 (0x00000200UL)
- #define INTC_INTMSK6_INTMSK202_POS (10U)
- #define INTC_INTMSK6_INTMSK202 (0x00000400UL)
- #define INTC_INTMSK6_INTMSK203_POS (11U)
- #define INTC_INTMSK6_INTMSK203 (0x00000800UL)
- #define INTC_INTMSK6_INTMSK204_POS (12U)
- #define INTC_INTMSK6_INTMSK204 (0x00001000UL)
- #define INTC_INTMSK6_INTMSK205_POS (13U)
- #define INTC_INTMSK6_INTMSK205 (0x00002000UL)
- #define INTC_INTMSK6_INTMSK206_POS (14U)
- #define INTC_INTMSK6_INTMSK206 (0x00004000UL)
- #define INTC_INTMSK6_INTMSK207_POS (15U)
- #define INTC_INTMSK6_INTMSK207 (0x00008000UL)
- #define INTC_INTMSK6_INTMSK208_POS (16U)
- #define INTC_INTMSK6_INTMSK208 (0x00010000UL)
- #define INTC_INTMSK6_INTMSK209_POS (17U)
- #define INTC_INTMSK6_INTMSK209 (0x00020000UL)
- #define INTC_INTMSK6_INTMSK210_POS (18U)
- #define INTC_INTMSK6_INTMSK210 (0x00040000UL)
- #define INTC_INTMSK6_INTMSK211_POS (19U)
- #define INTC_INTMSK6_INTMSK211 (0x00080000UL)
- #define INTC_INTMSK6_INTMSK212_POS (20U)
- #define INTC_INTMSK6_INTMSK212 (0x00100000UL)
- #define INTC_INTMSK6_INTMSK213_POS (21U)
- #define INTC_INTMSK6_INTMSK213 (0x00200000UL)
- #define INTC_INTMSK6_INTMSK214_POS (22U)
- #define INTC_INTMSK6_INTMSK214 (0x00400000UL)
- #define INTC_INTMSK6_INTMSK215_POS (23U)
- #define INTC_INTMSK6_INTMSK215 (0x00800000UL)
- #define INTC_INTMSK6_INTMSK216_POS (24U)
- #define INTC_INTMSK6_INTMSK216 (0x01000000UL)
- #define INTC_INTMSK6_INTMSK217_POS (25U)
- #define INTC_INTMSK6_INTMSK217 (0x02000000UL)
- #define INTC_INTMSK6_INTMSK218_POS (26U)
- #define INTC_INTMSK6_INTMSK218 (0x04000000UL)
- #define INTC_INTMSK6_INTMSK219_POS (27U)
- #define INTC_INTMSK6_INTMSK219 (0x08000000UL)
- #define INTC_INTMSK6_INTMSK220_POS (28U)
- #define INTC_INTMSK6_INTMSK220 (0x10000000UL)
- #define INTC_INTMSK6_INTMSK221_POS (29U)
- #define INTC_INTMSK6_INTMSK221 (0x20000000UL)
- #define INTC_INTMSK6_INTMSK222_POS (30U)
- #define INTC_INTMSK6_INTMSK222 (0x40000000UL)
- #define INTC_INTMSK6_INTMSK223_POS (31U)
- #define INTC_INTMSK6_INTMSK223 (0x80000000UL)
- /* Bit definition for INTC_INTMSK7 register */
- #define INTC_INTMSK7_INTMSK224_POS (0U)
- #define INTC_INTMSK7_INTMSK224 (0x00000001UL)
- #define INTC_INTMSK7_INTMSK225_POS (1U)
- #define INTC_INTMSK7_INTMSK225 (0x00000002UL)
- #define INTC_INTMSK7_INTMSK226_POS (2U)
- #define INTC_INTMSK7_INTMSK226 (0x00000004UL)
- #define INTC_INTMSK7_INTMSK227_POS (3U)
- #define INTC_INTMSK7_INTMSK227 (0x00000008UL)
- #define INTC_INTMSK7_INTMSK228_POS (4U)
- #define INTC_INTMSK7_INTMSK228 (0x00000010UL)
- #define INTC_INTMSK7_INTMSK229_POS (5U)
- #define INTC_INTMSK7_INTMSK229 (0x00000020UL)
- #define INTC_INTMSK7_INTMSK230_POS (6U)
- #define INTC_INTMSK7_INTMSK230 (0x00000040UL)
- #define INTC_INTMSK7_INTMSK231_POS (7U)
- #define INTC_INTMSK7_INTMSK231 (0x00000080UL)
- #define INTC_INTMSK7_INTMSK232_POS (8U)
- #define INTC_INTMSK7_INTMSK232 (0x00000100UL)
- #define INTC_INTMSK7_INTMSK233_POS (9U)
- #define INTC_INTMSK7_INTMSK233 (0x00000200UL)
- #define INTC_INTMSK7_INTMSK234_POS (10U)
- #define INTC_INTMSK7_INTMSK234 (0x00000400UL)
- #define INTC_INTMSK7_INTMSK235_POS (11U)
- #define INTC_INTMSK7_INTMSK235 (0x00000800UL)
- #define INTC_INTMSK7_INTMSK236_POS (12U)
- #define INTC_INTMSK7_INTMSK236 (0x00001000UL)
- #define INTC_INTMSK7_INTMSK237_POS (13U)
- #define INTC_INTMSK7_INTMSK237 (0x00002000UL)
- #define INTC_INTMSK7_INTMSK238_POS (14U)
- #define INTC_INTMSK7_INTMSK238 (0x00004000UL)
- #define INTC_INTMSK7_INTMSK239_POS (15U)
- #define INTC_INTMSK7_INTMSK239 (0x00008000UL)
- #define INTC_INTMSK7_INTMSK240_POS (16U)
- #define INTC_INTMSK7_INTMSK240 (0x00010000UL)
- #define INTC_INTMSK7_INTMSK241_POS (17U)
- #define INTC_INTMSK7_INTMSK241 (0x00020000UL)
- #define INTC_INTMSK7_INTMSK242_POS (18U)
- #define INTC_INTMSK7_INTMSK242 (0x00040000UL)
- #define INTC_INTMSK7_INTMSK243_POS (19U)
- #define INTC_INTMSK7_INTMSK243 (0x00080000UL)
- #define INTC_INTMSK7_INTMSK244_POS (20U)
- #define INTC_INTMSK7_INTMSK244 (0x00100000UL)
- #define INTC_INTMSK7_INTMSK245_POS (21U)
- #define INTC_INTMSK7_INTMSK245 (0x00200000UL)
- #define INTC_INTMSK7_INTMSK246_POS (22U)
- #define INTC_INTMSK7_INTMSK246 (0x00400000UL)
- #define INTC_INTMSK7_INTMSK247_POS (23U)
- #define INTC_INTMSK7_INTMSK247 (0x00800000UL)
- #define INTC_INTMSK7_INTMSK248_POS (24U)
- #define INTC_INTMSK7_INTMSK248 (0x01000000UL)
- #define INTC_INTMSK7_INTMSK249_POS (25U)
- #define INTC_INTMSK7_INTMSK249 (0x02000000UL)
- #define INTC_INTMSK7_INTMSK250_POS (26U)
- #define INTC_INTMSK7_INTMSK250 (0x04000000UL)
- #define INTC_INTMSK7_INTMSK251_POS (27U)
- #define INTC_INTMSK7_INTMSK251 (0x08000000UL)
- #define INTC_INTMSK7_INTMSK252_POS (28U)
- #define INTC_INTMSK7_INTMSK252 (0x10000000UL)
- #define INTC_INTMSK7_INTMSK253_POS (29U)
- #define INTC_INTMSK7_INTMSK253 (0x20000000UL)
- #define INTC_INTMSK7_INTMSK254_POS (30U)
- #define INTC_INTMSK7_INTMSK254 (0x40000000UL)
- #define INTC_INTMSK7_INTMSK255_POS (31U)
- #define INTC_INTMSK7_INTMSK255 (0x80000000UL)
- /* Bit definition for INTC_INTMSK8 register */
- #define INTC_INTMSK8_INTMSK256_POS (0U)
- #define INTC_INTMSK8_INTMSK256 (0x00000001UL)
- #define INTC_INTMSK8_INTMSK257_POS (1U)
- #define INTC_INTMSK8_INTMSK257 (0x00000002UL)
- #define INTC_INTMSK8_INTMSK258_POS (2U)
- #define INTC_INTMSK8_INTMSK258 (0x00000004UL)
- #define INTC_INTMSK8_INTMSK259_POS (3U)
- #define INTC_INTMSK8_INTMSK259 (0x00000008UL)
- #define INTC_INTMSK8_INTMSK260_POS (4U)
- #define INTC_INTMSK8_INTMSK260 (0x00000010UL)
- #define INTC_INTMSK8_INTMSK261_POS (5U)
- #define INTC_INTMSK8_INTMSK261 (0x00000020UL)
- #define INTC_INTMSK8_INTMSK262_POS (6U)
- #define INTC_INTMSK8_INTMSK262 (0x00000040UL)
- #define INTC_INTMSK8_INTMSK263_POS (7U)
- #define INTC_INTMSK8_INTMSK263 (0x00000080UL)
- #define INTC_INTMSK8_INTMSK264_POS (8U)
- #define INTC_INTMSK8_INTMSK264 (0x00000100UL)
- #define INTC_INTMSK8_INTMSK265_POS (9U)
- #define INTC_INTMSK8_INTMSK265 (0x00000200UL)
- #define INTC_INTMSK8_INTMSK266_POS (10U)
- #define INTC_INTMSK8_INTMSK266 (0x00000400UL)
- #define INTC_INTMSK8_INTMSK267_POS (11U)
- #define INTC_INTMSK8_INTMSK267 (0x00000800UL)
- #define INTC_INTMSK8_INTMSK268_POS (12U)
- #define INTC_INTMSK8_INTMSK268 (0x00001000UL)
- #define INTC_INTMSK8_INTMSK269_POS (13U)
- #define INTC_INTMSK8_INTMSK269 (0x00002000UL)
- #define INTC_INTMSK8_INTMSK270_POS (14U)
- #define INTC_INTMSK8_INTMSK270 (0x00004000UL)
- #define INTC_INTMSK8_INTMSK271_POS (15U)
- #define INTC_INTMSK8_INTMSK271 (0x00008000UL)
- #define INTC_INTMSK8_INTMSK272_POS (16U)
- #define INTC_INTMSK8_INTMSK272 (0x00010000UL)
- #define INTC_INTMSK8_INTMSK273_POS (17U)
- #define INTC_INTMSK8_INTMSK273 (0x00020000UL)
- #define INTC_INTMSK8_INTMSK274_POS (18U)
- #define INTC_INTMSK8_INTMSK274 (0x00040000UL)
- #define INTC_INTMSK8_INTMSK275_POS (19U)
- #define INTC_INTMSK8_INTMSK275 (0x00080000UL)
- #define INTC_INTMSK8_INTMSK276_POS (20U)
- #define INTC_INTMSK8_INTMSK276 (0x00100000UL)
- #define INTC_INTMSK8_INTMSK277_POS (21U)
- #define INTC_INTMSK8_INTMSK277 (0x00200000UL)
- #define INTC_INTMSK8_INTMSK278_POS (22U)
- #define INTC_INTMSK8_INTMSK278 (0x00400000UL)
- #define INTC_INTMSK8_INTMSK279_POS (23U)
- #define INTC_INTMSK8_INTMSK279 (0x00800000UL)
- #define INTC_INTMSK8_INTMSK280_POS (24U)
- #define INTC_INTMSK8_INTMSK280 (0x01000000UL)
- #define INTC_INTMSK8_INTMSK281_POS (25U)
- #define INTC_INTMSK8_INTMSK281 (0x02000000UL)
- #define INTC_INTMSK8_INTMSK282_POS (26U)
- #define INTC_INTMSK8_INTMSK282 (0x04000000UL)
- #define INTC_INTMSK8_INTMSK283_POS (27U)
- #define INTC_INTMSK8_INTMSK283 (0x08000000UL)
- #define INTC_INTMSK8_INTMSK284_POS (28U)
- #define INTC_INTMSK8_INTMSK284 (0x10000000UL)
- #define INTC_INTMSK8_INTMSK285_POS (29U)
- #define INTC_INTMSK8_INTMSK285 (0x20000000UL)
- #define INTC_INTMSK8_INTMSK286_POS (30U)
- #define INTC_INTMSK8_INTMSK286 (0x40000000UL)
- #define INTC_INTMSK8_INTMSK287_POS (31U)
- #define INTC_INTMSK8_INTMSK287 (0x80000000UL)
- /* Bit definition for INTC_INTMSK9 register */
- #define INTC_INTMSK9_INTMSK288_POS (0U)
- #define INTC_INTMSK9_INTMSK288 (0x00000001UL)
- #define INTC_INTMSK9_INTMSK289_POS (1U)
- #define INTC_INTMSK9_INTMSK289 (0x00000002UL)
- #define INTC_INTMSK9_INTMSK290_POS (2U)
- #define INTC_INTMSK9_INTMSK290 (0x00000004UL)
- #define INTC_INTMSK9_INTMSK291_POS (3U)
- #define INTC_INTMSK9_INTMSK291 (0x00000008UL)
- #define INTC_INTMSK9_INTMSK292_POS (4U)
- #define INTC_INTMSK9_INTMSK292 (0x00000010UL)
- #define INTC_INTMSK9_INTMSK293_POS (5U)
- #define INTC_INTMSK9_INTMSK293 (0x00000020UL)
- #define INTC_INTMSK9_INTMSK294_POS (6U)
- #define INTC_INTMSK9_INTMSK294 (0x00000040UL)
- #define INTC_INTMSK9_INTMSK295_POS (7U)
- #define INTC_INTMSK9_INTMSK295 (0x00000080UL)
- #define INTC_INTMSK9_INTMSK296_POS (8U)
- #define INTC_INTMSK9_INTMSK296 (0x00000100UL)
- #define INTC_INTMSK9_INTMSK297_POS (9U)
- #define INTC_INTMSK9_INTMSK297 (0x00000200UL)
- #define INTC_INTMSK9_INTMSK298_POS (10U)
- #define INTC_INTMSK9_INTMSK298 (0x00000400UL)
- #define INTC_INTMSK9_INTMSK299_POS (11U)
- #define INTC_INTMSK9_INTMSK299 (0x00000800UL)
- #define INTC_INTMSK9_INTMSK300_POS (12U)
- #define INTC_INTMSK9_INTMSK300 (0x00001000UL)
- #define INTC_INTMSK9_INTMSK301_POS (13U)
- #define INTC_INTMSK9_INTMSK301 (0x00002000UL)
- #define INTC_INTMSK9_INTMSK302_POS (14U)
- #define INTC_INTMSK9_INTMSK302 (0x00004000UL)
- #define INTC_INTMSK9_INTMSK303_POS (15U)
- #define INTC_INTMSK9_INTMSK303 (0x00008000UL)
- #define INTC_INTMSK9_INTMSK304_POS (16U)
- #define INTC_INTMSK9_INTMSK304 (0x00010000UL)
- #define INTC_INTMSK9_INTMSK305_POS (17U)
- #define INTC_INTMSK9_INTMSK305 (0x00020000UL)
- #define INTC_INTMSK9_INTMSK306_POS (18U)
- #define INTC_INTMSK9_INTMSK306 (0x00040000UL)
- #define INTC_INTMSK9_INTMSK307_POS (19U)
- #define INTC_INTMSK9_INTMSK307 (0x00080000UL)
- #define INTC_INTMSK9_INTMSK308_POS (20U)
- #define INTC_INTMSK9_INTMSK308 (0x00100000UL)
- #define INTC_INTMSK9_INTMSK309_POS (21U)
- #define INTC_INTMSK9_INTMSK309 (0x00200000UL)
- #define INTC_INTMSK9_INTMSK310_POS (22U)
- #define INTC_INTMSK9_INTMSK310 (0x00400000UL)
- #define INTC_INTMSK9_INTMSK311_POS (23U)
- #define INTC_INTMSK9_INTMSK311 (0x00800000UL)
- #define INTC_INTMSK9_INTMSK312_POS (24U)
- #define INTC_INTMSK9_INTMSK312 (0x01000000UL)
- #define INTC_INTMSK9_INTMSK313_POS (25U)
- #define INTC_INTMSK9_INTMSK313 (0x02000000UL)
- #define INTC_INTMSK9_INTMSK314_POS (26U)
- #define INTC_INTMSK9_INTMSK314 (0x04000000UL)
- #define INTC_INTMSK9_INTMSK315_POS (27U)
- #define INTC_INTMSK9_INTMSK315 (0x08000000UL)
- #define INTC_INTMSK9_INTMSK316_POS (28U)
- #define INTC_INTMSK9_INTMSK316 (0x10000000UL)
- #define INTC_INTMSK9_INTMSK317_POS (29U)
- #define INTC_INTMSK9_INTMSK317 (0x20000000UL)
- #define INTC_INTMSK9_INTMSK318_POS (30U)
- #define INTC_INTMSK9_INTMSK318 (0x40000000UL)
- #define INTC_INTMSK9_INTMSK319_POS (31U)
- #define INTC_INTMSK9_INTMSK319 (0x80000000UL)
- /* Bit definition for INTC_INTMSK10 register */
- #define INTC_INTMSK10_INTMSK320_POS (0U)
- #define INTC_INTMSK10_INTMSK320 (0x00000001UL)
- #define INTC_INTMSK10_INTMSK321_POS (1U)
- #define INTC_INTMSK10_INTMSK321 (0x00000002UL)
- #define INTC_INTMSK10_INTMSK322_POS (2U)
- #define INTC_INTMSK10_INTMSK322 (0x00000004UL)
- #define INTC_INTMSK10_INTMSK323_POS (3U)
- #define INTC_INTMSK10_INTMSK323 (0x00000008UL)
- #define INTC_INTMSK10_INTMSK324_POS (4U)
- #define INTC_INTMSK10_INTMSK324 (0x00000010UL)
- #define INTC_INTMSK10_INTMSK325_POS (5U)
- #define INTC_INTMSK10_INTMSK325 (0x00000020UL)
- #define INTC_INTMSK10_INTMSK326_POS (6U)
- #define INTC_INTMSK10_INTMSK326 (0x00000040UL)
- #define INTC_INTMSK10_INTMSK327_POS (7U)
- #define INTC_INTMSK10_INTMSK327 (0x00000080UL)
- #define INTC_INTMSK10_INTMSK328_POS (8U)
- #define INTC_INTMSK10_INTMSK328 (0x00000100UL)
- #define INTC_INTMSK10_INTMSK329_POS (9U)
- #define INTC_INTMSK10_INTMSK329 (0x00000200UL)
- #define INTC_INTMSK10_INTMSK330_POS (10U)
- #define INTC_INTMSK10_INTMSK330 (0x00000400UL)
- #define INTC_INTMSK10_INTMSK331_POS (11U)
- #define INTC_INTMSK10_INTMSK331 (0x00000800UL)
- #define INTC_INTMSK10_INTMSK332_POS (12U)
- #define INTC_INTMSK10_INTMSK332 (0x00001000UL)
- #define INTC_INTMSK10_INTMSK333_POS (13U)
- #define INTC_INTMSK10_INTMSK333 (0x00002000UL)
- #define INTC_INTMSK10_INTMSK334_POS (14U)
- #define INTC_INTMSK10_INTMSK334 (0x00004000UL)
- #define INTC_INTMSK10_INTMSK335_POS (15U)
- #define INTC_INTMSK10_INTMSK335 (0x00008000UL)
- #define INTC_INTMSK10_INTMSK336_POS (16U)
- #define INTC_INTMSK10_INTMSK336 (0x00010000UL)
- #define INTC_INTMSK10_INTMSK337_POS (17U)
- #define INTC_INTMSK10_INTMSK337 (0x00020000UL)
- #define INTC_INTMSK10_INTMSK338_POS (18U)
- #define INTC_INTMSK10_INTMSK338 (0x00040000UL)
- #define INTC_INTMSK10_INTMSK339_POS (19U)
- #define INTC_INTMSK10_INTMSK339 (0x00080000UL)
- #define INTC_INTMSK10_INTMSK340_POS (20U)
- #define INTC_INTMSK10_INTMSK340 (0x00100000UL)
- #define INTC_INTMSK10_INTMSK341_POS (21U)
- #define INTC_INTMSK10_INTMSK341 (0x00200000UL)
- #define INTC_INTMSK10_INTMSK342_POS (22U)
- #define INTC_INTMSK10_INTMSK342 (0x00400000UL)
- #define INTC_INTMSK10_INTMSK343_POS (23U)
- #define INTC_INTMSK10_INTMSK343 (0x00800000UL)
- #define INTC_INTMSK10_INTMSK344_POS (24U)
- #define INTC_INTMSK10_INTMSK344 (0x01000000UL)
- #define INTC_INTMSK10_INTMSK345_POS (25U)
- #define INTC_INTMSK10_INTMSK345 (0x02000000UL)
- #define INTC_INTMSK10_INTMSK346_POS (26U)
- #define INTC_INTMSK10_INTMSK346 (0x04000000UL)
- #define INTC_INTMSK10_INTMSK347_POS (27U)
- #define INTC_INTMSK10_INTMSK347 (0x08000000UL)
- #define INTC_INTMSK10_INTMSK348_POS (28U)
- #define INTC_INTMSK10_INTMSK348 (0x10000000UL)
- #define INTC_INTMSK10_INTMSK349_POS (29U)
- #define INTC_INTMSK10_INTMSK349 (0x20000000UL)
- #define INTC_INTMSK10_INTMSK350_POS (30U)
- #define INTC_INTMSK10_INTMSK350 (0x40000000UL)
- #define INTC_INTMSK10_INTMSK351_POS (31U)
- #define INTC_INTMSK10_INTMSK351 (0x80000000UL)
- /* Bit definition for INTC_INTMSK11 register */
- #define INTC_INTMSK11_INTMSK352_POS (0U)
- #define INTC_INTMSK11_INTMSK352 (0x00000001UL)
- #define INTC_INTMSK11_INTMSK353_POS (1U)
- #define INTC_INTMSK11_INTMSK353 (0x00000002UL)
- #define INTC_INTMSK11_INTMSK354_POS (2U)
- #define INTC_INTMSK11_INTMSK354 (0x00000004UL)
- #define INTC_INTMSK11_INTMSK355_POS (3U)
- #define INTC_INTMSK11_INTMSK355 (0x00000008UL)
- #define INTC_INTMSK11_INTMSK356_POS (4U)
- #define INTC_INTMSK11_INTMSK356 (0x00000010UL)
- #define INTC_INTMSK11_INTMSK357_POS (5U)
- #define INTC_INTMSK11_INTMSK357 (0x00000020UL)
- #define INTC_INTMSK11_INTMSK358_POS (6U)
- #define INTC_INTMSK11_INTMSK358 (0x00000040UL)
- #define INTC_INTMSK11_INTMSK359_POS (7U)
- #define INTC_INTMSK11_INTMSK359 (0x00000080UL)
- #define INTC_INTMSK11_INTMSK360_POS (8U)
- #define INTC_INTMSK11_INTMSK360 (0x00000100UL)
- #define INTC_INTMSK11_INTMSK361_POS (9U)
- #define INTC_INTMSK11_INTMSK361 (0x00000200UL)
- #define INTC_INTMSK11_INTMSK362_POS (10U)
- #define INTC_INTMSK11_INTMSK362 (0x00000400UL)
- #define INTC_INTMSK11_INTMSK363_POS (11U)
- #define INTC_INTMSK11_INTMSK363 (0x00000800UL)
- #define INTC_INTMSK11_INTMSK364_POS (12U)
- #define INTC_INTMSK11_INTMSK364 (0x00001000UL)
- #define INTC_INTMSK11_INTMSK365_POS (13U)
- #define INTC_INTMSK11_INTMSK365 (0x00002000UL)
- #define INTC_INTMSK11_INTMSK366_POS (14U)
- #define INTC_INTMSK11_INTMSK366 (0x00004000UL)
- #define INTC_INTMSK11_INTMSK367_POS (15U)
- #define INTC_INTMSK11_INTMSK367 (0x00008000UL)
- #define INTC_INTMSK11_INTMSK368_POS (16U)
- #define INTC_INTMSK11_INTMSK368 (0x00010000UL)
- #define INTC_INTMSK11_INTMSK369_POS (17U)
- #define INTC_INTMSK11_INTMSK369 (0x00020000UL)
- #define INTC_INTMSK11_INTMSK370_POS (18U)
- #define INTC_INTMSK11_INTMSK370 (0x00040000UL)
- #define INTC_INTMSK11_INTMSK371_POS (19U)
- #define INTC_INTMSK11_INTMSK371 (0x00080000UL)
- #define INTC_INTMSK11_INTMSK372_POS (20U)
- #define INTC_INTMSK11_INTMSK372 (0x00100000UL)
- #define INTC_INTMSK11_INTMSK373_POS (21U)
- #define INTC_INTMSK11_INTMSK373 (0x00200000UL)
- #define INTC_INTMSK11_INTMSK374_POS (22U)
- #define INTC_INTMSK11_INTMSK374 (0x00400000UL)
- #define INTC_INTMSK11_INTMSK375_POS (23U)
- #define INTC_INTMSK11_INTMSK375 (0x00800000UL)
- #define INTC_INTMSK11_INTMSK376_POS (24U)
- #define INTC_INTMSK11_INTMSK376 (0x01000000UL)
- #define INTC_INTMSK11_INTMSK377_POS (25U)
- #define INTC_INTMSK11_INTMSK377 (0x02000000UL)
- #define INTC_INTMSK11_INTMSK378_POS (26U)
- #define INTC_INTMSK11_INTMSK378 (0x04000000UL)
- #define INTC_INTMSK11_INTMSK379_POS (27U)
- #define INTC_INTMSK11_INTMSK379 (0x08000000UL)
- #define INTC_INTMSK11_INTMSK380_POS (28U)
- #define INTC_INTMSK11_INTMSK380 (0x10000000UL)
- #define INTC_INTMSK11_INTMSK381_POS (29U)
- #define INTC_INTMSK11_INTMSK381 (0x20000000UL)
- #define INTC_INTMSK11_INTMSK382_POS (30U)
- #define INTC_INTMSK11_INTMSK382 (0x40000000UL)
- #define INTC_INTMSK11_INTMSK383_POS (31U)
- #define INTC_INTMSK11_INTMSK383 (0x80000000UL)
- /* Bit definition for INTC_INTMSK12 register */
- #define INTC_INTMSK12_INTMSK384_POS (0U)
- #define INTC_INTMSK12_INTMSK384 (0x00000001UL)
- #define INTC_INTMSK12_INTMSK385_POS (1U)
- #define INTC_INTMSK12_INTMSK385 (0x00000002UL)
- #define INTC_INTMSK12_INTMSK386_POS (2U)
- #define INTC_INTMSK12_INTMSK386 (0x00000004UL)
- #define INTC_INTMSK12_INTMSK387_POS (3U)
- #define INTC_INTMSK12_INTMSK387 (0x00000008UL)
- #define INTC_INTMSK12_INTMSK388_POS (4U)
- #define INTC_INTMSK12_INTMSK388 (0x00000010UL)
- #define INTC_INTMSK12_INTMSK389_POS (5U)
- #define INTC_INTMSK12_INTMSK389 (0x00000020UL)
- #define INTC_INTMSK12_INTMSK390_POS (6U)
- #define INTC_INTMSK12_INTMSK390 (0x00000040UL)
- #define INTC_INTMSK12_INTMSK391_POS (7U)
- #define INTC_INTMSK12_INTMSK391 (0x00000080UL)
- #define INTC_INTMSK12_INTMSK392_POS (8U)
- #define INTC_INTMSK12_INTMSK392 (0x00000100UL)
- #define INTC_INTMSK12_INTMSK393_POS (9U)
- #define INTC_INTMSK12_INTMSK393 (0x00000200UL)
- #define INTC_INTMSK12_INTMSK394_POS (10U)
- #define INTC_INTMSK12_INTMSK394 (0x00000400UL)
- #define INTC_INTMSK12_INTMSK395_POS (11U)
- #define INTC_INTMSK12_INTMSK395 (0x00000800UL)
- #define INTC_INTMSK12_INTMSK396_POS (12U)
- #define INTC_INTMSK12_INTMSK396 (0x00001000UL)
- #define INTC_INTMSK12_INTMSK397_POS (13U)
- #define INTC_INTMSK12_INTMSK397 (0x00002000UL)
- #define INTC_INTMSK12_INTMSK398_POS (14U)
- #define INTC_INTMSK12_INTMSK398 (0x00004000UL)
- #define INTC_INTMSK12_INTMSK399_POS (15U)
- #define INTC_INTMSK12_INTMSK399 (0x00008000UL)
- #define INTC_INTMSK12_INTMSK400_POS (16U)
- #define INTC_INTMSK12_INTMSK400 (0x00010000UL)
- #define INTC_INTMSK12_INTMSK401_POS (17U)
- #define INTC_INTMSK12_INTMSK401 (0x00020000UL)
- #define INTC_INTMSK12_INTMSK402_POS (18U)
- #define INTC_INTMSK12_INTMSK402 (0x00040000UL)
- #define INTC_INTMSK12_INTMSK403_POS (19U)
- #define INTC_INTMSK12_INTMSK403 (0x00080000UL)
- #define INTC_INTMSK12_INTMSK404_POS (20U)
- #define INTC_INTMSK12_INTMSK404 (0x00100000UL)
- #define INTC_INTMSK12_INTMSK405_POS (21U)
- #define INTC_INTMSK12_INTMSK405 (0x00200000UL)
- #define INTC_INTMSK12_INTMSK406_POS (22U)
- #define INTC_INTMSK12_INTMSK406 (0x00400000UL)
- #define INTC_INTMSK12_INTMSK407_POS (23U)
- #define INTC_INTMSK12_INTMSK407 (0x00800000UL)
- #define INTC_INTMSK12_INTMSK408_POS (24U)
- #define INTC_INTMSK12_INTMSK408 (0x01000000UL)
- #define INTC_INTMSK12_INTMSK409_POS (25U)
- #define INTC_INTMSK12_INTMSK409 (0x02000000UL)
- #define INTC_INTMSK12_INTMSK410_POS (26U)
- #define INTC_INTMSK12_INTMSK410 (0x04000000UL)
- #define INTC_INTMSK12_INTMSK411_POS (27U)
- #define INTC_INTMSK12_INTMSK411 (0x08000000UL)
- #define INTC_INTMSK12_INTMSK412_POS (28U)
- #define INTC_INTMSK12_INTMSK412 (0x10000000UL)
- #define INTC_INTMSK12_INTMSK413_POS (29U)
- #define INTC_INTMSK12_INTMSK413 (0x20000000UL)
- #define INTC_INTMSK12_INTMSK414_POS (30U)
- #define INTC_INTMSK12_INTMSK414 (0x40000000UL)
- #define INTC_INTMSK12_INTMSK415_POS (31U)
- #define INTC_INTMSK12_INTMSK415 (0x80000000UL)
- /* Bit definition for INTC_INTMSK13 register */
- #define INTC_INTMSK13_INTMSK416_POS (0U)
- #define INTC_INTMSK13_INTMSK416 (0x00000001UL)
- #define INTC_INTMSK13_INTMSK417_POS (1U)
- #define INTC_INTMSK13_INTMSK417 (0x00000002UL)
- #define INTC_INTMSK13_INTMSK418_POS (2U)
- #define INTC_INTMSK13_INTMSK418 (0x00000004UL)
- #define INTC_INTMSK13_INTMSK419_POS (3U)
- #define INTC_INTMSK13_INTMSK419 (0x00000008UL)
- #define INTC_INTMSK13_INTMSK420_POS (4U)
- #define INTC_INTMSK13_INTMSK420 (0x00000010UL)
- #define INTC_INTMSK13_INTMSK421_POS (5U)
- #define INTC_INTMSK13_INTMSK421 (0x00000020UL)
- #define INTC_INTMSK13_INTMSK422_POS (6U)
- #define INTC_INTMSK13_INTMSK422 (0x00000040UL)
- #define INTC_INTMSK13_INTMSK423_POS (7U)
- #define INTC_INTMSK13_INTMSK423 (0x00000080UL)
- #define INTC_INTMSK13_INTMSK424_POS (8U)
- #define INTC_INTMSK13_INTMSK424 (0x00000100UL)
- #define INTC_INTMSK13_INTMSK425_POS (9U)
- #define INTC_INTMSK13_INTMSK425 (0x00000200UL)
- #define INTC_INTMSK13_INTMSK426_POS (10U)
- #define INTC_INTMSK13_INTMSK426 (0x00000400UL)
- #define INTC_INTMSK13_INTMSK427_POS (11U)
- #define INTC_INTMSK13_INTMSK427 (0x00000800UL)
- #define INTC_INTMSK13_INTMSK428_POS (12U)
- #define INTC_INTMSK13_INTMSK428 (0x00001000UL)
- #define INTC_INTMSK13_INTMSK429_POS (13U)
- #define INTC_INTMSK13_INTMSK429 (0x00002000UL)
- #define INTC_INTMSK13_INTMSK430_POS (14U)
- #define INTC_INTMSK13_INTMSK430 (0x00004000UL)
- #define INTC_INTMSK13_INTMSK431_POS (15U)
- #define INTC_INTMSK13_INTMSK431 (0x00008000UL)
- #define INTC_INTMSK13_INTMSK432_POS (16U)
- #define INTC_INTMSK13_INTMSK432 (0x00010000UL)
- #define INTC_INTMSK13_INTMSK433_POS (17U)
- #define INTC_INTMSK13_INTMSK433 (0x00020000UL)
- #define INTC_INTMSK13_INTMSK434_POS (18U)
- #define INTC_INTMSK13_INTMSK434 (0x00040000UL)
- #define INTC_INTMSK13_INTMSK435_POS (19U)
- #define INTC_INTMSK13_INTMSK435 (0x00080000UL)
- #define INTC_INTMSK13_INTMSK436_POS (20U)
- #define INTC_INTMSK13_INTMSK436 (0x00100000UL)
- #define INTC_INTMSK13_INTMSK437_POS (21U)
- #define INTC_INTMSK13_INTMSK437 (0x00200000UL)
- #define INTC_INTMSK13_INTMSK438_POS (22U)
- #define INTC_INTMSK13_INTMSK438 (0x00400000UL)
- #define INTC_INTMSK13_INTMSK439_POS (23U)
- #define INTC_INTMSK13_INTMSK439 (0x00800000UL)
- #define INTC_INTMSK13_INTMSK440_POS (24U)
- #define INTC_INTMSK13_INTMSK440 (0x01000000UL)
- #define INTC_INTMSK13_INTMSK441_POS (25U)
- #define INTC_INTMSK13_INTMSK441 (0x02000000UL)
- #define INTC_INTMSK13_INTMSK442_POS (26U)
- #define INTC_INTMSK13_INTMSK442 (0x04000000UL)
- #define INTC_INTMSK13_INTMSK443_POS (27U)
- #define INTC_INTMSK13_INTMSK443 (0x08000000UL)
- #define INTC_INTMSK13_INTMSK444_POS (28U)
- #define INTC_INTMSK13_INTMSK444 (0x10000000UL)
- #define INTC_INTMSK13_INTMSK445_POS (29U)
- #define INTC_INTMSK13_INTMSK445 (0x20000000UL)
- #define INTC_INTMSK13_INTMSK446_POS (30U)
- #define INTC_INTMSK13_INTMSK446 (0x40000000UL)
- #define INTC_INTMSK13_INTMSK447_POS (31U)
- #define INTC_INTMSK13_INTMSK447 (0x80000000UL)
- /* Bit definition for INTC_INTMSK14 register */
- #define INTC_INTMSK14_INTMSK448_POS (0U)
- #define INTC_INTMSK14_INTMSK448 (0x00000001UL)
- #define INTC_INTMSK14_INTMSK449_POS (1U)
- #define INTC_INTMSK14_INTMSK449 (0x00000002UL)
- #define INTC_INTMSK14_INTMSK450_POS (2U)
- #define INTC_INTMSK14_INTMSK450 (0x00000004UL)
- #define INTC_INTMSK14_INTMSK451_POS (3U)
- #define INTC_INTMSK14_INTMSK451 (0x00000008UL)
- #define INTC_INTMSK14_INTMSK452_POS (4U)
- #define INTC_INTMSK14_INTMSK452 (0x00000010UL)
- #define INTC_INTMSK14_INTMSK453_POS (5U)
- #define INTC_INTMSK14_INTMSK453 (0x00000020UL)
- #define INTC_INTMSK14_INTMSK454_POS (6U)
- #define INTC_INTMSK14_INTMSK454 (0x00000040UL)
- #define INTC_INTMSK14_INTMSK455_POS (7U)
- #define INTC_INTMSK14_INTMSK455 (0x00000080UL)
- #define INTC_INTMSK14_INTMSK456_POS (8U)
- #define INTC_INTMSK14_INTMSK456 (0x00000100UL)
- #define INTC_INTMSK14_INTMSK457_POS (9U)
- #define INTC_INTMSK14_INTMSK457 (0x00000200UL)
- #define INTC_INTMSK14_INTMSK458_POS (10U)
- #define INTC_INTMSK14_INTMSK458 (0x00000400UL)
- #define INTC_INTMSK14_INTMSK459_POS (11U)
- #define INTC_INTMSK14_INTMSK459 (0x00000800UL)
- #define INTC_INTMSK14_INTMSK460_POS (12U)
- #define INTC_INTMSK14_INTMSK460 (0x00001000UL)
- #define INTC_INTMSK14_INTMSK461_POS (13U)
- #define INTC_INTMSK14_INTMSK461 (0x00002000UL)
- #define INTC_INTMSK14_INTMSK462_POS (14U)
- #define INTC_INTMSK14_INTMSK462 (0x00004000UL)
- #define INTC_INTMSK14_INTMSK463_POS (15U)
- #define INTC_INTMSK14_INTMSK463 (0x00008000UL)
- #define INTC_INTMSK14_INTMSK464_POS (16U)
- #define INTC_INTMSK14_INTMSK464 (0x00010000UL)
- #define INTC_INTMSK14_INTMSK465_POS (17U)
- #define INTC_INTMSK14_INTMSK465 (0x00020000UL)
- #define INTC_INTMSK14_INTMSK466_POS (18U)
- #define INTC_INTMSK14_INTMSK466 (0x00040000UL)
- #define INTC_INTMSK14_INTMSK467_POS (19U)
- #define INTC_INTMSK14_INTMSK467 (0x00080000UL)
- #define INTC_INTMSK14_INTMSK468_POS (20U)
- #define INTC_INTMSK14_INTMSK468 (0x00100000UL)
- #define INTC_INTMSK14_INTMSK469_POS (21U)
- #define INTC_INTMSK14_INTMSK469 (0x00200000UL)
- #define INTC_INTMSK14_INTMSK470_POS (22U)
- #define INTC_INTMSK14_INTMSK470 (0x00400000UL)
- #define INTC_INTMSK14_INTMSK471_POS (23U)
- #define INTC_INTMSK14_INTMSK471 (0x00800000UL)
- #define INTC_INTMSK14_INTMSK472_POS (24U)
- #define INTC_INTMSK14_INTMSK472 (0x01000000UL)
- #define INTC_INTMSK14_INTMSK473_POS (25U)
- #define INTC_INTMSK14_INTMSK473 (0x02000000UL)
- #define INTC_INTMSK14_INTMSK474_POS (26U)
- #define INTC_INTMSK14_INTMSK474 (0x04000000UL)
- #define INTC_INTMSK14_INTMSK475_POS (27U)
- #define INTC_INTMSK14_INTMSK475 (0x08000000UL)
- #define INTC_INTMSK14_INTMSK476_POS (28U)
- #define INTC_INTMSK14_INTMSK476 (0x10000000UL)
- #define INTC_INTMSK14_INTMSK477_POS (29U)
- #define INTC_INTMSK14_INTMSK477 (0x20000000UL)
- #define INTC_INTMSK14_INTMSK478_POS (30U)
- #define INTC_INTMSK14_INTMSK478 (0x40000000UL)
- #define INTC_INTMSK14_INTMSK479_POS (31U)
- #define INTC_INTMSK14_INTMSK479 (0x80000000UL)
- /* Bit definition for INTC_INTMSK15 register */
- #define INTC_INTMSK15_INTMSK480_POS (0U)
- #define INTC_INTMSK15_INTMSK480 (0x00000001UL)
- #define INTC_INTMSK15_INTMSK481_POS (1U)
- #define INTC_INTMSK15_INTMSK481 (0x00000002UL)
- #define INTC_INTMSK15_INTMSK482_POS (2U)
- #define INTC_INTMSK15_INTMSK482 (0x00000004UL)
- #define INTC_INTMSK15_INTMSK483_POS (3U)
- #define INTC_INTMSK15_INTMSK483 (0x00000008UL)
- #define INTC_INTMSK15_INTMSK484_POS (4U)
- #define INTC_INTMSK15_INTMSK484 (0x00000010UL)
- #define INTC_INTMSK15_INTMSK485_POS (5U)
- #define INTC_INTMSK15_INTMSK485 (0x00000020UL)
- #define INTC_INTMSK15_INTMSK486_POS (6U)
- #define INTC_INTMSK15_INTMSK486 (0x00000040UL)
- #define INTC_INTMSK15_INTMSK487_POS (7U)
- #define INTC_INTMSK15_INTMSK487 (0x00000080UL)
- #define INTC_INTMSK15_INTMSK488_POS (8U)
- #define INTC_INTMSK15_INTMSK488 (0x00000100UL)
- #define INTC_INTMSK15_INTMSK489_POS (9U)
- #define INTC_INTMSK15_INTMSK489 (0x00000200UL)
- #define INTC_INTMSK15_INTMSK490_POS (10U)
- #define INTC_INTMSK15_INTMSK490 (0x00000400UL)
- #define INTC_INTMSK15_INTMSK491_POS (11U)
- #define INTC_INTMSK15_INTMSK491 (0x00000800UL)
- #define INTC_INTMSK15_INTMSK492_POS (12U)
- #define INTC_INTMSK15_INTMSK492 (0x00001000UL)
- #define INTC_INTMSK15_INTMSK493_POS (13U)
- #define INTC_INTMSK15_INTMSK493 (0x00002000UL)
- #define INTC_INTMSK15_INTMSK494_POS (14U)
- #define INTC_INTMSK15_INTMSK494 (0x00004000UL)
- #define INTC_INTMSK15_INTMSK495_POS (15U)
- #define INTC_INTMSK15_INTMSK495 (0x00008000UL)
- #define INTC_INTMSK15_INTMSK496_POS (16U)
- #define INTC_INTMSK15_INTMSK496 (0x00010000UL)
- #define INTC_INTMSK15_INTMSK497_POS (17U)
- #define INTC_INTMSK15_INTMSK497 (0x00020000UL)
- #define INTC_INTMSK15_INTMSK498_POS (18U)
- #define INTC_INTMSK15_INTMSK498 (0x00040000UL)
- #define INTC_INTMSK15_INTMSK499_POS (19U)
- #define INTC_INTMSK15_INTMSK499 (0x00080000UL)
- #define INTC_INTMSK15_INTMSK500_POS (20U)
- #define INTC_INTMSK15_INTMSK500 (0x00100000UL)
- #define INTC_INTMSK15_INTMSK501_POS (21U)
- #define INTC_INTMSK15_INTMSK501 (0x00200000UL)
- #define INTC_INTMSK15_INTMSK502_POS (22U)
- #define INTC_INTMSK15_INTMSK502 (0x00400000UL)
- #define INTC_INTMSK15_INTMSK503_POS (23U)
- #define INTC_INTMSK15_INTMSK503 (0x00800000UL)
- #define INTC_INTMSK15_INTMSK504_POS (24U)
- #define INTC_INTMSK15_INTMSK504 (0x01000000UL)
- #define INTC_INTMSK15_INTMSK505_POS (25U)
- #define INTC_INTMSK15_INTMSK505 (0x02000000UL)
- #define INTC_INTMSK15_INTMSK506_POS (26U)
- #define INTC_INTMSK15_INTMSK506 (0x04000000UL)
- #define INTC_INTMSK15_INTMSK507_POS (27U)
- #define INTC_INTMSK15_INTMSK507 (0x08000000UL)
- #define INTC_INTMSK15_INTMSK508_POS (28U)
- #define INTC_INTMSK15_INTMSK508 (0x10000000UL)
- #define INTC_INTMSK15_INTMSK509_POS (29U)
- #define INTC_INTMSK15_INTMSK509 (0x20000000UL)
- #define INTC_INTMSK15_INTMSK510_POS (30U)
- #define INTC_INTMSK15_INTMSK510 (0x40000000UL)
- #define INTC_INTMSK15_INTMSK511_POS (31U)
- #define INTC_INTMSK15_INTMSK511 (0x80000000UL)
- /* Bit definition for INTC_SWIER register */
- #define INTC_SWIER_SWIE0_POS (0U)
- #define INTC_SWIER_SWIE0 (0x00000001UL)
- #define INTC_SWIER_SWIE1_POS (1U)
- #define INTC_SWIER_SWIE1 (0x00000002UL)
- #define INTC_SWIER_SWIE2_POS (2U)
- #define INTC_SWIER_SWIE2 (0x00000004UL)
- #define INTC_SWIER_SWIE3_POS (3U)
- #define INTC_SWIER_SWIE3 (0x00000008UL)
- #define INTC_SWIER_SWIE4_POS (4U)
- #define INTC_SWIER_SWIE4 (0x00000010UL)
- #define INTC_SWIER_SWIE5_POS (5U)
- #define INTC_SWIER_SWIE5 (0x00000020UL)
- #define INTC_SWIER_SWIE6_POS (6U)
- #define INTC_SWIER_SWIE6 (0x00000040UL)
- #define INTC_SWIER_SWIE7_POS (7U)
- #define INTC_SWIER_SWIE7 (0x00000080UL)
- #define INTC_SWIER_SWIE8_POS (8U)
- #define INTC_SWIER_SWIE8 (0x00000100UL)
- #define INTC_SWIER_SWIE9_POS (9U)
- #define INTC_SWIER_SWIE9 (0x00000200UL)
- #define INTC_SWIER_SWIE10_POS (10U)
- #define INTC_SWIER_SWIE10 (0x00000400UL)
- #define INTC_SWIER_SWIE11_POS (11U)
- #define INTC_SWIER_SWIE11 (0x00000800UL)
- #define INTC_SWIER_SWIE12_POS (12U)
- #define INTC_SWIER_SWIE12 (0x00001000UL)
- #define INTC_SWIER_SWIE13_POS (13U)
- #define INTC_SWIER_SWIE13 (0x00002000UL)
- #define INTC_SWIER_SWIE14_POS (14U)
- #define INTC_SWIER_SWIE14 (0x00004000UL)
- #define INTC_SWIER_SWIE15_POS (15U)
- #define INTC_SWIER_SWIE15 (0x00008000UL)
- #define INTC_SWIER_SWIE16_POS (16U)
- #define INTC_SWIER_SWIE16 (0x00010000UL)
- #define INTC_SWIER_SWIE17_POS (17U)
- #define INTC_SWIER_SWIE17 (0x00020000UL)
- #define INTC_SWIER_SWIE18_POS (18U)
- #define INTC_SWIER_SWIE18 (0x00040000UL)
- #define INTC_SWIER_SWIE19_POS (19U)
- #define INTC_SWIER_SWIE19 (0x00080000UL)
- #define INTC_SWIER_SWIE20_POS (20U)
- #define INTC_SWIER_SWIE20 (0x00100000UL)
- #define INTC_SWIER_SWIE21_POS (21U)
- #define INTC_SWIER_SWIE21 (0x00200000UL)
- #define INTC_SWIER_SWIE22_POS (22U)
- #define INTC_SWIER_SWIE22 (0x00400000UL)
- #define INTC_SWIER_SWIE23_POS (23U)
- #define INTC_SWIER_SWIE23 (0x00800000UL)
- #define INTC_SWIER_SWIE24_POS (24U)
- #define INTC_SWIER_SWIE24 (0x01000000UL)
- #define INTC_SWIER_SWIE25_POS (25U)
- #define INTC_SWIER_SWIE25 (0x02000000UL)
- #define INTC_SWIER_SWIE26_POS (26U)
- #define INTC_SWIER_SWIE26 (0x04000000UL)
- #define INTC_SWIER_SWIE27_POS (27U)
- #define INTC_SWIER_SWIE27 (0x08000000UL)
- #define INTC_SWIER_SWIE28_POS (28U)
- #define INTC_SWIER_SWIE28 (0x10000000UL)
- #define INTC_SWIER_SWIE29_POS (29U)
- #define INTC_SWIER_SWIE29 (0x20000000UL)
- #define INTC_SWIER_SWIE30_POS (30U)
- #define INTC_SWIER_SWIE30 (0x40000000UL)
- #define INTC_SWIER_SWIE31_POS (31U)
- #define INTC_SWIER_SWIE31 (0x80000000UL)
- /* Bit definition for INTC_EVTER register */
- #define INTC_EVTER_EVTE0_POS (0U)
- #define INTC_EVTER_EVTE0 (0x00000001UL)
- #define INTC_EVTER_EVTE1_POS (1U)
- #define INTC_EVTER_EVTE1 (0x00000002UL)
- #define INTC_EVTER_EVTE2_POS (2U)
- #define INTC_EVTER_EVTE2 (0x00000004UL)
- #define INTC_EVTER_EVTE3_POS (3U)
- #define INTC_EVTER_EVTE3 (0x00000008UL)
- #define INTC_EVTER_EVTE4_POS (4U)
- #define INTC_EVTER_EVTE4 (0x00000010UL)
- #define INTC_EVTER_EVTE5_POS (5U)
- #define INTC_EVTER_EVTE5 (0x00000020UL)
- #define INTC_EVTER_EVTE6_POS (6U)
- #define INTC_EVTER_EVTE6 (0x00000040UL)
- #define INTC_EVTER_EVTE7_POS (7U)
- #define INTC_EVTER_EVTE7 (0x00000080UL)
- #define INTC_EVTER_EVTE8_POS (8U)
- #define INTC_EVTER_EVTE8 (0x00000100UL)
- #define INTC_EVTER_EVTE9_POS (9U)
- #define INTC_EVTER_EVTE9 (0x00000200UL)
- #define INTC_EVTER_EVTE10_POS (10U)
- #define INTC_EVTER_EVTE10 (0x00000400UL)
- #define INTC_EVTER_EVTE11_POS (11U)
- #define INTC_EVTER_EVTE11 (0x00000800UL)
- #define INTC_EVTER_EVTE12_POS (12U)
- #define INTC_EVTER_EVTE12 (0x00001000UL)
- #define INTC_EVTER_EVTE13_POS (13U)
- #define INTC_EVTER_EVTE13 (0x00002000UL)
- #define INTC_EVTER_EVTE14_POS (14U)
- #define INTC_EVTER_EVTE14 (0x00004000UL)
- #define INTC_EVTER_EVTE15_POS (15U)
- #define INTC_EVTER_EVTE15 (0x00008000UL)
- #define INTC_EVTER_EVTE16_POS (16U)
- #define INTC_EVTER_EVTE16 (0x00010000UL)
- #define INTC_EVTER_EVTE17_POS (17U)
- #define INTC_EVTER_EVTE17 (0x00020000UL)
- #define INTC_EVTER_EVTE18_POS (18U)
- #define INTC_EVTER_EVTE18 (0x00040000UL)
- #define INTC_EVTER_EVTE19_POS (19U)
- #define INTC_EVTER_EVTE19 (0x00080000UL)
- #define INTC_EVTER_EVTE20_POS (20U)
- #define INTC_EVTER_EVTE20 (0x00100000UL)
- #define INTC_EVTER_EVTE21_POS (21U)
- #define INTC_EVTER_EVTE21 (0x00200000UL)
- #define INTC_EVTER_EVTE22_POS (22U)
- #define INTC_EVTER_EVTE22 (0x00400000UL)
- #define INTC_EVTER_EVTE23_POS (23U)
- #define INTC_EVTER_EVTE23 (0x00800000UL)
- #define INTC_EVTER_EVTE24_POS (24U)
- #define INTC_EVTER_EVTE24 (0x01000000UL)
- #define INTC_EVTER_EVTE25_POS (25U)
- #define INTC_EVTER_EVTE25 (0x02000000UL)
- #define INTC_EVTER_EVTE26_POS (26U)
- #define INTC_EVTER_EVTE26 (0x04000000UL)
- #define INTC_EVTER_EVTE27_POS (27U)
- #define INTC_EVTER_EVTE27 (0x08000000UL)
- #define INTC_EVTER_EVTE28_POS (28U)
- #define INTC_EVTER_EVTE28 (0x10000000UL)
- #define INTC_EVTER_EVTE29_POS (29U)
- #define INTC_EVTER_EVTE29 (0x20000000UL)
- #define INTC_EVTER_EVTE30_POS (30U)
- #define INTC_EVTER_EVTE30 (0x40000000UL)
- #define INTC_EVTER_EVTE31_POS (31U)
- #define INTC_EVTER_EVTE31 (0x80000000UL)
- /* Bit definition for INTC_IER register */
- #define INTC_IER_IEN0_POS (0U)
- #define INTC_IER_IEN0 (0x00000001UL)
- #define INTC_IER_IEN1_POS (1U)
- #define INTC_IER_IEN1 (0x00000002UL)
- #define INTC_IER_IEN2_POS (2U)
- #define INTC_IER_IEN2 (0x00000004UL)
- #define INTC_IER_IEN3_POS (3U)
- #define INTC_IER_IEN3 (0x00000008UL)
- #define INTC_IER_IEN4_POS (4U)
- #define INTC_IER_IEN4 (0x00000010UL)
- #define INTC_IER_IEN5_POS (5U)
- #define INTC_IER_IEN5 (0x00000020UL)
- #define INTC_IER_IEN6_POS (6U)
- #define INTC_IER_IEN6 (0x00000040UL)
- #define INTC_IER_IEN7_POS (7U)
- #define INTC_IER_IEN7 (0x00000080UL)
- #define INTC_IER_IEN8_POS (8U)
- #define INTC_IER_IEN8 (0x00000100UL)
- #define INTC_IER_IEN9_POS (9U)
- #define INTC_IER_IEN9 (0x00000200UL)
- #define INTC_IER_IEN10_POS (10U)
- #define INTC_IER_IEN10 (0x00000400UL)
- #define INTC_IER_IEN11_POS (11U)
- #define INTC_IER_IEN11 (0x00000800UL)
- #define INTC_IER_IEN12_POS (12U)
- #define INTC_IER_IEN12 (0x00001000UL)
- #define INTC_IER_IEN13_POS (13U)
- #define INTC_IER_IEN13 (0x00002000UL)
- #define INTC_IER_IEN14_POS (14U)
- #define INTC_IER_IEN14 (0x00004000UL)
- #define INTC_IER_IEN15_POS (15U)
- #define INTC_IER_IEN15 (0x00008000UL)
- #define INTC_IER_IEN16_POS (16U)
- #define INTC_IER_IEN16 (0x00010000UL)
- #define INTC_IER_IEN17_POS (17U)
- #define INTC_IER_IEN17 (0x00020000UL)
- #define INTC_IER_IEN18_POS (18U)
- #define INTC_IER_IEN18 (0x00040000UL)
- #define INTC_IER_IEN19_POS (19U)
- #define INTC_IER_IEN19 (0x00080000UL)
- #define INTC_IER_IEN20_POS (20U)
- #define INTC_IER_IEN20 (0x00100000UL)
- #define INTC_IER_IEN21_POS (21U)
- #define INTC_IER_IEN21 (0x00200000UL)
- #define INTC_IER_IEN22_POS (22U)
- #define INTC_IER_IEN22 (0x00400000UL)
- #define INTC_IER_IEN23_POS (23U)
- #define INTC_IER_IEN23 (0x00800000UL)
- #define INTC_IER_IEN24_POS (24U)
- #define INTC_IER_IEN24 (0x01000000UL)
- #define INTC_IER_IEN25_POS (25U)
- #define INTC_IER_IEN25 (0x02000000UL)
- #define INTC_IER_IEN26_POS (26U)
- #define INTC_IER_IEN26 (0x04000000UL)
- #define INTC_IER_IEN27_POS (27U)
- #define INTC_IER_IEN27 (0x08000000UL)
- #define INTC_IER_IEN28_POS (28U)
- #define INTC_IER_IEN28 (0x10000000UL)
- #define INTC_IER_IEN29_POS (29U)
- #define INTC_IER_IEN29 (0x20000000UL)
- #define INTC_IER_IEN30_POS (30U)
- #define INTC_IER_IEN30 (0x40000000UL)
- #define INTC_IER_IEN31_POS (31U)
- #define INTC_IER_IEN31 (0x80000000UL)
- /*******************************************************************************
- Bit definition for Peripheral KEYSCAN
- *******************************************************************************/
- /* Bit definition for KEYSCAN_SCR register */
- #define KEYSCAN_SCR_KEYINSEL_POS (0U)
- #define KEYSCAN_SCR_KEYINSEL (0x0000FFFFUL)
- #define KEYSCAN_SCR_KEYINSEL_0 (0x00000001UL)
- #define KEYSCAN_SCR_KEYINSEL_1 (0x00000002UL)
- #define KEYSCAN_SCR_KEYINSEL_2 (0x00000004UL)
- #define KEYSCAN_SCR_KEYINSEL_3 (0x00000008UL)
- #define KEYSCAN_SCR_KEYINSEL_4 (0x00000010UL)
- #define KEYSCAN_SCR_KEYINSEL_5 (0x00000020UL)
- #define KEYSCAN_SCR_KEYINSEL_6 (0x00000040UL)
- #define KEYSCAN_SCR_KEYINSEL_7 (0x00000080UL)
- #define KEYSCAN_SCR_KEYINSEL_8 (0x00000100UL)
- #define KEYSCAN_SCR_KEYINSEL_9 (0x00000200UL)
- #define KEYSCAN_SCR_KEYINSEL_10 (0x00000400UL)
- #define KEYSCAN_SCR_KEYINSEL_11 (0x00000800UL)
- #define KEYSCAN_SCR_KEYINSEL_12 (0x00001000UL)
- #define KEYSCAN_SCR_KEYINSEL_13 (0x00002000UL)
- #define KEYSCAN_SCR_KEYINSEL_14 (0x00004000UL)
- #define KEYSCAN_SCR_KEYINSEL_15 (0x00008000UL)
- #define KEYSCAN_SCR_KEYOUTSEL_POS (16U)
- #define KEYSCAN_SCR_KEYOUTSEL (0x00070000UL)
- #define KEYSCAN_SCR_CKSEL_POS (20U)
- #define KEYSCAN_SCR_CKSEL (0x00300000UL)
- #define KEYSCAN_SCR_CKSEL_0 (0x00100000UL)
- #define KEYSCAN_SCR_CKSEL_1 (0x00200000UL)
- #define KEYSCAN_SCR_T_LLEVEL_POS (24U)
- #define KEYSCAN_SCR_T_LLEVEL (0x1F000000UL)
- #define KEYSCAN_SCR_T_HIZ_POS (29U)
- #define KEYSCAN_SCR_T_HIZ (0xE0000000UL)
- /* Bit definition for KEYSCAN_SER register */
- #define KEYSCAN_SER_SEN (0x00000001UL)
- /* Bit definition for KEYSCAN_SSR register */
- #define KEYSCAN_SSR_INDEX (0x00000007UL)
- /*******************************************************************************
- Bit definition for Peripheral MCAN
- *******************************************************************************/
- /* Bit definition for MCAN_ENDN register */
- #define MCAN_ENDN (0xFFFFFFFFUL)
- /* Bit definition for MCAN_DBTP register */
- #define MCAN_DBTP_DSJW_POS (0U)
- #define MCAN_DBTP_DSJW (0x0000000FUL)
- #define MCAN_DBTP_DTSEG2_POS (4U)
- #define MCAN_DBTP_DTSEG2 (0x000000F0UL)
- #define MCAN_DBTP_DTSEG1_POS (8U)
- #define MCAN_DBTP_DTSEG1 (0x00001F00UL)
- #define MCAN_DBTP_DBRP_POS (16U)
- #define MCAN_DBTP_DBRP (0x001F0000UL)
- #define MCAN_DBTP_TDC_POS (23U)
- #define MCAN_DBTP_TDC (0x00800000UL)
- /* Bit definition for MCAN_TEST register */
- #define MCAN_TEST_LBCK_POS (4U)
- #define MCAN_TEST_LBCK (0x00000010UL)
- #define MCAN_TEST_TX_POS (5U)
- #define MCAN_TEST_TX (0x00000060UL)
- #define MCAN_TEST_TX_0 (0x00000020UL)
- #define MCAN_TEST_TX_1 (0x00000040UL)
- #define MCAN_TEST_RX_POS (7U)
- #define MCAN_TEST_RX (0x00000080UL)
- #define MCAN_TEST_TXBNP_POS (8U)
- #define MCAN_TEST_TXBNP (0x00001F00UL)
- #define MCAN_TEST_PVAL_POS (13U)
- #define MCAN_TEST_PVAL (0x00002000UL)
- #define MCAN_TEST_TXBNS_POS (16U)
- #define MCAN_TEST_TXBNS (0x001F0000UL)
- #define MCAN_TEST_SVAL_POS (21U)
- #define MCAN_TEST_SVAL (0x00200000UL)
- /* Bit definition for MCAN_RWD register */
- #define MCAN_RWD_WDC_POS (0U)
- #define MCAN_RWD_WDC (0x000000FFUL)
- #define MCAN_RWD_WDV_POS (8U)
- #define MCAN_RWD_WDV (0x0000FF00UL)
- /* Bit definition for MCAN_CCCR register */
- #define MCAN_CCCR_INIT_POS (0U)
- #define MCAN_CCCR_INIT (0x00000001UL)
- #define MCAN_CCCR_CCE_POS (1U)
- #define MCAN_CCCR_CCE (0x00000002UL)
- #define MCAN_CCCR_ASM_POS (2U)
- #define MCAN_CCCR_ASM (0x00000004UL)
- #define MCAN_CCCR_CSA_POS (3U)
- #define MCAN_CCCR_CSA (0x00000008UL)
- #define MCAN_CCCR_CSR_POS (4U)
- #define MCAN_CCCR_CSR (0x00000010UL)
- #define MCAN_CCCR_MON_POS (5U)
- #define MCAN_CCCR_MON (0x00000020UL)
- #define MCAN_CCCR_DAR_POS (6U)
- #define MCAN_CCCR_DAR (0x00000040UL)
- #define MCAN_CCCR_TEST_POS (7U)
- #define MCAN_CCCR_TEST (0x00000080UL)
- #define MCAN_CCCR_FDOE_POS (8U)
- #define MCAN_CCCR_FDOE (0x00000100UL)
- #define MCAN_CCCR_BRSE_POS (9U)
- #define MCAN_CCCR_BRSE (0x00000200UL)
- #define MCAN_CCCR_UTSU_POS (10U)
- #define MCAN_CCCR_UTSU (0x00000400UL)
- #define MCAN_CCCR_WMM_POS (11U)
- #define MCAN_CCCR_WMM (0x00000800UL)
- #define MCAN_CCCR_PXHD_POS (12U)
- #define MCAN_CCCR_PXHD (0x00001000UL)
- #define MCAN_CCCR_EFBI_POS (13U)
- #define MCAN_CCCR_EFBI (0x00002000UL)
- #define MCAN_CCCR_TXP_POS (14U)
- #define MCAN_CCCR_TXP (0x00004000UL)
- #define MCAN_CCCR_NISO_POS (15U)
- #define MCAN_CCCR_NISO (0x00008000UL)
- /* Bit definition for MCAN_NBTP register */
- #define MCAN_NBTP_NTSEG2_POS (0U)
- #define MCAN_NBTP_NTSEG2 (0x0000007FUL)
- #define MCAN_NBTP_NTSEG1_POS (8U)
- #define MCAN_NBTP_NTSEG1 (0x0000FF00UL)
- #define MCAN_NBTP_NBRP_POS (16U)
- #define MCAN_NBTP_NBRP (0x01FF0000UL)
- #define MCAN_NBTP_NSJW_POS (25U)
- #define MCAN_NBTP_NSJW (0xFE000000UL)
- /* Bit definition for MCAN_TSCC register */
- #define MCAN_TSCC_TSS_POS (0U)
- #define MCAN_TSCC_TSS (0x00000003UL)
- #define MCAN_TSCC_TSS_0 (0x00000001UL)
- #define MCAN_TSCC_TSS_1 (0x00000002UL)
- #define MCAN_TSCC_TCP_POS (16U)
- #define MCAN_TSCC_TCP (0x000F0000UL)
- /* Bit definition for MCAN_TSCV register */
- #define MCAN_TSCV_TSC (0x0000FFFFUL)
- /* Bit definition for MCAN_TOCC register */
- #define MCAN_TOCC_ETOC_POS (0U)
- #define MCAN_TOCC_ETOC (0x00000001UL)
- #define MCAN_TOCC_TOS_POS (1U)
- #define MCAN_TOCC_TOS (0x00000006UL)
- #define MCAN_TOCC_TOS_0 (0x00000002UL)
- #define MCAN_TOCC_TOS_1 (0x00000004UL)
- #define MCAN_TOCC_TOP_POS (16U)
- #define MCAN_TOCC_TOP (0xFFFF0000UL)
- /* Bit definition for MCAN_TOCV register */
- #define MCAN_TOCV_TOC (0x0000FFFFUL)
- /* Bit definition for MCAN_ECR register */
- #define MCAN_ECR_TEC_POS (0U)
- #define MCAN_ECR_TEC (0x000000FFUL)
- #define MCAN_ECR_REC_POS (8U)
- #define MCAN_ECR_REC (0x00007F00UL)
- #define MCAN_ECR_RP_POS (15U)
- #define MCAN_ECR_RP (0x00008000UL)
- #define MCAN_ECR_CEL_POS (16U)
- #define MCAN_ECR_CEL (0x00FF0000UL)
- /* Bit definition for MCAN_PSR register */
- #define MCAN_PSR_LEC_POS (0U)
- #define MCAN_PSR_LEC (0x00000007UL)
- #define MCAN_PSR_ACT_POS (3U)
- #define MCAN_PSR_ACT (0x00000018UL)
- #define MCAN_PSR_ACT_0 (0x00000008UL)
- #define MCAN_PSR_ACT_1 (0x00000010UL)
- #define MCAN_PSR_EP_POS (5U)
- #define MCAN_PSR_EP (0x00000020UL)
- #define MCAN_PSR_EW_POS (6U)
- #define MCAN_PSR_EW (0x00000040UL)
- #define MCAN_PSR_BO_POS (7U)
- #define MCAN_PSR_BO (0x00000080UL)
- #define MCAN_PSR_DLEC_POS (8U)
- #define MCAN_PSR_DLEC (0x00000700UL)
- #define MCAN_PSR_RESI_POS (11U)
- #define MCAN_PSR_RESI (0x00000800UL)
- #define MCAN_PSR_RBRS_POS (12U)
- #define MCAN_PSR_RBRS (0x00001000UL)
- #define MCAN_PSR_RFDF_POS (13U)
- #define MCAN_PSR_RFDF (0x00002000UL)
- #define MCAN_PSR_PXE_POS (14U)
- #define MCAN_PSR_PXE (0x00004000UL)
- #define MCAN_PSR_TDCV_POS (16U)
- #define MCAN_PSR_TDCV (0x007F0000UL)
- /* Bit definition for MCAN_TDCR register */
- #define MCAN_TDCR_TDCF_POS (0U)
- #define MCAN_TDCR_TDCF (0x0000007FUL)
- #define MCAN_TDCR_TDCO_POS (8U)
- #define MCAN_TDCR_TDCO (0x00007F00UL)
- /* Bit definition for MCAN_IR register */
- #define MCAN_IR_RF0N_POS (0U)
- #define MCAN_IR_RF0N (0x00000001UL)
- #define MCAN_IR_RF0W_POS (1U)
- #define MCAN_IR_RF0W (0x00000002UL)
- #define MCAN_IR_RF0F_POS (2U)
- #define MCAN_IR_RF0F (0x00000004UL)
- #define MCAN_IR_RF0L_POS (3U)
- #define MCAN_IR_RF0L (0x00000008UL)
- #define MCAN_IR_RF1N_POS (4U)
- #define MCAN_IR_RF1N (0x00000010UL)
- #define MCAN_IR_RF1W_POS (5U)
- #define MCAN_IR_RF1W (0x00000020UL)
- #define MCAN_IR_RF1F_POS (6U)
- #define MCAN_IR_RF1F (0x00000040UL)
- #define MCAN_IR_RF1L_POS (7U)
- #define MCAN_IR_RF1L (0x00000080UL)
- #define MCAN_IR_HPM_POS (8U)
- #define MCAN_IR_HPM (0x00000100UL)
- #define MCAN_IR_TC_POS (9U)
- #define MCAN_IR_TC (0x00000200UL)
- #define MCAN_IR_TCF_POS (10U)
- #define MCAN_IR_TCF (0x00000400UL)
- #define MCAN_IR_TFE_POS (11U)
- #define MCAN_IR_TFE (0x00000800UL)
- #define MCAN_IR_TEFN_POS (12U)
- #define MCAN_IR_TEFN (0x00001000UL)
- #define MCAN_IR_TEFW_POS (13U)
- #define MCAN_IR_TEFW (0x00002000UL)
- #define MCAN_IR_TEFF_POS (14U)
- #define MCAN_IR_TEFF (0x00004000UL)
- #define MCAN_IR_TEFL_POS (15U)
- #define MCAN_IR_TEFL (0x00008000UL)
- #define MCAN_IR_TSW_POS (16U)
- #define MCAN_IR_TSW (0x00010000UL)
- #define MCAN_IR_MRAF_POS (17U)
- #define MCAN_IR_MRAF (0x00020000UL)
- #define MCAN_IR_TOO_POS (18U)
- #define MCAN_IR_TOO (0x00040000UL)
- #define MCAN_IR_DRX_POS (19U)
- #define MCAN_IR_DRX (0x00080000UL)
- #define MCAN_IR_BEC_POS (20U)
- #define MCAN_IR_BEC (0x00100000UL)
- #define MCAN_IR_BEU_POS (21U)
- #define MCAN_IR_BEU (0x00200000UL)
- #define MCAN_IR_ELO_POS (22U)
- #define MCAN_IR_ELO (0x00400000UL)
- #define MCAN_IR_EP_POS (23U)
- #define MCAN_IR_EP (0x00800000UL)
- #define MCAN_IR_EW_POS (24U)
- #define MCAN_IR_EW (0x01000000UL)
- #define MCAN_IR_BO_POS (25U)
- #define MCAN_IR_BO (0x02000000UL)
- #define MCAN_IR_WDI_POS (26U)
- #define MCAN_IR_WDI (0x04000000UL)
- #define MCAN_IR_PEA_POS (27U)
- #define MCAN_IR_PEA (0x08000000UL)
- #define MCAN_IR_PED_POS (28U)
- #define MCAN_IR_PED (0x10000000UL)
- #define MCAN_IR_ARA_POS (29U)
- #define MCAN_IR_ARA (0x20000000UL)
- /* Bit definition for MCAN_IE register */
- #define MCAN_IE_RF0NE_POS (0U)
- #define MCAN_IE_RF0NE (0x00000001UL)
- #define MCAN_IE_RF0WE_POS (1U)
- #define MCAN_IE_RF0WE (0x00000002UL)
- #define MCAN_IE_RF0FE_POS (2U)
- #define MCAN_IE_RF0FE (0x00000004UL)
- #define MCAN_IE_RF0LE_POS (3U)
- #define MCAN_IE_RF0LE (0x00000008UL)
- #define MCAN_IE_RF1NE_POS (4U)
- #define MCAN_IE_RF1NE (0x00000010UL)
- #define MCAN_IE_RF1WE_POS (5U)
- #define MCAN_IE_RF1WE (0x00000020UL)
- #define MCAN_IE_RF1FE_POS (6U)
- #define MCAN_IE_RF1FE (0x00000040UL)
- #define MCAN_IE_RF1LE_POS (7U)
- #define MCAN_IE_RF1LE (0x00000080UL)
- #define MCAN_IE_HPME_POS (8U)
- #define MCAN_IE_HPME (0x00000100UL)
- #define MCAN_IE_TCE_POS (9U)
- #define MCAN_IE_TCE (0x00000200UL)
- #define MCAN_IE_TCFE_POS (10U)
- #define MCAN_IE_TCFE (0x00000400UL)
- #define MCAN_IE_TFEE_POS (11U)
- #define MCAN_IE_TFEE (0x00000800UL)
- #define MCAN_IE_TEFNE_POS (12U)
- #define MCAN_IE_TEFNE (0x00001000UL)
- #define MCAN_IE_TEFWE_POS (13U)
- #define MCAN_IE_TEFWE (0x00002000UL)
- #define MCAN_IE_TEFFE_POS (14U)
- #define MCAN_IE_TEFFE (0x00004000UL)
- #define MCAN_IE_TEFLE_POS (15U)
- #define MCAN_IE_TEFLE (0x00008000UL)
- #define MCAN_IE_TSWE_POS (16U)
- #define MCAN_IE_TSWE (0x00010000UL)
- #define MCAN_IE_MRAFE_POS (17U)
- #define MCAN_IE_MRAFE (0x00020000UL)
- #define MCAN_IE_TOOE_POS (18U)
- #define MCAN_IE_TOOE (0x00040000UL)
- #define MCAN_IE_DRXE_POS (19U)
- #define MCAN_IE_DRXE (0x00080000UL)
- #define MCAN_IE_BECE_POS (20U)
- #define MCAN_IE_BECE (0x00100000UL)
- #define MCAN_IE_BEUE_POS (21U)
- #define MCAN_IE_BEUE (0x00200000UL)
- #define MCAN_IE_ELOE_POS (22U)
- #define MCAN_IE_ELOE (0x00400000UL)
- #define MCAN_IE_EPE_POS (23U)
- #define MCAN_IE_EPE (0x00800000UL)
- #define MCAN_IE_EWE_POS (24U)
- #define MCAN_IE_EWE (0x01000000UL)
- #define MCAN_IE_BOE_POS (25U)
- #define MCAN_IE_BOE (0x02000000UL)
- #define MCAN_IE_WDIE_POS (26U)
- #define MCAN_IE_WDIE (0x04000000UL)
- #define MCAN_IE_PEAE_POS (27U)
- #define MCAN_IE_PEAE (0x08000000UL)
- #define MCAN_IE_PEDE_POS (28U)
- #define MCAN_IE_PEDE (0x10000000UL)
- #define MCAN_IE_ARAE_POS (29U)
- #define MCAN_IE_ARAE (0x20000000UL)
- /* Bit definition for MCAN_ILS register */
- #define MCAN_ILS_RF0NL_POS (0U)
- #define MCAN_ILS_RF0NL (0x00000001UL)
- #define MCAN_ILS_RF0WL_POS (1U)
- #define MCAN_ILS_RF0WL (0x00000002UL)
- #define MCAN_ILS_RF0FL_POS (2U)
- #define MCAN_ILS_RF0FL (0x00000004UL)
- #define MCAN_ILS_RF0LL_POS (3U)
- #define MCAN_ILS_RF0LL (0x00000008UL)
- #define MCAN_ILS_RF1NL_POS (4U)
- #define MCAN_ILS_RF1NL (0x00000010UL)
- #define MCAN_ILS_RF1WL_POS (5U)
- #define MCAN_ILS_RF1WL (0x00000020UL)
- #define MCAN_ILS_RF1FL_POS (6U)
- #define MCAN_ILS_RF1FL (0x00000040UL)
- #define MCAN_ILS_RF1LL_POS (7U)
- #define MCAN_ILS_RF1LL (0x00000080UL)
- #define MCAN_ILS_HPML_POS (8U)
- #define MCAN_ILS_HPML (0x00000100UL)
- #define MCAN_ILS_TCL_POS (9U)
- #define MCAN_ILS_TCL (0x00000200UL)
- #define MCAN_ILS_TCFL_POS (10U)
- #define MCAN_ILS_TCFL (0x00000400UL)
- #define MCAN_ILS_TFEL_POS (11U)
- #define MCAN_ILS_TFEL (0x00000800UL)
- #define MCAN_ILS_TEFNL_POS (12U)
- #define MCAN_ILS_TEFNL (0x00001000UL)
- #define MCAN_ILS_TEFWL_POS (13U)
- #define MCAN_ILS_TEFWL (0x00002000UL)
- #define MCAN_ILS_TEFFL_POS (14U)
- #define MCAN_ILS_TEFFL (0x00004000UL)
- #define MCAN_ILS_TEFLL_POS (15U)
- #define MCAN_ILS_TEFLL (0x00008000UL)
- #define MCAN_ILS_TSWL_POS (16U)
- #define MCAN_ILS_TSWL (0x00010000UL)
- #define MCAN_ILS_MRAFL_POS (17U)
- #define MCAN_ILS_MRAFL (0x00020000UL)
- #define MCAN_ILS_TOOL_POS (18U)
- #define MCAN_ILS_TOOL (0x00040000UL)
- #define MCAN_ILS_DRXL_POS (19U)
- #define MCAN_ILS_DRXL (0x00080000UL)
- #define MCAN_ILS_BECL_POS (20U)
- #define MCAN_ILS_BECL (0x00100000UL)
- #define MCAN_ILS_BEUL_POS (21U)
- #define MCAN_ILS_BEUL (0x00200000UL)
- #define MCAN_ILS_ELOL_POS (22U)
- #define MCAN_ILS_ELOL (0x00400000UL)
- #define MCAN_ILS_EPL_POS (23U)
- #define MCAN_ILS_EPL (0x00800000UL)
- #define MCAN_ILS_EWL_POS (24U)
- #define MCAN_ILS_EWL (0x01000000UL)
- #define MCAN_ILS_BOL_POS (25U)
- #define MCAN_ILS_BOL (0x02000000UL)
- #define MCAN_ILS_WDIL_POS (26U)
- #define MCAN_ILS_WDIL (0x04000000UL)
- #define MCAN_ILS_PEAL_POS (27U)
- #define MCAN_ILS_PEAL (0x08000000UL)
- #define MCAN_ILS_PEDL_POS (28U)
- #define MCAN_ILS_PEDL (0x10000000UL)
- #define MCAN_ILS_ARAL_POS (29U)
- #define MCAN_ILS_ARAL (0x20000000UL)
- /* Bit definition for MCAN_ILE register */
- #define MCAN_ILE_EINT0_POS (0U)
- #define MCAN_ILE_EINT0 (0x00000001UL)
- #define MCAN_ILE_EINT1_POS (1U)
- #define MCAN_ILE_EINT1 (0x00000002UL)
- /* Bit definition for MCAN_GFC register */
- #define MCAN_GFC_RRFE_POS (0U)
- #define MCAN_GFC_RRFE (0x00000001UL)
- #define MCAN_GFC_RRFS_POS (1U)
- #define MCAN_GFC_RRFS (0x00000002UL)
- #define MCAN_GFC_ANFE_POS (2U)
- #define MCAN_GFC_ANFE (0x0000000CUL)
- #define MCAN_GFC_ANFE_0 (0x00000004UL)
- #define MCAN_GFC_ANFE_1 (0x00000008UL)
- #define MCAN_GFC_ANFS_POS (4U)
- #define MCAN_GFC_ANFS (0x00000030UL)
- #define MCAN_GFC_ANFS_0 (0x00000010UL)
- #define MCAN_GFC_ANFS_1 (0x00000020UL)
- /* Bit definition for MCAN_SIDFC register */
- #define MCAN_SIDFC_FLSSA_POS (2U)
- #define MCAN_SIDFC_FLSSA (0x0000FFFCUL)
- #define MCAN_SIDFC_LSS_POS (16U)
- #define MCAN_SIDFC_LSS (0x00FF0000UL)
- /* Bit definition for MCAN_XIDFC register */
- #define MCAN_XIDFC_FLESA_POS (2U)
- #define MCAN_XIDFC_FLESA (0x0000FFFCUL)
- #define MCAN_XIDFC_LSE_POS (16U)
- #define MCAN_XIDFC_LSE (0x007F0000UL)
- /* Bit definition for MCAN_XIDAM register */
- #define MCAN_XIDAM_EIDM (0x1FFFFFFFUL)
- /* Bit definition for MCAN_HPMS register */
- #define MCAN_HPMS_BIDX_POS (0U)
- #define MCAN_HPMS_BIDX (0x0000003FUL)
- #define MCAN_HPMS_MSI_POS (6U)
- #define MCAN_HPMS_MSI (0x000000C0UL)
- #define MCAN_HPMS_MSI_0 (0x00000040UL)
- #define MCAN_HPMS_MSI_1 (0x00000080UL)
- #define MCAN_HPMS_FIDX_POS (8U)
- #define MCAN_HPMS_FIDX (0x00007F00UL)
- #define MCAN_HPMS_FLST_POS (15U)
- #define MCAN_HPMS_FLST (0x00008000UL)
- /* Bit definition for MCAN_NDAT1 register */
- #define MCAN_NDAT1_ND0_POS (0U)
- #define MCAN_NDAT1_ND0 (0x00000001UL)
- #define MCAN_NDAT1_ND1_POS (1U)
- #define MCAN_NDAT1_ND1 (0x00000002UL)
- #define MCAN_NDAT1_ND2_POS (2U)
- #define MCAN_NDAT1_ND2 (0x00000004UL)
- #define MCAN_NDAT1_ND3_POS (3U)
- #define MCAN_NDAT1_ND3 (0x00000008UL)
- #define MCAN_NDAT1_ND4_POS (4U)
- #define MCAN_NDAT1_ND4 (0x00000010UL)
- #define MCAN_NDAT1_ND5_POS (5U)
- #define MCAN_NDAT1_ND5 (0x00000020UL)
- #define MCAN_NDAT1_ND6_POS (6U)
- #define MCAN_NDAT1_ND6 (0x00000040UL)
- #define MCAN_NDAT1_ND7_POS (7U)
- #define MCAN_NDAT1_ND7 (0x00000080UL)
- #define MCAN_NDAT1_ND8_POS (8U)
- #define MCAN_NDAT1_ND8 (0x00000100UL)
- #define MCAN_NDAT1_ND9_POS (9U)
- #define MCAN_NDAT1_ND9 (0x00000200UL)
- #define MCAN_NDAT1_ND10_POS (10U)
- #define MCAN_NDAT1_ND10 (0x00000400UL)
- #define MCAN_NDAT1_ND11_POS (11U)
- #define MCAN_NDAT1_ND11 (0x00000800UL)
- #define MCAN_NDAT1_ND12_POS (12U)
- #define MCAN_NDAT1_ND12 (0x00001000UL)
- #define MCAN_NDAT1_ND13_POS (13U)
- #define MCAN_NDAT1_ND13 (0x00002000UL)
- #define MCAN_NDAT1_ND14_POS (14U)
- #define MCAN_NDAT1_ND14 (0x00004000UL)
- #define MCAN_NDAT1_ND15_POS (15U)
- #define MCAN_NDAT1_ND15 (0x00008000UL)
- #define MCAN_NDAT1_ND16_POS (16U)
- #define MCAN_NDAT1_ND16 (0x00010000UL)
- #define MCAN_NDAT1_ND17_POS (17U)
- #define MCAN_NDAT1_ND17 (0x00020000UL)
- #define MCAN_NDAT1_ND18_POS (18U)
- #define MCAN_NDAT1_ND18 (0x00040000UL)
- #define MCAN_NDAT1_ND19_POS (19U)
- #define MCAN_NDAT1_ND19 (0x00080000UL)
- #define MCAN_NDAT1_ND20_POS (20U)
- #define MCAN_NDAT1_ND20 (0x00100000UL)
- #define MCAN_NDAT1_ND21_POS (21U)
- #define MCAN_NDAT1_ND21 (0x00200000UL)
- #define MCAN_NDAT1_ND22_POS (22U)
- #define MCAN_NDAT1_ND22 (0x00400000UL)
- #define MCAN_NDAT1_ND23_POS (23U)
- #define MCAN_NDAT1_ND23 (0x00800000UL)
- #define MCAN_NDAT1_ND24_POS (24U)
- #define MCAN_NDAT1_ND24 (0x01000000UL)
- #define MCAN_NDAT1_ND25_POS (25U)
- #define MCAN_NDAT1_ND25 (0x02000000UL)
- #define MCAN_NDAT1_ND26_POS (26U)
- #define MCAN_NDAT1_ND26 (0x04000000UL)
- #define MCAN_NDAT1_ND27_POS (27U)
- #define MCAN_NDAT1_ND27 (0x08000000UL)
- #define MCAN_NDAT1_ND28_POS (28U)
- #define MCAN_NDAT1_ND28 (0x10000000UL)
- #define MCAN_NDAT1_ND29_POS (29U)
- #define MCAN_NDAT1_ND29 (0x20000000UL)
- #define MCAN_NDAT1_ND30_POS (30U)
- #define MCAN_NDAT1_ND30 (0x40000000UL)
- #define MCAN_NDAT1_ND31_POS (31U)
- #define MCAN_NDAT1_ND31 (0x80000000UL)
- /* Bit definition for MCAN_NDAT2 register */
- #define MCAN_NDAT2_ND32_POS (0U)
- #define MCAN_NDAT2_ND32 (0x00000001UL)
- #define MCAN_NDAT2_ND33_POS (1U)
- #define MCAN_NDAT2_ND33 (0x00000002UL)
- #define MCAN_NDAT2_ND34_POS (2U)
- #define MCAN_NDAT2_ND34 (0x00000004UL)
- #define MCAN_NDAT2_ND35_POS (3U)
- #define MCAN_NDAT2_ND35 (0x00000008UL)
- #define MCAN_NDAT2_ND36_POS (4U)
- #define MCAN_NDAT2_ND36 (0x00000010UL)
- #define MCAN_NDAT2_ND37_POS (5U)
- #define MCAN_NDAT2_ND37 (0x00000020UL)
- #define MCAN_NDAT2_ND38_POS (6U)
- #define MCAN_NDAT2_ND38 (0x00000040UL)
- #define MCAN_NDAT2_ND39_POS (7U)
- #define MCAN_NDAT2_ND39 (0x00000080UL)
- #define MCAN_NDAT2_ND40_POS (8U)
- #define MCAN_NDAT2_ND40 (0x00000100UL)
- #define MCAN_NDAT2_ND41_POS (9U)
- #define MCAN_NDAT2_ND41 (0x00000200UL)
- #define MCAN_NDAT2_ND42_POS (10U)
- #define MCAN_NDAT2_ND42 (0x00000400UL)
- #define MCAN_NDAT2_ND43_POS (11U)
- #define MCAN_NDAT2_ND43 (0x00000800UL)
- #define MCAN_NDAT2_ND44_POS (12U)
- #define MCAN_NDAT2_ND44 (0x00001000UL)
- #define MCAN_NDAT2_ND45_POS (13U)
- #define MCAN_NDAT2_ND45 (0x00002000UL)
- #define MCAN_NDAT2_ND46_POS (14U)
- #define MCAN_NDAT2_ND46 (0x00004000UL)
- #define MCAN_NDAT2_ND47_POS (15U)
- #define MCAN_NDAT2_ND47 (0x00008000UL)
- #define MCAN_NDAT2_ND48_POS (16U)
- #define MCAN_NDAT2_ND48 (0x00010000UL)
- #define MCAN_NDAT2_ND49_POS (17U)
- #define MCAN_NDAT2_ND49 (0x00020000UL)
- #define MCAN_NDAT2_ND50_POS (18U)
- #define MCAN_NDAT2_ND50 (0x00040000UL)
- #define MCAN_NDAT2_ND51_POS (19U)
- #define MCAN_NDAT2_ND51 (0x00080000UL)
- #define MCAN_NDAT2_ND52_POS (20U)
- #define MCAN_NDAT2_ND52 (0x00100000UL)
- #define MCAN_NDAT2_ND53_POS (21U)
- #define MCAN_NDAT2_ND53 (0x00200000UL)
- #define MCAN_NDAT2_ND54_POS (22U)
- #define MCAN_NDAT2_ND54 (0x00400000UL)
- #define MCAN_NDAT2_ND55_POS (23U)
- #define MCAN_NDAT2_ND55 (0x00800000UL)
- #define MCAN_NDAT2_ND56_POS (24U)
- #define MCAN_NDAT2_ND56 (0x01000000UL)
- #define MCAN_NDAT2_ND57_POS (25U)
- #define MCAN_NDAT2_ND57 (0x02000000UL)
- #define MCAN_NDAT2_ND58_POS (26U)
- #define MCAN_NDAT2_ND58 (0x04000000UL)
- #define MCAN_NDAT2_ND59_POS (27U)
- #define MCAN_NDAT2_ND59 (0x08000000UL)
- #define MCAN_NDAT2_ND60_POS (28U)
- #define MCAN_NDAT2_ND60 (0x10000000UL)
- #define MCAN_NDAT2_ND61_POS (29U)
- #define MCAN_NDAT2_ND61 (0x20000000UL)
- #define MCAN_NDAT2_ND62_POS (30U)
- #define MCAN_NDAT2_ND62 (0x40000000UL)
- #define MCAN_NDAT2_ND63_POS (31U)
- #define MCAN_NDAT2_ND63 (0x80000000UL)
- /* Bit definition for MCAN_RXF0C register */
- #define MCAN_RXF0C_F0SA_POS (2U)
- #define MCAN_RXF0C_F0SA (0x0000FFFCUL)
- #define MCAN_RXF0C_F0S_POS (16U)
- #define MCAN_RXF0C_F0S (0x007F0000UL)
- #define MCAN_RXF0C_F0WM_POS (24U)
- #define MCAN_RXF0C_F0WM (0x7F000000UL)
- #define MCAN_RXF0C_F0OM_POS (31U)
- #define MCAN_RXF0C_F0OM (0x80000000UL)
- /* Bit definition for MCAN_RXF0S register */
- #define MCAN_RXF0S_F0FL_POS (0U)
- #define MCAN_RXF0S_F0FL (0x0000007FUL)
- #define MCAN_RXF0S_F0GI_POS (8U)
- #define MCAN_RXF0S_F0GI (0x00003F00UL)
- #define MCAN_RXF0S_F0PI_POS (16U)
- #define MCAN_RXF0S_F0PI (0x003F0000UL)
- #define MCAN_RXF0S_F0F_POS (24U)
- #define MCAN_RXF0S_F0F (0x01000000UL)
- #define MCAN_RXF0S_RF0L_POS (25U)
- #define MCAN_RXF0S_RF0L (0x02000000UL)
- /* Bit definition for MCAN_RXF0A register */
- #define MCAN_RXF0A_F0AI (0x0000003FUL)
- /* Bit definition for MCAN_RXBC register */
- #define MCAN_RXBC_RBSA_POS (2U)
- #define MCAN_RXBC_RBSA (0x0000FFFCUL)
- /* Bit definition for MCAN_RXF1C register */
- #define MCAN_RXF1C_F1SA_POS (2U)
- #define MCAN_RXF1C_F1SA (0x0000FFFCUL)
- #define MCAN_RXF1C_F1S_POS (16U)
- #define MCAN_RXF1C_F1S (0x007F0000UL)
- #define MCAN_RXF1C_F1WM_POS (24U)
- #define MCAN_RXF1C_F1WM (0x7F000000UL)
- #define MCAN_RXF1C_F1OM_POS (31U)
- #define MCAN_RXF1C_F1OM (0x80000000UL)
- /* Bit definition for MCAN_RXF1S register */
- #define MCAN_RXF1S_F1FL_POS (0U)
- #define MCAN_RXF1S_F1FL (0x0000007FUL)
- #define MCAN_RXF1S_F1GI_POS (8U)
- #define MCAN_RXF1S_F1GI (0x00003F00UL)
- #define MCAN_RXF1S_F1PI_POS (16U)
- #define MCAN_RXF1S_F1PI (0x003F0000UL)
- #define MCAN_RXF1S_F1F_POS (24U)
- #define MCAN_RXF1S_F1F (0x01000000UL)
- #define MCAN_RXF1S_RF1L_POS (25U)
- #define MCAN_RXF1S_RF1L (0x02000000UL)
- #define MCAN_RXF1S_DMS_POS (30U)
- #define MCAN_RXF1S_DMS (0xC0000000UL)
- #define MCAN_RXF1S_DMS_0 (0x40000000UL)
- #define MCAN_RXF1S_DMS_1 (0x80000000UL)
- /* Bit definition for MCAN_RXF1A register */
- #define MCAN_RXF1A_F1AI (0x0000003FUL)
- /* Bit definition for MCAN_RXESC register */
- #define MCAN_RXESC_F0DS_POS (0U)
- #define MCAN_RXESC_F0DS (0x00000007UL)
- #define MCAN_RXESC_F0DS_0 (0x00000001UL)
- #define MCAN_RXESC_F0DS_1 (0x00000002UL)
- #define MCAN_RXESC_F0DS_2 (0x00000004UL)
- #define MCAN_RXESC_F1DS_POS (4U)
- #define MCAN_RXESC_F1DS (0x00000070UL)
- #define MCAN_RXESC_F1DS_0 (0x00000010UL)
- #define MCAN_RXESC_F1DS_1 (0x00000020UL)
- #define MCAN_RXESC_F1DS_2 (0x00000040UL)
- #define MCAN_RXESC_RBDS_POS (8U)
- #define MCAN_RXESC_RBDS (0x00000700UL)
- #define MCAN_RXESC_RBDS_0 (0x00000100UL)
- #define MCAN_RXESC_RBDS_1 (0x00000200UL)
- #define MCAN_RXESC_RBDS_2 (0x00000400UL)
- /* Bit definition for MCAN_TXBC register */
- #define MCAN_TXBC_TBSA_POS (2U)
- #define MCAN_TXBC_TBSA (0x0000FFFCUL)
- #define MCAN_TXBC_NDTB_POS (16U)
- #define MCAN_TXBC_NDTB (0x003F0000UL)
- #define MCAN_TXBC_TFQS_POS (24U)
- #define MCAN_TXBC_TFQS (0x3F000000UL)
- #define MCAN_TXBC_TFQM_POS (30U)
- #define MCAN_TXBC_TFQM (0x40000000UL)
- /* Bit definition for MCAN_TXFQS register */
- #define MCAN_TXFQS_TFFL_POS (0U)
- #define MCAN_TXFQS_TFFL (0x0000003FUL)
- #define MCAN_TXFQS_TFGI_POS (8U)
- #define MCAN_TXFQS_TFGI (0x00001F00UL)
- #define MCAN_TXFQS_TFQPI_POS (16U)
- #define MCAN_TXFQS_TFQPI (0x001F0000UL)
- #define MCAN_TXFQS_TFQF_POS (21U)
- #define MCAN_TXFQS_TFQF (0x00200000UL)
- /* Bit definition for MCAN_TXESC register */
- #define MCAN_TXESC_TBDS (0x00000007UL)
- /* Bit definition for MCAN_TXBRP register */
- #define MCAN_TXBRP_TRP0_POS (0U)
- #define MCAN_TXBRP_TRP0 (0x00000001UL)
- #define MCAN_TXBRP_TRP1_POS (1U)
- #define MCAN_TXBRP_TRP1 (0x00000002UL)
- #define MCAN_TXBRP_TRP2_POS (2U)
- #define MCAN_TXBRP_TRP2 (0x00000004UL)
- #define MCAN_TXBRP_TRP3_POS (3U)
- #define MCAN_TXBRP_TRP3 (0x00000008UL)
- #define MCAN_TXBRP_TRP4_POS (4U)
- #define MCAN_TXBRP_TRP4 (0x00000010UL)
- #define MCAN_TXBRP_TRP5_POS (5U)
- #define MCAN_TXBRP_TRP5 (0x00000020UL)
- #define MCAN_TXBRP_TRP6_POS (6U)
- #define MCAN_TXBRP_TRP6 (0x00000040UL)
- #define MCAN_TXBRP_TRP7_POS (7U)
- #define MCAN_TXBRP_TRP7 (0x00000080UL)
- #define MCAN_TXBRP_TRP8_POS (8U)
- #define MCAN_TXBRP_TRP8 (0x00000100UL)
- #define MCAN_TXBRP_TRP9_POS (9U)
- #define MCAN_TXBRP_TRP9 (0x00000200UL)
- #define MCAN_TXBRP_TRP10_POS (10U)
- #define MCAN_TXBRP_TRP10 (0x00000400UL)
- #define MCAN_TXBRP_TRP11_POS (11U)
- #define MCAN_TXBRP_TRP11 (0x00000800UL)
- #define MCAN_TXBRP_TRP12_POS (12U)
- #define MCAN_TXBRP_TRP12 (0x00001000UL)
- #define MCAN_TXBRP_TRP13_POS (13U)
- #define MCAN_TXBRP_TRP13 (0x00002000UL)
- #define MCAN_TXBRP_TRP14_POS (14U)
- #define MCAN_TXBRP_TRP14 (0x00004000UL)
- #define MCAN_TXBRP_TRP15_POS (15U)
- #define MCAN_TXBRP_TRP15 (0x00008000UL)
- #define MCAN_TXBRP_TRP16_POS (16U)
- #define MCAN_TXBRP_TRP16 (0x00010000UL)
- #define MCAN_TXBRP_TRP17_POS (17U)
- #define MCAN_TXBRP_TRP17 (0x00020000UL)
- #define MCAN_TXBRP_TRP18_POS (18U)
- #define MCAN_TXBRP_TRP18 (0x00040000UL)
- #define MCAN_TXBRP_TRP19_POS (19U)
- #define MCAN_TXBRP_TRP19 (0x00080000UL)
- #define MCAN_TXBRP_TRP20_POS (20U)
- #define MCAN_TXBRP_TRP20 (0x00100000UL)
- #define MCAN_TXBRP_TRP21_POS (21U)
- #define MCAN_TXBRP_TRP21 (0x00200000UL)
- #define MCAN_TXBRP_TRP22_POS (22U)
- #define MCAN_TXBRP_TRP22 (0x00400000UL)
- #define MCAN_TXBRP_TRP23_POS (23U)
- #define MCAN_TXBRP_TRP23 (0x00800000UL)
- #define MCAN_TXBRP_TRP24_POS (24U)
- #define MCAN_TXBRP_TRP24 (0x01000000UL)
- #define MCAN_TXBRP_TRP25_POS (25U)
- #define MCAN_TXBRP_TRP25 (0x02000000UL)
- #define MCAN_TXBRP_TRP26_POS (26U)
- #define MCAN_TXBRP_TRP26 (0x04000000UL)
- #define MCAN_TXBRP_TRP27_POS (27U)
- #define MCAN_TXBRP_TRP27 (0x08000000UL)
- #define MCAN_TXBRP_TRP28_POS (28U)
- #define MCAN_TXBRP_TRP28 (0x10000000UL)
- #define MCAN_TXBRP_TRP29_POS (29U)
- #define MCAN_TXBRP_TRP29 (0x20000000UL)
- #define MCAN_TXBRP_TRP30_POS (30U)
- #define MCAN_TXBRP_TRP30 (0x40000000UL)
- #define MCAN_TXBRP_TRP31_POS (31U)
- #define MCAN_TXBRP_TRP31 (0x80000000UL)
- /* Bit definition for MCAN_TXBAR register */
- #define MCAN_TXBAR_AR0_POS (0U)
- #define MCAN_TXBAR_AR0 (0x00000001UL)
- #define MCAN_TXBAR_AR1_POS (1U)
- #define MCAN_TXBAR_AR1 (0x00000002UL)
- #define MCAN_TXBAR_AR2_POS (2U)
- #define MCAN_TXBAR_AR2 (0x00000004UL)
- #define MCAN_TXBAR_AR3_POS (3U)
- #define MCAN_TXBAR_AR3 (0x00000008UL)
- #define MCAN_TXBAR_AR4_POS (4U)
- #define MCAN_TXBAR_AR4 (0x00000010UL)
- #define MCAN_TXBAR_AR5_POS (5U)
- #define MCAN_TXBAR_AR5 (0x00000020UL)
- #define MCAN_TXBAR_AR6_POS (6U)
- #define MCAN_TXBAR_AR6 (0x00000040UL)
- #define MCAN_TXBAR_AR7_POS (7U)
- #define MCAN_TXBAR_AR7 (0x00000080UL)
- #define MCAN_TXBAR_AR8_POS (8U)
- #define MCAN_TXBAR_AR8 (0x00000100UL)
- #define MCAN_TXBAR_AR9_POS (9U)
- #define MCAN_TXBAR_AR9 (0x00000200UL)
- #define MCAN_TXBAR_AR10_POS (10U)
- #define MCAN_TXBAR_AR10 (0x00000400UL)
- #define MCAN_TXBAR_AR11_POS (11U)
- #define MCAN_TXBAR_AR11 (0x00000800UL)
- #define MCAN_TXBAR_AR12_POS (12U)
- #define MCAN_TXBAR_AR12 (0x00001000UL)
- #define MCAN_TXBAR_AR13_POS (13U)
- #define MCAN_TXBAR_AR13 (0x00002000UL)
- #define MCAN_TXBAR_AR14_POS (14U)
- #define MCAN_TXBAR_AR14 (0x00004000UL)
- #define MCAN_TXBAR_AR15_POS (15U)
- #define MCAN_TXBAR_AR15 (0x00008000UL)
- #define MCAN_TXBAR_AR16_POS (16U)
- #define MCAN_TXBAR_AR16 (0x00010000UL)
- #define MCAN_TXBAR_AR17_POS (17U)
- #define MCAN_TXBAR_AR17 (0x00020000UL)
- #define MCAN_TXBAR_AR18_POS (18U)
- #define MCAN_TXBAR_AR18 (0x00040000UL)
- #define MCAN_TXBAR_AR19_POS (19U)
- #define MCAN_TXBAR_AR19 (0x00080000UL)
- #define MCAN_TXBAR_AR20_POS (20U)
- #define MCAN_TXBAR_AR20 (0x00100000UL)
- #define MCAN_TXBAR_AR21_POS (21U)
- #define MCAN_TXBAR_AR21 (0x00200000UL)
- #define MCAN_TXBAR_AR22_POS (22U)
- #define MCAN_TXBAR_AR22 (0x00400000UL)
- #define MCAN_TXBAR_AR23_POS (23U)
- #define MCAN_TXBAR_AR23 (0x00800000UL)
- #define MCAN_TXBAR_AR24_POS (24U)
- #define MCAN_TXBAR_AR24 (0x01000000UL)
- #define MCAN_TXBAR_AR25_POS (25U)
- #define MCAN_TXBAR_AR25 (0x02000000UL)
- #define MCAN_TXBAR_AR26_POS (26U)
- #define MCAN_TXBAR_AR26 (0x04000000UL)
- #define MCAN_TXBAR_AR27_POS (27U)
- #define MCAN_TXBAR_AR27 (0x08000000UL)
- #define MCAN_TXBAR_AR28_POS (28U)
- #define MCAN_TXBAR_AR28 (0x10000000UL)
- #define MCAN_TXBAR_AR29_POS (29U)
- #define MCAN_TXBAR_AR29 (0x20000000UL)
- #define MCAN_TXBAR_AR30_POS (30U)
- #define MCAN_TXBAR_AR30 (0x40000000UL)
- #define MCAN_TXBAR_AR31_POS (31U)
- #define MCAN_TXBAR_AR31 (0x80000000UL)
- /* Bit definition for MCAN_TXBCR register */
- #define MCAN_TXBCR_CR0_POS (0U)
- #define MCAN_TXBCR_CR0 (0x00000001UL)
- #define MCAN_TXBCR_CR1_POS (1U)
- #define MCAN_TXBCR_CR1 (0x00000002UL)
- #define MCAN_TXBCR_CR2_POS (2U)
- #define MCAN_TXBCR_CR2 (0x00000004UL)
- #define MCAN_TXBCR_CR3_POS (3U)
- #define MCAN_TXBCR_CR3 (0x00000008UL)
- #define MCAN_TXBCR_CR4_POS (4U)
- #define MCAN_TXBCR_CR4 (0x00000010UL)
- #define MCAN_TXBCR_CR5_POS (5U)
- #define MCAN_TXBCR_CR5 (0x00000020UL)
- #define MCAN_TXBCR_CR6_POS (6U)
- #define MCAN_TXBCR_CR6 (0x00000040UL)
- #define MCAN_TXBCR_CR7_POS (7U)
- #define MCAN_TXBCR_CR7 (0x00000080UL)
- #define MCAN_TXBCR_CR8_POS (8U)
- #define MCAN_TXBCR_CR8 (0x00000100UL)
- #define MCAN_TXBCR_CR9_POS (9U)
- #define MCAN_TXBCR_CR9 (0x00000200UL)
- #define MCAN_TXBCR_CR10_POS (10U)
- #define MCAN_TXBCR_CR10 (0x00000400UL)
- #define MCAN_TXBCR_CR11_POS (11U)
- #define MCAN_TXBCR_CR11 (0x00000800UL)
- #define MCAN_TXBCR_CR12_POS (12U)
- #define MCAN_TXBCR_CR12 (0x00001000UL)
- #define MCAN_TXBCR_CR13_POS (13U)
- #define MCAN_TXBCR_CR13 (0x00002000UL)
- #define MCAN_TXBCR_CR14_POS (14U)
- #define MCAN_TXBCR_CR14 (0x00004000UL)
- #define MCAN_TXBCR_CR15_POS (15U)
- #define MCAN_TXBCR_CR15 (0x00008000UL)
- #define MCAN_TXBCR_CR16_POS (16U)
- #define MCAN_TXBCR_CR16 (0x00010000UL)
- #define MCAN_TXBCR_CR17_POS (17U)
- #define MCAN_TXBCR_CR17 (0x00020000UL)
- #define MCAN_TXBCR_CR18_POS (18U)
- #define MCAN_TXBCR_CR18 (0x00040000UL)
- #define MCAN_TXBCR_CR19_POS (19U)
- #define MCAN_TXBCR_CR19 (0x00080000UL)
- #define MCAN_TXBCR_CR20_POS (20U)
- #define MCAN_TXBCR_CR20 (0x00100000UL)
- #define MCAN_TXBCR_CR21_POS (21U)
- #define MCAN_TXBCR_CR21 (0x00200000UL)
- #define MCAN_TXBCR_CR22_POS (22U)
- #define MCAN_TXBCR_CR22 (0x00400000UL)
- #define MCAN_TXBCR_CR23_POS (23U)
- #define MCAN_TXBCR_CR23 (0x00800000UL)
- #define MCAN_TXBCR_CR24_POS (24U)
- #define MCAN_TXBCR_CR24 (0x01000000UL)
- #define MCAN_TXBCR_CR25_POS (25U)
- #define MCAN_TXBCR_CR25 (0x02000000UL)
- #define MCAN_TXBCR_CR26_POS (26U)
- #define MCAN_TXBCR_CR26 (0x04000000UL)
- #define MCAN_TXBCR_CR27_POS (27U)
- #define MCAN_TXBCR_CR27 (0x08000000UL)
- #define MCAN_TXBCR_CR28_POS (28U)
- #define MCAN_TXBCR_CR28 (0x10000000UL)
- #define MCAN_TXBCR_CR29_POS (29U)
- #define MCAN_TXBCR_CR29 (0x20000000UL)
- #define MCAN_TXBCR_CR30_POS (30U)
- #define MCAN_TXBCR_CR30 (0x40000000UL)
- #define MCAN_TXBCR_CR31_POS (31U)
- #define MCAN_TXBCR_CR31 (0x80000000UL)
- /* Bit definition for MCAN_TXBTO register */
- #define MCAN_TXBTO_TO0_POS (0U)
- #define MCAN_TXBTO_TO0 (0x00000001UL)
- #define MCAN_TXBTO_TO1_POS (1U)
- #define MCAN_TXBTO_TO1 (0x00000002UL)
- #define MCAN_TXBTO_TO2_POS (2U)
- #define MCAN_TXBTO_TO2 (0x00000004UL)
- #define MCAN_TXBTO_TO3_POS (3U)
- #define MCAN_TXBTO_TO3 (0x00000008UL)
- #define MCAN_TXBTO_TO4_POS (4U)
- #define MCAN_TXBTO_TO4 (0x00000010UL)
- #define MCAN_TXBTO_TO5_POS (5U)
- #define MCAN_TXBTO_TO5 (0x00000020UL)
- #define MCAN_TXBTO_TO6_POS (6U)
- #define MCAN_TXBTO_TO6 (0x00000040UL)
- #define MCAN_TXBTO_TO7_POS (7U)
- #define MCAN_TXBTO_TO7 (0x00000080UL)
- #define MCAN_TXBTO_TO8_POS (8U)
- #define MCAN_TXBTO_TO8 (0x00000100UL)
- #define MCAN_TXBTO_TO9_POS (9U)
- #define MCAN_TXBTO_TO9 (0x00000200UL)
- #define MCAN_TXBTO_TO10_POS (10U)
- #define MCAN_TXBTO_TO10 (0x00000400UL)
- #define MCAN_TXBTO_TO11_POS (11U)
- #define MCAN_TXBTO_TO11 (0x00000800UL)
- #define MCAN_TXBTO_TO12_POS (12U)
- #define MCAN_TXBTO_TO12 (0x00001000UL)
- #define MCAN_TXBTO_TO13_POS (13U)
- #define MCAN_TXBTO_TO13 (0x00002000UL)
- #define MCAN_TXBTO_TO14_POS (14U)
- #define MCAN_TXBTO_TO14 (0x00004000UL)
- #define MCAN_TXBTO_TO15_POS (15U)
- #define MCAN_TXBTO_TO15 (0x00008000UL)
- #define MCAN_TXBTO_TO16_POS (16U)
- #define MCAN_TXBTO_TO16 (0x00010000UL)
- #define MCAN_TXBTO_TO17_POS (17U)
- #define MCAN_TXBTO_TO17 (0x00020000UL)
- #define MCAN_TXBTO_TO18_POS (18U)
- #define MCAN_TXBTO_TO18 (0x00040000UL)
- #define MCAN_TXBTO_TO19_POS (19U)
- #define MCAN_TXBTO_TO19 (0x00080000UL)
- #define MCAN_TXBTO_TO20_POS (20U)
- #define MCAN_TXBTO_TO20 (0x00100000UL)
- #define MCAN_TXBTO_TO21_POS (21U)
- #define MCAN_TXBTO_TO21 (0x00200000UL)
- #define MCAN_TXBTO_TO22_POS (22U)
- #define MCAN_TXBTO_TO22 (0x00400000UL)
- #define MCAN_TXBTO_TO23_POS (23U)
- #define MCAN_TXBTO_TO23 (0x00800000UL)
- #define MCAN_TXBTO_TO24_POS (24U)
- #define MCAN_TXBTO_TO24 (0x01000000UL)
- #define MCAN_TXBTO_TO25_POS (25U)
- #define MCAN_TXBTO_TO25 (0x02000000UL)
- #define MCAN_TXBTO_TO26_POS (26U)
- #define MCAN_TXBTO_TO26 (0x04000000UL)
- #define MCAN_TXBTO_TO27_POS (27U)
- #define MCAN_TXBTO_TO27 (0x08000000UL)
- #define MCAN_TXBTO_TO28_POS (28U)
- #define MCAN_TXBTO_TO28 (0x10000000UL)
- #define MCAN_TXBTO_TO29_POS (29U)
- #define MCAN_TXBTO_TO29 (0x20000000UL)
- #define MCAN_TXBTO_TO30_POS (30U)
- #define MCAN_TXBTO_TO30 (0x40000000UL)
- #define MCAN_TXBTO_TO31_POS (31U)
- #define MCAN_TXBTO_TO31 (0x80000000UL)
- /* Bit definition for MCAN_TXBCF register */
- #define MCAN_TXBCF_CF0_POS (0U)
- #define MCAN_TXBCF_CF0 (0x00000001UL)
- #define MCAN_TXBCF_CF1_POS (1U)
- #define MCAN_TXBCF_CF1 (0x00000002UL)
- #define MCAN_TXBCF_CF2_POS (2U)
- #define MCAN_TXBCF_CF2 (0x00000004UL)
- #define MCAN_TXBCF_CF3_POS (3U)
- #define MCAN_TXBCF_CF3 (0x00000008UL)
- #define MCAN_TXBCF_CF4_POS (4U)
- #define MCAN_TXBCF_CF4 (0x00000010UL)
- #define MCAN_TXBCF_CF5_POS (5U)
- #define MCAN_TXBCF_CF5 (0x00000020UL)
- #define MCAN_TXBCF_CF6_POS (6U)
- #define MCAN_TXBCF_CF6 (0x00000040UL)
- #define MCAN_TXBCF_CF7_POS (7U)
- #define MCAN_TXBCF_CF7 (0x00000080UL)
- #define MCAN_TXBCF_CF8_POS (8U)
- #define MCAN_TXBCF_CF8 (0x00000100UL)
- #define MCAN_TXBCF_CF9_POS (9U)
- #define MCAN_TXBCF_CF9 (0x00000200UL)
- #define MCAN_TXBCF_CF10_POS (10U)
- #define MCAN_TXBCF_CF10 (0x00000400UL)
- #define MCAN_TXBCF_CF11_POS (11U)
- #define MCAN_TXBCF_CF11 (0x00000800UL)
- #define MCAN_TXBCF_CF12_POS (12U)
- #define MCAN_TXBCF_CF12 (0x00001000UL)
- #define MCAN_TXBCF_CF13_POS (13U)
- #define MCAN_TXBCF_CF13 (0x00002000UL)
- #define MCAN_TXBCF_CF14_POS (14U)
- #define MCAN_TXBCF_CF14 (0x00004000UL)
- #define MCAN_TXBCF_CF15_POS (15U)
- #define MCAN_TXBCF_CF15 (0x00008000UL)
- #define MCAN_TXBCF_CF16_POS (16U)
- #define MCAN_TXBCF_CF16 (0x00010000UL)
- #define MCAN_TXBCF_CF17_POS (17U)
- #define MCAN_TXBCF_CF17 (0x00020000UL)
- #define MCAN_TXBCF_CF18_POS (18U)
- #define MCAN_TXBCF_CF18 (0x00040000UL)
- #define MCAN_TXBCF_CF19_POS (19U)
- #define MCAN_TXBCF_CF19 (0x00080000UL)
- #define MCAN_TXBCF_CF20_POS (20U)
- #define MCAN_TXBCF_CF20 (0x00100000UL)
- #define MCAN_TXBCF_CF21_POS (21U)
- #define MCAN_TXBCF_CF21 (0x00200000UL)
- #define MCAN_TXBCF_CF22_POS (22U)
- #define MCAN_TXBCF_CF22 (0x00400000UL)
- #define MCAN_TXBCF_CF23_POS (23U)
- #define MCAN_TXBCF_CF23 (0x00800000UL)
- #define MCAN_TXBCF_CF24_POS (24U)
- #define MCAN_TXBCF_CF24 (0x01000000UL)
- #define MCAN_TXBCF_CF25_POS (25U)
- #define MCAN_TXBCF_CF25 (0x02000000UL)
- #define MCAN_TXBCF_CF26_POS (26U)
- #define MCAN_TXBCF_CF26 (0x04000000UL)
- #define MCAN_TXBCF_CF27_POS (27U)
- #define MCAN_TXBCF_CF27 (0x08000000UL)
- #define MCAN_TXBCF_CF28_POS (28U)
- #define MCAN_TXBCF_CF28 (0x10000000UL)
- #define MCAN_TXBCF_CF29_POS (29U)
- #define MCAN_TXBCF_CF29 (0x20000000UL)
- #define MCAN_TXBCF_CF30_POS (30U)
- #define MCAN_TXBCF_CF30 (0x40000000UL)
- #define MCAN_TXBCF_CF31_POS (31U)
- #define MCAN_TXBCF_CF31 (0x80000000UL)
- /* Bit definition for MCAN_TXBTIE register */
- #define MCAN_TXBTIE_TIE0_POS (0U)
- #define MCAN_TXBTIE_TIE0 (0x00000001UL)
- #define MCAN_TXBTIE_TIE1_POS (1U)
- #define MCAN_TXBTIE_TIE1 (0x00000002UL)
- #define MCAN_TXBTIE_TIE2_POS (2U)
- #define MCAN_TXBTIE_TIE2 (0x00000004UL)
- #define MCAN_TXBTIE_TIE3_POS (3U)
- #define MCAN_TXBTIE_TIE3 (0x00000008UL)
- #define MCAN_TXBTIE_TIE4_POS (4U)
- #define MCAN_TXBTIE_TIE4 (0x00000010UL)
- #define MCAN_TXBTIE_TIE5_POS (5U)
- #define MCAN_TXBTIE_TIE5 (0x00000020UL)
- #define MCAN_TXBTIE_TIE6_POS (6U)
- #define MCAN_TXBTIE_TIE6 (0x00000040UL)
- #define MCAN_TXBTIE_TIE7_POS (7U)
- #define MCAN_TXBTIE_TIE7 (0x00000080UL)
- #define MCAN_TXBTIE_TIE8_POS (8U)
- #define MCAN_TXBTIE_TIE8 (0x00000100UL)
- #define MCAN_TXBTIE_TIE9_POS (9U)
- #define MCAN_TXBTIE_TIE9 (0x00000200UL)
- #define MCAN_TXBTIE_TIE10_POS (10U)
- #define MCAN_TXBTIE_TIE10 (0x00000400UL)
- #define MCAN_TXBTIE_TIE11_POS (11U)
- #define MCAN_TXBTIE_TIE11 (0x00000800UL)
- #define MCAN_TXBTIE_TIE12_POS (12U)
- #define MCAN_TXBTIE_TIE12 (0x00001000UL)
- #define MCAN_TXBTIE_TIE13_POS (13U)
- #define MCAN_TXBTIE_TIE13 (0x00002000UL)
- #define MCAN_TXBTIE_TIE14_POS (14U)
- #define MCAN_TXBTIE_TIE14 (0x00004000UL)
- #define MCAN_TXBTIE_TIE15_POS (15U)
- #define MCAN_TXBTIE_TIE15 (0x00008000UL)
- #define MCAN_TXBTIE_TIE16_POS (16U)
- #define MCAN_TXBTIE_TIE16 (0x00010000UL)
- #define MCAN_TXBTIE_TIE17_POS (17U)
- #define MCAN_TXBTIE_TIE17 (0x00020000UL)
- #define MCAN_TXBTIE_TIE18_POS (18U)
- #define MCAN_TXBTIE_TIE18 (0x00040000UL)
- #define MCAN_TXBTIE_TIE19_POS (19U)
- #define MCAN_TXBTIE_TIE19 (0x00080000UL)
- #define MCAN_TXBTIE_TIE20_POS (20U)
- #define MCAN_TXBTIE_TIE20 (0x00100000UL)
- #define MCAN_TXBTIE_TIE21_POS (21U)
- #define MCAN_TXBTIE_TIE21 (0x00200000UL)
- #define MCAN_TXBTIE_TIE22_POS (22U)
- #define MCAN_TXBTIE_TIE22 (0x00400000UL)
- #define MCAN_TXBTIE_TIE23_POS (23U)
- #define MCAN_TXBTIE_TIE23 (0x00800000UL)
- #define MCAN_TXBTIE_TIE24_POS (24U)
- #define MCAN_TXBTIE_TIE24 (0x01000000UL)
- #define MCAN_TXBTIE_TIE25_POS (25U)
- #define MCAN_TXBTIE_TIE25 (0x02000000UL)
- #define MCAN_TXBTIE_TIE26_POS (26U)
- #define MCAN_TXBTIE_TIE26 (0x04000000UL)
- #define MCAN_TXBTIE_TIE27_POS (27U)
- #define MCAN_TXBTIE_TIE27 (0x08000000UL)
- #define MCAN_TXBTIE_TIE28_POS (28U)
- #define MCAN_TXBTIE_TIE28 (0x10000000UL)
- #define MCAN_TXBTIE_TIE29_POS (29U)
- #define MCAN_TXBTIE_TIE29 (0x20000000UL)
- #define MCAN_TXBTIE_TIE30_POS (30U)
- #define MCAN_TXBTIE_TIE30 (0x40000000UL)
- #define MCAN_TXBTIE_TIE31_POS (31U)
- #define MCAN_TXBTIE_TIE31 (0x80000000UL)
- /* Bit definition for MCAN_TXBCIE register */
- #define MCAN_TXBCIE_CFIE0_POS (0U)
- #define MCAN_TXBCIE_CFIE0 (0x00000001UL)
- #define MCAN_TXBCIE_CFIE1_POS (1U)
- #define MCAN_TXBCIE_CFIE1 (0x00000002UL)
- #define MCAN_TXBCIE_CFIE2_POS (2U)
- #define MCAN_TXBCIE_CFIE2 (0x00000004UL)
- #define MCAN_TXBCIE_CFIE3_POS (3U)
- #define MCAN_TXBCIE_CFIE3 (0x00000008UL)
- #define MCAN_TXBCIE_CFIE4_POS (4U)
- #define MCAN_TXBCIE_CFIE4 (0x00000010UL)
- #define MCAN_TXBCIE_CFIE5_POS (5U)
- #define MCAN_TXBCIE_CFIE5 (0x00000020UL)
- #define MCAN_TXBCIE_CFIE6_POS (6U)
- #define MCAN_TXBCIE_CFIE6 (0x00000040UL)
- #define MCAN_TXBCIE_CFIE7_POS (7U)
- #define MCAN_TXBCIE_CFIE7 (0x00000080UL)
- #define MCAN_TXBCIE_CFIE8_POS (8U)
- #define MCAN_TXBCIE_CFIE8 (0x00000100UL)
- #define MCAN_TXBCIE_CFIE9_POS (9U)
- #define MCAN_TXBCIE_CFIE9 (0x00000200UL)
- #define MCAN_TXBCIE_CFIE10_POS (10U)
- #define MCAN_TXBCIE_CFIE10 (0x00000400UL)
- #define MCAN_TXBCIE_CFIE11_POS (11U)
- #define MCAN_TXBCIE_CFIE11 (0x00000800UL)
- #define MCAN_TXBCIE_CFIE12_POS (12U)
- #define MCAN_TXBCIE_CFIE12 (0x00001000UL)
- #define MCAN_TXBCIE_CFIE13_POS (13U)
- #define MCAN_TXBCIE_CFIE13 (0x00002000UL)
- #define MCAN_TXBCIE_CFIE14_POS (14U)
- #define MCAN_TXBCIE_CFIE14 (0x00004000UL)
- #define MCAN_TXBCIE_CFIE15_POS (15U)
- #define MCAN_TXBCIE_CFIE15 (0x00008000UL)
- #define MCAN_TXBCIE_CFIE16_POS (16U)
- #define MCAN_TXBCIE_CFIE16 (0x00010000UL)
- #define MCAN_TXBCIE_CFIE17_POS (17U)
- #define MCAN_TXBCIE_CFIE17 (0x00020000UL)
- #define MCAN_TXBCIE_CFIE18_POS (18U)
- #define MCAN_TXBCIE_CFIE18 (0x00040000UL)
- #define MCAN_TXBCIE_CFIE19_POS (19U)
- #define MCAN_TXBCIE_CFIE19 (0x00080000UL)
- #define MCAN_TXBCIE_CFIE20_POS (20U)
- #define MCAN_TXBCIE_CFIE20 (0x00100000UL)
- #define MCAN_TXBCIE_CFIE21_POS (21U)
- #define MCAN_TXBCIE_CFIE21 (0x00200000UL)
- #define MCAN_TXBCIE_CFIE22_POS (22U)
- #define MCAN_TXBCIE_CFIE22 (0x00400000UL)
- #define MCAN_TXBCIE_CFIE23_POS (23U)
- #define MCAN_TXBCIE_CFIE23 (0x00800000UL)
- #define MCAN_TXBCIE_CFIE24_POS (24U)
- #define MCAN_TXBCIE_CFIE24 (0x01000000UL)
- #define MCAN_TXBCIE_CFIE25_POS (25U)
- #define MCAN_TXBCIE_CFIE25 (0x02000000UL)
- #define MCAN_TXBCIE_CFIE26_POS (26U)
- #define MCAN_TXBCIE_CFIE26 (0x04000000UL)
- #define MCAN_TXBCIE_CFIE27_POS (27U)
- #define MCAN_TXBCIE_CFIE27 (0x08000000UL)
- #define MCAN_TXBCIE_CFIE28_POS (28U)
- #define MCAN_TXBCIE_CFIE28 (0x10000000UL)
- #define MCAN_TXBCIE_CFIE29_POS (29U)
- #define MCAN_TXBCIE_CFIE29 (0x20000000UL)
- #define MCAN_TXBCIE_CFIE30_POS (30U)
- #define MCAN_TXBCIE_CFIE30 (0x40000000UL)
- #define MCAN_TXBCIE_CFIE31_POS (31U)
- #define MCAN_TXBCIE_CFIE31 (0x80000000UL)
- /* Bit definition for MCAN_TXEFC register */
- #define MCAN_TXEFC_EFSA_POS (2U)
- #define MCAN_TXEFC_EFSA (0x0000FFFCUL)
- #define MCAN_TXEFC_EFS_POS (16U)
- #define MCAN_TXEFC_EFS (0x003F0000UL)
- #define MCAN_TXEFC_EFWM_POS (24U)
- #define MCAN_TXEFC_EFWM (0x3F000000UL)
- /* Bit definition for MCAN_TXEFS register */
- #define MCAN_TXEFS_EFFL_POS (0U)
- #define MCAN_TXEFS_EFFL (0x0000003FUL)
- #define MCAN_TXEFS_EFGI_POS (8U)
- #define MCAN_TXEFS_EFGI (0x00001F00UL)
- #define MCAN_TXEFS_EFPI_POS (16U)
- #define MCAN_TXEFS_EFPI (0x001F0000UL)
- #define MCAN_TXEFS_EFF_POS (24U)
- #define MCAN_TXEFS_EFF (0x01000000UL)
- #define MCAN_TXEFS_TEFL_POS (25U)
- #define MCAN_TXEFS_TEFL (0x02000000UL)
- /* Bit definition for MCAN_TXEFA register */
- #define MCAN_TXEFA_EFAI (0x0000001FUL)
- /*******************************************************************************
- Bit definition for Peripheral MPU
- *******************************************************************************/
- /* Bit definition for MPU_RGD register */
- #define MPU_RGD_MPURGSIZE_POS (0U)
- #define MPU_RGD_MPURGSIZE (0x0000001FUL)
- #define MPU_RGD_MPURGADDR_POS (5U)
- #define MPU_RGD_MPURGADDR (0xFFFFFFE0UL)
- /* Bit definition for MPU_SR register */
- #define MPU_SR_SMPU1EAF_POS (0U)
- #define MPU_SR_SMPU1EAF (0x00000001UL)
- #define MPU_SR_SMPU2EAF_POS (1U)
- #define MPU_SR_SMPU2EAF (0x00000002UL)
- #define MPU_SR_PSPEF_POS (2U)
- #define MPU_SR_PSPEF (0x00000004UL)
- #define MPU_SR_MSPEF_POS (3U)
- #define MPU_SR_MSPEF (0x00000008UL)
- /* Bit definition for MPU_ECLR register */
- #define MPU_ECLR_SMPU1ECLR_POS (0U)
- #define MPU_ECLR_SMPU1ECLR (0x00000001UL)
- #define MPU_ECLR_SMPU2ECLR_POS (1U)
- #define MPU_ECLR_SMPU2ECLR (0x00000002UL)
- #define MPU_ECLR_PSPECLR_POS (2U)
- #define MPU_ECLR_PSPECLR (0x00000004UL)
- #define MPU_ECLR_MSPECLR_POS (3U)
- #define MPU_ECLR_MSPECLR (0x00000008UL)
- /* Bit definition for MPU_WP register */
- #define MPU_WP_MPUWE_POS (0U)
- #define MPU_WP_MPUWE (0x00000001UL)
- #define MPU_WP_WKEY_POS (1U)
- #define MPU_WP_WKEY (0x0000FFFEUL)
- /* Bit definition for MPU_IPPR register */
- #define MPU_IPPR_AESRDP_POS (0U)
- #define MPU_IPPR_AESRDP (0x00000001UL)
- #define MPU_IPPR_AESWRP_POS (1U)
- #define MPU_IPPR_AESWRP (0x00000002UL)
- #define MPU_IPPR_HASHRDP_POS (2U)
- #define MPU_IPPR_HASHRDP (0x00000004UL)
- #define MPU_IPPR_HASHWRP_POS (3U)
- #define MPU_IPPR_HASHWRP (0x00000008UL)
- #define MPU_IPPR_TRNGRDP_POS (4U)
- #define MPU_IPPR_TRNGRDP (0x00000010UL)
- #define MPU_IPPR_TRNGWRP_POS (5U)
- #define MPU_IPPR_TRNGWRP (0x00000020UL)
- #define MPU_IPPR_CRCRDP_POS (6U)
- #define MPU_IPPR_CRCRDP (0x00000040UL)
- #define MPU_IPPR_CRCWRP_POS (7U)
- #define MPU_IPPR_CRCWRP (0x00000080UL)
- #define MPU_IPPR_EFMRDP_POS (8U)
- #define MPU_IPPR_EFMRDP (0x00000100UL)
- #define MPU_IPPR_EFMWRP_POS (9U)
- #define MPU_IPPR_EFMWRP (0x00000200UL)
- #define MPU_IPPR_WDTRDP_POS (12U)
- #define MPU_IPPR_WDTRDP (0x00001000UL)
- #define MPU_IPPR_WDTWRP_POS (13U)
- #define MPU_IPPR_WDTWRP (0x00002000UL)
- #define MPU_IPPR_SWDTRDP_POS (14U)
- #define MPU_IPPR_SWDTRDP (0x00004000UL)
- #define MPU_IPPR_SWDTWRP_POS (15U)
- #define MPU_IPPR_SWDTWRP (0x00008000UL)
- #define MPU_IPPR_BKSRAMRDP_POS (16U)
- #define MPU_IPPR_BKSRAMRDP (0x00010000UL)
- #define MPU_IPPR_BKSRAMWRP_POS (17U)
- #define MPU_IPPR_BKSRAMWRP (0x00020000UL)
- #define MPU_IPPR_RTCRDP_POS (18U)
- #define MPU_IPPR_RTCRDP (0x00040000UL)
- #define MPU_IPPR_RTCWRP_POS (19U)
- #define MPU_IPPR_RTCWRP (0x00080000UL)
- #define MPU_IPPR_DMPURDP_POS (20U)
- #define MPU_IPPR_DMPURDP (0x00100000UL)
- #define MPU_IPPR_DMPUWRP_POS (21U)
- #define MPU_IPPR_DMPUWRP (0x00200000UL)
- #define MPU_IPPR_SRAMCRDP_POS (22U)
- #define MPU_IPPR_SRAMCRDP (0x00400000UL)
- #define MPU_IPPR_SRAMCWRP_POS (23U)
- #define MPU_IPPR_SRAMCWRP (0x00800000UL)
- #define MPU_IPPR_INTCRDP_POS (24U)
- #define MPU_IPPR_INTCRDP (0x01000000UL)
- #define MPU_IPPR_INTCWRP_POS (25U)
- #define MPU_IPPR_INTCWRP (0x02000000UL)
- #define MPU_IPPR_SYSCRDP_POS (26U)
- #define MPU_IPPR_SYSCRDP (0x04000000UL)
- #define MPU_IPPR_SYSCWRP_POS (27U)
- #define MPU_IPPR_SYSCWRP (0x08000000UL)
- #define MPU_IPPR_MSTPRDP_POS (28U)
- #define MPU_IPPR_MSTPRDP (0x10000000UL)
- #define MPU_IPPR_MSPTWRP_POS (29U)
- #define MPU_IPPR_MSPTWRP (0x20000000UL)
- #define MPU_IPPR_BUSERRE_POS (31U)
- #define MPU_IPPR_BUSERRE (0x80000000UL)
- /* Bit definition for MPU_MSPPBA register */
- #define MPU_MSPPBA_MSPPBA_POS (2U)
- #define MPU_MSPPBA_MSPPBA (0xFFFFFFFCUL)
- /* Bit definition for MPU_MSPPCTL register */
- #define MPU_MSPPCTL_MSPPSIZE_POS (2U)
- #define MPU_MSPPCTL_MSPPSIZE (0x0000FFFCUL)
- #define MPU_MSPPCTL_MSPPACT_POS (30U)
- #define MPU_MSPPCTL_MSPPACT (0x40000000UL)
- #define MPU_MSPPCTL_MSPPE_POS (31U)
- #define MPU_MSPPCTL_MSPPE (0x80000000UL)
- /* Bit definition for MPU_PSPPBA register */
- #define MPU_PSPPBA_PSPPBA_POS (2U)
- #define MPU_PSPPBA_PSPPBA (0xFFFFFFFCUL)
- /* Bit definition for MPU_PSPPCTL register */
- #define MPU_PSPPCTL_PSPPSIZE_POS (2U)
- #define MPU_PSPPCTL_PSPPSIZE (0x0000FFFCUL)
- #define MPU_PSPPCTL_PSPPACT_POS (30U)
- #define MPU_PSPPCTL_PSPPACT (0x40000000UL)
- #define MPU_PSPPCTL_PSPPE_POS (31U)
- #define MPU_PSPPCTL_PSPPE (0x80000000UL)
- /* Bit definition for MPU_SRGE register */
- #define MPU_SRGE_RG0E_POS (0U)
- #define MPU_SRGE_RG0E (0x00000001UL)
- #define MPU_SRGE_RG1E_POS (1U)
- #define MPU_SRGE_RG1E (0x00000002UL)
- #define MPU_SRGE_RG2E_POS (2U)
- #define MPU_SRGE_RG2E (0x00000004UL)
- #define MPU_SRGE_RG3E_POS (3U)
- #define MPU_SRGE_RG3E (0x00000008UL)
- #define MPU_SRGE_RG4E_POS (4U)
- #define MPU_SRGE_RG4E (0x00000010UL)
- #define MPU_SRGE_RG5E_POS (5U)
- #define MPU_SRGE_RG5E (0x00000020UL)
- #define MPU_SRGE_RG6E_POS (6U)
- #define MPU_SRGE_RG6E (0x00000040UL)
- #define MPU_SRGE_RG7E_POS (7U)
- #define MPU_SRGE_RG7E (0x00000080UL)
- #define MPU_SRGE_RG8E_POS (8U)
- #define MPU_SRGE_RG8E (0x00000100UL)
- #define MPU_SRGE_RG9E_POS (9U)
- #define MPU_SRGE_RG9E (0x00000200UL)
- #define MPU_SRGE_RG10E_POS (10U)
- #define MPU_SRGE_RG10E (0x00000400UL)
- #define MPU_SRGE_RG11E_POS (11U)
- #define MPU_SRGE_RG11E (0x00000800UL)
- #define MPU_SRGE_RG12E_POS (12U)
- #define MPU_SRGE_RG12E (0x00001000UL)
- #define MPU_SRGE_RG13E_POS (13U)
- #define MPU_SRGE_RG13E (0x00002000UL)
- #define MPU_SRGE_RG14E_POS (14U)
- #define MPU_SRGE_RG14E (0x00004000UL)
- #define MPU_SRGE_RG15E_POS (15U)
- #define MPU_SRGE_RG15E (0x00008000UL)
- /* Bit definition for MPU_SRGWP register */
- #define MPU_SRGWP_RG0WP_POS (0U)
- #define MPU_SRGWP_RG0WP (0x00000001UL)
- #define MPU_SRGWP_RG1WP_POS (1U)
- #define MPU_SRGWP_RG1WP (0x00000002UL)
- #define MPU_SRGWP_RG2WP_POS (2U)
- #define MPU_SRGWP_RG2WP (0x00000004UL)
- #define MPU_SRGWP_RG3WP_POS (3U)
- #define MPU_SRGWP_RG3WP (0x00000008UL)
- #define MPU_SRGWP_RG4WP_POS (4U)
- #define MPU_SRGWP_RG4WP (0x00000010UL)
- #define MPU_SRGWP_RG5WP_POS (5U)
- #define MPU_SRGWP_RG5WP (0x00000020UL)
- #define MPU_SRGWP_RG6WP_POS (6U)
- #define MPU_SRGWP_RG6WP (0x00000040UL)
- #define MPU_SRGWP_RG7WP_POS (7U)
- #define MPU_SRGWP_RG7WP (0x00000080UL)
- #define MPU_SRGWP_RG8WP_POS (8U)
- #define MPU_SRGWP_RG8WP (0x00000100UL)
- #define MPU_SRGWP_RG9WP_POS (9U)
- #define MPU_SRGWP_RG9WP (0x00000200UL)
- #define MPU_SRGWP_RG10WP_POS (10U)
- #define MPU_SRGWP_RG10WP (0x00000400UL)
- #define MPU_SRGWP_RG11WP_POS (11U)
- #define MPU_SRGWP_RG11WP (0x00000800UL)
- #define MPU_SRGWP_RG12WP_POS (12U)
- #define MPU_SRGWP_RG12WP (0x00001000UL)
- #define MPU_SRGWP_RG13WP_POS (13U)
- #define MPU_SRGWP_RG13WP (0x00002000UL)
- #define MPU_SRGWP_RG14WP_POS (14U)
- #define MPU_SRGWP_RG14WP (0x00004000UL)
- #define MPU_SRGWP_RG15WP_POS (15U)
- #define MPU_SRGWP_RG15WP (0x00008000UL)
- /* Bit definition for MPU_SRGRP register */
- #define MPU_SRGRP_RG0RP_POS (0U)
- #define MPU_SRGRP_RG0RP (0x00000001UL)
- #define MPU_SRGRP_RG1RP_POS (1U)
- #define MPU_SRGRP_RG1RP (0x00000002UL)
- #define MPU_SRGRP_RG2RP_POS (2U)
- #define MPU_SRGRP_RG2RP (0x00000004UL)
- #define MPU_SRGRP_RG3RP_POS (3U)
- #define MPU_SRGRP_RG3RP (0x00000008UL)
- #define MPU_SRGRP_RG4RP_POS (4U)
- #define MPU_SRGRP_RG4RP (0x00000010UL)
- #define MPU_SRGRP_RG5RP_POS (5U)
- #define MPU_SRGRP_RG5RP (0x00000020UL)
- #define MPU_SRGRP_RG6RP_POS (6U)
- #define MPU_SRGRP_RG6RP (0x00000040UL)
- #define MPU_SRGRP_RG7RP_POS (7U)
- #define MPU_SRGRP_RG7RP (0x00000080UL)
- #define MPU_SRGRP_RG8RP_POS (8U)
- #define MPU_SRGRP_RG8RP (0x00000100UL)
- #define MPU_SRGRP_RG9RP_POS (9U)
- #define MPU_SRGRP_RG9RP (0x00000200UL)
- #define MPU_SRGRP_RG10RP_POS (10U)
- #define MPU_SRGRP_RG10RP (0x00000400UL)
- #define MPU_SRGRP_RG11RP_POS (11U)
- #define MPU_SRGRP_RG11RP (0x00000800UL)
- #define MPU_SRGRP_RG12RP_POS (12U)
- #define MPU_SRGRP_RG12RP (0x00001000UL)
- #define MPU_SRGRP_RG13RP_POS (13U)
- #define MPU_SRGRP_RG13RP (0x00002000UL)
- #define MPU_SRGRP_RG14RP_POS (14U)
- #define MPU_SRGRP_RG14RP (0x00004000UL)
- #define MPU_SRGRP_RG15RP_POS (15U)
- #define MPU_SRGRP_RG15RP (0x00008000UL)
- /* Bit definition for MPU_SCR register */
- #define MPU_SCR_SMPUBRP_POS (0U)
- #define MPU_SCR_SMPUBRP (0x00000001UL)
- #define MPU_SCR_SMPUBWP_POS (1U)
- #define MPU_SCR_SMPUBWP (0x00000002UL)
- #define MPU_SCR_SMPUACT_POS (2U)
- #define MPU_SCR_SMPUACT (0x0000000CUL)
- #define MPU_SCR_SMPUACT_0 (0x00000004UL)
- #define MPU_SCR_SMPUACT_1 (0x00000008UL)
- #define MPU_SCR_SMPUE_POS (7U)
- #define MPU_SCR_SMPUE (0x00000080UL)
- /*******************************************************************************
- Bit definition for Peripheral PERIC
- *******************************************************************************/
- /* Bit definition for PERIC_SMC_ENAR register */
- #define PERIC_SMC_ENAR_SMCEN_POS (1U)
- #define PERIC_SMC_ENAR_SMCEN (0x00000002UL)
- /* Bit definition for PERIC_TMR_SYNENR register */
- #define PERIC_TMR_SYNENR_TMR0U1A_POS (0U)
- #define PERIC_TMR_SYNENR_TMR0U1A (0x00000001UL)
- #define PERIC_TMR_SYNENR_TMR0U1B_POS (1U)
- #define PERIC_TMR_SYNENR_TMR0U1B (0x00000002UL)
- #define PERIC_TMR_SYNENR_TMR0U2A_POS (2U)
- #define PERIC_TMR_SYNENR_TMR0U2A (0x00000004UL)
- #define PERIC_TMR_SYNENR_TMR0U2B_POS (3U)
- #define PERIC_TMR_SYNENR_TMR0U2B (0x00000008UL)
- #define PERIC_TMR_SYNENR_TMR4U1_POS (4U)
- #define PERIC_TMR_SYNENR_TMR4U1 (0x00000010UL)
- #define PERIC_TMR_SYNENR_TMR4U2_POS (5U)
- #define PERIC_TMR_SYNENR_TMR4U2 (0x00000020UL)
- #define PERIC_TMR_SYNENR_TMR4U3_POS (6U)
- #define PERIC_TMR_SYNENR_TMR4U3 (0x00000040UL)
- #define PERIC_TMR_SYNENR_TMR6U1_POS (8U)
- #define PERIC_TMR_SYNENR_TMR6U1 (0x00000100UL)
- #define PERIC_TMR_SYNENR_TMR6U2_POS (9U)
- #define PERIC_TMR_SYNENR_TMR6U2 (0x00000200UL)
- #define PERIC_TMR_SYNENR_TMRAU1_POS (10U)
- #define PERIC_TMR_SYNENR_TMRAU1 (0x00000400UL)
- #define PERIC_TMR_SYNENR_TMRAU2_POS (11U)
- #define PERIC_TMR_SYNENR_TMRAU2 (0x00000800UL)
- #define PERIC_TMR_SYNENR_TMRAU3_POS (12U)
- #define PERIC_TMR_SYNENR_TMRAU3 (0x00001000UL)
- #define PERIC_TMR_SYNENR_TMRAU4_POS (13U)
- #define PERIC_TMR_SYNENR_TMRAU4 (0x00002000UL)
- #define PERIC_TMR_SYNENR_TMRAU5_POS (14U)
- #define PERIC_TMR_SYNENR_TMRAU5 (0x00004000UL)
- /* Bit definition for PERIC_USART1_NFC register */
- #define PERIC_USART1_NFC_USASRT1_NFS_POS (0U)
- #define PERIC_USART1_NFC_USASRT1_NFS (0x00000003UL)
- #define PERIC_USART1_NFC_USASRT1_NFS_0 (0x00000001UL)
- #define PERIC_USART1_NFC_USASRT1_NFS_1 (0x00000002UL)
- #define PERIC_USART1_NFC_USART1_NFE_POS (2U)
- #define PERIC_USART1_NFC_USART1_NFE (0x00000004UL)
- /*******************************************************************************
- Bit definition for Peripheral PWC
- *******************************************************************************/
- /* Bit definition for PWC_FCG0 register */
- #define PWC_FCG0_SRAMH_POS (0U)
- #define PWC_FCG0_SRAMH (0x00000001UL)
- #define PWC_FCG0_SRAM0_POS (4U)
- #define PWC_FCG0_SRAM0 (0x00000010UL)
- #define PWC_FCG0_SRAMB_POS (10U)
- #define PWC_FCG0_SRAMB (0x00000400UL)
- #define PWC_FCG0_KEY_POS (13U)
- #define PWC_FCG0_KEY (0x00002000UL)
- #define PWC_FCG0_DMA1_POS (14U)
- #define PWC_FCG0_DMA1 (0x00004000UL)
- #define PWC_FCG0_DMA2_POS (15U)
- #define PWC_FCG0_DMA2 (0x00008000UL)
- #define PWC_FCG0_FCM_POS (16U)
- #define PWC_FCG0_FCM (0x00010000UL)
- #define PWC_FCG0_AOS_POS (17U)
- #define PWC_FCG0_AOS (0x00020000UL)
- #define PWC_FCG0_CTC_POS (18U)
- #define PWC_FCG0_CTC (0x00040000UL)
- #define PWC_FCG0_AES_POS (20U)
- #define PWC_FCG0_AES (0x00100000UL)
- #define PWC_FCG0_HASH_POS (21U)
- #define PWC_FCG0_HASH (0x00200000UL)
- #define PWC_FCG0_TRNG_POS (22U)
- #define PWC_FCG0_TRNG (0x00400000UL)
- #define PWC_FCG0_CRC_POS (23U)
- #define PWC_FCG0_CRC (0x00800000UL)
- #define PWC_FCG0_DCU1_POS (24U)
- #define PWC_FCG0_DCU1 (0x01000000UL)
- #define PWC_FCG0_DCU2_POS (25U)
- #define PWC_FCG0_DCU2 (0x02000000UL)
- #define PWC_FCG0_DCU3_POS (26U)
- #define PWC_FCG0_DCU3 (0x04000000UL)
- #define PWC_FCG0_DCU4_POS (27U)
- #define PWC_FCG0_DCU4 (0x08000000UL)
- /* Bit definition for PWC_FCG1 register */
- #define PWC_FCG1_MCAN1_POS (0U)
- #define PWC_FCG1_MCAN1 (0x00000001UL)
- #define PWC_FCG1_MCAN2_POS (1U)
- #define PWC_FCG1_MCAN2 (0x00000002UL)
- #define PWC_FCG1_QSPI_POS (3U)
- #define PWC_FCG1_QSPI (0x00000008UL)
- #define PWC_FCG1_I2C1_POS (4U)
- #define PWC_FCG1_I2C1 (0x00000010UL)
- #define PWC_FCG1_I2C2_POS (5U)
- #define PWC_FCG1_I2C2 (0x00000020UL)
- #define PWC_FCG1_SPI1_POS (16U)
- #define PWC_FCG1_SPI1 (0x00010000UL)
- #define PWC_FCG1_SPI2_POS (17U)
- #define PWC_FCG1_SPI2 (0x00020000UL)
- #define PWC_FCG1_SPI3_POS (18U)
- #define PWC_FCG1_SPI3 (0x00040000UL)
- /* Bit definition for PWC_FCG2 register */
- #define PWC_FCG2_TMR6_1_POS (0U)
- #define PWC_FCG2_TMR6_1 (0x00000001UL)
- #define PWC_FCG2_TMR6_2_POS (1U)
- #define PWC_FCG2_TMR6_2 (0x00000002UL)
- #define PWC_FCG2_TMR4_1_POS (9U)
- #define PWC_FCG2_TMR4_1 (0x00000200UL)
- #define PWC_FCG2_TMR4_2_POS (10U)
- #define PWC_FCG2_TMR4_2 (0x00000400UL)
- #define PWC_FCG2_TMR4_3_POS (11U)
- #define PWC_FCG2_TMR4_3 (0x00000800UL)
- #define PWC_FCG2_TMR0_1_POS (12U)
- #define PWC_FCG2_TMR0_1 (0x00001000UL)
- #define PWC_FCG2_TMR0_2_POS (13U)
- #define PWC_FCG2_TMR0_2 (0x00002000UL)
- #define PWC_FCG2_EMB_POS (15U)
- #define PWC_FCG2_EMB (0x00008000UL)
- #define PWC_FCG2_TMRA_1_POS (20U)
- #define PWC_FCG2_TMRA_1 (0x00100000UL)
- #define PWC_FCG2_TMRA_2_POS (21U)
- #define PWC_FCG2_TMRA_2 (0x00200000UL)
- #define PWC_FCG2_TMRA_3_POS (22U)
- #define PWC_FCG2_TMRA_3 (0x00400000UL)
- #define PWC_FCG2_TMRA_4_POS (23U)
- #define PWC_FCG2_TMRA_4 (0x00800000UL)
- #define PWC_FCG2_TMRA_5_POS (24U)
- #define PWC_FCG2_TMRA_5 (0x01000000UL)
- /* Bit definition for PWC_FCG3 register */
- #define PWC_FCG3_ADC1_POS (0U)
- #define PWC_FCG3_ADC1 (0x00000001UL)
- #define PWC_FCG3_ADC2_POS (1U)
- #define PWC_FCG3_ADC2 (0x00000002UL)
- #define PWC_FCG3_ADC3_POS (2U)
- #define PWC_FCG3_ADC3 (0x00000004UL)
- #define PWC_FCG3_DAC_POS (4U)
- #define PWC_FCG3_DAC (0x00000010UL)
- #define PWC_FCG3_CMP12_POS (8U)
- #define PWC_FCG3_CMP12 (0x00000100UL)
- #define PWC_FCG3_CMP34_POS (9U)
- #define PWC_FCG3_CMP34 (0x00000200UL)
- #define PWC_FCG3_SMC_POS (16U)
- #define PWC_FCG3_SMC (0x00010000UL)
- #define PWC_FCG3_USART1_POS (20U)
- #define PWC_FCG3_USART1 (0x00100000UL)
- #define PWC_FCG3_USART2_POS (21U)
- #define PWC_FCG3_USART2 (0x00200000UL)
- #define PWC_FCG3_USART3_POS (22U)
- #define PWC_FCG3_USART3 (0x00400000UL)
- #define PWC_FCG3_USART4_POS (23U)
- #define PWC_FCG3_USART4 (0x00800000UL)
- #define PWC_FCG3_USART5_POS (24U)
- #define PWC_FCG3_USART5 (0x01000000UL)
- #define PWC_FCG3_USART6_POS (25U)
- #define PWC_FCG3_USART6 (0x02000000UL)
- /* Bit definition for PWC_FCG0PC register */
- #define PWC_FCG0PC_PRT0_POS (0U)
- #define PWC_FCG0PC_PRT0 (0x00000001UL)
- #define PWC_FCG0PC_FCG0PCWE_POS (16U)
- #define PWC_FCG0PC_FCG0PCWE (0xFFFF0000UL)
- /* Bit definition for PWC_WKTCR register */
- #define PWC_WKTCR_WKTMCMP_POS (0U)
- #define PWC_WKTCR_WKTMCMP (0x0FFFU)
- #define PWC_WKTCR_WKOVF_POS (12U)
- #define PWC_WKTCR_WKOVF (0x1000U)
- #define PWC_WKTCR_WKCKS_POS (13U)
- #define PWC_WKTCR_WKCKS (0x6000U)
- #define PWC_WKTCR_WKCKS_0 (0x2000U)
- #define PWC_WKTCR_WKCKS_1 (0x4000U)
- #define PWC_WKTCR_WKTCE_POS (15U)
- #define PWC_WKTCR_WKTCE (0x8000U)
- /* Bit definition for PWC_PWRC0 register */
- #define PWC_PWRC0_PDMDS_POS (0U)
- #define PWC_PWRC0_PDMDS (0x03U)
- #define PWC_PWRC0_PDMDS_0 (0x01U)
- #define PWC_PWRC0_PDMDS_1 (0x02U)
- #define PWC_PWRC0_IORTN_POS (4U)
- #define PWC_PWRC0_IORTN (0x30U)
- #define PWC_PWRC0_IORTN_0 (0x10U)
- #define PWC_PWRC0_IORTN_1 (0x20U)
- #define PWC_PWRC0_PWDN_POS (7U)
- #define PWC_PWRC0_PWDN (0x80U)
- /* Bit definition for PWC_PWRC1 register */
- #define PWC_PWRC1_VPLLSD_POS (0U)
- #define PWC_PWRC1_VPLLSD (0x03U)
- #define PWC_PWRC1_VPLLSD_0 (0x01U)
- #define PWC_PWRC1_VPLLSD_1 (0x02U)
- #define PWC_PWRC1_VHRCSD_POS (2U)
- #define PWC_PWRC1_VHRCSD (0x04U)
- #define PWC_PWRC1_PDTS_POS (3U)
- #define PWC_PWRC1_PDTS (0x08U)
- #define PWC_PWRC1_STPDAS_POS (6U)
- #define PWC_PWRC1_STPDAS (0xC0U)
- #define PWC_PWRC1_STPDAS_0 (0x40U)
- #define PWC_PWRC1_STPDAS_1 (0x80U)
- /* Bit definition for PWC_PWRC2 register */
- #define PWC_PWRC2_DVS_POS (4U)
- #define PWC_PWRC2_DVS (0x30U)
- #define PWC_PWRC2_DVS_0 (0x10U)
- #define PWC_PWRC2_DVS_1 (0x20U)
- /* Bit definition for PWC_PWRC3 register */
- #define PWC_PWRC3_DDAS (0x0FU)
- /* Bit definition for PWC_PWRC4 register */
- #define PWC_PWRC4_ADBUFE_POS (7U)
- #define PWC_PWRC4_ADBUFE (0x80U)
- /* Bit definition for PWC_PVDCR0 register */
- #define PWC_PVDCR0_EXVCCINEN_POS (0U)
- #define PWC_PVDCR0_EXVCCINEN (0x01U)
- #define PWC_PVDCR0_PVD1EN_POS (5U)
- #define PWC_PVDCR0_PVD1EN (0x20U)
- #define PWC_PVDCR0_PVD2EN_POS (6U)
- #define PWC_PVDCR0_PVD2EN (0x40U)
- /* Bit definition for PWC_PVDCR1 register */
- #define PWC_PVDCR1_PVD1IRE_POS (0U)
- #define PWC_PVDCR1_PVD1IRE (0x01U)
- #define PWC_PVDCR1_PVD1IRS_POS (1U)
- #define PWC_PVDCR1_PVD1IRS (0x02U)
- #define PWC_PVDCR1_PVD1CMPOE_POS (2U)
- #define PWC_PVDCR1_PVD1CMPOE (0x04U)
- #define PWC_PVDCR1_PVD2IRE_POS (4U)
- #define PWC_PVDCR1_PVD2IRE (0x10U)
- #define PWC_PVDCR1_PVD2IRS_POS (5U)
- #define PWC_PVDCR1_PVD2IRS (0x20U)
- #define PWC_PVDCR1_PVD2CMPOE_POS (6U)
- #define PWC_PVDCR1_PVD2CMPOE (0x40U)
- /* Bit definition for PWC_PVDFCR register */
- #define PWC_PVDFCR_PVD1NFDIS_POS (0U)
- #define PWC_PVDFCR_PVD1NFDIS (0x01U)
- #define PWC_PVDFCR_PVD1NFCKS_POS (1U)
- #define PWC_PVDFCR_PVD1NFCKS (0x06U)
- #define PWC_PVDFCR_PVD1NFCKS_0 (0x02U)
- #define PWC_PVDFCR_PVD1NFCKS_1 (0x04U)
- #define PWC_PVDFCR_PVD2NFDIS_POS (4U)
- #define PWC_PVDFCR_PVD2NFDIS (0x10U)
- #define PWC_PVDFCR_PVD2NFCKS_POS (5U)
- #define PWC_PVDFCR_PVD2NFCKS (0x60U)
- #define PWC_PVDFCR_PVD2NFCKS_0 (0x20U)
- #define PWC_PVDFCR_PVD2NFCKS_1 (0x40U)
- /* Bit definition for PWC_PVDLCR register */
- #define PWC_PVDLCR_PVD1LVL_POS (0U)
- #define PWC_PVDLCR_PVD1LVL (0x07U)
- #define PWC_PVDLCR_PVD2LVL_POS (4U)
- #define PWC_PVDLCR_PVD2LVL (0x70U)
- /* Bit definition for PWC_PDWKE0 register */
- #define PWC_PDWKE0_WKE00_POS (0U)
- #define PWC_PDWKE0_WKE00 (0x01U)
- #define PWC_PDWKE0_WKE01_POS (1U)
- #define PWC_PDWKE0_WKE01 (0x02U)
- #define PWC_PDWKE0_WKE02_POS (2U)
- #define PWC_PDWKE0_WKE02 (0x04U)
- #define PWC_PDWKE0_WKE03_POS (3U)
- #define PWC_PDWKE0_WKE03 (0x08U)
- #define PWC_PDWKE0_WKE10_POS (4U)
- #define PWC_PDWKE0_WKE10 (0x10U)
- #define PWC_PDWKE0_WKE11_POS (5U)
- #define PWC_PDWKE0_WKE11 (0x20U)
- #define PWC_PDWKE0_WKE12_POS (6U)
- #define PWC_PDWKE0_WKE12 (0x40U)
- #define PWC_PDWKE0_WKE13_POS (7U)
- #define PWC_PDWKE0_WKE13 (0x80U)
- /* Bit definition for PWC_PDWKE1 register */
- #define PWC_PDWKE1_WKE20_POS (0U)
- #define PWC_PDWKE1_WKE20 (0x01U)
- #define PWC_PDWKE1_WKE21_POS (1U)
- #define PWC_PDWKE1_WKE21 (0x02U)
- #define PWC_PDWKE1_WKE22_POS (2U)
- #define PWC_PDWKE1_WKE22 (0x04U)
- #define PWC_PDWKE1_WKE23_POS (3U)
- #define PWC_PDWKE1_WKE23 (0x08U)
- #define PWC_PDWKE1_WKE30_POS (4U)
- #define PWC_PDWKE1_WKE30 (0x10U)
- #define PWC_PDWKE1_WKE31_POS (5U)
- #define PWC_PDWKE1_WKE31 (0x20U)
- #define PWC_PDWKE1_WKE32_POS (6U)
- #define PWC_PDWKE1_WKE32 (0x40U)
- #define PWC_PDWKE1_WKE33_POS (7U)
- #define PWC_PDWKE1_WKE33 (0x80U)
- /* Bit definition for PWC_PDWKE2 register */
- #define PWC_PDWKE2_VD1WKE_POS (0U)
- #define PWC_PDWKE2_VD1WKE (0x01U)
- #define PWC_PDWKE2_VD2WKE_POS (1U)
- #define PWC_PDWKE2_VD2WKE (0x02U)
- #define PWC_PDWKE2_RTCPRDWKE_POS (4U)
- #define PWC_PDWKE2_RTCPRDWKE (0x10U)
- #define PWC_PDWKE2_RTCALMWKE_POS (5U)
- #define PWC_PDWKE2_RTCALMWKE (0x20U)
- #define PWC_PDWKE2_WKTMWKE_POS (7U)
- #define PWC_PDWKE2_WKTMWKE (0x80U)
- /* Bit definition for PWC_PDWKES register */
- #define PWC_PDWKES_WK0EGS_POS (0U)
- #define PWC_PDWKES_WK0EGS (0x01U)
- #define PWC_PDWKES_WK1EGS_POS (1U)
- #define PWC_PDWKES_WK1EGS (0x02U)
- #define PWC_PDWKES_WK2EGS_POS (2U)
- #define PWC_PDWKES_WK2EGS (0x04U)
- #define PWC_PDWKES_WK3EGS_POS (3U)
- #define PWC_PDWKES_WK3EGS (0x08U)
- #define PWC_PDWKES_VD1EGS_POS (4U)
- #define PWC_PDWKES_VD1EGS (0x10U)
- #define PWC_PDWKES_VD2EGS_POS (5U)
- #define PWC_PDWKES_VD2EGS (0x20U)
- /* Bit definition for PWC_PDWKF0 register */
- #define PWC_PDWKF0_PTWK0F_POS (0U)
- #define PWC_PDWKF0_PTWK0F (0x01U)
- #define PWC_PDWKF0_PTWK1F_POS (1U)
- #define PWC_PDWKF0_PTWK1F (0x02U)
- #define PWC_PDWKF0_PTWK2F_POS (2U)
- #define PWC_PDWKF0_PTWK2F (0x04U)
- #define PWC_PDWKF0_PTWK3F_POS (3U)
- #define PWC_PDWKF0_PTWK3F (0x08U)
- #define PWC_PDWKF0_VD1WKF_POS (4U)
- #define PWC_PDWKF0_VD1WKF (0x10U)
- #define PWC_PDWKF0_VD2WKF_POS (5U)
- #define PWC_PDWKF0_VD2WKF (0x20U)
- /* Bit definition for PWC_PDWKF1 register */
- #define PWC_PDWKF1_RXD0WKF_POS (3U)
- #define PWC_PDWKF1_RXD0WKF (0x08U)
- #define PWC_PDWKF1_RTCPRDWKF_POS (4U)
- #define PWC_PDWKF1_RTCPRDWKF (0x10U)
- #define PWC_PDWKF1_RTCALMWKF_POS (5U)
- #define PWC_PDWKF1_RTCALMWKF (0x20U)
- #define PWC_PDWKF1_WKTMWKF_POS (7U)
- #define PWC_PDWKF1_WKTMWKF (0x80U)
- /* Bit definition for PWC_PWRC5 register */
- #define PWC_PWRC5_VVDRSD_POS (0U)
- #define PWC_PWRC5_VVDRSD (0x01U)
- #define PWC_PWRC5_SRAMBSD_POS (1U)
- #define PWC_PWRC5_SRAMBSD (0x02U)
- #define PWC_PWRC5_CSDIS_POS (7U)
- #define PWC_PWRC5_CSDIS (0x80U)
- /* Bit definition for PWC_PWRC6 register */
- #define PWC_PWRC6_RTCCKSEL_POS (0U)
- #define PWC_PWRC6_RTCCKSEL (0x03U)
- #define PWC_PWRC6_RTCCKSEL_0 (0x01U)
- #define PWC_PWRC6_RTCCKSEL_1 (0x02U)
- #define PWC_PWRC6_SWRIOCLR_POS (2U)
- #define PWC_PWRC6_SWRIOCLR (0x04U)
- #define PWC_PWRC6_WDRIOCLR_POS (3U)
- #define PWC_PWRC6_WDRIOCLR (0x08U)
- #define PWC_PWRC6_SWRDAC_POS (4U)
- #define PWC_PWRC6_SWRDAC (0x10U)
- #define PWC_PWRC6_WDRDAC_POS (5U)
- #define PWC_PWRC6_WDRDAC (0x20U)
- #define PWC_PWRC6_SWRTNE_POS (6U)
- #define PWC_PWRC6_SWRTNE (0x40U)
- #define PWC_PWRC6_WDRTNE_POS (7U)
- #define PWC_PWRC6_WDRTNE (0x80U)
- /* Bit definition for PWC_PVDICR register */
- #define PWC_PVDICR_PVD1NMIS_POS (0U)
- #define PWC_PVDICR_PVD1NMIS (0x01U)
- #define PWC_PVDICR_PVD1EDGS_POS (1U)
- #define PWC_PVDICR_PVD1EDGS (0x06U)
- #define PWC_PVDICR_PVD1EDGS_0 (0x02U)
- #define PWC_PVDICR_PVD1EDGS_1 (0x04U)
- #define PWC_PVDICR_PVD2NMIS_POS (4U)
- #define PWC_PVDICR_PVD2NMIS (0x10U)
- #define PWC_PVDICR_PVD2EDGS_POS (5U)
- #define PWC_PVDICR_PVD2EDGS (0x60U)
- #define PWC_PVDICR_PVD2EDGS_0 (0x20U)
- #define PWC_PVDICR_PVD2EDGS_1 (0x40U)
- /* Bit definition for PWC_PVDDSR register */
- #define PWC_PVDDSR_PVD1MON_POS (0U)
- #define PWC_PVDDSR_PVD1MON (0x01U)
- #define PWC_PVDDSR_PVD1DETFLG_POS (1U)
- #define PWC_PVDDSR_PVD1DETFLG (0x02U)
- #define PWC_PVDDSR_PVD2MON_POS (4U)
- #define PWC_PVDDSR_PVD2MON (0x10U)
- #define PWC_PVDDSR_PVD2DETFLG_POS (5U)
- #define PWC_PVDDSR_PVD2DETFLG (0x20U)
- /* Bit definition for PWC_RAMPC0 register */
- #define PWC_RAMPC0_RAMPDC0_POS (0U)
- #define PWC_RAMPC0_RAMPDC0 (0x00000001UL)
- #define PWC_RAMPC0_RAMPDC10_POS (10U)
- #define PWC_RAMPC0_RAMPDC10 (0x00000400UL)
- /* Bit definition for PWC_RAMOPM register */
- #define PWC_RAMOPM_RAMOPM (0x0000FFFFUL)
- /* Bit definition for PWC_PRAMLPC register */
- #define PWC_PRAMLPC_PRAMPDC0_POS (0U)
- #define PWC_PRAMLPC_PRAMPDC0 (0x00000001UL)
- #define PWC_PRAMLPC_PRAMPDC3_POS (3U)
- #define PWC_PRAMLPC_PRAMPDC3 (0x00000008UL)
- /* Bit definition for PWC_STPMCR register */
- #define PWC_STPMCR_FLNWT_POS (0U)
- #define PWC_STPMCR_FLNWT (0x0001U)
- #define PWC_STPMCR_CKSMRC_POS (1U)
- #define PWC_STPMCR_CKSMRC (0x0002U)
- #define PWC_STPMCR_EXBUSOE_POS (14U)
- #define PWC_STPMCR_EXBUSOE (0x4000U)
- #define PWC_STPMCR_STOP_POS (15U)
- #define PWC_STPMCR_STOP (0x8000U)
- /* Bit definition for PWC_FPRC register */
- #define PWC_FPRC_FPRCB0_POS (0U)
- #define PWC_FPRC_FPRCB0 (0x0001U)
- #define PWC_FPRC_FPRCB1_POS (1U)
- #define PWC_FPRC_FPRCB1 (0x0002U)
- #define PWC_FPRC_FPRCB2_POS (2U)
- #define PWC_FPRC_FPRCB2 (0x0004U)
- #define PWC_FPRC_FPRCB3_POS (3U)
- #define PWC_FPRC_FPRCB3 (0x0008U)
- #define PWC_FPRC_FPRCWE_POS (8U)
- #define PWC_FPRC_FPRCWE (0xFF00U)
- /*******************************************************************************
- Bit definition for Peripheral QSPI
- *******************************************************************************/
- /* Bit definition for QSPI_CR register */
- #define QSPI_CR_MDSEL_POS (0U)
- #define QSPI_CR_MDSEL (0x00000007UL)
- #define QSPI_CR_PFE_POS (3U)
- #define QSPI_CR_PFE (0x00000008UL)
- #define QSPI_CR_PFSAE_POS (4U)
- #define QSPI_CR_PFSAE (0x00000010UL)
- #define QSPI_CR_DCOME_POS (5U)
- #define QSPI_CR_DCOME (0x00000020UL)
- #define QSPI_CR_XIPE_POS (6U)
- #define QSPI_CR_XIPE (0x00000040UL)
- #define QSPI_CR_SPIMD3_POS (7U)
- #define QSPI_CR_SPIMD3 (0x00000080UL)
- #define QSPI_CR_IPRSL_POS (8U)
- #define QSPI_CR_IPRSL (0x00000300UL)
- #define QSPI_CR_IPRSL_0 (0x00000100UL)
- #define QSPI_CR_IPRSL_1 (0x00000200UL)
- #define QSPI_CR_APRSL_POS (10U)
- #define QSPI_CR_APRSL (0x00000C00UL)
- #define QSPI_CR_APRSL_0 (0x00000400UL)
- #define QSPI_CR_APRSL_1 (0x00000800UL)
- #define QSPI_CR_DPRSL_POS (12U)
- #define QSPI_CR_DPRSL (0x00003000UL)
- #define QSPI_CR_DPRSL_0 (0x00001000UL)
- #define QSPI_CR_DPRSL_1 (0x00002000UL)
- #define QSPI_CR_DIV_POS (16U)
- #define QSPI_CR_DIV (0x003F0000UL)
- /* Bit definition for QSPI_CSCR register */
- #define QSPI_CSCR_SSHW_POS (0U)
- #define QSPI_CSCR_SSHW (0x0000000FUL)
- #define QSPI_CSCR_SSNW_POS (4U)
- #define QSPI_CSCR_SSNW (0x00000030UL)
- #define QSPI_CSCR_SSNW_0 (0x00000010UL)
- #define QSPI_CSCR_SSNW_1 (0x00000020UL)
- /* Bit definition for QSPI_FCR register */
- #define QSPI_FCR_AWSL_POS (0U)
- #define QSPI_FCR_AWSL (0x00000003UL)
- #define QSPI_FCR_AWSL_0 (0x00000001UL)
- #define QSPI_FCR_AWSL_1 (0x00000002UL)
- #define QSPI_FCR_FOUR_BIC_POS (2U)
- #define QSPI_FCR_FOUR_BIC (0x00000004UL)
- #define QSPI_FCR_SSNHD_POS (4U)
- #define QSPI_FCR_SSNHD (0x00000010UL)
- #define QSPI_FCR_SSNLD_POS (5U)
- #define QSPI_FCR_SSNLD (0x00000020UL)
- #define QSPI_FCR_WPOL_POS (6U)
- #define QSPI_FCR_WPOL (0x00000040UL)
- #define QSPI_FCR_DMCYCN_POS (8U)
- #define QSPI_FCR_DMCYCN (0x00000F00UL)
- #define QSPI_FCR_DUTY_POS (15U)
- #define QSPI_FCR_DUTY (0x00008000UL)
- /* Bit definition for QSPI_SR register */
- #define QSPI_SR_BUSY_POS (0U)
- #define QSPI_SR_BUSY (0x00000001UL)
- #define QSPI_SR_XIPF_POS (6U)
- #define QSPI_SR_XIPF (0x00000040UL)
- #define QSPI_SR_RAER_POS (7U)
- #define QSPI_SR_RAER (0x00000080UL)
- #define QSPI_SR_PFNUM_POS (8U)
- #define QSPI_SR_PFNUM (0x00001F00UL)
- #define QSPI_SR_PFFUL_POS (14U)
- #define QSPI_SR_PFFUL (0x00004000UL)
- #define QSPI_SR_PFAN_POS (15U)
- #define QSPI_SR_PFAN (0x00008000UL)
- /* Bit definition for QSPI_DCOM register */
- #define QSPI_DCOM_DCOM_POS (0U)
- #define QSPI_DCOM_DCOM (0x000000FFUL)
- #define QSPI_DCOM_DCOMPRSL_POS (8U)
- #define QSPI_DCOM_DCOMPRSL (0x00000300UL)
- #define QSPI_DCOM_DCOMPRSL_0 (0x00000100UL)
- #define QSPI_DCOM_DCOMPRSL_1 (0x00000200UL)
- /* Bit definition for QSPI_CCMD register */
- #define QSPI_CCMD_RIC (0x000000FFUL)
- /* Bit definition for QSPI_XCMD register */
- #define QSPI_XCMD_XIPMC (0x000000FFUL)
- /* Bit definition for QSPI_SR2 register */
- #define QSPI_SR2_RAERCLR_POS (7U)
- #define QSPI_SR2_RAERCLR (0x00000080UL)
- /* Bit definition for QSPI_EXAR register */
- #define QSPI_EXAR_EXADR_POS (26U)
- #define QSPI_EXAR_EXADR (0xFC000000UL)
- /*******************************************************************************
- Bit definition for Peripheral RMU
- *******************************************************************************/
- /* Bit definition for RMU_FRST0 register */
- #define RMU_FRST0_KEY_POS (13U)
- #define RMU_FRST0_KEY (0x00002000UL)
- #define RMU_FRST0_DMA1_POS (14U)
- #define RMU_FRST0_DMA1 (0x00004000UL)
- #define RMU_FRST0_DMA2_POS (15U)
- #define RMU_FRST0_DMA2 (0x00008000UL)
- #define RMU_FRST0_FCM_POS (16U)
- #define RMU_FRST0_FCM (0x00010000UL)
- #define RMU_FRST0_AOS_POS (17U)
- #define RMU_FRST0_AOS (0x00020000UL)
- #define RMU_FRST0_CTC_POS (18U)
- #define RMU_FRST0_CTC (0x00040000UL)
- #define RMU_FRST0_AES_POS (20U)
- #define RMU_FRST0_AES (0x00100000UL)
- #define RMU_FRST0_HASH_POS (21U)
- #define RMU_FRST0_HASH (0x00200000UL)
- #define RMU_FRST0_TRNG_POS (22U)
- #define RMU_FRST0_TRNG (0x00400000UL)
- #define RMU_FRST0_CRC_POS (23U)
- #define RMU_FRST0_CRC (0x00800000UL)
- #define RMU_FRST0_DCU1_POS (24U)
- #define RMU_FRST0_DCU1 (0x01000000UL)
- #define RMU_FRST0_DCU2_POS (25U)
- #define RMU_FRST0_DCU2 (0x02000000UL)
- #define RMU_FRST0_DCU3_POS (26U)
- #define RMU_FRST0_DCU3 (0x04000000UL)
- #define RMU_FRST0_DCU4_POS (27U)
- #define RMU_FRST0_DCU4 (0x08000000UL)
- /* Bit definition for RMU_FRST1 register */
- #define RMU_FRST1_QSPI_POS (3U)
- #define RMU_FRST1_QSPI (0x00000008UL)
- #define RMU_FRST1_SPI1_POS (16U)
- #define RMU_FRST1_SPI1 (0x00010000UL)
- #define RMU_FRST1_SPI2_POS (17U)
- #define RMU_FRST1_SPI2 (0x00020000UL)
- #define RMU_FRST1_SPI3_POS (18U)
- #define RMU_FRST1_SPI3 (0x00040000UL)
- /* Bit definition for RMU_FRST2 register */
- #define RMU_FRST2_TIMER6_POS (0U)
- #define RMU_FRST2_TIMER6 (0x00000001UL)
- #define RMU_FRST2_TIMER4_POS (10U)
- #define RMU_FRST2_TIMER4 (0x00000400UL)
- #define RMU_FRST2_TIMER0_POS (12U)
- #define RMU_FRST2_TIMER0 (0x00001000UL)
- #define RMU_FRST2_EMB_POS (15U)
- #define RMU_FRST2_EMB (0x00008000UL)
- #define RMU_FRST2_TIMERA_POS (20U)
- #define RMU_FRST2_TIMERA (0x00100000UL)
- /* Bit definition for RMU_FRST3 register */
- #define RMU_FRST3_ADC1_POS (0U)
- #define RMU_FRST3_ADC1 (0x00000001UL)
- #define RMU_FRST3_ADC2_POS (1U)
- #define RMU_FRST3_ADC2 (0x00000002UL)
- #define RMU_FRST3_ADC3_POS (2U)
- #define RMU_FRST3_ADC3 (0x00000004UL)
- #define RMU_FRST3_DAC_POS (4U)
- #define RMU_FRST3_DAC (0x00000010UL)
- #define RMU_FRST3_CMP12_POS (8U)
- #define RMU_FRST3_CMP12 (0x00000100UL)
- #define RMU_FRST3_CMP34_POS (9U)
- #define RMU_FRST3_CMP34 (0x00000200UL)
- #define RMU_FRST3_EXMC_SMC_POS (16U)
- #define RMU_FRST3_EXMC_SMC (0x00010000UL)
- #define RMU_FRST3_USART1_POS (20U)
- #define RMU_FRST3_USART1 (0x00100000UL)
- #define RMU_FRST3_USART2_POS (21U)
- #define RMU_FRST3_USART2 (0x00200000UL)
- #define RMU_FRST3_USART3_POS (22U)
- #define RMU_FRST3_USART3 (0x00400000UL)
- #define RMU_FRST3_USART4_POS (23U)
- #define RMU_FRST3_USART4 (0x00800000UL)
- #define RMU_FRST3_USART5_POS (24U)
- #define RMU_FRST3_USART5 (0x01000000UL)
- #define RMU_FRST3_USART6_POS (25U)
- #define RMU_FRST3_USART6 (0x02000000UL)
- /* Bit definition for RMU_PRSTCR0 register */
- #define RMU_PRSTCR0_LKUPREN_POS (5U)
- #define RMU_PRSTCR0_LKUPREN (0x20U)
- /* Bit definition for RMU_RSTF0 register */
- #define RMU_RSTF0_PORF_POS (0U)
- #define RMU_RSTF0_PORF (0x00000001UL)
- #define RMU_RSTF0_PINRF_POS (1U)
- #define RMU_RSTF0_PINRF (0x00000002UL)
- #define RMU_RSTF0_BORF_POS (2U)
- #define RMU_RSTF0_BORF (0x00000004UL)
- #define RMU_RSTF0_PVD1RF_POS (3U)
- #define RMU_RSTF0_PVD1RF (0x00000008UL)
- #define RMU_RSTF0_PVD2RF_POS (4U)
- #define RMU_RSTF0_PVD2RF (0x00000010UL)
- #define RMU_RSTF0_WDRF_POS (5U)
- #define RMU_RSTF0_WDRF (0x00000020UL)
- #define RMU_RSTF0_SWDRF_POS (6U)
- #define RMU_RSTF0_SWDRF (0x00000040UL)
- #define RMU_RSTF0_PDRF_POS (7U)
- #define RMU_RSTF0_PDRF (0x00000080UL)
- #define RMU_RSTF0_SWRF_POS (8U)
- #define RMU_RSTF0_SWRF (0x00000100UL)
- #define RMU_RSTF0_MPUERF_POS (9U)
- #define RMU_RSTF0_MPUERF (0x00000200UL)
- #define RMU_RSTF0_RAPERF_POS (10U)
- #define RMU_RSTF0_RAPERF (0x00000400UL)
- #define RMU_RSTF0_RAECRF_POS (11U)
- #define RMU_RSTF0_RAECRF (0x00000800UL)
- #define RMU_RSTF0_CKFERF_POS (12U)
- #define RMU_RSTF0_CKFERF (0x00001000UL)
- #define RMU_RSTF0_XTALERF_POS (13U)
- #define RMU_RSTF0_XTALERF (0x00002000UL)
- #define RMU_RSTF0_LKUPRF_POS (14U)
- #define RMU_RSTF0_LKUPRF (0x00004000UL)
- #define RMU_RSTF0_MULTIRF_POS (30U)
- #define RMU_RSTF0_MULTIRF (0x40000000UL)
- #define RMU_RSTF0_CLRF_POS (31U)
- #define RMU_RSTF0_CLRF (0x80000000UL)
- /*******************************************************************************
- Bit definition for Peripheral RTC
- *******************************************************************************/
- /* Bit definition for RTC_CR0 register */
- #define RTC_CR0_RESET (0x01U)
- /* Bit definition for RTC_CR1 register */
- #define RTC_CR1_PRDS_POS (0U)
- #define RTC_CR1_PRDS (0x07U)
- #define RTC_CR1_PRDS_0 (0x01U)
- #define RTC_CR1_PRDS_1 (0x02U)
- #define RTC_CR1_PRDS_2 (0x04U)
- #define RTC_CR1_AMPM_POS (3U)
- #define RTC_CR1_AMPM (0x08U)
- #define RTC_CR1_ONEHZOE_POS (5U)
- #define RTC_CR1_ONEHZOE (0x20U)
- #define RTC_CR1_ONEHZSEL_POS (6U)
- #define RTC_CR1_ONEHZSEL (0x40U)
- #define RTC_CR1_START_POS (7U)
- #define RTC_CR1_START (0x80U)
- /* Bit definition for RTC_CR2 register */
- #define RTC_CR2_RWREQ_POS (0U)
- #define RTC_CR2_RWREQ (0x01U)
- #define RTC_CR2_RWEN_POS (1U)
- #define RTC_CR2_RWEN (0x02U)
- #define RTC_CR2_PRDF_POS (2U)
- #define RTC_CR2_PRDF (0x04U)
- #define RTC_CR2_ALMF_POS (3U)
- #define RTC_CR2_ALMF (0x08U)
- #define RTC_CR2_PRDIE_POS (5U)
- #define RTC_CR2_PRDIE (0x20U)
- #define RTC_CR2_ALMIE_POS (6U)
- #define RTC_CR2_ALMIE (0x40U)
- #define RTC_CR2_ALME_POS (7U)
- #define RTC_CR2_ALME (0x80U)
- /* Bit definition for RTC_CR3 register */
- #define RTC_CR3_LRCEN_POS (4U)
- #define RTC_CR3_LRCEN (0x10U)
- #define RTC_CR3_RCKSEL_POS (7U)
- #define RTC_CR3_RCKSEL (0x80U)
- /* Bit definition for RTC_SEC register */
- #define RTC_SEC_SECU_POS (0U)
- #define RTC_SEC_SECU (0x0FU)
- #define RTC_SEC_SECD_POS (4U)
- #define RTC_SEC_SECD (0x70U)
- /* Bit definition for RTC_MIN register */
- #define RTC_MIN_MINU_POS (0U)
- #define RTC_MIN_MINU (0x0FU)
- #define RTC_MIN_MIND_POS (4U)
- #define RTC_MIN_MIND (0x70U)
- /* Bit definition for RTC_HOUR register */
- #define RTC_HOUR_HOURU_POS (0U)
- #define RTC_HOUR_HOURU (0x0FU)
- #define RTC_HOUR_HOURU_0 (0x01U)
- #define RTC_HOUR_HOURU_1 (0x02U)
- #define RTC_HOUR_HOURU_2 (0x04U)
- #define RTC_HOUR_HOURU_3 (0x08U)
- #define RTC_HOUR_HOURD_POS (4U)
- #define RTC_HOUR_HOURD (0x30U)
- #define RTC_HOUR_HOURD_0 (0x10U)
- #define RTC_HOUR_HOURD_1 (0x20U)
- /* Bit definition for RTC_WEEK register */
- #define RTC_WEEK_WEEK (0x07U)
- /* Bit definition for RTC_DAY register */
- #define RTC_DAY_DAYU_POS (0U)
- #define RTC_DAY_DAYU (0x0FU)
- #define RTC_DAY_DAYD_POS (4U)
- #define RTC_DAY_DAYD (0x30U)
- /* Bit definition for RTC_MON register */
- #define RTC_MON_MON (0x1FU)
- /* Bit definition for RTC_YEAR register */
- #define RTC_YEAR_YEARU_POS (0U)
- #define RTC_YEAR_YEARU (0x0FU)
- #define RTC_YEAR_YEARD_POS (4U)
- #define RTC_YEAR_YEARD (0xF0U)
- /* Bit definition for RTC_ALMMIN register */
- #define RTC_ALMMIN_ALMMINU_POS (0U)
- #define RTC_ALMMIN_ALMMINU (0x0FU)
- #define RTC_ALMMIN_ALMMIND_POS (4U)
- #define RTC_ALMMIN_ALMMIND (0x70U)
- /* Bit definition for RTC_ALMHOUR register */
- #define RTC_ALMHOUR_ALMHOURU_POS (0U)
- #define RTC_ALMHOUR_ALMHOURU (0x0FU)
- #define RTC_ALMHOUR_ALMHOURU_0 (0x01U)
- #define RTC_ALMHOUR_ALMHOURU_1 (0x02U)
- #define RTC_ALMHOUR_ALMHOURU_2 (0x04U)
- #define RTC_ALMHOUR_ALMHOURU_3 (0x08U)
- #define RTC_ALMHOUR_ALMHOURD_POS (4U)
- #define RTC_ALMHOUR_ALMHOURD (0x30U)
- #define RTC_ALMHOUR_ALMHOURD_0 (0x10U)
- #define RTC_ALMHOUR_ALMHOURD_1 (0x20U)
- /* Bit definition for RTC_ALMWEEK register */
- #define RTC_ALMWEEK_ALMWEEK (0x7FU)
- #define RTC_ALMWEEK_ALMWEEK_0 (0x01U)
- #define RTC_ALMWEEK_ALMWEEK_1 (0x02U)
- #define RTC_ALMWEEK_ALMWEEK_2 (0x04U)
- #define RTC_ALMWEEK_ALMWEEK_3 (0x08U)
- #define RTC_ALMWEEK_ALMWEEK_4 (0x10U)
- #define RTC_ALMWEEK_ALMWEEK_5 (0x20U)
- #define RTC_ALMWEEK_ALMWEEK_6 (0x40U)
- /* Bit definition for RTC_ERRCRH register */
- #define RTC_ERRCRH_COMP8_POS (0U)
- #define RTC_ERRCRH_COMP8 (0x01U)
- #define RTC_ERRCRH_COMPEN_POS (7U)
- #define RTC_ERRCRH_COMPEN (0x80U)
- /* Bit definition for RTC_ERRCRL register */
- #define RTC_ERRCRL (0xFFU)
- /*******************************************************************************
- Bit definition for Peripheral SMC
- *******************************************************************************/
- /* Bit definition for SMC_STSR register */
- #define SMC_STSR_STATUS (0x00000001UL)
- /* Bit definition for SMC_STCR0 register */
- #define SMC_STCR0_LPWIR_POS (2U)
- #define SMC_STCR0_LPWIR (0x00000004UL)
- /* Bit definition for SMC_STCR1 register */
- #define SMC_STCR1_LPWOR_POS (2U)
- #define SMC_STCR1_LPWOR (0x00000004UL)
- /* Bit definition for SMC_CMDR register */
- #define SMC_CMDR_CMDADD_POS (0U)
- #define SMC_CMDR_CMDADD (0x000FFFFFUL)
- #define SMC_CMDR_CRES_POS (20U)
- #define SMC_CMDR_CRES (0x00100000UL)
- #define SMC_CMDR_CMD_POS (21U)
- #define SMC_CMDR_CMD (0x00600000UL)
- #define SMC_CMDR_CMD_0 (0x00200000UL)
- #define SMC_CMDR_CMD_1 (0x00400000UL)
- #define SMC_CMDR_CMDCHIP_POS (23U)
- #define SMC_CMDR_CMDCHIP (0x03800000UL)
- /* Bit definition for SMC_TMCR register */
- #define SMC_TMCR_T_RC_POS (0U)
- #define SMC_TMCR_T_RC (0x0000000FUL)
- #define SMC_TMCR_T_WC_POS (4U)
- #define SMC_TMCR_T_WC (0x000000F0UL)
- #define SMC_TMCR_T_CEOE_POS (8U)
- #define SMC_TMCR_T_CEOE (0x00000700UL)
- #define SMC_TMCR_T_WP_POS (12U)
- #define SMC_TMCR_T_WP (0x00007000UL)
- #define SMC_TMCR_T_TR_POS (20U)
- #define SMC_TMCR_T_TR (0x00700000UL)
- #define SMC_TMCR_T_ADV_POS (24U)
- #define SMC_TMCR_T_ADV (0x07000000UL)
- /* Bit definition for SMC_CPCR register */
- #define SMC_CPCR_RSYN_POS (0U)
- #define SMC_CPCR_RSYN (0x00000001UL)
- #define SMC_CPCR_WSYN_POS (4U)
- #define SMC_CPCR_WSYN (0x00000010UL)
- #define SMC_CPCR_MW_POS (8U)
- #define SMC_CPCR_MW (0x00000300UL)
- #define SMC_CPCR_MW_0 (0x00000100UL)
- #define SMC_CPCR_MW_1 (0x00000200UL)
- #define SMC_CPCR_BAAS_POS (10U)
- #define SMC_CPCR_BAAS (0x00000400UL)
- #define SMC_CPCR_ADVS_POS (11U)
- #define SMC_CPCR_ADVS (0x00000800UL)
- #define SMC_CPCR_BLSS_POS (12U)
- #define SMC_CPCR_BLSS (0x00001000UL)
- /* Bit definition for SMC_RFTR register */
- #define SMC_RFTR_REFPRD (0x0000000FUL)
- /* Bit definition for SMC_TMSR register */
- #define SMC_TMSR_T_RC_POS (0U)
- #define SMC_TMSR_T_RC (0x0000000FUL)
- #define SMC_TMSR_T_WC_POS (4U)
- #define SMC_TMSR_T_WC (0x000000F0UL)
- #define SMC_TMSR_T_CEOE_POS (8U)
- #define SMC_TMSR_T_CEOE (0x00000700UL)
- #define SMC_TMSR_T_WP_POS (12U)
- #define SMC_TMSR_T_WP (0x00007000UL)
- #define SMC_TMSR_T_TR_POS (20U)
- #define SMC_TMSR_T_TR (0x00700000UL)
- #define SMC_TMSR_T_ADV_POS (24U)
- #define SMC_TMSR_T_ADV (0x07000000UL)
- /* Bit definition for SMC_CPSR register */
- #define SMC_CPSR_RSYN_POS (0U)
- #define SMC_CPSR_RSYN (0x00000001UL)
- #define SMC_CPSR_WSYN_POS (4U)
- #define SMC_CPSR_WSYN (0x00000010UL)
- #define SMC_CPSR_MW_POS (8U)
- #define SMC_CPSR_MW (0x00000300UL)
- #define SMC_CPSR_BAAS_POS (10U)
- #define SMC_CPSR_BAAS (0x00000400UL)
- #define SMC_CPSR_ADVS_POS (11U)
- #define SMC_CPSR_ADVS (0x00000800UL)
- #define SMC_CPSR_BLSS_POS (12U)
- #define SMC_CPSR_BLSS (0x00001000UL)
- #define SMC_CPSR_ADDMSK_POS (16U)
- #define SMC_CPSR_ADDMSK (0x00FF0000UL)
- #define SMC_CPSR_ADDMAT_POS (24U)
- #define SMC_CPSR_ADDMAT (0xFF000000UL)
- /* Bit definition for SMC_BACR register */
- #define SMC_BACR_MUXMD_POS (4U)
- #define SMC_BACR_MUXMD (0x00000010UL)
- #define SMC_BACR_CKSEL_POS (14U)
- #define SMC_BACR_CKSEL (0x0000C000UL)
- #define SMC_BACR_CKSEL_0 (0x00004000UL)
- #define SMC_BACR_CKSEL_1 (0x00008000UL)
- /* Bit definition for SMC_CSCR0 register */
- #define SMC_CSCR0_ADDMSK0 (0x000000FFUL)
- /* Bit definition for SMC_CSCR1 register */
- #define SMC_CSCR1_ADDMAT0 (0x000000FFUL)
- /*******************************************************************************
- Bit definition for Peripheral SPI
- *******************************************************************************/
- /* Bit definition for SPI_DR register */
- #define SPI_DR (0xFFFFFFFFUL)
- /* Bit definition for SPI_CR register */
- #define SPI_CR_SPIMDS_POS (0U)
- #define SPI_CR_SPIMDS (0x00000001UL)
- #define SPI_CR_TXMDS_POS (1U)
- #define SPI_CR_TXMDS (0x00000002UL)
- #define SPI_CR_MSTR_POS (3U)
- #define SPI_CR_MSTR (0x00000008UL)
- #define SPI_CR_SPLPBK_POS (4U)
- #define SPI_CR_SPLPBK (0x00000010UL)
- #define SPI_CR_SPLPBK2_POS (5U)
- #define SPI_CR_SPLPBK2 (0x00000020UL)
- #define SPI_CR_SPE_POS (6U)
- #define SPI_CR_SPE (0x00000040UL)
- #define SPI_CR_CSUSPE_POS (7U)
- #define SPI_CR_CSUSPE (0x00000080UL)
- #define SPI_CR_EIE_POS (8U)
- #define SPI_CR_EIE (0x00000100UL)
- #define SPI_CR_TXIE_POS (9U)
- #define SPI_CR_TXIE (0x00000200UL)
- #define SPI_CR_RXIE_POS (10U)
- #define SPI_CR_RXIE (0x00000400UL)
- #define SPI_CR_IDIE_POS (11U)
- #define SPI_CR_IDIE (0x00000800UL)
- #define SPI_CR_MODFE_POS (12U)
- #define SPI_CR_MODFE (0x00001000UL)
- #define SPI_CR_PATE_POS (13U)
- #define SPI_CR_PATE (0x00002000UL)
- #define SPI_CR_PAOE_POS (14U)
- #define SPI_CR_PAOE (0x00004000UL)
- #define SPI_CR_PAE_POS (15U)
- #define SPI_CR_PAE (0x00008000UL)
- /* Bit definition for SPI_CFG1 register */
- #define SPI_CFG1_FTHLV_POS (0U)
- #define SPI_CFG1_FTHLV (0x00000003UL)
- #define SPI_CFG1_FTHLV_0 (0x00000001UL)
- #define SPI_CFG1_FTHLV_1 (0x00000002UL)
- #define SPI_CFG1_CTMDS_POS (2U)
- #define SPI_CFG1_CTMDS (0x00000004UL)
- #define SPI_CFG1_SPRDTD_POS (6U)
- #define SPI_CFG1_SPRDTD (0x00000040UL)
- #define SPI_CFG1_SS0PV_POS (8U)
- #define SPI_CFG1_SS0PV (0x00000100UL)
- #define SPI_CFG1_SS1PV_POS (9U)
- #define SPI_CFG1_SS1PV (0x00000200UL)
- #define SPI_CFG1_SS2PV_POS (10U)
- #define SPI_CFG1_SS2PV (0x00000400UL)
- #define SPI_CFG1_SS3PV_POS (11U)
- #define SPI_CFG1_SS3PV (0x00000800UL)
- #define SPI_CFG1_CLKDIV_POS (12U)
- #define SPI_CFG1_CLKDIV (0x0000F000UL)
- #define SPI_CFG1_CLKDIV_0 (0x00001000UL)
- #define SPI_CFG1_CLKDIV_1 (0x00002000UL)
- #define SPI_CFG1_CLKDIV_2 (0x00004000UL)
- #define SPI_CFG1_CLKDIV_3 (0x00008000UL)
- #define SPI_CFG1_MSSI_POS (20U)
- #define SPI_CFG1_MSSI (0x00700000UL)
- #define SPI_CFG1_MSSI_0 (0x00100000UL)
- #define SPI_CFG1_MSSI_1 (0x00200000UL)
- #define SPI_CFG1_MSSI_2 (0x00400000UL)
- #define SPI_CFG1_MSSDL_POS (24U)
- #define SPI_CFG1_MSSDL (0x07000000UL)
- #define SPI_CFG1_MSSDL_0 (0x01000000UL)
- #define SPI_CFG1_MSSDL_1 (0x02000000UL)
- #define SPI_CFG1_MSSDL_2 (0x04000000UL)
- #define SPI_CFG1_MIDI_POS (28U)
- #define SPI_CFG1_MIDI (0x70000000UL)
- #define SPI_CFG1_MIDI_0 (0x10000000UL)
- #define SPI_CFG1_MIDI_1 (0x20000000UL)
- #define SPI_CFG1_MIDI_2 (0x40000000UL)
- /* Bit definition for SPI_SR register */
- #define SPI_SR_OVRERF_POS (0U)
- #define SPI_SR_OVRERF (0x00000001UL)
- #define SPI_SR_IDLNF_POS (1U)
- #define SPI_SR_IDLNF (0x00000002UL)
- #define SPI_SR_MODFERF_POS (2U)
- #define SPI_SR_MODFERF (0x00000004UL)
- #define SPI_SR_PERF_POS (3U)
- #define SPI_SR_PERF (0x00000008UL)
- #define SPI_SR_UDRERF_POS (4U)
- #define SPI_SR_UDRERF (0x00000010UL)
- #define SPI_SR_TDEF_POS (5U)
- #define SPI_SR_TDEF (0x00000020UL)
- #define SPI_SR_RDFF_POS (7U)
- #define SPI_SR_RDFF (0x00000080UL)
- /* Bit definition for SPI_CFG2 register */
- #define SPI_CFG2_CPHA_POS (0U)
- #define SPI_CFG2_CPHA (0x00000001UL)
- #define SPI_CFG2_CPOL_POS (1U)
- #define SPI_CFG2_CPOL (0x00000002UL)
- #define SPI_CFG2_MBR_POS (2U)
- #define SPI_CFG2_MBR (0x0000000CUL)
- #define SPI_CFG2_MBR_0 (0x00000004UL)
- #define SPI_CFG2_MBR_1 (0x00000008UL)
- #define SPI_CFG2_SSA_POS (5U)
- #define SPI_CFG2_SSA (0x000000E0UL)
- #define SPI_CFG2_SSA_0 (0x00000020UL)
- #define SPI_CFG2_SSA_1 (0x00000040UL)
- #define SPI_CFG2_SSA_2 (0x00000080UL)
- #define SPI_CFG2_DSIZE_POS (8U)
- #define SPI_CFG2_DSIZE (0x00000F00UL)
- #define SPI_CFG2_DSIZE_0 (0x00000100UL)
- #define SPI_CFG2_DSIZE_1 (0x00000200UL)
- #define SPI_CFG2_DSIZE_2 (0x00000400UL)
- #define SPI_CFG2_DSIZE_3 (0x00000800UL)
- #define SPI_CFG2_LSBF_POS (12U)
- #define SPI_CFG2_LSBF (0x00001000UL)
- #define SPI_CFG2_MIDIE_POS (13U)
- #define SPI_CFG2_MIDIE (0x00002000UL)
- #define SPI_CFG2_MSSDLE_POS (14U)
- #define SPI_CFG2_MSSDLE (0x00004000UL)
- #define SPI_CFG2_MSSIE_POS (15U)
- #define SPI_CFG2_MSSIE (0x00008000UL)
- /*******************************************************************************
- Bit definition for Peripheral SRAMC
- *******************************************************************************/
- /* Bit definition for SRAMC_WTCR register */
- #define SRAMC_WTCR_SRAM0RWT_POS (0U)
- #define SRAMC_WTCR_SRAM0RWT (0x00000007UL)
- #define SRAMC_WTCR_SRAM0RWT_0 (0x00000001UL)
- #define SRAMC_WTCR_SRAM0RWT_1 (0x00000002UL)
- #define SRAMC_WTCR_SRAM0RWT_2 (0x00000004UL)
- #define SRAMC_WTCR_SRAM0WWT_POS (4U)
- #define SRAMC_WTCR_SRAM0WWT (0x00000070UL)
- #define SRAMC_WTCR_SRAM0WWT_0 (0x00000010UL)
- #define SRAMC_WTCR_SRAM0WWT_1 (0x00000020UL)
- #define SRAMC_WTCR_SRAM0WWT_2 (0x00000040UL)
- #define SRAMC_WTCR_SRAMHRWT_POS (16U)
- #define SRAMC_WTCR_SRAMHRWT (0x00070000UL)
- #define SRAMC_WTCR_SRAMHRWT_0 (0x00010000UL)
- #define SRAMC_WTCR_SRAMHRWT_1 (0x00020000UL)
- #define SRAMC_WTCR_SRAMHRWT_2 (0x00040000UL)
- #define SRAMC_WTCR_SRAMHWWT_POS (20U)
- #define SRAMC_WTCR_SRAMHWWT (0x00700000UL)
- #define SRAMC_WTCR_SRAMHWWT_0 (0x00100000UL)
- #define SRAMC_WTCR_SRAMHWWT_1 (0x00200000UL)
- #define SRAMC_WTCR_SRAMHWWT_2 (0x00400000UL)
- #define SRAMC_WTCR_SRAMBRWT_POS (24U)
- #define SRAMC_WTCR_SRAMBRWT (0x07000000UL)
- #define SRAMC_WTCR_SRAMBRWT_0 (0x01000000UL)
- #define SRAMC_WTCR_SRAMBRWT_1 (0x02000000UL)
- #define SRAMC_WTCR_SRAMBRWT_2 (0x04000000UL)
- #define SRAMC_WTCR_SRAMBWWT_POS (28U)
- #define SRAMC_WTCR_SRAMBWWT (0x70000000UL)
- #define SRAMC_WTCR_SRAMBWWT_0 (0x10000000UL)
- #define SRAMC_WTCR_SRAMBWWT_1 (0x20000000UL)
- #define SRAMC_WTCR_SRAMBWWT_2 (0x40000000UL)
- /* Bit definition for SRAMC_WTPR register */
- #define SRAMC_WTPR_WTPRC_POS (0U)
- #define SRAMC_WTPR_WTPRC (0x00000001UL)
- #define SRAMC_WTPR_WTPRKW_POS (1U)
- #define SRAMC_WTPR_WTPRKW (0x000000FEUL)
- #define SRAMC_WTPR_WTPRKW_0 (0x00000002UL)
- #define SRAMC_WTPR_WTPRKW_1 (0x00000004UL)
- #define SRAMC_WTPR_WTPRKW_2 (0x00000008UL)
- #define SRAMC_WTPR_WTPRKW_3 (0x00000010UL)
- #define SRAMC_WTPR_WTPRKW_4 (0x00000020UL)
- #define SRAMC_WTPR_WTPRKW_5 (0x00000040UL)
- #define SRAMC_WTPR_WTPRKW_6 (0x00000080UL)
- /* Bit definition for SRAMC_CKCR register */
- #define SRAMC_CKCR_PYOAD_POS (0U)
- #define SRAMC_CKCR_PYOAD (0x00000001UL)
- #define SRAMC_CKCR_ECCOAD_POS (16U)
- #define SRAMC_CKCR_ECCOAD (0x00010000UL)
- #define SRAMC_CKCR_BECCOAD_POS (17U)
- #define SRAMC_CKCR_BECCOAD (0x00020000UL)
- #define SRAMC_CKCR_ECCMOD_POS (24U)
- #define SRAMC_CKCR_ECCMOD (0x03000000UL)
- #define SRAMC_CKCR_ECCMOD_0 (0x01000000UL)
- #define SRAMC_CKCR_ECCMOD_1 (0x02000000UL)
- #define SRAMC_CKCR_BECCMOD_POS (26U)
- #define SRAMC_CKCR_BECCMOD (0x0C000000UL)
- #define SRAMC_CKCR_BECCMOD_0 (0x04000000UL)
- #define SRAMC_CKCR_BECCMOD_1 (0x08000000UL)
- /* Bit definition for SRAMC_CKPR register */
- #define SRAMC_CKPR_CKPRC_POS (0U)
- #define SRAMC_CKPR_CKPRC (0x00000001UL)
- #define SRAMC_CKPR_CKPRKW_POS (1U)
- #define SRAMC_CKPR_CKPRKW (0x000000FEUL)
- #define SRAMC_CKPR_CKPRKW_0 (0x00000002UL)
- #define SRAMC_CKPR_CKPRKW_1 (0x00000004UL)
- #define SRAMC_CKPR_CKPRKW_2 (0x00000008UL)
- #define SRAMC_CKPR_CKPRKW_3 (0x00000010UL)
- #define SRAMC_CKPR_CKPRKW_4 (0x00000020UL)
- #define SRAMC_CKPR_CKPRKW_5 (0x00000040UL)
- #define SRAMC_CKPR_CKPRKW_6 (0x00000080UL)
- /* Bit definition for SRAMC_CKSR register */
- #define SRAMC_CKSR_SRAMH_PYERR_POS (3U)
- #define SRAMC_CKSR_SRAMH_PYERR (0x00000008UL)
- #define SRAMC_CKSR_SRAM0_1ERR_POS (4U)
- #define SRAMC_CKSR_SRAM0_1ERR (0x00000010UL)
- #define SRAMC_CKSR_SRAM0_2ERR_POS (5U)
- #define SRAMC_CKSR_SRAM0_2ERR (0x00000020UL)
- #define SRAMC_CKSR_SRAMB_1ERR_POS (6U)
- #define SRAMC_CKSR_SRAMB_1ERR (0x00000040UL)
- #define SRAMC_CKSR_SRAMB_2ERR_POS (7U)
- #define SRAMC_CKSR_SRAMB_2ERR (0x00000080UL)
- #define SRAMC_CKSR_CACHE_PYERR_POS (8U)
- #define SRAMC_CKSR_CACHE_PYERR (0x00000100UL)
- /* Bit definition for SRAMC_SRAM0_EIEN register */
- #define SRAMC_SRAM0_EIEN_EIEN (0x00000001UL)
- /* Bit definition for SRAMC_SRAM0_EIBIT0 register */
- #define SRAMC_SRAM0_EIBIT0 (0xFFFFFFFFUL)
- /* Bit definition for SRAMC_SRAM0_EIBIT1 register */
- #define SRAMC_SRAM0_EIBIT1_EIBIT (0x0000007FUL)
- #define SRAMC_SRAM0_EIBIT1_EIBIT_0 (0x00000001UL)
- #define SRAMC_SRAM0_EIBIT1_EIBIT_1 (0x00000002UL)
- #define SRAMC_SRAM0_EIBIT1_EIBIT_2 (0x00000004UL)
- #define SRAMC_SRAM0_EIBIT1_EIBIT_3 (0x00000008UL)
- #define SRAMC_SRAM0_EIBIT1_EIBIT_4 (0x00000010UL)
- #define SRAMC_SRAM0_EIBIT1_EIBIT_5 (0x00000020UL)
- #define SRAMC_SRAM0_EIBIT1_EIBIT_6 (0x00000040UL)
- /* Bit definition for SRAMC_SRAM0_ECCERRADDR register */
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR (0x00007FFFUL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_0 (0x00000001UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_1 (0x00000002UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_2 (0x00000004UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_3 (0x00000008UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_4 (0x00000010UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_5 (0x00000020UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_6 (0x00000040UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_7 (0x00000080UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_8 (0x00000100UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_9 (0x00000200UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_10 (0x00000400UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_11 (0x00000800UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_12 (0x00001000UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_13 (0x00002000UL)
- #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_14 (0x00004000UL)
- /* Bit definition for SRAMC_SRAMB_EIEN register */
- #define SRAMC_SRAMB_EIEN_EIEN (0x00000001UL)
- /* Bit definition for SRAMC_SRAMB_EIBIT0 register */
- #define SRAMC_SRAMB_EIBIT0 (0xFFFFFFFFUL)
- /* Bit definition for SRAMC_SRAMB_EIBIT1 register */
- #define SRAMC_SRAMB_EIBIT1_EIBIT (0x0000007FUL)
- #define SRAMC_SRAMB_EIBIT1_EIBIT_0 (0x00000001UL)
- #define SRAMC_SRAMB_EIBIT1_EIBIT_1 (0x00000002UL)
- #define SRAMC_SRAMB_EIBIT1_EIBIT_2 (0x00000004UL)
- #define SRAMC_SRAMB_EIBIT1_EIBIT_3 (0x00000008UL)
- #define SRAMC_SRAMB_EIBIT1_EIBIT_4 (0x00000010UL)
- #define SRAMC_SRAMB_EIBIT1_EIBIT_5 (0x00000020UL)
- #define SRAMC_SRAMB_EIBIT1_EIBIT_6 (0x00000040UL)
- /* Bit definition for SRAMC_SRAMB_ECCERRADDR register */
- #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR (0x00000FFFUL)
- #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_0 (0x00000001UL)
- #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_1 (0x00000002UL)
- #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_2 (0x00000004UL)
- #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_3 (0x00000008UL)
- #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_4 (0x00000010UL)
- #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_5 (0x00000020UL)
- #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_6 (0x00000040UL)
- #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_7 (0x00000080UL)
- #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_8 (0x00000100UL)
- #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_9 (0x00000200UL)
- #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_10 (0x00000400UL)
- #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_11 (0x00000800UL)
- /*******************************************************************************
- Bit definition for Peripheral SWDT
- *******************************************************************************/
- /* Bit definition for SWDT_CR register */
- #define SWDT_CR_PERI_POS (0U)
- #define SWDT_CR_PERI (0x00000003UL)
- #define SWDT_CR_PERI_0 (0x00000001UL)
- #define SWDT_CR_PERI_1 (0x00000002UL)
- #define SWDT_CR_CKS_POS (4U)
- #define SWDT_CR_CKS (0x000000F0UL)
- #define SWDT_CR_CKS_0 (0x00000010UL)
- #define SWDT_CR_CKS_1 (0x00000020UL)
- #define SWDT_CR_CKS_2 (0x00000040UL)
- #define SWDT_CR_CKS_3 (0x00000080UL)
- #define SWDT_CR_WDPT_POS (8U)
- #define SWDT_CR_WDPT (0x00000F00UL)
- #define SWDT_CR_WDPT_0 (0x00000100UL)
- #define SWDT_CR_WDPT_1 (0x00000200UL)
- #define SWDT_CR_WDPT_2 (0x00000400UL)
- #define SWDT_CR_WDPT_3 (0x00000800UL)
- #define SWDT_CR_SLPOFF_POS (16U)
- #define SWDT_CR_SLPOFF (0x00010000UL)
- #define SWDT_CR_ITS_POS (31U)
- #define SWDT_CR_ITS (0x80000000UL)
- /* Bit definition for SWDT_SR register */
- #define SWDT_SR_CNT_POS (0U)
- #define SWDT_SR_CNT (0x0000FFFFUL)
- #define SWDT_SR_CNT_0 (0x00000001UL)
- #define SWDT_SR_CNT_1 (0x00000002UL)
- #define SWDT_SR_CNT_2 (0x00000004UL)
- #define SWDT_SR_CNT_3 (0x00000008UL)
- #define SWDT_SR_CNT_4 (0x00000010UL)
- #define SWDT_SR_CNT_5 (0x00000020UL)
- #define SWDT_SR_CNT_6 (0x00000040UL)
- #define SWDT_SR_CNT_7 (0x00000080UL)
- #define SWDT_SR_CNT_8 (0x00000100UL)
- #define SWDT_SR_CNT_9 (0x00000200UL)
- #define SWDT_SR_CNT_10 (0x00000400UL)
- #define SWDT_SR_CNT_11 (0x00000800UL)
- #define SWDT_SR_CNT_12 (0x00001000UL)
- #define SWDT_SR_CNT_13 (0x00002000UL)
- #define SWDT_SR_CNT_14 (0x00004000UL)
- #define SWDT_SR_CNT_15 (0x00008000UL)
- #define SWDT_SR_UDF_POS (16U)
- #define SWDT_SR_UDF (0x00010000UL)
- #define SWDT_SR_REF_POS (17U)
- #define SWDT_SR_REF (0x00020000UL)
- /* Bit definition for SWDT_RR register */
- #define SWDT_RR_RF (0x0000FFFFUL)
- #define SWDT_RR_RF_0 (0x00000001UL)
- #define SWDT_RR_RF_1 (0x00000002UL)
- #define SWDT_RR_RF_2 (0x00000004UL)
- #define SWDT_RR_RF_3 (0x00000008UL)
- #define SWDT_RR_RF_4 (0x00000010UL)
- #define SWDT_RR_RF_5 (0x00000020UL)
- #define SWDT_RR_RF_6 (0x00000040UL)
- #define SWDT_RR_RF_7 (0x00000080UL)
- #define SWDT_RR_RF_8 (0x00000100UL)
- #define SWDT_RR_RF_9 (0x00000200UL)
- #define SWDT_RR_RF_10 (0x00000400UL)
- #define SWDT_RR_RF_11 (0x00000800UL)
- #define SWDT_RR_RF_12 (0x00001000UL)
- #define SWDT_RR_RF_13 (0x00002000UL)
- #define SWDT_RR_RF_14 (0x00004000UL)
- #define SWDT_RR_RF_15 (0x00008000UL)
- /*******************************************************************************
- Bit definition for Peripheral TMR0
- *******************************************************************************/
- /* Bit definition for TMR0_CNTAR register */
- #define TMR0_CNTAR_CNTA (0x0000FFFFUL)
- /* Bit definition for TMR0_CNTBR register */
- #define TMR0_CNTBR_CNTB (0x0000FFFFUL)
- /* Bit definition for TMR0_CMPAR register */
- #define TMR0_CMPAR_CMPA (0x0000FFFFUL)
- /* Bit definition for TMR0_CMPBR register */
- #define TMR0_CMPBR_CMPB (0x0000FFFFUL)
- /* Bit definition for TMR0_BCONR register */
- #define TMR0_BCONR_CSTA_POS (0U)
- #define TMR0_BCONR_CSTA (0x00000001UL)
- #define TMR0_BCONR_CAPMDA_POS (1U)
- #define TMR0_BCONR_CAPMDA (0x00000002UL)
- #define TMR0_BCONR_CMENA_POS (2U)
- #define TMR0_BCONR_CMENA (0x00000004UL)
- #define TMR0_BCONR_OVENA_POS (3U)
- #define TMR0_BCONR_OVENA (0x00000008UL)
- #define TMR0_BCONR_CKDIVA_POS (4U)
- #define TMR0_BCONR_CKDIVA (0x000000F0UL)
- #define TMR0_BCONR_SYNSA_POS (8U)
- #define TMR0_BCONR_SYNSA (0x00000100UL)
- #define TMR0_BCONR_SYNCLKA_POS (9U)
- #define TMR0_BCONR_SYNCLKA (0x00000200UL)
- #define TMR0_BCONR_ASYNCLKA_POS (10U)
- #define TMR0_BCONR_ASYNCLKA (0x00000400UL)
- #define TMR0_BCONR_HSTAA_POS (12U)
- #define TMR0_BCONR_HSTAA (0x00001000UL)
- #define TMR0_BCONR_HSTPA_POS (13U)
- #define TMR0_BCONR_HSTPA (0x00002000UL)
- #define TMR0_BCONR_HCLEA_POS (14U)
- #define TMR0_BCONR_HCLEA (0x00004000UL)
- #define TMR0_BCONR_HICPA_POS (15U)
- #define TMR0_BCONR_HICPA (0x00008000UL)
- #define TMR0_BCONR_CSTB_POS (16U)
- #define TMR0_BCONR_CSTB (0x00010000UL)
- #define TMR0_BCONR_CAPMDB_POS (17U)
- #define TMR0_BCONR_CAPMDB (0x00020000UL)
- #define TMR0_BCONR_CMENB_POS (18U)
- #define TMR0_BCONR_CMENB (0x00040000UL)
- #define TMR0_BCONR_OVENB_POS (19U)
- #define TMR0_BCONR_OVENB (0x00080000UL)
- #define TMR0_BCONR_CKDIVB_POS (20U)
- #define TMR0_BCONR_CKDIVB (0x00F00000UL)
- #define TMR0_BCONR_SYNSB_POS (24U)
- #define TMR0_BCONR_SYNSB (0x01000000UL)
- #define TMR0_BCONR_SYNCLKB_POS (25U)
- #define TMR0_BCONR_SYNCLKB (0x02000000UL)
- #define TMR0_BCONR_ASYNCLKB_POS (26U)
- #define TMR0_BCONR_ASYNCLKB (0x04000000UL)
- #define TMR0_BCONR_HSTAB_POS (28U)
- #define TMR0_BCONR_HSTAB (0x10000000UL)
- #define TMR0_BCONR_HSTPB_POS (29U)
- #define TMR0_BCONR_HSTPB (0x20000000UL)
- #define TMR0_BCONR_HCLEB_POS (30U)
- #define TMR0_BCONR_HCLEB (0x40000000UL)
- #define TMR0_BCONR_HICPB_POS (31U)
- #define TMR0_BCONR_HICPB (0x80000000UL)
- /* Bit definition for TMR0_STFLR register */
- #define TMR0_STFLR_CMFA_POS (0U)
- #define TMR0_STFLR_CMFA (0x00000001UL)
- #define TMR0_STFLR_OVFA_POS (1U)
- #define TMR0_STFLR_OVFA (0x00000002UL)
- #define TMR0_STFLR_ICPA_POS (2U)
- #define TMR0_STFLR_ICPA (0x00000004UL)
- #define TMR0_STFLR_CMFB_POS (16U)
- #define TMR0_STFLR_CMFB (0x00010000UL)
- #define TMR0_STFLR_OVFB_POS (17U)
- #define TMR0_STFLR_OVFB (0x00020000UL)
- #define TMR0_STFLR_ICPB_POS (18U)
- #define TMR0_STFLR_ICPB (0x00040000UL)
- /*******************************************************************************
- Bit definition for Peripheral TMR4
- *******************************************************************************/
- /* Bit definition for TMR4_OCCRUH register */
- #define TMR4_OCCRUH (0xFFFFU)
- /* Bit definition for TMR4_OCCRUL register */
- #define TMR4_OCCRUL (0xFFFFU)
- /* Bit definition for TMR4_OCCRVH register */
- #define TMR4_OCCRVH (0xFFFFU)
- /* Bit definition for TMR4_OCCRVL register */
- #define TMR4_OCCRVL (0xFFFFU)
- /* Bit definition for TMR4_OCCRWH register */
- #define TMR4_OCCRWH (0xFFFFU)
- /* Bit definition for TMR4_OCCRWL register */
- #define TMR4_OCCRWL (0xFFFFU)
- /* Bit definition for TMR4_OCCRXH register */
- #define TMR4_OCCRXH (0xFFFFU)
- /* Bit definition for TMR4_OCCRXL register */
- #define TMR4_OCCRXL (0xFFFFU)
- /* Bit definition for TMR4_OCSR register */
- #define TMR4_OCSR_OCEH_POS (0U)
- #define TMR4_OCSR_OCEH (0x0001U)
- #define TMR4_OCSR_OCEL_POS (1U)
- #define TMR4_OCSR_OCEL (0x0002U)
- #define TMR4_OCSR_OCPH_POS (2U)
- #define TMR4_OCSR_OCPH (0x0004U)
- #define TMR4_OCSR_OCPL_POS (3U)
- #define TMR4_OCSR_OCPL (0x0008U)
- #define TMR4_OCSR_OCIEH_POS (4U)
- #define TMR4_OCSR_OCIEH (0x0010U)
- #define TMR4_OCSR_OCIEL_POS (5U)
- #define TMR4_OCSR_OCIEL (0x0020U)
- #define TMR4_OCSR_OCFH_POS (6U)
- #define TMR4_OCSR_OCFH (0x0040U)
- #define TMR4_OCSR_OCFL_POS (7U)
- #define TMR4_OCSR_OCFL (0x0080U)
- /* Bit definition for TMR4_OCER register */
- #define TMR4_OCER_CHBUFEN_POS (0U)
- #define TMR4_OCER_CHBUFEN (0x0003U)
- #define TMR4_OCER_CHBUFEN_0 (0x0001U)
- #define TMR4_OCER_CHBUFEN_1 (0x0002U)
- #define TMR4_OCER_CLBUFEN_POS (2U)
- #define TMR4_OCER_CLBUFEN (0x000CU)
- #define TMR4_OCER_CLBUFEN_0 (0x0004U)
- #define TMR4_OCER_CLBUFEN_1 (0x0008U)
- #define TMR4_OCER_MHBUFEN_POS (4U)
- #define TMR4_OCER_MHBUFEN (0x0030U)
- #define TMR4_OCER_MHBUFEN_0 (0x0010U)
- #define TMR4_OCER_MHBUFEN_1 (0x0020U)
- #define TMR4_OCER_MLBUFEN_POS (6U)
- #define TMR4_OCER_MLBUFEN (0x00C0U)
- #define TMR4_OCER_MLBUFEN_0 (0x0040U)
- #define TMR4_OCER_MLBUFEN_1 (0x0080U)
- #define TMR4_OCER_LMCH_POS (8U)
- #define TMR4_OCER_LMCH (0x0100U)
- #define TMR4_OCER_LMCL_POS (9U)
- #define TMR4_OCER_LMCL (0x0200U)
- #define TMR4_OCER_LMMH_POS (10U)
- #define TMR4_OCER_LMMH (0x0400U)
- #define TMR4_OCER_LMML_POS (11U)
- #define TMR4_OCER_LMML (0x0800U)
- #define TMR4_OCER_MCECH_POS (12U)
- #define TMR4_OCER_MCECH (0x1000U)
- #define TMR4_OCER_MCECL_POS (13U)
- #define TMR4_OCER_MCECL (0x2000U)
- /* Bit definition for TMR4_OCMRH register */
- #define TMR4_OCMRH_OCFDCH_POS (0U)
- #define TMR4_OCMRH_OCFDCH (0x0001U)
- #define TMR4_OCMRH_OCFPKH_POS (1U)
- #define TMR4_OCMRH_OCFPKH (0x0002U)
- #define TMR4_OCMRH_OCFUCH_POS (2U)
- #define TMR4_OCMRH_OCFUCH (0x0004U)
- #define TMR4_OCMRH_OCFZRH_POS (3U)
- #define TMR4_OCMRH_OCFZRH (0x0008U)
- #define TMR4_OCMRH_OPDCH_POS (4U)
- #define TMR4_OCMRH_OPDCH (0x0030U)
- #define TMR4_OCMRH_OPDCH_0 (0x0010U)
- #define TMR4_OCMRH_OPDCH_1 (0x0020U)
- #define TMR4_OCMRH_OPPKH_POS (6U)
- #define TMR4_OCMRH_OPPKH (0x00C0U)
- #define TMR4_OCMRH_OPPKH_0 (0x0040U)
- #define TMR4_OCMRH_OPPKH_1 (0x0080U)
- #define TMR4_OCMRH_OPUCH_POS (8U)
- #define TMR4_OCMRH_OPUCH (0x0300U)
- #define TMR4_OCMRH_OPUCH_0 (0x0100U)
- #define TMR4_OCMRH_OPUCH_1 (0x0200U)
- #define TMR4_OCMRH_OPZRH_POS (10U)
- #define TMR4_OCMRH_OPZRH (0x0C00U)
- #define TMR4_OCMRH_OPZRH_0 (0x0400U)
- #define TMR4_OCMRH_OPZRH_1 (0x0800U)
- #define TMR4_OCMRH_OPNPKH_POS (12U)
- #define TMR4_OCMRH_OPNPKH (0x3000U)
- #define TMR4_OCMRH_OPNPKH_0 (0x1000U)
- #define TMR4_OCMRH_OPNPKH_1 (0x2000U)
- #define TMR4_OCMRH_OPNZRH_POS (14U)
- #define TMR4_OCMRH_OPNZRH (0xC000U)
- #define TMR4_OCMRH_OPNZRH_0 (0x4000U)
- #define TMR4_OCMRH_OPNZRH_1 (0x8000U)
- /* Bit definition for TMR4_OCMRL register */
- #define TMR4_OCMRL_OCFDCL_POS (0U)
- #define TMR4_OCMRL_OCFDCL (0x00000001UL)
- #define TMR4_OCMRL_OCFPKL_POS (1U)
- #define TMR4_OCMRL_OCFPKL (0x00000002UL)
- #define TMR4_OCMRL_OCFUCL_POS (2U)
- #define TMR4_OCMRL_OCFUCL (0x00000004UL)
- #define TMR4_OCMRL_OCFZRL_POS (3U)
- #define TMR4_OCMRL_OCFZRL (0x00000008UL)
- #define TMR4_OCMRL_OPDCL_POS (4U)
- #define TMR4_OCMRL_OPDCL (0x00000030UL)
- #define TMR4_OCMRL_OPDCL_0 (0x00000010UL)
- #define TMR4_OCMRL_OPDCL_1 (0x00000020UL)
- #define TMR4_OCMRL_OPPKL_POS (6U)
- #define TMR4_OCMRL_OPPKL (0x000000C0UL)
- #define TMR4_OCMRL_OPPKL_0 (0x00000040UL)
- #define TMR4_OCMRL_OPPKL_1 (0x00000080UL)
- #define TMR4_OCMRL_OPUCL_POS (8U)
- #define TMR4_OCMRL_OPUCL (0x00000300UL)
- #define TMR4_OCMRL_OPUCL_0 (0x00000100UL)
- #define TMR4_OCMRL_OPUCL_1 (0x00000200UL)
- #define TMR4_OCMRL_OPZRL_POS (10U)
- #define TMR4_OCMRL_OPZRL (0x00000C00UL)
- #define TMR4_OCMRL_OPZRL_0 (0x00000400UL)
- #define TMR4_OCMRL_OPZRL_1 (0x00000800UL)
- #define TMR4_OCMRL_OPNPKL_POS (12U)
- #define TMR4_OCMRL_OPNPKL (0x00003000UL)
- #define TMR4_OCMRL_OPNPKL_0 (0x00001000UL)
- #define TMR4_OCMRL_OPNPKL_1 (0x00002000UL)
- #define TMR4_OCMRL_OPNZRL_POS (14U)
- #define TMR4_OCMRL_OPNZRL (0x0000C000UL)
- #define TMR4_OCMRL_OPNZRL_0 (0x00004000UL)
- #define TMR4_OCMRL_OPNZRL_1 (0x00008000UL)
- #define TMR4_OCMRL_EOPNDCL_POS (16U)
- #define TMR4_OCMRL_EOPNDCL (0x00030000UL)
- #define TMR4_OCMRL_EOPNDCL_0 (0x00010000UL)
- #define TMR4_OCMRL_EOPNDCL_1 (0x00020000UL)
- #define TMR4_OCMRL_EOPNUCL_POS (18U)
- #define TMR4_OCMRL_EOPNUCL (0x000C0000UL)
- #define TMR4_OCMRL_EOPNUCL_0 (0x00040000UL)
- #define TMR4_OCMRL_EOPNUCL_1 (0x00080000UL)
- #define TMR4_OCMRL_EOPDCL_POS (20U)
- #define TMR4_OCMRL_EOPDCL (0x00300000UL)
- #define TMR4_OCMRL_EOPDCL_0 (0x00100000UL)
- #define TMR4_OCMRL_EOPDCL_1 (0x00200000UL)
- #define TMR4_OCMRL_EOPPKL_POS (22U)
- #define TMR4_OCMRL_EOPPKL (0x00C00000UL)
- #define TMR4_OCMRL_EOPPKL_0 (0x00400000UL)
- #define TMR4_OCMRL_EOPPKL_1 (0x00800000UL)
- #define TMR4_OCMRL_EOPUCL_POS (24U)
- #define TMR4_OCMRL_EOPUCL (0x03000000UL)
- #define TMR4_OCMRL_EOPUCL_0 (0x01000000UL)
- #define TMR4_OCMRL_EOPUCL_1 (0x02000000UL)
- #define TMR4_OCMRL_EOPZRL_POS (26U)
- #define TMR4_OCMRL_EOPZRL (0x0C000000UL)
- #define TMR4_OCMRL_EOPZRL_0 (0x04000000UL)
- #define TMR4_OCMRL_EOPZRL_1 (0x08000000UL)
- #define TMR4_OCMRL_EOPNPKL_POS (28U)
- #define TMR4_OCMRL_EOPNPKL (0x30000000UL)
- #define TMR4_OCMRL_EOPNPKL_0 (0x10000000UL)
- #define TMR4_OCMRL_EOPNPKL_1 (0x20000000UL)
- #define TMR4_OCMRL_EOPNZRL_POS (30U)
- #define TMR4_OCMRL_EOPNZRL (0xC0000000UL)
- #define TMR4_OCMRL_EOPNZRL_0 (0x40000000UL)
- #define TMR4_OCMRL_EOPNZRL_1 (0x80000000UL)
- /* Bit definition for TMR4_CPSR register */
- #define TMR4_CPSR (0xFFFFU)
- /* Bit definition for TMR4_CNTR register */
- #define TMR4_CNTR (0xFFFFU)
- /* Bit definition for TMR4_CCSR register */
- #define TMR4_CCSR_CKDIV_POS (0U)
- #define TMR4_CCSR_CKDIV (0x000FU)
- #define TMR4_CCSR_CLEAR_POS (4U)
- #define TMR4_CCSR_CLEAR (0x0010U)
- #define TMR4_CCSR_MODE_POS (5U)
- #define TMR4_CCSR_MODE (0x0020U)
- #define TMR4_CCSR_STOP_POS (6U)
- #define TMR4_CCSR_STOP (0x0040U)
- #define TMR4_CCSR_BUFEN_POS (7U)
- #define TMR4_CCSR_BUFEN (0x0080U)
- #define TMR4_CCSR_IRQPEN_POS (8U)
- #define TMR4_CCSR_IRQPEN (0x0100U)
- #define TMR4_CCSR_IRQPF_POS (9U)
- #define TMR4_CCSR_IRQPF (0x0200U)
- #define TMR4_CCSR_IRQZEN_POS (10U)
- #define TMR4_CCSR_IRQZEN (0x0400U)
- #define TMR4_CCSR_IRQZF_POS (11U)
- #define TMR4_CCSR_IRQZF (0x0800U)
- #define TMR4_CCSR_SYNST_POS (12U)
- #define TMR4_CCSR_SYNST (0x1000U)
- #define TMR4_CCSR_HST_POS (13U)
- #define TMR4_CCSR_HST (0x2000U)
- #define TMR4_CCSR_ECKEN_POS (15U)
- #define TMR4_CCSR_ECKEN (0x8000U)
- /* Bit definition for TMR4_CVPR register */
- #define TMR4_CVPR_ZIM_POS (0U)
- #define TMR4_CVPR_ZIM (0x000FU)
- #define TMR4_CVPR_PIM_POS (4U)
- #define TMR4_CVPR_PIM (0x00F0U)
- #define TMR4_CVPR_ZIC_POS (8U)
- #define TMR4_CVPR_ZIC (0x0F00U)
- #define TMR4_CVPR_PIC_POS (12U)
- #define TMR4_CVPR_PIC (0xF000U)
- /* Bit definition for TMR4_PSCR register */
- #define TMR4_PSCR_OEUH_POS (0U)
- #define TMR4_PSCR_OEUH (0x00000001UL)
- #define TMR4_PSCR_OEUL_POS (1U)
- #define TMR4_PSCR_OEUL (0x00000002UL)
- #define TMR4_PSCR_OEVH_POS (2U)
- #define TMR4_PSCR_OEVH (0x00000004UL)
- #define TMR4_PSCR_OEVL_POS (3U)
- #define TMR4_PSCR_OEVL (0x00000008UL)
- #define TMR4_PSCR_OEWH_POS (4U)
- #define TMR4_PSCR_OEWH (0x00000010UL)
- #define TMR4_PSCR_OEWL_POS (5U)
- #define TMR4_PSCR_OEWL (0x00000020UL)
- #define TMR4_PSCR_OEXH_POS (6U)
- #define TMR4_PSCR_OEXH (0x00000040UL)
- #define TMR4_PSCR_OEXL_POS (7U)
- #define TMR4_PSCR_OEXL (0x00000080UL)
- #define TMR4_PSCR_MOE_POS (8U)
- #define TMR4_PSCR_MOE (0x00000100UL)
- #define TMR4_PSCR_AOE_POS (9U)
- #define TMR4_PSCR_AOE (0x00000200UL)
- #define TMR4_PSCR_ODT_POS (10U)
- #define TMR4_PSCR_ODT (0x00000C00UL)
- #define TMR4_PSCR_ODT_0 (0x00000400UL)
- #define TMR4_PSCR_ODT_1 (0x00000800UL)
- #define TMR4_PSCR_OSUH_POS (16U)
- #define TMR4_PSCR_OSUH (0x00030000UL)
- #define TMR4_PSCR_OSUH_0 (0x00010000UL)
- #define TMR4_PSCR_OSUH_1 (0x00020000UL)
- #define TMR4_PSCR_OSUL_POS (18U)
- #define TMR4_PSCR_OSUL (0x000C0000UL)
- #define TMR4_PSCR_OSUL_0 (0x00040000UL)
- #define TMR4_PSCR_OSUL_1 (0x00080000UL)
- #define TMR4_PSCR_OSVH_POS (20U)
- #define TMR4_PSCR_OSVH (0x00300000UL)
- #define TMR4_PSCR_OSVH_0 (0x00100000UL)
- #define TMR4_PSCR_OSVH_1 (0x00200000UL)
- #define TMR4_PSCR_OSVL_POS (22U)
- #define TMR4_PSCR_OSVL (0x00C00000UL)
- #define TMR4_PSCR_OSVL_0 (0x00400000UL)
- #define TMR4_PSCR_OSVL_1 (0x00800000UL)
- #define TMR4_PSCR_OSWH_POS (24U)
- #define TMR4_PSCR_OSWH (0x03000000UL)
- #define TMR4_PSCR_OSWH_0 (0x01000000UL)
- #define TMR4_PSCR_OSWH_1 (0x02000000UL)
- #define TMR4_PSCR_OSWL_POS (26U)
- #define TMR4_PSCR_OSWL (0x0C000000UL)
- #define TMR4_PSCR_OSWL_0 (0x04000000UL)
- #define TMR4_PSCR_OSWL_1 (0x08000000UL)
- #define TMR4_PSCR_OSXH_POS (28U)
- #define TMR4_PSCR_OSXH (0x30000000UL)
- #define TMR4_PSCR_OSXH_0 (0x10000000UL)
- #define TMR4_PSCR_OSXH_1 (0x20000000UL)
- #define TMR4_PSCR_OSXL_POS (30U)
- #define TMR4_PSCR_OSXL (0xC0000000UL)
- #define TMR4_PSCR_OSXL_0 (0x40000000UL)
- #define TMR4_PSCR_OSXL_1 (0x80000000UL)
- /* Bit definition for TMR4_PFSRU register */
- #define TMR4_PFSRU (0xFFFFU)
- /* Bit definition for TMR4_PDARU register */
- #define TMR4_PDARU (0xFFFFU)
- /* Bit definition for TMR4_PDBRU register */
- #define TMR4_PDBRU (0xFFFFU)
- /* Bit definition for TMR4_PFSRV register */
- #define TMR4_PFSRV (0xFFFFU)
- /* Bit definition for TMR4_PDARV register */
- #define TMR4_PDARV (0xFFFFU)
- /* Bit definition for TMR4_PDBRV register */
- #define TMR4_PDBRV (0xFFFFU)
- /* Bit definition for TMR4_PFSRW register */
- #define TMR4_PFSRW (0xFFFFU)
- /* Bit definition for TMR4_PDARW register */
- #define TMR4_PDARW (0xFFFFU)
- /* Bit definition for TMR4_PDBRW register */
- #define TMR4_PDBRW (0xFFFFU)
- /* Bit definition for TMR4_PFSRX register */
- #define TMR4_PFSRX (0xFFFFU)
- /* Bit definition for TMR4_PDARX register */
- #define TMR4_PDARX (0xFFFFU)
- /* Bit definition for TMR4_PDBRX register */
- #define TMR4_PDBRX (0xFFFFU)
- /* Bit definition for TMR4_POCR register */
- #define TMR4_POCR_DIVCK_POS (0U)
- #define TMR4_POCR_DIVCK (0x0007U)
- #define TMR4_POCR_PWMMD_POS (4U)
- #define TMR4_POCR_PWMMD (0x0030U)
- #define TMR4_POCR_PWMMD_0 (0x0010U)
- #define TMR4_POCR_PWMMD_1 (0x0020U)
- #define TMR4_POCR_LVLS_POS (6U)
- #define TMR4_POCR_LVLS (0x00C0U)
- #define TMR4_POCR_LVLS_0 (0x0040U)
- #define TMR4_POCR_LVLS_1 (0x0080U)
- /* Bit definition for TMR4_SCCRUH register */
- #define TMR4_SCCRUH (0xFFFFU)
- /* Bit definition for TMR4_SCCRUL register */
- #define TMR4_SCCRUL (0xFFFFU)
- /* Bit definition for TMR4_SCCRVH register */
- #define TMR4_SCCRVH (0xFFFFU)
- /* Bit definition for TMR4_SCCRVL register */
- #define TMR4_SCCRVL (0xFFFFU)
- /* Bit definition for TMR4_SCCRWH register */
- #define TMR4_SCCRWH (0xFFFFU)
- /* Bit definition for TMR4_SCCRWL register */
- #define TMR4_SCCRWL (0xFFFFU)
- /* Bit definition for TMR4_SCCRXH register */
- #define TMR4_SCCRXH (0xFFFFU)
- /* Bit definition for TMR4_SCCRXL register */
- #define TMR4_SCCRXL (0xFFFFU)
- /* Bit definition for TMR4_SCSR register */
- #define TMR4_SCSR_BUFEN_POS (0U)
- #define TMR4_SCSR_BUFEN (0x0003U)
- #define TMR4_SCSR_BUFEN_0 (0x0001U)
- #define TMR4_SCSR_BUFEN_1 (0x0002U)
- #define TMR4_SCSR_EVTOS_POS (2U)
- #define TMR4_SCSR_EVTOS (0x001CU)
- #define TMR4_SCSR_EVTOS_0 (0x0004U)
- #define TMR4_SCSR_EVTOS_1 (0x0008U)
- #define TMR4_SCSR_EVTOS_2 (0x0010U)
- #define TMR4_SCSR_LMC_POS (5U)
- #define TMR4_SCSR_LMC (0x0020U)
- #define TMR4_SCSR_EVTMS_POS (8U)
- #define TMR4_SCSR_EVTMS (0x0100U)
- #define TMR4_SCSR_EVTDS_POS (9U)
- #define TMR4_SCSR_EVTDS (0x0200U)
- #define TMR4_SCSR_DEN_POS (12U)
- #define TMR4_SCSR_DEN (0x1000U)
- #define TMR4_SCSR_PEN_POS (13U)
- #define TMR4_SCSR_PEN (0x2000U)
- #define TMR4_SCSR_UEN_POS (14U)
- #define TMR4_SCSR_UEN (0x4000U)
- #define TMR4_SCSR_ZEN_POS (15U)
- #define TMR4_SCSR_ZEN (0x8000U)
- /* Bit definition for TMR4_SCMR register */
- #define TMR4_SCMR_AMC_POS (0U)
- #define TMR4_SCMR_AMC (0x000FU)
- #define TMR4_SCMR_MZCE_POS (6U)
- #define TMR4_SCMR_MZCE (0x0040U)
- #define TMR4_SCMR_MPCE_POS (7U)
- #define TMR4_SCMR_MPCE (0x0080U)
- /* Bit definition for TMR4_SCER register */
- #define TMR4_SCER_EVTRS_POS (0U)
- #define TMR4_SCER_EVTRS (0x000FU)
- #define TMR4_SCER_EVTRS_0 (0x0001U)
- #define TMR4_SCER_EVTRS_1 (0x0002U)
- #define TMR4_SCER_EVTRS_2 (0x0004U)
- #define TMR4_SCER_EVTRS_3 (0x0008U)
- #define TMR4_SCER_PCTS_POS (8U)
- #define TMR4_SCER_PCTS (0x0100U)
- /* Bit definition for TMR4_RCSR register */
- #define TMR4_RCSR_RTIDU_POS (0U)
- #define TMR4_RCSR_RTIDU (0x00000001UL)
- #define TMR4_RCSR_RTIDV_POS (1U)
- #define TMR4_RCSR_RTIDV (0x00000002UL)
- #define TMR4_RCSR_RTIDW_POS (2U)
- #define TMR4_RCSR_RTIDW (0x00000004UL)
- #define TMR4_RCSR_RTIDX_POS (3U)
- #define TMR4_RCSR_RTIDX (0x00000008UL)
- #define TMR4_RCSR_RTIFU_POS (4U)
- #define TMR4_RCSR_RTIFU (0x00000010UL)
- #define TMR4_RCSR_RTICU_POS (5U)
- #define TMR4_RCSR_RTICU (0x00000020UL)
- #define TMR4_RCSR_RTEU_POS (6U)
- #define TMR4_RCSR_RTEU (0x00000040UL)
- #define TMR4_RCSR_RTSU_POS (7U)
- #define TMR4_RCSR_RTSU (0x00000080UL)
- #define TMR4_RCSR_RTIFV_POS (8U)
- #define TMR4_RCSR_RTIFV (0x00000100UL)
- #define TMR4_RCSR_RTICV_POS (9U)
- #define TMR4_RCSR_RTICV (0x00000200UL)
- #define TMR4_RCSR_RTEV_POS (10U)
- #define TMR4_RCSR_RTEV (0x00000400UL)
- #define TMR4_RCSR_RTSV_POS (11U)
- #define TMR4_RCSR_RTSV (0x00000800UL)
- #define TMR4_RCSR_RTIFW_POS (12U)
- #define TMR4_RCSR_RTIFW (0x00001000UL)
- #define TMR4_RCSR_RTICW_POS (13U)
- #define TMR4_RCSR_RTICW (0x00002000UL)
- #define TMR4_RCSR_RTEW_POS (14U)
- #define TMR4_RCSR_RTEW (0x00004000UL)
- #define TMR4_RCSR_RTSW_POS (15U)
- #define TMR4_RCSR_RTSW (0x00008000UL)
- #define TMR4_RCSR_RTIFX_POS (16U)
- #define TMR4_RCSR_RTIFX (0x00010000UL)
- #define TMR4_RCSR_RTICX_POS (17U)
- #define TMR4_RCSR_RTICX (0x00020000UL)
- #define TMR4_RCSR_RTEX_POS (18U)
- #define TMR4_RCSR_RTEX (0x00040000UL)
- #define TMR4_RCSR_RTSX_POS (19U)
- #define TMR4_RCSR_RTSX (0x00080000UL)
- /* Bit definition for TMR4_SCIR register */
- #define TMR4_SCIR_ITENUH_POS (0U)
- #define TMR4_SCIR_ITENUH (0x0001U)
- #define TMR4_SCIR_ITENUL_POS (1U)
- #define TMR4_SCIR_ITENUL (0x0002U)
- #define TMR4_SCIR_ITENVH_POS (2U)
- #define TMR4_SCIR_ITENVH (0x0004U)
- #define TMR4_SCIR_ITENVL_POS (3U)
- #define TMR4_SCIR_ITENVL (0x0008U)
- #define TMR4_SCIR_ITENWH_POS (4U)
- #define TMR4_SCIR_ITENWH (0x0010U)
- #define TMR4_SCIR_ITENWL_POS (5U)
- #define TMR4_SCIR_ITENWL (0x0020U)
- #define TMR4_SCIR_ITENXH_POS (6U)
- #define TMR4_SCIR_ITENXH (0x0040U)
- #define TMR4_SCIR_ITENXL_POS (7U)
- #define TMR4_SCIR_ITENXL (0x0080U)
- /* Bit definition for TMR4_SCFR register */
- #define TMR4_SCFR_SFUH_POS (0U)
- #define TMR4_SCFR_SFUH (0x0001U)
- #define TMR4_SCFR_SFUL_POS (1U)
- #define TMR4_SCFR_SFUL (0x0002U)
- #define TMR4_SCFR_SFVH_POS (2U)
- #define TMR4_SCFR_SFVH (0x0004U)
- #define TMR4_SCFR_SFVL_POS (3U)
- #define TMR4_SCFR_SFVL (0x0008U)
- #define TMR4_SCFR_SFWH_POS (4U)
- #define TMR4_SCFR_SFWH (0x0010U)
- #define TMR4_SCFR_SFWL_POS (5U)
- #define TMR4_SCFR_SFWL (0x0020U)
- #define TMR4_SCFR_SFXH_POS (6U)
- #define TMR4_SCFR_SFXH (0x0040U)
- #define TMR4_SCFR_SFXL_POS (7U)
- #define TMR4_SCFR_SFXL (0x0080U)
- /*******************************************************************************
- Bit definition for Peripheral TMR6
- *******************************************************************************/
- /* Bit definition for TMR6_CNTER register */
- #define TMR6_CNTER_CNT (0x0000FFFFUL)
- /* Bit definition for TMR6_UPDAR register */
- #define TMR6_UPDAR_UPDA (0x0000FFFFUL)
- /* Bit definition for TMR6_PERAR register */
- #define TMR6_PERAR_PERA (0x0000FFFFUL)
- /* Bit definition for TMR6_PERBR register */
- #define TMR6_PERBR_PERB (0x0000FFFFUL)
- /* Bit definition for TMR6_PERCR register */
- #define TMR6_PERCR_PERC (0x0000FFFFUL)
- /* Bit definition for TMR6_GCMAR register */
- #define TMR6_GCMAR_GCMA (0x0000FFFFUL)
- /* Bit definition for TMR6_GCMBR register */
- #define TMR6_GCMBR_GCMB (0x0000FFFFUL)
- /* Bit definition for TMR6_GCMCR register */
- #define TMR6_GCMCR_GCMC (0x0000FFFFUL)
- /* Bit definition for TMR6_GCMDR register */
- #define TMR6_GCMDR_GCMD (0x0000FFFFUL)
- /* Bit definition for TMR6_GCMER register */
- #define TMR6_GCMER_GCME (0x0000FFFFUL)
- /* Bit definition for TMR6_GCMFR register */
- #define TMR6_GCMFR_GCMF (0x0000FFFFUL)
- /* Bit definition for TMR6_SCMAR register */
- #define TMR6_SCMAR_SCMA (0x0000FFFFUL)
- /* Bit definition for TMR6_SCMBR register */
- #define TMR6_SCMBR_SCMB (0x0000FFFFUL)
- /* Bit definition for TMR6_SCMCR register */
- #define TMR6_SCMCR_SCMC (0x0000FFFFUL)
- /* Bit definition for TMR6_SCMDR register */
- #define TMR6_SCMDR_SCMD (0x0000FFFFUL)
- /* Bit definition for TMR6_SCMER register */
- #define TMR6_SCMER_SCME (0x0000FFFFUL)
- /* Bit definition for TMR6_SCMFR register */
- #define TMR6_SCMFR_SCMF (0x0000FFFFUL)
- /* Bit definition for TMR6_DTUAR register */
- #define TMR6_DTUAR_DTUA (0x0000FFFFUL)
- /* Bit definition for TMR6_DTDAR register */
- #define TMR6_DTDAR_DTDA (0x0000FFFFUL)
- /* Bit definition for TMR6_DTUBR register */
- #define TMR6_DTUBR_DTUB (0x0000FFFFUL)
- /* Bit definition for TMR6_DTDBR register */
- #define TMR6_DTDBR_DTDB (0x0000FFFFUL)
- /* Bit definition for TMR6_GCONR register */
- #define TMR6_GCONR_START_POS (0U)
- #define TMR6_GCONR_START (0x00000001UL)
- #define TMR6_GCONR_DIR_POS (1U)
- #define TMR6_GCONR_DIR (0x00000002UL)
- #define TMR6_GCONR_MODE_POS (2U)
- #define TMR6_GCONR_MODE (0x00000004UL)
- #define TMR6_GCONR_CKDIV_POS (4U)
- #define TMR6_GCONR_CKDIV (0x000000F0UL)
- #define TMR6_GCONR_OVSTP_POS (8U)
- #define TMR6_GCONR_OVSTP (0x00000100UL)
- #define TMR6_GCONR_ZMSKREV_POS (16U)
- #define TMR6_GCONR_ZMSKREV (0x00010000UL)
- #define TMR6_GCONR_ZMSKPOS_POS (17U)
- #define TMR6_GCONR_ZMSKPOS (0x00020000UL)
- #define TMR6_GCONR_ZMSKVAL_POS (18U)
- #define TMR6_GCONR_ZMSKVAL (0x000C0000UL)
- #define TMR6_GCONR_ZMSKVAL_0 (0x00040000UL)
- #define TMR6_GCONR_ZMSKVAL_1 (0x00080000UL)
- /* Bit definition for TMR6_ICONR register */
- #define TMR6_ICONR_INTENA_POS (0U)
- #define TMR6_ICONR_INTENA (0x00000001UL)
- #define TMR6_ICONR_INTENB_POS (1U)
- #define TMR6_ICONR_INTENB (0x00000002UL)
- #define TMR6_ICONR_INTENC_POS (2U)
- #define TMR6_ICONR_INTENC (0x00000004UL)
- #define TMR6_ICONR_INTEND_POS (3U)
- #define TMR6_ICONR_INTEND (0x00000008UL)
- #define TMR6_ICONR_INTENE_POS (4U)
- #define TMR6_ICONR_INTENE (0x00000010UL)
- #define TMR6_ICONR_INTENF_POS (5U)
- #define TMR6_ICONR_INTENF (0x00000020UL)
- #define TMR6_ICONR_INTENOVF_POS (6U)
- #define TMR6_ICONR_INTENOVF (0x00000040UL)
- #define TMR6_ICONR_INTENUDF_POS (7U)
- #define TMR6_ICONR_INTENUDF (0x00000080UL)
- #define TMR6_ICONR_INTENDTE_POS (8U)
- #define TMR6_ICONR_INTENDTE (0x00000100UL)
- #define TMR6_ICONR_INTENSAU_POS (16U)
- #define TMR6_ICONR_INTENSAU (0x00010000UL)
- #define TMR6_ICONR_INTENSAD_POS (17U)
- #define TMR6_ICONR_INTENSAD (0x00020000UL)
- #define TMR6_ICONR_INTENSBU_POS (18U)
- #define TMR6_ICONR_INTENSBU (0x00040000UL)
- #define TMR6_ICONR_INTENSBD_POS (19U)
- #define TMR6_ICONR_INTENSBD (0x00080000UL)
- /* Bit definition for TMR6_BCONR register */
- #define TMR6_BCONR_BENA_POS (0U)
- #define TMR6_BCONR_BENA (0x00000001UL)
- #define TMR6_BCONR_BSEA_POS (1U)
- #define TMR6_BCONR_BSEA (0x00000002UL)
- #define TMR6_BCONR_BTRUA_POS (2U)
- #define TMR6_BCONR_BTRUA (0x00000004UL)
- #define TMR6_BCONR_BTRDA_POS (3U)
- #define TMR6_BCONR_BTRDA (0x00000008UL)
- #define TMR6_BCONR_BENB_POS (4U)
- #define TMR6_BCONR_BENB (0x00000010UL)
- #define TMR6_BCONR_BSEB_POS (5U)
- #define TMR6_BCONR_BSEB (0x00000020UL)
- #define TMR6_BCONR_BTRUB_POS (6U)
- #define TMR6_BCONR_BTRUB (0x00000040UL)
- #define TMR6_BCONR_BTRDB_POS (7U)
- #define TMR6_BCONR_BTRDB (0x00000080UL)
- #define TMR6_BCONR_BENP_POS (8U)
- #define TMR6_BCONR_BENP (0x00000100UL)
- #define TMR6_BCONR_BSEP_POS (9U)
- #define TMR6_BCONR_BSEP (0x00000200UL)
- #define TMR6_BCONR_BTRUP_POS (10U)
- #define TMR6_BCONR_BTRUP (0x00000400UL)
- #define TMR6_BCONR_BTRDP_POS (11U)
- #define TMR6_BCONR_BTRDP (0x00000800UL)
- #define TMR6_BCONR_BENSPA_POS (16U)
- #define TMR6_BCONR_BENSPA (0x00010000UL)
- #define TMR6_BCONR_BSESPA_POS (17U)
- #define TMR6_BCONR_BSESPA (0x00020000UL)
- #define TMR6_BCONR_BTRUSPA_POS (18U)
- #define TMR6_BCONR_BTRUSPA (0x00040000UL)
- #define TMR6_BCONR_BTRDSPA_POS (19U)
- #define TMR6_BCONR_BTRDSPA (0x00080000UL)
- #define TMR6_BCONR_BENSPB_POS (20U)
- #define TMR6_BCONR_BENSPB (0x00100000UL)
- #define TMR6_BCONR_BSESPB_POS (21U)
- #define TMR6_BCONR_BSESPB (0x00200000UL)
- #define TMR6_BCONR_BTRUSPB_POS (22U)
- #define TMR6_BCONR_BTRUSPB (0x00400000UL)
- #define TMR6_BCONR_BTRDSPB_POS (23U)
- #define TMR6_BCONR_BTRDSPB (0x00800000UL)
- /* Bit definition for TMR6_DCONR register */
- #define TMR6_DCONR_DTCEN_POS (0U)
- #define TMR6_DCONR_DTCEN (0x00000001UL)
- #define TMR6_DCONR_SEPA_POS (1U)
- #define TMR6_DCONR_SEPA (0x00000002UL)
- #define TMR6_DCONR_DTBENU_POS (4U)
- #define TMR6_DCONR_DTBENU (0x00000010UL)
- #define TMR6_DCONR_DTBEND_POS (5U)
- #define TMR6_DCONR_DTBEND (0x00000020UL)
- #define TMR6_DCONR_DTBTRU_POS (6U)
- #define TMR6_DCONR_DTBTRU (0x00000040UL)
- #define TMR6_DCONR_DTBTRD_POS (7U)
- #define TMR6_DCONR_DTBTRD (0x00000080UL)
- /* Bit definition for TMR6_PCNAR register */
- #define TMR6_PCNAR_STACA_POS (0U)
- #define TMR6_PCNAR_STACA (0x00000003UL)
- #define TMR6_PCNAR_STACA_0 (0x00000001UL)
- #define TMR6_PCNAR_STACA_1 (0x00000002UL)
- #define TMR6_PCNAR_STPCA_POS (2U)
- #define TMR6_PCNAR_STPCA (0x0000000CUL)
- #define TMR6_PCNAR_STPCA_0 (0x00000004UL)
- #define TMR6_PCNAR_STPCA_1 (0x00000008UL)
- #define TMR6_PCNAR_OVFCA_POS (4U)
- #define TMR6_PCNAR_OVFCA (0x00000030UL)
- #define TMR6_PCNAR_OVFCA_0 (0x00000010UL)
- #define TMR6_PCNAR_OVFCA_1 (0x00000020UL)
- #define TMR6_PCNAR_UDFCA_POS (6U)
- #define TMR6_PCNAR_UDFCA (0x000000C0UL)
- #define TMR6_PCNAR_UDFCA_0 (0x00000040UL)
- #define TMR6_PCNAR_UDFCA_1 (0x00000080UL)
- #define TMR6_PCNAR_CMAUCA_POS (8U)
- #define TMR6_PCNAR_CMAUCA (0x00000300UL)
- #define TMR6_PCNAR_CMAUCA_0 (0x00000100UL)
- #define TMR6_PCNAR_CMAUCA_1 (0x00000200UL)
- #define TMR6_PCNAR_CMADCA_POS (10U)
- #define TMR6_PCNAR_CMADCA (0x00000C00UL)
- #define TMR6_PCNAR_CMADCA_0 (0x00000400UL)
- #define TMR6_PCNAR_CMADCA_1 (0x00000800UL)
- #define TMR6_PCNAR_CMBUCA_POS (12U)
- #define TMR6_PCNAR_CMBUCA (0x00003000UL)
- #define TMR6_PCNAR_CMBUCA_0 (0x00001000UL)
- #define TMR6_PCNAR_CMBUCA_1 (0x00002000UL)
- #define TMR6_PCNAR_CMBDCA_POS (14U)
- #define TMR6_PCNAR_CMBDCA (0x0000C000UL)
- #define TMR6_PCNAR_CMBDCA_0 (0x00004000UL)
- #define TMR6_PCNAR_CMBDCA_1 (0x00008000UL)
- #define TMR6_PCNAR_FORCA_POS (16U)
- #define TMR6_PCNAR_FORCA (0x00030000UL)
- #define TMR6_PCNAR_FORCA_0 (0x00010000UL)
- #define TMR6_PCNAR_FORCA_1 (0x00020000UL)
- #define TMR6_PCNAR_EMBCA_POS (20U)
- #define TMR6_PCNAR_EMBCA (0x00300000UL)
- #define TMR6_PCNAR_EMBCA_0 (0x00100000UL)
- #define TMR6_PCNAR_EMBCA_1 (0x00200000UL)
- #define TMR6_PCNAR_EMBRA_POS (22U)
- #define TMR6_PCNAR_EMBRA (0x00C00000UL)
- #define TMR6_PCNAR_EMBRA_0 (0x00400000UL)
- #define TMR6_PCNAR_EMBRA_1 (0x00800000UL)
- #define TMR6_PCNAR_EMBSA_POS (24U)
- #define TMR6_PCNAR_EMBSA (0x03000000UL)
- #define TMR6_PCNAR_EMBSA_0 (0x01000000UL)
- #define TMR6_PCNAR_EMBSA_1 (0x02000000UL)
- #define TMR6_PCNAR_OUTENA_POS (28U)
- #define TMR6_PCNAR_OUTENA (0x10000000UL)
- #define TMR6_PCNAR_CAPMDA_POS (31U)
- #define TMR6_PCNAR_CAPMDA (0x80000000UL)
- /* Bit definition for TMR6_PCNBR register */
- #define TMR6_PCNBR_STACB_POS (0U)
- #define TMR6_PCNBR_STACB (0x00000003UL)
- #define TMR6_PCNBR_STACB_0 (0x00000001UL)
- #define TMR6_PCNBR_STACB_1 (0x00000002UL)
- #define TMR6_PCNBR_STPCB_POS (2U)
- #define TMR6_PCNBR_STPCB (0x0000000CUL)
- #define TMR6_PCNBR_STPCB_0 (0x00000004UL)
- #define TMR6_PCNBR_STPCB_1 (0x00000008UL)
- #define TMR6_PCNBR_OVFCB_POS (4U)
- #define TMR6_PCNBR_OVFCB (0x00000030UL)
- #define TMR6_PCNBR_OVFCB_0 (0x00000010UL)
- #define TMR6_PCNBR_OVFCB_1 (0x00000020UL)
- #define TMR6_PCNBR_UDFCB_POS (6U)
- #define TMR6_PCNBR_UDFCB (0x000000C0UL)
- #define TMR6_PCNBR_UDFCB_0 (0x00000040UL)
- #define TMR6_PCNBR_UDFCB_1 (0x00000080UL)
- #define TMR6_PCNBR_CMAUCB_POS (8U)
- #define TMR6_PCNBR_CMAUCB (0x00000300UL)
- #define TMR6_PCNBR_CMAUCB_0 (0x00000100UL)
- #define TMR6_PCNBR_CMAUCB_1 (0x00000200UL)
- #define TMR6_PCNBR_CMADCB_POS (10U)
- #define TMR6_PCNBR_CMADCB (0x00000C00UL)
- #define TMR6_PCNBR_CMADCB_0 (0x00000400UL)
- #define TMR6_PCNBR_CMADCB_1 (0x00000800UL)
- #define TMR6_PCNBR_CMBUCB_POS (12U)
- #define TMR6_PCNBR_CMBUCB (0x00003000UL)
- #define TMR6_PCNBR_CMBUCB_0 (0x00001000UL)
- #define TMR6_PCNBR_CMBUCB_1 (0x00002000UL)
- #define TMR6_PCNBR_CMBDCB_POS (14U)
- #define TMR6_PCNBR_CMBDCB (0x0000C000UL)
- #define TMR6_PCNBR_CMBDCB_0 (0x00004000UL)
- #define TMR6_PCNBR_CMBDCB_1 (0x00008000UL)
- #define TMR6_PCNBR_FORCB_POS (16U)
- #define TMR6_PCNBR_FORCB (0x00030000UL)
- #define TMR6_PCNBR_FORCB_0 (0x00010000UL)
- #define TMR6_PCNBR_FORCB_1 (0x00020000UL)
- #define TMR6_PCNBR_EMBCB_POS (20U)
- #define TMR6_PCNBR_EMBCB (0x00300000UL)
- #define TMR6_PCNBR_EMBCB_0 (0x00100000UL)
- #define TMR6_PCNBR_EMBCB_1 (0x00200000UL)
- #define TMR6_PCNBR_EMBRB_POS (22U)
- #define TMR6_PCNBR_EMBRB (0x00C00000UL)
- #define TMR6_PCNBR_EMBRB_0 (0x00400000UL)
- #define TMR6_PCNBR_EMBRB_1 (0x00800000UL)
- #define TMR6_PCNBR_EMBSB_POS (24U)
- #define TMR6_PCNBR_EMBSB (0x03000000UL)
- #define TMR6_PCNBR_EMBSB_0 (0x01000000UL)
- #define TMR6_PCNBR_EMBSB_1 (0x02000000UL)
- #define TMR6_PCNBR_OUTENB_POS (28U)
- #define TMR6_PCNBR_OUTENB (0x10000000UL)
- #define TMR6_PCNBR_CAPMDB_POS (31U)
- #define TMR6_PCNBR_CAPMDB (0x80000000UL)
- /* Bit definition for TMR6_FCNGR register */
- #define TMR6_FCNGR_NOFIENGA_POS (0U)
- #define TMR6_FCNGR_NOFIENGA (0x00000001UL)
- #define TMR6_FCNGR_NOFICKGA_POS (1U)
- #define TMR6_FCNGR_NOFICKGA (0x00000006UL)
- #define TMR6_FCNGR_NOFICKGA_0 (0x00000002UL)
- #define TMR6_FCNGR_NOFICKGA_1 (0x00000004UL)
- #define TMR6_FCNGR_NOFIENGB_POS (4U)
- #define TMR6_FCNGR_NOFIENGB (0x00000010UL)
- #define TMR6_FCNGR_NOFICKGB_POS (5U)
- #define TMR6_FCNGR_NOFICKGB (0x00000060UL)
- #define TMR6_FCNGR_NOFICKGB_0 (0x00000020UL)
- #define TMR6_FCNGR_NOFICKGB_1 (0x00000040UL)
- /* Bit definition for TMR6_VPERR register */
- #define TMR6_VPERR_SPPERIA_POS (8U)
- #define TMR6_VPERR_SPPERIA (0x00000100UL)
- #define TMR6_VPERR_SPPERIB_POS (9U)
- #define TMR6_VPERR_SPPERIB (0x00000200UL)
- #define TMR6_VPERR_PCNTE_POS (16U)
- #define TMR6_VPERR_PCNTE (0x00030000UL)
- #define TMR6_VPERR_PCNTE_0 (0x00010000UL)
- #define TMR6_VPERR_PCNTE_1 (0x00020000UL)
- #define TMR6_VPERR_PCNTS_POS (18U)
- #define TMR6_VPERR_PCNTS (0x001C0000UL)
- /* Bit definition for TMR6_STFLR register */
- #define TMR6_STFLR_CMAF_POS (0U)
- #define TMR6_STFLR_CMAF (0x00000001UL)
- #define TMR6_STFLR_CMBF_POS (1U)
- #define TMR6_STFLR_CMBF (0x00000002UL)
- #define TMR6_STFLR_CMCF_POS (2U)
- #define TMR6_STFLR_CMCF (0x00000004UL)
- #define TMR6_STFLR_CMDF_POS (3U)
- #define TMR6_STFLR_CMDF (0x00000008UL)
- #define TMR6_STFLR_CMEF_POS (4U)
- #define TMR6_STFLR_CMEF (0x00000010UL)
- #define TMR6_STFLR_CMFF_POS (5U)
- #define TMR6_STFLR_CMFF (0x00000020UL)
- #define TMR6_STFLR_OVFF_POS (6U)
- #define TMR6_STFLR_OVFF (0x00000040UL)
- #define TMR6_STFLR_UDFF_POS (7U)
- #define TMR6_STFLR_UDFF (0x00000080UL)
- #define TMR6_STFLR_DTEF_POS (8U)
- #define TMR6_STFLR_DTEF (0x00000100UL)
- #define TMR6_STFLR_CMSAUF_POS (9U)
- #define TMR6_STFLR_CMSAUF (0x00000200UL)
- #define TMR6_STFLR_CMSADF_POS (10U)
- #define TMR6_STFLR_CMSADF (0x00000400UL)
- #define TMR6_STFLR_CMSBUF_POS (11U)
- #define TMR6_STFLR_CMSBUF (0x00000800UL)
- #define TMR6_STFLR_CMSBDF_POS (12U)
- #define TMR6_STFLR_CMSBDF (0x00001000UL)
- #define TMR6_STFLR_VPERNUM_POS (21U)
- #define TMR6_STFLR_VPERNUM (0x00E00000UL)
- #define TMR6_STFLR_CMAF2_POS (26U)
- #define TMR6_STFLR_CMAF2 (0x04000000UL)
- #define TMR6_STFLR_CMBF2_POS (27U)
- #define TMR6_STFLR_CMBF2 (0x08000000UL)
- #define TMR6_STFLR_DIRF_POS (31U)
- #define TMR6_STFLR_DIRF (0x80000000UL)
- /* Bit definition for TMR6_HSTAR register */
- #define TMR6_HSTAR_HSTA0_POS (0U)
- #define TMR6_HSTAR_HSTA0 (0x00000001UL)
- #define TMR6_HSTAR_HSTA1_POS (1U)
- #define TMR6_HSTAR_HSTA1 (0x00000002UL)
- #define TMR6_HSTAR_HSTA2_POS (2U)
- #define TMR6_HSTAR_HSTA2 (0x00000004UL)
- #define TMR6_HSTAR_HSTA3_POS (3U)
- #define TMR6_HSTAR_HSTA3 (0x00000008UL)
- #define TMR6_HSTAR_STAS_POS (7U)
- #define TMR6_HSTAR_STAS (0x00000080UL)
- #define TMR6_HSTAR_HSTA8_POS (8U)
- #define TMR6_HSTAR_HSTA8 (0x00000100UL)
- #define TMR6_HSTAR_HSTA9_POS (9U)
- #define TMR6_HSTAR_HSTA9 (0x00000200UL)
- #define TMR6_HSTAR_HSTA16_POS (16U)
- #define TMR6_HSTAR_HSTA16 (0x00010000UL)
- #define TMR6_HSTAR_HSTA17_POS (17U)
- #define TMR6_HSTAR_HSTA17 (0x00020000UL)
- #define TMR6_HSTAR_HSTA18_POS (18U)
- #define TMR6_HSTAR_HSTA18 (0x00040000UL)
- #define TMR6_HSTAR_HSTA19_POS (19U)
- #define TMR6_HSTAR_HSTA19 (0x00080000UL)
- /* Bit definition for TMR6_HSTPR register */
- #define TMR6_HSTPR_HSTP0_POS (0U)
- #define TMR6_HSTPR_HSTP0 (0x00000001UL)
- #define TMR6_HSTPR_HSTP1_POS (1U)
- #define TMR6_HSTPR_HSTP1 (0x00000002UL)
- #define TMR6_HSTPR_HSTP2_POS (2U)
- #define TMR6_HSTPR_HSTP2 (0x00000004UL)
- #define TMR6_HSTPR_HSTP3_POS (3U)
- #define TMR6_HSTPR_HSTP3 (0x00000008UL)
- #define TMR6_HSTPR_STPS_POS (7U)
- #define TMR6_HSTPR_STPS (0x00000080UL)
- #define TMR6_HSTPR_HSTP8_POS (8U)
- #define TMR6_HSTPR_HSTP8 (0x00000100UL)
- #define TMR6_HSTPR_HSTP9_POS (9U)
- #define TMR6_HSTPR_HSTP9 (0x00000200UL)
- #define TMR6_HSTPR_HSTP16_POS (16U)
- #define TMR6_HSTPR_HSTP16 (0x00010000UL)
- #define TMR6_HSTPR_HSTP17_POS (17U)
- #define TMR6_HSTPR_HSTP17 (0x00020000UL)
- #define TMR6_HSTPR_HSTP18_POS (18U)
- #define TMR6_HSTPR_HSTP18 (0x00040000UL)
- #define TMR6_HSTPR_HSTP19_POS (19U)
- #define TMR6_HSTPR_HSTP19 (0x00080000UL)
- /* Bit definition for TMR6_HCLRR register */
- #define TMR6_HCLRR_HCLE0_POS (0U)
- #define TMR6_HCLRR_HCLE0 (0x00000001UL)
- #define TMR6_HCLRR_HCLE1_POS (1U)
- #define TMR6_HCLRR_HCLE1 (0x00000002UL)
- #define TMR6_HCLRR_HCLE2_POS (2U)
- #define TMR6_HCLRR_HCLE2 (0x00000004UL)
- #define TMR6_HCLRR_HCLE3_POS (3U)
- #define TMR6_HCLRR_HCLE3 (0x00000008UL)
- #define TMR6_HCLRR_CLES_POS (7U)
- #define TMR6_HCLRR_CLES (0x00000080UL)
- #define TMR6_HCLRR_HCLE8_POS (8U)
- #define TMR6_HCLRR_HCLE8 (0x00000100UL)
- #define TMR6_HCLRR_HCLE9_POS (9U)
- #define TMR6_HCLRR_HCLE9 (0x00000200UL)
- #define TMR6_HCLRR_HCLE16_POS (16U)
- #define TMR6_HCLRR_HCLE16 (0x00010000UL)
- #define TMR6_HCLRR_HCLE17_POS (17U)
- #define TMR6_HCLRR_HCLE17 (0x00020000UL)
- #define TMR6_HCLRR_HCLE18_POS (18U)
- #define TMR6_HCLRR_HCLE18 (0x00040000UL)
- #define TMR6_HCLRR_HCLE19_POS (19U)
- #define TMR6_HCLRR_HCLE19 (0x00080000UL)
- /* Bit definition for TMR6_HUPDR register */
- #define TMR6_HUPDR_HUPD0_POS (0U)
- #define TMR6_HUPDR_HUPD0 (0x00000001UL)
- #define TMR6_HUPDR_HUPD1_POS (1U)
- #define TMR6_HUPDR_HUPD1 (0x00000002UL)
- #define TMR6_HUPDR_HUPD2_POS (2U)
- #define TMR6_HUPDR_HUPD2 (0x00000004UL)
- #define TMR6_HUPDR_HUPD3_POS (3U)
- #define TMR6_HUPDR_HUPD3 (0x00000008UL)
- #define TMR6_HUPDR_UPDS_POS (7U)
- #define TMR6_HUPDR_UPDS (0x00000080UL)
- #define TMR6_HUPDR_HUPD8_POS (8U)
- #define TMR6_HUPDR_HUPD8 (0x00000100UL)
- #define TMR6_HUPDR_HUPD9_POS (9U)
- #define TMR6_HUPDR_HUPD9 (0x00000200UL)
- #define TMR6_HUPDR_HUPD16_POS (16U)
- #define TMR6_HUPDR_HUPD16 (0x00010000UL)
- #define TMR6_HUPDR_HUPD17_POS (17U)
- #define TMR6_HUPDR_HUPD17 (0x00020000UL)
- #define TMR6_HUPDR_HUPD18_POS (18U)
- #define TMR6_HUPDR_HUPD18 (0x00040000UL)
- #define TMR6_HUPDR_HUPD19_POS (19U)
- #define TMR6_HUPDR_HUPD19 (0x00080000UL)
- /* Bit definition for TMR6_HCPAR register */
- #define TMR6_HCPAR_HCPA0_POS (0U)
- #define TMR6_HCPAR_HCPA0 (0x00000001UL)
- #define TMR6_HCPAR_HCPA1_POS (1U)
- #define TMR6_HCPAR_HCPA1 (0x00000002UL)
- #define TMR6_HCPAR_HCPA2_POS (2U)
- #define TMR6_HCPAR_HCPA2 (0x00000004UL)
- #define TMR6_HCPAR_HCPA3_POS (3U)
- #define TMR6_HCPAR_HCPA3 (0x00000008UL)
- #define TMR6_HCPAR_HCPA8_POS (8U)
- #define TMR6_HCPAR_HCPA8 (0x00000100UL)
- #define TMR6_HCPAR_HCPA9_POS (9U)
- #define TMR6_HCPAR_HCPA9 (0x00000200UL)
- #define TMR6_HCPAR_HCPA16_POS (16U)
- #define TMR6_HCPAR_HCPA16 (0x00010000UL)
- #define TMR6_HCPAR_HCPA17_POS (17U)
- #define TMR6_HCPAR_HCPA17 (0x00020000UL)
- #define TMR6_HCPAR_HCPA18_POS (18U)
- #define TMR6_HCPAR_HCPA18 (0x00040000UL)
- #define TMR6_HCPAR_HCPA19_POS (19U)
- #define TMR6_HCPAR_HCPA19 (0x00080000UL)
- #define TMR6_HCPAR_HCPA24_POS (24U)
- #define TMR6_HCPAR_HCPA24 (0x01000000UL)
- #define TMR6_HCPAR_HCPA25_POS (25U)
- #define TMR6_HCPAR_HCPA25 (0x02000000UL)
- /* Bit definition for TMR6_HCPBR register */
- #define TMR6_HCPBR_HCPB0_POS (0U)
- #define TMR6_HCPBR_HCPB0 (0x00000001UL)
- #define TMR6_HCPBR_HCPB1_POS (1U)
- #define TMR6_HCPBR_HCPB1 (0x00000002UL)
- #define TMR6_HCPBR_HCPB2_POS (2U)
- #define TMR6_HCPBR_HCPB2 (0x00000004UL)
- #define TMR6_HCPBR_HCPB3_POS (3U)
- #define TMR6_HCPBR_HCPB3 (0x00000008UL)
- #define TMR6_HCPBR_HCPB8_POS (8U)
- #define TMR6_HCPBR_HCPB8 (0x00000100UL)
- #define TMR6_HCPBR_HCPB9_POS (9U)
- #define TMR6_HCPBR_HCPB9 (0x00000200UL)
- #define TMR6_HCPBR_HCPB16_POS (16U)
- #define TMR6_HCPBR_HCPB16 (0x00010000UL)
- #define TMR6_HCPBR_HCPB17_POS (17U)
- #define TMR6_HCPBR_HCPB17 (0x00020000UL)
- #define TMR6_HCPBR_HCPB18_POS (18U)
- #define TMR6_HCPBR_HCPB18 (0x00040000UL)
- #define TMR6_HCPBR_HCPB19_POS (19U)
- #define TMR6_HCPBR_HCPB19 (0x00080000UL)
- #define TMR6_HCPBR_HCPB24_POS (24U)
- #define TMR6_HCPBR_HCPB24 (0x01000000UL)
- #define TMR6_HCPBR_HCPB25_POS (25U)
- #define TMR6_HCPBR_HCPB25 (0x02000000UL)
- /* Bit definition for TMR6_HCUPR register */
- #define TMR6_HCUPR_HCUP0_POS (0U)
- #define TMR6_HCUPR_HCUP0 (0x00000001UL)
- #define TMR6_HCUPR_HCUP1_POS (1U)
- #define TMR6_HCUPR_HCUP1 (0x00000002UL)
- #define TMR6_HCUPR_HCUP2_POS (2U)
- #define TMR6_HCUPR_HCUP2 (0x00000004UL)
- #define TMR6_HCUPR_HCUP3_POS (3U)
- #define TMR6_HCUPR_HCUP3 (0x00000008UL)
- #define TMR6_HCUPR_HCUP4_POS (4U)
- #define TMR6_HCUPR_HCUP4 (0x00000010UL)
- #define TMR6_HCUPR_HCUP5_POS (5U)
- #define TMR6_HCUPR_HCUP5 (0x00000020UL)
- #define TMR6_HCUPR_HCUP6_POS (6U)
- #define TMR6_HCUPR_HCUP6 (0x00000040UL)
- #define TMR6_HCUPR_HCUP7_POS (7U)
- #define TMR6_HCUPR_HCUP7 (0x00000080UL)
- #define TMR6_HCUPR_HCUP8_POS (8U)
- #define TMR6_HCUPR_HCUP8 (0x00000100UL)
- #define TMR6_HCUPR_HCUP9_POS (9U)
- #define TMR6_HCUPR_HCUP9 (0x00000200UL)
- #define TMR6_HCUPR_HCUP16_POS (16U)
- #define TMR6_HCUPR_HCUP16 (0x00010000UL)
- #define TMR6_HCUPR_HCUP17_POS (17U)
- #define TMR6_HCUPR_HCUP17 (0x00020000UL)
- #define TMR6_HCUPR_HCUP18_POS (18U)
- #define TMR6_HCUPR_HCUP18 (0x00040000UL)
- #define TMR6_HCUPR_HCUP19_POS (19U)
- #define TMR6_HCUPR_HCUP19 (0x00080000UL)
- /* Bit definition for TMR6_HCDOR register */
- #define TMR6_HCDOR_HCDO0_POS (0U)
- #define TMR6_HCDOR_HCDO0 (0x00000001UL)
- #define TMR6_HCDOR_HCDO1_POS (1U)
- #define TMR6_HCDOR_HCDO1 (0x00000002UL)
- #define TMR6_HCDOR_HCDO2_POS (2U)
- #define TMR6_HCDOR_HCDO2 (0x00000004UL)
- #define TMR6_HCDOR_HCDO3_POS (3U)
- #define TMR6_HCDOR_HCDO3 (0x00000008UL)
- #define TMR6_HCDOR_HCDO4_POS (4U)
- #define TMR6_HCDOR_HCDO4 (0x00000010UL)
- #define TMR6_HCDOR_HCDO5_POS (5U)
- #define TMR6_HCDOR_HCDO5 (0x00000020UL)
- #define TMR6_HCDOR_HCDO6_POS (6U)
- #define TMR6_HCDOR_HCDO6 (0x00000040UL)
- #define TMR6_HCDOR_HCDO7_POS (7U)
- #define TMR6_HCDOR_HCDO7 (0x00000080UL)
- #define TMR6_HCDOR_HCDO8_POS (8U)
- #define TMR6_HCDOR_HCDO8 (0x00000100UL)
- #define TMR6_HCDOR_HCDO9_POS (9U)
- #define TMR6_HCDOR_HCDO9 (0x00000200UL)
- #define TMR6_HCDOR_HCDO16_POS (16U)
- #define TMR6_HCDOR_HCDO16 (0x00010000UL)
- #define TMR6_HCDOR_HCDO17_POS (17U)
- #define TMR6_HCDOR_HCDO17 (0x00020000UL)
- #define TMR6_HCDOR_HCDO18_POS (18U)
- #define TMR6_HCDOR_HCDO18 (0x00040000UL)
- #define TMR6_HCDOR_HCDO19_POS (19U)
- #define TMR6_HCDOR_HCDO19 (0x00080000UL)
- /*******************************************************************************
- Bit definition for Peripheral TMR6CR
- *******************************************************************************/
- /* Bit definition for TMR6CR_FCNTR register */
- #define TMR6CR_FCNTR_NOFIENTA_POS (0U)
- #define TMR6CR_FCNTR_NOFIENTA (0x00000001UL)
- #define TMR6CR_FCNTR_NOFICKTA_POS (1U)
- #define TMR6CR_FCNTR_NOFICKTA (0x00000006UL)
- #define TMR6CR_FCNTR_NOFICKTA_0 (0x00000002UL)
- #define TMR6CR_FCNTR_NOFICKTA_1 (0x00000004UL)
- #define TMR6CR_FCNTR_NOFIENTB_POS (4U)
- #define TMR6CR_FCNTR_NOFIENTB (0x00000010UL)
- #define TMR6CR_FCNTR_NOFICKTB_POS (5U)
- #define TMR6CR_FCNTR_NOFICKTB (0x00000060UL)
- #define TMR6CR_FCNTR_NOFICKTB_0 (0x00000020UL)
- #define TMR6CR_FCNTR_NOFICKTB_1 (0x00000040UL)
- /* Bit definition for TMR6CR_SSTAR register */
- #define TMR6CR_SSTAR_SSTA1_POS (0U)
- #define TMR6CR_SSTAR_SSTA1 (0x00000001UL)
- #define TMR6CR_SSTAR_SSTA2_POS (1U)
- #define TMR6CR_SSTAR_SSTA2 (0x00000002UL)
- /* Bit definition for TMR6CR_SSTPR register */
- #define TMR6CR_SSTPR_SSTP1_POS (0U)
- #define TMR6CR_SSTPR_SSTP1 (0x00000001UL)
- #define TMR6CR_SSTPR_SSTP2_POS (1U)
- #define TMR6CR_SSTPR_SSTP2 (0x00000002UL)
- /* Bit definition for TMR6CR_SCLRR register */
- #define TMR6CR_SCLRR_SCLE1_POS (0U)
- #define TMR6CR_SCLRR_SCLE1 (0x00000001UL)
- #define TMR6CR_SCLRR_SCLE2_POS (1U)
- #define TMR6CR_SCLRR_SCLE2 (0x00000002UL)
- /* Bit definition for TMR6CR_SUPDR register */
- #define TMR6CR_SUPDR_SUPD1_POS (0U)
- #define TMR6CR_SUPDR_SUPD1 (0x00000001UL)
- #define TMR6CR_SUPDR_SUPD2_POS (1U)
- #define TMR6CR_SUPDR_SUPD2 (0x00000002UL)
- /*******************************************************************************
- Bit definition for Peripheral TMRA
- *******************************************************************************/
- /* Bit definition for TMRA_CNTER register */
- #define TMRA_CNTER_CNT (0xFFFFFFFFUL)
- /* Bit definition for TMRA_PERAR register */
- #define TMRA_PERAR_PER (0xFFFFFFFFUL)
- /* Bit definition for TMRA_CMPAR register */
- #define TMRA_CMPAR_CMP (0xFFFFFFFFUL)
- /* Bit definition for TMRA_BCSTR register */
- #define TMRA_BCSTR_START_POS (0U)
- #define TMRA_BCSTR_START (0x0001U)
- #define TMRA_BCSTR_DIR_POS (1U)
- #define TMRA_BCSTR_DIR (0x0002U)
- #define TMRA_BCSTR_MODE_POS (2U)
- #define TMRA_BCSTR_MODE (0x0004U)
- #define TMRA_BCSTR_SYNST_POS (3U)
- #define TMRA_BCSTR_SYNST (0x0008U)
- #define TMRA_BCSTR_CKDIV_POS (4U)
- #define TMRA_BCSTR_CKDIV (0x00F0U)
- #define TMRA_BCSTR_OVSTP_POS (8U)
- #define TMRA_BCSTR_OVSTP (0x0100U)
- #define TMRA_BCSTR_ITENOVF_POS (12U)
- #define TMRA_BCSTR_ITENOVF (0x1000U)
- #define TMRA_BCSTR_ITENUDF_POS (13U)
- #define TMRA_BCSTR_ITENUDF (0x2000U)
- #define TMRA_BCSTR_OVFF_POS (14U)
- #define TMRA_BCSTR_OVFF (0x4000U)
- #define TMRA_BCSTR_UDFF_POS (15U)
- #define TMRA_BCSTR_UDFF (0x8000U)
- /* Bit definition for TMRA_HCONR register */
- #define TMRA_HCONR_HSTA0_POS (0U)
- #define TMRA_HCONR_HSTA0 (0x0001U)
- #define TMRA_HCONR_HSTA1_POS (1U)
- #define TMRA_HCONR_HSTA1 (0x0002U)
- #define TMRA_HCONR_HSTA2_POS (2U)
- #define TMRA_HCONR_HSTA2 (0x0004U)
- #define TMRA_HCONR_HSTP0_POS (4U)
- #define TMRA_HCONR_HSTP0 (0x0010U)
- #define TMRA_HCONR_HSTP1_POS (5U)
- #define TMRA_HCONR_HSTP1 (0x0020U)
- #define TMRA_HCONR_HSTP2_POS (6U)
- #define TMRA_HCONR_HSTP2 (0x0040U)
- #define TMRA_HCONR_HCLE0_POS (8U)
- #define TMRA_HCONR_HCLE0 (0x0100U)
- #define TMRA_HCONR_HCLE1_POS (9U)
- #define TMRA_HCONR_HCLE1 (0x0200U)
- #define TMRA_HCONR_HCLE2_POS (10U)
- #define TMRA_HCONR_HCLE2 (0x0400U)
- #define TMRA_HCONR_HCLE3_POS (12U)
- #define TMRA_HCONR_HCLE3 (0x1000U)
- #define TMRA_HCONR_HCLE4_POS (13U)
- #define TMRA_HCONR_HCLE4 (0x2000U)
- #define TMRA_HCONR_HCLE5_POS (14U)
- #define TMRA_HCONR_HCLE5 (0x4000U)
- #define TMRA_HCONR_HCLE6_POS (15U)
- #define TMRA_HCONR_HCLE6 (0x8000U)
- /* Bit definition for TMRA_HCUPR register */
- #define TMRA_HCUPR_HCUP0_POS (0U)
- #define TMRA_HCUPR_HCUP0 (0x0001U)
- #define TMRA_HCUPR_HCUP1_POS (1U)
- #define TMRA_HCUPR_HCUP1 (0x0002U)
- #define TMRA_HCUPR_HCUP2_POS (2U)
- #define TMRA_HCUPR_HCUP2 (0x0004U)
- #define TMRA_HCUPR_HCUP3_POS (3U)
- #define TMRA_HCUPR_HCUP3 (0x0008U)
- #define TMRA_HCUPR_HCUP4_POS (4U)
- #define TMRA_HCUPR_HCUP4 (0x0010U)
- #define TMRA_HCUPR_HCUP5_POS (5U)
- #define TMRA_HCUPR_HCUP5 (0x0020U)
- #define TMRA_HCUPR_HCUP6_POS (6U)
- #define TMRA_HCUPR_HCUP6 (0x0040U)
- #define TMRA_HCUPR_HCUP7_POS (7U)
- #define TMRA_HCUPR_HCUP7 (0x0080U)
- #define TMRA_HCUPR_HCUP8_POS (8U)
- #define TMRA_HCUPR_HCUP8 (0x0100U)
- #define TMRA_HCUPR_HCUP9_POS (9U)
- #define TMRA_HCUPR_HCUP9 (0x0200U)
- #define TMRA_HCUPR_HCUP10_POS (10U)
- #define TMRA_HCUPR_HCUP10 (0x0400U)
- #define TMRA_HCUPR_HCUP11_POS (11U)
- #define TMRA_HCUPR_HCUP11 (0x0800U)
- #define TMRA_HCUPR_HCUP12_POS (12U)
- #define TMRA_HCUPR_HCUP12 (0x1000U)
- /* Bit definition for TMRA_HCDOR register */
- #define TMRA_HCDOR_HCDO0_POS (0U)
- #define TMRA_HCDOR_HCDO0 (0x0001U)
- #define TMRA_HCDOR_HCDO1_POS (1U)
- #define TMRA_HCDOR_HCDO1 (0x0002U)
- #define TMRA_HCDOR_HCDO2_POS (2U)
- #define TMRA_HCDOR_HCDO2 (0x0004U)
- #define TMRA_HCDOR_HCDO3_POS (3U)
- #define TMRA_HCDOR_HCDO3 (0x0008U)
- #define TMRA_HCDOR_HCDO4_POS (4U)
- #define TMRA_HCDOR_HCDO4 (0x0010U)
- #define TMRA_HCDOR_HCDO5_POS (5U)
- #define TMRA_HCDOR_HCDO5 (0x0020U)
- #define TMRA_HCDOR_HCDO6_POS (6U)
- #define TMRA_HCDOR_HCDO6 (0x0040U)
- #define TMRA_HCDOR_HCDO7_POS (7U)
- #define TMRA_HCDOR_HCDO7 (0x0080U)
- #define TMRA_HCDOR_HCDO8_POS (8U)
- #define TMRA_HCDOR_HCDO8 (0x0100U)
- #define TMRA_HCDOR_HCDO9_POS (9U)
- #define TMRA_HCDOR_HCDO9 (0x0200U)
- #define TMRA_HCDOR_HCDO10_POS (10U)
- #define TMRA_HCDOR_HCDO10 (0x0400U)
- #define TMRA_HCDOR_HCDO11_POS (11U)
- #define TMRA_HCDOR_HCDO11 (0x0800U)
- #define TMRA_HCDOR_HCDO12_POS (12U)
- #define TMRA_HCDOR_HCDO12 (0x1000U)
- /* Bit definition for TMRA_ICONR register */
- #define TMRA_ICONR_ITEN1_POS (0U)
- #define TMRA_ICONR_ITEN1 (0x0001U)
- #define TMRA_ICONR_ITEN2_POS (1U)
- #define TMRA_ICONR_ITEN2 (0x0002U)
- #define TMRA_ICONR_ITEN3_POS (2U)
- #define TMRA_ICONR_ITEN3 (0x0004U)
- #define TMRA_ICONR_ITEN4_POS (3U)
- #define TMRA_ICONR_ITEN4 (0x0008U)
- #define TMRA_ICONR_ITEN5_POS (4U)
- #define TMRA_ICONR_ITEN5 (0x0010U)
- #define TMRA_ICONR_ITEN6_POS (5U)
- #define TMRA_ICONR_ITEN6 (0x0020U)
- #define TMRA_ICONR_ITEN7_POS (6U)
- #define TMRA_ICONR_ITEN7 (0x0040U)
- #define TMRA_ICONR_ITEN8_POS (7U)
- #define TMRA_ICONR_ITEN8 (0x0080U)
- /* Bit definition for TMRA_ECONR register */
- #define TMRA_ECONR_ETEN1_POS (0U)
- #define TMRA_ECONR_ETEN1 (0x0001U)
- #define TMRA_ECONR_ETEN2_POS (1U)
- #define TMRA_ECONR_ETEN2 (0x0002U)
- #define TMRA_ECONR_ETEN3_POS (2U)
- #define TMRA_ECONR_ETEN3 (0x0004U)
- #define TMRA_ECONR_ETEN4_POS (3U)
- #define TMRA_ECONR_ETEN4 (0x0008U)
- #define TMRA_ECONR_ETEN5_POS (4U)
- #define TMRA_ECONR_ETEN5 (0x0010U)
- #define TMRA_ECONR_ETEN6_POS (5U)
- #define TMRA_ECONR_ETEN6 (0x0020U)
- #define TMRA_ECONR_ETEN7_POS (6U)
- #define TMRA_ECONR_ETEN7 (0x0040U)
- #define TMRA_ECONR_ETEN8_POS (7U)
- #define TMRA_ECONR_ETEN8 (0x0080U)
- /* Bit definition for TMRA_FCONR register */
- #define TMRA_FCONR_NOFIENTG_POS (0U)
- #define TMRA_FCONR_NOFIENTG (0x0001U)
- #define TMRA_FCONR_NOFICKTG_POS (1U)
- #define TMRA_FCONR_NOFICKTG (0x0006U)
- #define TMRA_FCONR_NOFIENCA_POS (8U)
- #define TMRA_FCONR_NOFIENCA (0x0100U)
- #define TMRA_FCONR_NOFICKCA_POS (9U)
- #define TMRA_FCONR_NOFICKCA (0x0600U)
- #define TMRA_FCONR_NOFIENCB_POS (12U)
- #define TMRA_FCONR_NOFIENCB (0x1000U)
- #define TMRA_FCONR_NOFICKCB_POS (13U)
- #define TMRA_FCONR_NOFICKCB (0x6000U)
- /* Bit definition for TMRA_STFLR register */
- #define TMRA_STFLR_CMPF1_POS (0U)
- #define TMRA_STFLR_CMPF1 (0x0001U)
- #define TMRA_STFLR_CMPF2_POS (1U)
- #define TMRA_STFLR_CMPF2 (0x0002U)
- #define TMRA_STFLR_CMPF3_POS (2U)
- #define TMRA_STFLR_CMPF3 (0x0004U)
- #define TMRA_STFLR_CMPF4_POS (3U)
- #define TMRA_STFLR_CMPF4 (0x0008U)
- #define TMRA_STFLR_CMPF5_POS (4U)
- #define TMRA_STFLR_CMPF5 (0x0010U)
- #define TMRA_STFLR_CMPF6_POS (5U)
- #define TMRA_STFLR_CMPF6 (0x0020U)
- #define TMRA_STFLR_CMPF7_POS (6U)
- #define TMRA_STFLR_CMPF7 (0x0040U)
- #define TMRA_STFLR_CMPF8_POS (7U)
- #define TMRA_STFLR_CMPF8 (0x0080U)
- #define TMRA_STFLR_ICPF1_POS (8U)
- #define TMRA_STFLR_ICPF1 (0x0100U)
- #define TMRA_STFLR_ICPF2_POS (9U)
- #define TMRA_STFLR_ICPF2 (0x0200U)
- #define TMRA_STFLR_ICPF3_POS (10U)
- #define TMRA_STFLR_ICPF3 (0x0400U)
- #define TMRA_STFLR_ICPF4_POS (11U)
- #define TMRA_STFLR_ICPF4 (0x0800U)
- #define TMRA_STFLR_ICPF5_POS (12U)
- #define TMRA_STFLR_ICPF5 (0x1000U)
- #define TMRA_STFLR_ICPF6_POS (13U)
- #define TMRA_STFLR_ICPF6 (0x2000U)
- #define TMRA_STFLR_ICPF7_POS (14U)
- #define TMRA_STFLR_ICPF7 (0x4000U)
- #define TMRA_STFLR_ICPF8_POS (15U)
- #define TMRA_STFLR_ICPF8 (0x8000U)
- /* Bit definition for TMRA_BCONR register */
- #define TMRA_BCONR_BEN_POS (0U)
- #define TMRA_BCONR_BEN (0x0001U)
- #define TMRA_BCONR_BSE0_POS (1U)
- #define TMRA_BCONR_BSE0 (0x0002U)
- #define TMRA_BCONR_BSE1_POS (2U)
- #define TMRA_BCONR_BSE1 (0x0004U)
- /* Bit definition for TMRA_CCONR register */
- #define TMRA_CCONR_CAPMD_POS (0U)
- #define TMRA_CCONR_CAPMD (0x0001U)
- #define TMRA_CCONR_HICP0_POS (4U)
- #define TMRA_CCONR_HICP0 (0x0010U)
- #define TMRA_CCONR_HICP1_POS (5U)
- #define TMRA_CCONR_HICP1 (0x0020U)
- #define TMRA_CCONR_HICP2_POS (6U)
- #define TMRA_CCONR_HICP2 (0x0040U)
- #define TMRA_CCONR_HICP3_POS (8U)
- #define TMRA_CCONR_HICP3 (0x0100U)
- #define TMRA_CCONR_HICP4_POS (9U)
- #define TMRA_CCONR_HICP4 (0x0200U)
- #define TMRA_CCONR_HICP5_POS (10U)
- #define TMRA_CCONR_HICP5 (0x0400U)
- #define TMRA_CCONR_HICP6_POS (11U)
- #define TMRA_CCONR_HICP6 (0x0800U)
- #define TMRA_CCONR_NOFIENCP_POS (12U)
- #define TMRA_CCONR_NOFIENCP (0x1000U)
- #define TMRA_CCONR_NOFICKCP_POS (13U)
- #define TMRA_CCONR_NOFICKCP (0x6000U)
- #define TMRA_CCONR_NOFICKCP_0 (0x2000U)
- #define TMRA_CCONR_NOFICKCP_1 (0x4000U)
- /* Bit definition for TMRA_PCONR register */
- #define TMRA_PCONR_STAC_POS (0U)
- #define TMRA_PCONR_STAC (0x0003U)
- #define TMRA_PCONR_STAC_0 (0x0001U)
- #define TMRA_PCONR_STAC_1 (0x0002U)
- #define TMRA_PCONR_STPC_POS (2U)
- #define TMRA_PCONR_STPC (0x000CU)
- #define TMRA_PCONR_STPC_0 (0x0004U)
- #define TMRA_PCONR_STPC_1 (0x0008U)
- #define TMRA_PCONR_CMPC_POS (4U)
- #define TMRA_PCONR_CMPC (0x0030U)
- #define TMRA_PCONR_CMPC_0 (0x0010U)
- #define TMRA_PCONR_CMPC_1 (0x0020U)
- #define TMRA_PCONR_PERC_POS (6U)
- #define TMRA_PCONR_PERC (0x00C0U)
- #define TMRA_PCONR_PERC_0 (0x0040U)
- #define TMRA_PCONR_PERC_1 (0x0080U)
- #define TMRA_PCONR_FORC_POS (8U)
- #define TMRA_PCONR_FORC (0x0300U)
- #define TMRA_PCONR_FORC_0 (0x0100U)
- #define TMRA_PCONR_FORC_1 (0x0200U)
- #define TMRA_PCONR_OUTEN_POS (12U)
- #define TMRA_PCONR_OUTEN (0x1000U)
- /*******************************************************************************
- Bit definition for Peripheral TRNG
- *******************************************************************************/
- /* Bit definition for TRNG_CR register */
- #define TRNG_CR_END_POS (0U)
- #define TRNG_CR_END (0x00000001UL)
- #define TRNG_CR_RUN_POS (1U)
- #define TRNG_CR_RUN (0x00000002UL)
- /* Bit definition for TRNG_MR register */
- #define TRNG_MR_LOAD_POS (0U)
- #define TRNG_MR_LOAD (0x00000001UL)
- #define TRNG_MR_CNT_POS (2U)
- #define TRNG_MR_CNT (0x0000001CUL)
- /* Bit definition for TRNG_DR0 register */
- #define TRNG_DR0 (0xFFFFFFFFUL)
- /* Bit definition for TRNG_DR1 register */
- #define TRNG_DR1 (0xFFFFFFFFUL)
- /*******************************************************************************
- Bit definition for Peripheral USART
- *******************************************************************************/
- /* Bit definition for USART_SR register */
- #define USART_SR_PE_POS (0U)
- #define USART_SR_PE (0x00000001UL)
- #define USART_SR_FE_POS (1U)
- #define USART_SR_FE (0x00000002UL)
- #define USART_SR_ORE_POS (3U)
- #define USART_SR_ORE (0x00000008UL)
- #define USART_SR_BE_POS (4U)
- #define USART_SR_BE (0x00000010UL)
- #define USART_SR_RXNE_POS (5U)
- #define USART_SR_RXNE (0x00000020UL)
- #define USART_SR_TC_POS (6U)
- #define USART_SR_TC (0x00000040UL)
- #define USART_SR_TXE_POS (7U)
- #define USART_SR_TXE (0x00000080UL)
- #define USART_SR_RTOF_POS (8U)
- #define USART_SR_RTOF (0x00000100UL)
- #define USART_SR_WKUP_POS (9U)
- #define USART_SR_WKUP (0x00000200UL)
- #define USART_SR_LBD_POS (10U)
- #define USART_SR_LBD (0x00000400UL)
- #define USART_SR_TEND_POS (11U)
- #define USART_SR_TEND (0x00000800UL)
- #define USART_SR_MPB_POS (16U)
- #define USART_SR_MPB (0x00010000UL)
- /* Bit definition for USART_DR register */
- #define USART_DR_TDR_POS (0U)
- #define USART_DR_TDR (0x000001FFUL)
- #define USART_DR_MPID_POS (9U)
- #define USART_DR_MPID (0x00000200UL)
- #define USART_DR_RDR_POS (16U)
- #define USART_DR_RDR (0x01FF0000UL)
- /* Bit definition for USART_BRR register */
- #define USART_BRR_DIV_FRACTION_POS (0U)
- #define USART_BRR_DIV_FRACTION (0x0000007FUL)
- #define USART_BRR_DIV_INTEGER_POS (8U)
- #define USART_BRR_DIV_INTEGER (0x0000FF00UL)
- /* Bit definition for USART_CR1 register */
- #define USART_CR1_RTOE_POS (0U)
- #define USART_CR1_RTOE (0x00000001UL)
- #define USART_CR1_RTOIE_POS (1U)
- #define USART_CR1_RTOIE (0x00000002UL)
- #define USART_CR1_RE_POS (2U)
- #define USART_CR1_RE (0x00000004UL)
- #define USART_CR1_TE_POS (3U)
- #define USART_CR1_TE (0x00000008UL)
- #define USART_CR1_SLME_POS (4U)
- #define USART_CR1_SLME (0x00000010UL)
- #define USART_CR1_RIE_POS (5U)
- #define USART_CR1_RIE (0x00000020UL)
- #define USART_CR1_TCIE_POS (6U)
- #define USART_CR1_TCIE (0x00000040UL)
- #define USART_CR1_TXEIE_POS (7U)
- #define USART_CR1_TXEIE (0x00000080UL)
- #define USART_CR1_TENDIE_POS (8U)
- #define USART_CR1_TENDIE (0x00000100UL)
- #define USART_CR1_PS_POS (9U)
- #define USART_CR1_PS (0x00000200UL)
- #define USART_CR1_PCE_POS (10U)
- #define USART_CR1_PCE (0x00000400UL)
- #define USART_CR1_M_POS (12U)
- #define USART_CR1_M (0x00001000UL)
- #define USART_CR1_OVER8_POS (15U)
- #define USART_CR1_OVER8 (0x00008000UL)
- #define USART_CR1_CPE_POS (16U)
- #define USART_CR1_CPE (0x00010000UL)
- #define USART_CR1_CFE_POS (17U)
- #define USART_CR1_CFE (0x00020000UL)
- #define USART_CR1_CORE_POS (19U)
- #define USART_CR1_CORE (0x00080000UL)
- #define USART_CR1_CRTOF_POS (20U)
- #define USART_CR1_CRTOF (0x00100000UL)
- #define USART_CR1_CBE_POS (21U)
- #define USART_CR1_CBE (0x00200000UL)
- #define USART_CR1_CWKUP_POS (22U)
- #define USART_CR1_CWKUP (0x00400000UL)
- #define USART_CR1_CLBD_POS (23U)
- #define USART_CR1_CLBD (0x00800000UL)
- #define USART_CR1_MS_POS (24U)
- #define USART_CR1_MS (0x01000000UL)
- #define USART_CR1_CTEND_POS (25U)
- #define USART_CR1_CTEND (0x02000000UL)
- #define USART_CR1_ML_POS (28U)
- #define USART_CR1_ML (0x10000000UL)
- #define USART_CR1_FBME_POS (29U)
- #define USART_CR1_FBME (0x20000000UL)
- #define USART_CR1_NFE_POS (30U)
- #define USART_CR1_NFE (0x40000000UL)
- #define USART_CR1_SBS_POS (31U)
- #define USART_CR1_SBS (0x80000000UL)
- /* Bit definition for USART_CR2 register */
- #define USART_CR2_MPE_POS (0U)
- #define USART_CR2_MPE (0x00000001UL)
- #define USART_CR2_WKUPIE_POS (1U)
- #define USART_CR2_WKUPIE (0x00000002UL)
- #define USART_CR2_BEIE_POS (2U)
- #define USART_CR2_BEIE (0x00000004UL)
- #define USART_CR2_BEE_POS (3U)
- #define USART_CR2_BEE (0x00000008UL)
- #define USART_CR2_LBDIE_POS (4U)
- #define USART_CR2_LBDIE (0x00000010UL)
- #define USART_CR2_LBDL_POS (5U)
- #define USART_CR2_LBDL (0x00000020UL)
- #define USART_CR2_SBKL_POS (6U)
- #define USART_CR2_SBKL (0x000000C0UL)
- #define USART_CR2_SBKL_0 (0x00000040UL)
- #define USART_CR2_SBKL_1 (0x00000080UL)
- #define USART_CR2_WKUPE_POS (8U)
- #define USART_CR2_WKUPE (0x00000100UL)
- #define USART_CR2_CLKC_POS (11U)
- #define USART_CR2_CLKC (0x00001800UL)
- #define USART_CR2_CLKC_0 (0x00000800UL)
- #define USART_CR2_CLKC_1 (0x00001000UL)
- #define USART_CR2_STOP_POS (13U)
- #define USART_CR2_STOP (0x00002000UL)
- #define USART_CR2_LINEN_POS (14U)
- #define USART_CR2_LINEN (0x00004000UL)
- #define USART_CR2_SBK_POS (16U)
- #define USART_CR2_SBK (0x00010000UL)
- #define USART_CR2_SBKM_POS (17U)
- #define USART_CR2_SBKM (0x00020000UL)
- /* Bit definition for USART_CR3 register */
- #define USART_CR3_HDSEL_POS (3U)
- #define USART_CR3_HDSEL (0x00000008UL)
- #define USART_CR3_LOOP_POS (4U)
- #define USART_CR3_LOOP (0x00000010UL)
- #define USART_CR3_SCEN_POS (5U)
- #define USART_CR3_SCEN (0x00000020UL)
- #define USART_CR3_RTSE_POS (8U)
- #define USART_CR3_RTSE (0x00000100UL)
- #define USART_CR3_CTSE_POS (9U)
- #define USART_CR3_CTSE (0x00000200UL)
- #define USART_CR3_BCN_POS (21U)
- #define USART_CR3_BCN (0x00E00000UL)
- #define USART_CR3_BCN_0 (0x00200000UL)
- #define USART_CR3_BCN_1 (0x00400000UL)
- #define USART_CR3_BCN_2 (0x00800000UL)
- /* Bit definition for USART_PR register */
- #define USART_PR_PSC_POS (0U)
- #define USART_PR_PSC (0x00000003UL)
- #define USART_PR_PSC_0 (0x00000001UL)
- #define USART_PR_PSC_1 (0x00000002UL)
- #define USART_PR_LBMPSC_POS (2U)
- #define USART_PR_LBMPSC (0x0000000CUL)
- #define USART_PR_LBMPSC_0 (0x00000004UL)
- #define USART_PR_LBMPSC_1 (0x00000008UL)
- #define USART_PR_ULBREN_POS (4U)
- #define USART_PR_ULBREN (0x00000010UL)
- /* Bit definition for USART_LBMC register */
- #define USART_LBMC_LBMC (0x0000FFFFUL)
- #define USART_LBMC_LBMC_0 (0x00000001UL)
- #define USART_LBMC_LBMC_1 (0x00000002UL)
- #define USART_LBMC_LBMC_2 (0x00000004UL)
- #define USART_LBMC_LBMC_3 (0x00000008UL)
- #define USART_LBMC_LBMC_4 (0x00000010UL)
- #define USART_LBMC_LBMC_5 (0x00000020UL)
- #define USART_LBMC_LBMC_6 (0x00000040UL)
- #define USART_LBMC_LBMC_7 (0x00000080UL)
- #define USART_LBMC_LBMC_8 (0x00000100UL)
- #define USART_LBMC_LBMC_9 (0x00000200UL)
- #define USART_LBMC_LBMC_10 (0x00000400UL)
- #define USART_LBMC_LBMC_11 (0x00000800UL)
- #define USART_LBMC_LBMC_12 (0x00001000UL)
- #define USART_LBMC_LBMC_13 (0x00002000UL)
- #define USART_LBMC_LBMC_14 (0x00004000UL)
- #define USART_LBMC_LBMC_15 (0x00008000UL)
- /*******************************************************************************
- Bit definition for Peripheral WDT
- *******************************************************************************/
- /* Bit definition for WDT_CR register */
- #define WDT_CR_PERI_POS (0U)
- #define WDT_CR_PERI (0x00000003UL)
- #define WDT_CR_PERI_0 (0x00000001UL)
- #define WDT_CR_PERI_1 (0x00000002UL)
- #define WDT_CR_CKS_POS (4U)
- #define WDT_CR_CKS (0x000000F0UL)
- #define WDT_CR_CKS_0 (0x00000010UL)
- #define WDT_CR_CKS_1 (0x00000020UL)
- #define WDT_CR_CKS_2 (0x00000040UL)
- #define WDT_CR_CKS_3 (0x00000080UL)
- #define WDT_CR_WDPT_POS (8U)
- #define WDT_CR_WDPT (0x00000F00UL)
- #define WDT_CR_WDPT_0 (0x00000100UL)
- #define WDT_CR_WDPT_1 (0x00000200UL)
- #define WDT_CR_WDPT_2 (0x00000400UL)
- #define WDT_CR_WDPT_3 (0x00000800UL)
- #define WDT_CR_SLPOFF_POS (16U)
- #define WDT_CR_SLPOFF (0x00010000UL)
- #define WDT_CR_ITS_POS (31U)
- #define WDT_CR_ITS (0x80000000UL)
- /* Bit definition for WDT_SR register */
- #define WDT_SR_CNT_POS (0U)
- #define WDT_SR_CNT (0x0000FFFFUL)
- #define WDT_SR_CNT_0 (0x00000001UL)
- #define WDT_SR_CNT_1 (0x00000002UL)
- #define WDT_SR_CNT_2 (0x00000004UL)
- #define WDT_SR_CNT_3 (0x00000008UL)
- #define WDT_SR_CNT_4 (0x00000010UL)
- #define WDT_SR_CNT_5 (0x00000020UL)
- #define WDT_SR_CNT_6 (0x00000040UL)
- #define WDT_SR_CNT_7 (0x00000080UL)
- #define WDT_SR_CNT_8 (0x00000100UL)
- #define WDT_SR_CNT_9 (0x00000200UL)
- #define WDT_SR_CNT_10 (0x00000400UL)
- #define WDT_SR_CNT_11 (0x00000800UL)
- #define WDT_SR_CNT_12 (0x00001000UL)
- #define WDT_SR_CNT_13 (0x00002000UL)
- #define WDT_SR_CNT_14 (0x00004000UL)
- #define WDT_SR_CNT_15 (0x00008000UL)
- #define WDT_SR_UDF_POS (16U)
- #define WDT_SR_UDF (0x00010000UL)
- #define WDT_SR_REF_POS (17U)
- #define WDT_SR_REF (0x00020000UL)
- /* Bit definition for WDT_RR register */
- #define WDT_RR_RF (0x0000FFFFUL)
- #define WDT_RR_RF_0 (0x00000001UL)
- #define WDT_RR_RF_1 (0x00000002UL)
- #define WDT_RR_RF_2 (0x00000004UL)
- #define WDT_RR_RF_3 (0x00000008UL)
- #define WDT_RR_RF_4 (0x00000010UL)
- #define WDT_RR_RF_5 (0x00000020UL)
- #define WDT_RR_RF_6 (0x00000040UL)
- #define WDT_RR_RF_7 (0x00000080UL)
- #define WDT_RR_RF_8 (0x00000100UL)
- #define WDT_RR_RF_9 (0x00000200UL)
- #define WDT_RR_RF_10 (0x00000400UL)
- #define WDT_RR_RF_11 (0x00000800UL)
- #define WDT_RR_RF_12 (0x00001000UL)
- #define WDT_RR_RF_13 (0x00002000UL)
- #define WDT_RR_RF_14 (0x00004000UL)
- #define WDT_RR_RF_15 (0x00008000UL)
- /******************************************************************************/
- /* Device Specific Registers bit_band structure */
- /******************************************************************************/
- typedef struct {
- __IO uint32_t STRT;
- uint32_t RESERVED0[7];
- } stc_adc_str_bit_t;
- typedef struct {
- uint32_t RESERVED0[4];
- __IO uint32_t ACCSEL0;
- __IO uint32_t ACCSEL1;
- __IO uint32_t CLREN;
- __IO uint32_t DFMT;
- uint32_t RESERVED1[8];
- } stc_adc_cr0_bit_t;
- typedef struct {
- uint32_t RESERVED0[2];
- __IO uint32_t RSCHSEL;
- uint32_t RESERVED1[13];
- } stc_adc_cr1_bit_t;
- typedef struct {
- uint32_t RESERVED0[12];
- __IO uint32_t OVSMOD;
- uint32_t RESERVED1[3];
- } stc_adc_cr2_bit_t;
- typedef struct {
- __IO uint32_t TRGSELA0;
- __IO uint32_t TRGSELA1;
- uint32_t RESERVED0[5];
- __IO uint32_t TRGENA;
- __IO uint32_t TRGSELB0;
- __IO uint32_t TRGSELB1;
- uint32_t RESERVED1[5];
- __IO uint32_t TRGENB;
- } stc_adc_trgsr_bit_t;
- typedef struct {
- __IO uint32_t EXCHSEL;
- uint32_t RESERVED0[7];
- } stc_adc_exchselr_bit_t;
- typedef struct {
- __I uint32_t EOCAF;
- __I uint32_t EOCBF;
- uint32_t RESERVED0[2];
- __I uint32_t SASTPDF;
- uint32_t RESERVED1[3];
- } stc_adc_isr_bit_t;
- typedef struct {
- __IO uint32_t EOCAIEN;
- __IO uint32_t EOCBIEN;
- uint32_t RESERVED0[6];
- } stc_adc_icr_bit_t;
- typedef struct {
- __O uint32_t CLREOCAF;
- __O uint32_t CLREOCBF;
- uint32_t RESERVED0[2];
- __O uint32_t CLRSASTPDF;
- uint32_t RESERVED1[3];
- } stc_adc_isclrr_bit_t;
- typedef struct {
- __IO uint32_t SYNCEN;
- uint32_t RESERVED0[15];
- } stc_adc_synccr_bit_t;
- typedef struct {
- __IO uint32_t AWD0EN;
- __IO uint32_t AWD0IEN;
- __IO uint32_t AWD0MD;
- uint32_t RESERVED0[1];
- __IO uint32_t AWD1EN;
- __IO uint32_t AWD1IEN;
- __IO uint32_t AWD1MD;
- uint32_t RESERVED1[1];
- __IO uint32_t AWDCM0;
- __IO uint32_t AWDCM1;
- uint32_t RESERVED2[6];
- } stc_adc_awdcr_bit_t;
- typedef struct {
- __I uint32_t AWD0F;
- __I uint32_t AWD1F;
- uint32_t RESERVED0[2];
- __I uint32_t AWDCMF;
- uint32_t RESERVED1[3];
- } stc_adc_awdsr_bit_t;
- typedef struct {
- __O uint32_t CLRAWD0F;
- __O uint32_t CLRAWD1F;
- uint32_t RESERVED0[2];
- __O uint32_t CLRAWDCMF;
- uint32_t RESERVED1[3];
- } stc_adc_awdsclrr_bit_t;
- typedef struct {
- __IO uint32_t START;
- __IO uint32_t MODE;
- uint32_t RESERVED0[30];
- } stc_aes_cr_bit_t;
- typedef struct {
- __O uint32_t STRG;
- uint32_t RESERVED0[31];
- } stc_aos_intsfttrg_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t COMEN0;
- __IO uint32_t COMEN1;
- } stc_aos_dcu_trgsel_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t COMEN0;
- __IO uint32_t COMEN1;
- } stc_aos_dma1_trgsel_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t COMEN0;
- __IO uint32_t COMEN1;
- } stc_aos_dma2_trgsel_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t COMEN0;
- __IO uint32_t COMEN1;
- } stc_aos_dma_trgselrc_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t COMEN0;
- __IO uint32_t COMEN1;
- } stc_aos_tmr6_htssr_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t COMEN0;
- __IO uint32_t COMEN1;
- } stc_aos_tmr4_htssr_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t COMEN0;
- __IO uint32_t COMEN1;
- } stc_aos_pevnttrgsr12_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t COMEN0;
- __IO uint32_t COMEN1;
- } stc_aos_pevnttrgsr34_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t COMEN0;
- __IO uint32_t COMEN1;
- } stc_aos_tmr0_htssr_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t COMEN0;
- __IO uint32_t COMEN1;
- } stc_aos_tmra_htssr_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t COMEN0;
- __IO uint32_t COMEN1;
- } stc_aos_adc1_itrgselr_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t COMEN0;
- __IO uint32_t COMEN1;
- } stc_aos_adc2_itrgselr_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t COMEN0;
- __IO uint32_t COMEN1;
- } stc_aos_adc3_itrgselr_bit_t;
- typedef struct {
- __IO uint32_t NFEN1;
- uint32_t RESERVED0[7];
- __IO uint32_t NFEN2;
- uint32_t RESERVED1[7];
- __IO uint32_t NFEN3;
- uint32_t RESERVED2[7];
- __IO uint32_t NFEN4;
- uint32_t RESERVED3[7];
- } stc_aos_pevntnfcr_bit_t;
- typedef struct {
- __IO uint32_t CENA;
- __IO uint32_t CWDE;
- __IO uint32_t CSMD0;
- __IO uint32_t CSMD1;
- __IO uint32_t CSST;
- uint32_t RESERVED0[2];
- __I uint32_t CMON;
- } stc_cmp_mdr_bit_t;
- typedef struct {
- uint32_t RESERVED0[3];
- __IO uint32_t CIEN;
- __IO uint32_t EDGS0;
- __IO uint32_t EDGS1;
- __IO uint32_t CFF;
- __IO uint32_t CRF;
- } stc_cmp_fir_bit_t;
- typedef struct {
- __IO uint32_t COEN;
- __IO uint32_t COPS;
- __IO uint32_t CPOE;
- uint32_t RESERVED0[1];
- __IO uint32_t BWEN;
- __IO uint32_t BWMD;
- __IO uint32_t BWOL0;
- __IO uint32_t BWOL1;
- } stc_cmp_ocr_bit_t;
- typedef struct {
- __IO uint32_t RVSL0;
- __IO uint32_t RVSL1;
- __IO uint32_t RVSL2;
- __IO uint32_t RVSL3;
- uint32_t RESERVED0[12];
- __IO uint32_t CVSL0;
- __IO uint32_t CVSL1;
- __IO uint32_t CVSL2;
- __IO uint32_t CVSL3;
- uint32_t RESERVED1[12];
- } stc_cmp_pmsr_bit_t;
- typedef struct {
- __IO uint32_t CTWS0;
- __IO uint32_t CTWS1;
- __IO uint32_t CTWS2;
- __IO uint32_t CTWS3;
- __IO uint32_t CTWS4;
- __IO uint32_t CTWS5;
- __IO uint32_t CTWS6;
- __IO uint32_t CTWS7;
- __IO uint32_t CTWS8;
- __IO uint32_t CTWS9;
- __IO uint32_t CTWS10;
- __IO uint32_t CTWS11;
- __IO uint32_t CTWS12;
- __IO uint32_t CTWS13;
- __IO uint32_t CTWS14;
- __IO uint32_t CTWS15;
- __IO uint32_t CTWP0;
- __IO uint32_t CTWP1;
- __IO uint32_t CTWP2;
- __IO uint32_t CTWP3;
- __IO uint32_t CTWP4;
- __IO uint32_t CTWP5;
- __IO uint32_t CTWP6;
- __IO uint32_t CTWP7;
- __IO uint32_t CTWP8;
- __IO uint32_t CTWP9;
- __IO uint32_t CTWP10;
- __IO uint32_t CTWP11;
- __IO uint32_t CTWP12;
- __IO uint32_t CTWP13;
- __IO uint32_t CTWP14;
- __IO uint32_t CTWP15;
- } stc_cmp_bwsr1_bit_t;
- typedef struct {
- uint32_t RESERVED0[8];
- __IO uint32_t TWEG0;
- __IO uint32_t TWEG1;
- uint32_t RESERVED1[6];
- } stc_cmp_bwsr2_bit_t;
- typedef struct {
- __IO uint32_t FRADIVEN;
- uint32_t RESERVED0[31];
- } stc_cmu_xtaldivcr_bit_t;
- typedef struct {
- uint32_t RESERVED0[4];
- __IO uint32_t XTALDRV0;
- __IO uint32_t XTALDRV1;
- __IO uint32_t XTALMS;
- uint32_t RESERVED1[1];
- } stc_cmu_xtalcfgr_bit_t;
- typedef struct {
- __IO uint32_t XTAL32STP;
- uint32_t RESERVED0[7];
- } stc_cmu_xtal32cr_bit_t;
- typedef struct {
- __IO uint32_t XTAL32NF0;
- __IO uint32_t XTAL32NF1;
- uint32_t RESERVED0[6];
- } stc_cmu_xtal32nfr_bit_t;
- typedef struct {
- __IO uint32_t LRCSTP;
- uint32_t RESERVED0[7];
- } stc_cmu_lrccr_bit_t;
- typedef struct {
- __IO uint32_t PLLHOFF;
- uint32_t RESERVED0[7];
- } stc_cmu_pllhcr_bit_t;
- typedef struct {
- __IO uint32_t XTALSTP;
- uint32_t RESERVED0[7];
- } stc_cmu_xtalcr_bit_t;
- typedef struct {
- __IO uint32_t HRCSTP;
- uint32_t RESERVED0[7];
- } stc_cmu_hrccr_bit_t;
- typedef struct {
- __IO uint32_t MRCSTP;
- uint32_t RESERVED0[7];
- } stc_cmu_mrccr_bit_t;
- typedef struct {
- __IO uint32_t HRCSTBF;
- uint32_t RESERVED0[2];
- __IO uint32_t XTALSTBF;
- uint32_t RESERVED1[1];
- __IO uint32_t PLLHSTBF;
- uint32_t RESERVED2[2];
- } stc_cmu_oscstbsr_bit_t;
- typedef struct {
- uint32_t RESERVED0[7];
- __IO uint32_t MCOEN;
- } stc_cmu_mcocfgr_bit_t;
- typedef struct {
- __IO uint32_t TPIUCKS0;
- __IO uint32_t TPIUCKS1;
- uint32_t RESERVED0[5];
- __IO uint32_t TPIUCKOE;
- } stc_cmu_tpiuckcfgr_bit_t;
- typedef struct {
- __IO uint32_t XTALSTDIE;
- __IO uint32_t XTALSTDRE;
- __IO uint32_t XTALSTDRIS;
- uint32_t RESERVED0[4];
- __IO uint32_t XTALSTDE;
- } stc_cmu_xtalstdcr_bit_t;
- typedef struct {
- __IO uint32_t XTALSTDF;
- uint32_t RESERVED0[7];
- } stc_cmu_xtalstdsr_bit_t;
- typedef struct {
- __IO uint32_t PLLHM0;
- __IO uint32_t PLLHM1;
- uint32_t RESERVED0[5];
- __IO uint32_t PLLSRC;
- uint32_t RESERVED1[24];
- } stc_cmu_pllhcfgr_bit_t;
- typedef struct {
- __IO uint32_t CR;
- __I uint32_t FLAG;
- uint32_t RESERVED0[30];
- } stc_crc_cr_bit_t;
- typedef struct {
- __IO uint32_t REFPSC0;
- __IO uint32_t REFPSC1;
- __IO uint32_t REFPSC2;
- uint32_t RESERVED0[1];
- __IO uint32_t REFCKS0;
- __IO uint32_t REFCKS1;
- __IO uint32_t ERRIE;
- __IO uint32_t CTCEN;
- uint32_t RESERVED1[4];
- __IO uint32_t REFEDG0;
- __IO uint32_t REFEDG1;
- uint32_t RESERVED2[18];
- } stc_ctc_cr1_bit_t;
- typedef struct {
- __I uint32_t TRIMOK;
- __I uint32_t TRMOVF;
- __I uint32_t TRMUDF;
- __I uint32_t CTCBSY;
- uint32_t RESERVED0[28];
- } stc_ctc_str_bit_t;
- typedef struct {
- __IO uint32_t DR0;
- __IO uint32_t DR1;
- __IO uint32_t DR2;
- __IO uint32_t DR3;
- __IO uint32_t DL0R4;
- __IO uint32_t DL1R5;
- __IO uint32_t DL2R6;
- __IO uint32_t DL3R7;
- __IO uint32_t DL4R8;
- __IO uint32_t DL5R9;
- __IO uint32_t DL6R10;
- __IO uint32_t DL7R11;
- __IO uint32_t DL8;
- __IO uint32_t DL9;
- __IO uint32_t DL10;
- __IO uint32_t DL11;
- } stc_dac_dadr1_bit_t;
- typedef struct {
- __IO uint32_t DR0;
- __IO uint32_t DR1;
- __IO uint32_t DR2;
- __IO uint32_t DR3;
- __IO uint32_t DL0R4;
- __IO uint32_t DL1R5;
- __IO uint32_t DL2R6;
- __IO uint32_t DL3R7;
- __IO uint32_t DL4R8;
- __IO uint32_t DL5R9;
- __IO uint32_t DL6R10;
- __IO uint32_t DL7R11;
- __IO uint32_t DL8;
- __IO uint32_t DL9;
- __IO uint32_t DL10;
- __IO uint32_t DL11;
- } stc_dac_dadr2_bit_t;
- typedef struct {
- __IO uint32_t DAE;
- __IO uint32_t DA1E;
- __IO uint32_t DA2E;
- uint32_t RESERVED0[5];
- __IO uint32_t DPSEL;
- __IO uint32_t DAAMP1;
- __IO uint32_t DAAMP2;
- __IO uint32_t EXTDSL1;
- __IO uint32_t EXTDSL2;
- uint32_t RESERVED1[3];
- } stc_dac_dacr_bit_t;
- typedef struct {
- __IO uint32_t ADCSL1;
- __IO uint32_t ADCSL2;
- __IO uint32_t ADCSL3;
- uint32_t RESERVED0[5];
- __I uint32_t DA1SF;
- __I uint32_t DA2SF;
- uint32_t RESERVED1[5];
- __IO uint32_t ADPEN;
- } stc_dac_daadpcr_bit_t;
- typedef struct {
- uint32_t RESERVED0[14];
- __IO uint32_t DAODIS1;
- __IO uint32_t DAODIS2;
- } stc_dac_daocr_bit_t;
- typedef struct {
- uint32_t RESERVED0[4];
- __IO uint32_t DATASIZE0;
- __IO uint32_t DATASIZE1;
- uint32_t RESERVED1[2];
- __IO uint32_t COMP_TRG;
- uint32_t RESERVED2[22];
- __IO uint32_t INTEN;
- } stc_dcu_ctl_bit_t;
- typedef struct {
- __I uint32_t FLAG_OP;
- __I uint32_t FLAG_LS2;
- __I uint32_t FLAG_EQ2;
- __I uint32_t FLAG_GT2;
- __I uint32_t FLAG_LS1;
- __I uint32_t FLAG_EQ1;
- __I uint32_t FLAG_GT1;
- uint32_t RESERVED0[2];
- __I uint32_t FLAG_RLD;
- __I uint32_t FLAG_BTM;
- __I uint32_t FLAG_TOP;
- uint32_t RESERVED1[20];
- } stc_dcu_flag_bit_t;
- typedef struct {
- __O uint32_t CLR_OP;
- __O uint32_t CLR_LS2;
- __O uint32_t CLR_EQ2;
- __O uint32_t CLR_GT2;
- __O uint32_t CLR_LS1;
- __O uint32_t CLR_EQ1;
- __O uint32_t CLR_GT1;
- uint32_t RESERVED0[2];
- __O uint32_t CLR_RLD;
- __O uint32_t CLR_BTM;
- __O uint32_t CLR_TOP;
- uint32_t RESERVED1[20];
- } stc_dcu_flagclr_bit_t;
- typedef struct {
- __IO uint32_t SEL_OP;
- __IO uint32_t SEL_LS2;
- __IO uint32_t SEL_EQ2;
- __IO uint32_t SEL_GT2;
- __IO uint32_t SEL_LS1;
- __IO uint32_t SEL_EQ1;
- __IO uint32_t SEL_GT1;
- __IO uint32_t SEL_WIN0;
- __IO uint32_t SEL_WIN1;
- __IO uint32_t SEL_RLD;
- __IO uint32_t SEL_BTM;
- __IO uint32_t SEL_TOP;
- uint32_t RESERVED0[20];
- } stc_dcu_intevtsel_bit_t;
- typedef struct {
- __IO uint32_t EN;
- uint32_t RESERVED0[31];
- } stc_dma_en_bit_t;
- typedef struct {
- __I uint32_t TRNERR0;
- __I uint32_t TRNERR1;
- __I uint32_t TRNERR2;
- __I uint32_t TRNERR3;
- __I uint32_t TRNERR4;
- __I uint32_t TRNERR5;
- uint32_t RESERVED0[10];
- __I uint32_t REQERR0;
- __I uint32_t REQERR1;
- __I uint32_t REQERR2;
- __I uint32_t REQERR3;
- __I uint32_t REQERR4;
- __I uint32_t REQERR5;
- uint32_t RESERVED1[10];
- } stc_dma_intstat0_bit_t;
- typedef struct {
- __I uint32_t TC0;
- __I uint32_t TC1;
- __I uint32_t TC2;
- __I uint32_t TC3;
- __I uint32_t TC4;
- __I uint32_t TC5;
- uint32_t RESERVED0[10];
- __I uint32_t BTC0;
- __I uint32_t BTC1;
- __I uint32_t BTC2;
- __I uint32_t BTC3;
- __I uint32_t BTC4;
- __I uint32_t BTC5;
- uint32_t RESERVED1[10];
- } stc_dma_intstat1_bit_t;
- typedef struct {
- __IO uint32_t MSKTRNERR0;
- __IO uint32_t MSKTRNERR1;
- __IO uint32_t MSKTRNERR2;
- __IO uint32_t MSKTRNERR3;
- __IO uint32_t MSKTRNERR4;
- __IO uint32_t MSKTRNERR5;
- uint32_t RESERVED0[10];
- __IO uint32_t MSKREQERR0;
- __IO uint32_t MSKREQERR1;
- __IO uint32_t MSKREQERR2;
- __IO uint32_t MSKREQERR3;
- __IO uint32_t MSKREQERR4;
- __IO uint32_t MSKREQERR5;
- uint32_t RESERVED1[10];
- } stc_dma_intmask0_bit_t;
- typedef struct {
- __IO uint32_t MSKTC0;
- __IO uint32_t MSKTC1;
- __IO uint32_t MSKTC2;
- __IO uint32_t MSKTC3;
- __IO uint32_t MSKTC4;
- __IO uint32_t MSKTC5;
- uint32_t RESERVED0[10];
- __IO uint32_t MSKBTC0;
- __IO uint32_t MSKBTC1;
- __IO uint32_t MSKBTC2;
- __IO uint32_t MSKBTC3;
- __IO uint32_t MSKBTC4;
- __IO uint32_t MSKBTC5;
- uint32_t RESERVED1[10];
- } stc_dma_intmask1_bit_t;
- typedef struct {
- __O uint32_t CLRTRNERR0;
- __O uint32_t CLRTRNERR1;
- __O uint32_t CLRTRNERR2;
- __O uint32_t CLRTRNERR3;
- __O uint32_t CLRTRNERR4;
- __O uint32_t CLRTRNERR5;
- uint32_t RESERVED0[10];
- __O uint32_t CLRREQERR0;
- __O uint32_t CLRREQERR1;
- __O uint32_t CLRREQERR2;
- __O uint32_t CLRREQERR3;
- __O uint32_t CLRREQERR4;
- __O uint32_t CLRREQERR5;
- uint32_t RESERVED1[10];
- } stc_dma_intclr0_bit_t;
- typedef struct {
- __O uint32_t CLRTC0;
- __O uint32_t CLRTC1;
- __O uint32_t CLRTC2;
- __O uint32_t CLRTC3;
- __O uint32_t CLRTC4;
- __O uint32_t CLRTC5;
- uint32_t RESERVED0[10];
- __O uint32_t CLRBTC0;
- __O uint32_t CLRBTC1;
- __O uint32_t CLRBTC2;
- __O uint32_t CLRBTC3;
- __O uint32_t CLRBTC4;
- __O uint32_t CLRBTC5;
- uint32_t RESERVED1[10];
- } stc_dma_intclr1_bit_t;
- typedef struct {
- __IO uint32_t CHEN0;
- __IO uint32_t CHEN1;
- __IO uint32_t CHEN2;
- __IO uint32_t CHEN3;
- __IO uint32_t CHEN4;
- __IO uint32_t CHEN5;
- uint32_t RESERVED0[26];
- } stc_dma_chen_bit_t;
- typedef struct {
- __I uint32_t CHREQ0;
- __I uint32_t CHREQ1;
- __I uint32_t CHREQ2;
- __I uint32_t CHREQ3;
- __I uint32_t CHREQ4;
- __I uint32_t CHREQ5;
- uint32_t RESERVED0[9];
- __I uint32_t RCFGREQ;
- uint32_t RESERVED1[16];
- } stc_dma_reqstat_bit_t;
- typedef struct {
- __I uint32_t DMAACT;
- __I uint32_t RCFGACT;
- uint32_t RESERVED0[14];
- __I uint32_t CHACT0;
- __I uint32_t CHACT1;
- __I uint32_t CHACT2;
- __I uint32_t CHACT3;
- __I uint32_t CHACT4;
- __I uint32_t CHACT5;
- uint32_t RESERVED1[10];
- } stc_dma_chstat_bit_t;
- typedef struct {
- __IO uint32_t RCFGEN;
- __IO uint32_t RCFGLLP;
- uint32_t RESERVED0[14];
- __IO uint32_t SARMD0;
- __IO uint32_t SARMD1;
- __IO uint32_t DARMD0;
- __IO uint32_t DARMD1;
- __IO uint32_t CNTMD0;
- __IO uint32_t CNTMD1;
- uint32_t RESERVED1[10];
- } stc_dma_rcfgctl_bit_t;
- typedef struct {
- __O uint32_t CHENCLR0;
- __O uint32_t CHENCLR1;
- __O uint32_t CHENCLR2;
- __O uint32_t CHENCLR3;
- __O uint32_t CHENCLR4;
- __O uint32_t CHENCLR5;
- uint32_t RESERVED0[26];
- } stc_dma_chenclr_bit_t;
- typedef struct {
- __IO uint32_t SINC0;
- __IO uint32_t SINC1;
- __IO uint32_t DINC0;
- __IO uint32_t DINC1;
- __IO uint32_t SRPTEN;
- __IO uint32_t DRPTEN;
- __IO uint32_t SNSEQEN;
- __IO uint32_t DNSEQEN;
- __IO uint32_t HSIZE0;
- __IO uint32_t HSIZE1;
- __IO uint32_t LLPEN;
- __IO uint32_t LLPRUN;
- __IO uint32_t IE;
- uint32_t RESERVED0[19];
- } stc_dma_chctl_bit_t;
- typedef struct {
- __IO uint32_t FSTP;
- uint32_t RESERVED0[31];
- } stc_efm_fstp_bit_t;
- typedef struct {
- uint32_t RESERVED0[8];
- __IO uint32_t LVM;
- uint32_t RESERVED1[7];
- __IO uint32_t ICACHE;
- __IO uint32_t DCACHE;
- __IO uint32_t PREFETE;
- __IO uint32_t CRST;
- uint32_t RESERVED2[12];
- } stc_efm_frmc_bit_t;
- typedef struct {
- uint32_t RESERVED0[8];
- __IO uint32_t BUSHLDCTL;
- uint32_t RESERVED1[7];
- __IO uint32_t KEY1LOCK;
- __IO uint32_t KEY2LOCK;
- uint32_t RESERVED2[14];
- } stc_efm_fwmc_bit_t;
- typedef struct {
- __I uint32_t OTPWERR;
- __I uint32_t PRTWERR;
- __I uint32_t PGSZERR;
- __I uint32_t MISMTCH;
- __I uint32_t OPTEND;
- __I uint32_t COLERR;
- uint32_t RESERVED0[2];
- __I uint32_t RDY;
- uint32_t RESERVED1[23];
- } stc_efm_fsr_bit_t;
- typedef struct {
- __IO uint32_t OTPWERRCLR;
- __IO uint32_t PRTWERRCLR;
- __IO uint32_t PGSZERRCLR;
- __IO uint32_t MISMTCHCLR;
- __IO uint32_t OPTENDCLR;
- __IO uint32_t COLERRCLR;
- uint32_t RESERVED0[26];
- } stc_efm_fsclr_bit_t;
- typedef struct {
- __IO uint32_t PEERRITE;
- __IO uint32_t OPTENDITE;
- __IO uint32_t COLERRITE;
- uint32_t RESERVED0[29];
- } stc_efm_fite_bit_t;
- typedef struct {
- __I uint32_t FSWP;
- uint32_t RESERVED0[31];
- } stc_efm_fswp_bit_t;
- typedef struct {
- uint32_t RESERVED0[31];
- __IO uint32_t EN;
- } stc_efm_mmf_remcr_bit_t;
- typedef struct {
- uint32_t RESERVED0[31];
- __IO uint32_t EN;
- } stc_efm_mmf_remcr1_bit_t;
- typedef struct {
- __IO uint32_t WLOCK0;
- uint32_t RESERVED0[31];
- } stc_efm_wlock_bit_t;
- typedef struct {
- __IO uint32_t F0NWPRT0;
- __IO uint32_t F0NWPRT1;
- __IO uint32_t F0NWPRT2;
- __IO uint32_t F0NWPRT3;
- __IO uint32_t F0NWPRT4;
- __IO uint32_t F0NWPRT5;
- __IO uint32_t F0NWPRT6;
- __IO uint32_t F0NWPRT7;
- __IO uint32_t F0NWPRT8;
- __IO uint32_t F0NWPRT9;
- __IO uint32_t F0NWPRT10;
- __IO uint32_t F0NWPRT11;
- __IO uint32_t F0NWPRT12;
- __IO uint32_t F0NWPRT13;
- __IO uint32_t F0NWPRT14;
- __IO uint32_t F0NWPRT15;
- __IO uint32_t F0NWPRT16;
- __IO uint32_t F0NWPRT17;
- __IO uint32_t F0NWPRT18;
- __IO uint32_t F0NWPRT19;
- __IO uint32_t F0NWPRT20;
- __IO uint32_t F0NWPRT21;
- __IO uint32_t F0NWPRT22;
- __IO uint32_t F0NWPRT23;
- __IO uint32_t F0NWPRT24;
- __IO uint32_t F0NWPRT25;
- __IO uint32_t F0NWPRT26;
- __IO uint32_t F0NWPRT27;
- __IO uint32_t F0NWPRT28;
- __IO uint32_t F0NWPRT29;
- __IO uint32_t F0NWPRT30;
- __IO uint32_t F0NWPRT31;
- } stc_efm_f0nwprt_bit_t;
- typedef struct {
- __IO uint32_t CMPEN0;
- __IO uint32_t CMPEN1;
- __IO uint32_t CMPEN2;
- __IO uint32_t CMPEN3;
- __IO uint32_t SYSEN;
- __IO uint32_t PWMSEN0;
- __IO uint32_t PWMSEN1;
- __IO uint32_t PWMSEN2;
- __IO uint32_t PWMSEN3;
- uint32_t RESERVED0[7];
- __IO uint32_t PORTINEN1;
- __IO uint32_t PORTINEN2;
- __IO uint32_t PORTINEN3;
- __IO uint32_t PORTINEN4;
- uint32_t RESERVED1[2];
- __IO uint32_t INVSEL1;
- __IO uint32_t INVSEL2;
- __IO uint32_t INVSEL3;
- __IO uint32_t INVSEL4;
- uint32_t RESERVED2[1];
- __IO uint32_t OSCSTPEN;
- __IO uint32_t SRAMERREN;
- __IO uint32_t SRAMPYERREN;
- __IO uint32_t LOCKUPEN;
- __IO uint32_t PVDEN;
- } stc_emb_ctl1_bit_t;
- typedef struct {
- __IO uint32_t PWMLV0;
- __IO uint32_t PWMLV1;
- __IO uint32_t PWMLV2;
- __IO uint32_t PWMLV3;
- uint32_t RESERVED0[14];
- __IO uint32_t NFEN1;
- uint32_t RESERVED1[2];
- __IO uint32_t NFEN2;
- uint32_t RESERVED2[2];
- __IO uint32_t NFEN3;
- uint32_t RESERVED3[2];
- __IO uint32_t NFEN4;
- uint32_t RESERVED4[4];
- } stc_emb_ctl2_bit_t;
- typedef struct {
- __IO uint32_t SOE;
- uint32_t RESERVED0[31];
- } stc_emb_soe_bit_t;
- typedef struct {
- uint32_t RESERVED0[1];
- __I uint32_t PWMSF;
- __I uint32_t CMPF;
- __I uint32_t SYSF;
- uint32_t RESERVED1[1];
- __I uint32_t PWMST;
- __I uint32_t CMPST;
- __I uint32_t SYSST;
- __I uint32_t PORTINF1;
- __I uint32_t PORTINF2;
- __I uint32_t PORTINF3;
- __I uint32_t PORTINF4;
- uint32_t RESERVED2[2];
- __I uint32_t PORTINST1;
- __I uint32_t PORTINST2;
- __I uint32_t PORTINST3;
- __I uint32_t PORTINST4;
- uint32_t RESERVED3[14];
- } stc_emb_stat_bit_t;
- typedef struct {
- uint32_t RESERVED0[1];
- __O uint32_t PWMSFCLR;
- __O uint32_t CMPFCLR;
- __O uint32_t SYSFCLR;
- uint32_t RESERVED1[4];
- __O uint32_t PORTINFCLR1;
- __O uint32_t PORTINFCLR2;
- __O uint32_t PORTINFCLR3;
- __O uint32_t PORTINFCLR4;
- uint32_t RESERVED2[20];
- } stc_emb_statclr_bit_t;
- typedef struct {
- uint32_t RESERVED0[1];
- __IO uint32_t PWMSINTEN;
- __IO uint32_t CMPINTEN;
- __IO uint32_t SYSINTEN;
- uint32_t RESERVED1[4];
- __IO uint32_t PORTININTEN1;
- __IO uint32_t PORTININTEN2;
- __IO uint32_t PORTININTEN3;
- __IO uint32_t PORTININTEN4;
- uint32_t RESERVED2[20];
- } stc_emb_inten_bit_t;
- typedef struct {
- uint32_t RESERVED0[1];
- __IO uint32_t PWMRSEL;
- __IO uint32_t CMPRSEL;
- __IO uint32_t SYSRSEL;
- uint32_t RESERVED1[4];
- __IO uint32_t PORTINRSEL1;
- __IO uint32_t PORTINRSEL2;
- __IO uint32_t PORTINRSEL3;
- __IO uint32_t PORTINRSEL4;
- uint32_t RESERVED2[20];
- } stc_emb_rlssel_bit_t;
- typedef struct {
- __IO uint32_t START;
- uint32_t RESERVED0[31];
- } stc_fcm_str_bit_t;
- typedef struct {
- __IO uint32_t MDIVS0;
- __IO uint32_t MDIVS1;
- uint32_t RESERVED0[30];
- } stc_fcm_mccr_bit_t;
- typedef struct {
- __IO uint32_t RDIVS0;
- __IO uint32_t RDIVS1;
- uint32_t RESERVED0[5];
- __IO uint32_t INEXS;
- __IO uint32_t DNFS0;
- __IO uint32_t DNFS1;
- uint32_t RESERVED1[2];
- __IO uint32_t EDGES0;
- __IO uint32_t EDGES1;
- uint32_t RESERVED2[1];
- __IO uint32_t EXREFE;
- uint32_t RESERVED3[16];
- } stc_fcm_rccr_bit_t;
- typedef struct {
- __IO uint32_t ERRIE;
- __IO uint32_t MENDIE;
- __IO uint32_t OVFIE;
- uint32_t RESERVED0[1];
- __IO uint32_t ERRINTRS;
- uint32_t RESERVED1[2];
- __IO uint32_t ERRE;
- uint32_t RESERVED2[24];
- } stc_fcm_rier_bit_t;
- typedef struct {
- __I uint32_t ERRF;
- __I uint32_t MENDF;
- __I uint32_t OVF;
- uint32_t RESERVED0[29];
- } stc_fcm_sr_bit_t;
- typedef struct {
- __O uint32_t ERRFCLR;
- __O uint32_t MENDFCLR;
- __O uint32_t OVFCLR;
- uint32_t RESERVED0[29];
- } stc_fcm_clr_bit_t;
- typedef struct {
- __I uint32_t PIN00;
- __I uint32_t PIN01;
- __I uint32_t PIN02;
- __I uint32_t PIN03;
- __I uint32_t PIN04;
- __I uint32_t PIN05;
- __I uint32_t PIN06;
- __I uint32_t PIN07;
- __I uint32_t PIN08;
- __I uint32_t PIN09;
- __I uint32_t PIN10;
- __I uint32_t PIN11;
- __I uint32_t PIN12;
- __I uint32_t PIN13;
- __I uint32_t PIN14;
- __I uint32_t PIN15;
- } stc_gpio_pidr_bit_t;
- typedef struct {
- __IO uint32_t POUT00;
- __IO uint32_t POUT01;
- __IO uint32_t POUT02;
- __IO uint32_t POUT03;
- __IO uint32_t POUT04;
- __IO uint32_t POUT05;
- __IO uint32_t POUT06;
- __IO uint32_t POUT07;
- __IO uint32_t POUT08;
- __IO uint32_t POUT09;
- __IO uint32_t POUT10;
- __IO uint32_t POUT11;
- __IO uint32_t POUT12;
- __IO uint32_t POUT13;
- __IO uint32_t POUT14;
- __IO uint32_t POUT15;
- } stc_gpio_podr_bit_t;
- typedef struct {
- __IO uint32_t POUTE00;
- __IO uint32_t POUTE01;
- __IO uint32_t POUTE02;
- __IO uint32_t POUTE03;
- __IO uint32_t POUTE04;
- __IO uint32_t POUTE05;
- __IO uint32_t POUTE06;
- __IO uint32_t POUTE07;
- __IO uint32_t POUTE08;
- __IO uint32_t POUTE09;
- __IO uint32_t POUTE10;
- __IO uint32_t POUTE11;
- __IO uint32_t POUTE12;
- __IO uint32_t POUTE13;
- __IO uint32_t POUTE14;
- __IO uint32_t POUTE15;
- } stc_gpio_poer_bit_t;
- typedef struct {
- __IO uint32_t POS00;
- __IO uint32_t POS01;
- __IO uint32_t POS02;
- __IO uint32_t POS03;
- __IO uint32_t POS04;
- __IO uint32_t POS05;
- __IO uint32_t POS06;
- __IO uint32_t POS07;
- __IO uint32_t POS08;
- __IO uint32_t POS09;
- __IO uint32_t POS10;
- __IO uint32_t POS11;
- __IO uint32_t POS12;
- __IO uint32_t POS13;
- __IO uint32_t POS14;
- __IO uint32_t POS15;
- } stc_gpio_posr_bit_t;
- typedef struct {
- __IO uint32_t POR00;
- __IO uint32_t POR01;
- __IO uint32_t POR02;
- __IO uint32_t POR03;
- __IO uint32_t POR04;
- __IO uint32_t POR05;
- __IO uint32_t POR06;
- __IO uint32_t POR07;
- __IO uint32_t POR08;
- __IO uint32_t POR09;
- __IO uint32_t POR10;
- __IO uint32_t POR11;
- __IO uint32_t POR12;
- __IO uint32_t POR13;
- __IO uint32_t POR14;
- __IO uint32_t POR15;
- } stc_gpio_porr_bit_t;
- typedef struct {
- __IO uint32_t POT00;
- __IO uint32_t POT01;
- __IO uint32_t POT02;
- __IO uint32_t POT03;
- __IO uint32_t POT04;
- __IO uint32_t POT05;
- __IO uint32_t POT06;
- __IO uint32_t POT07;
- __IO uint32_t POT08;
- __IO uint32_t POT09;
- __IO uint32_t POT10;
- __IO uint32_t POT11;
- __IO uint32_t POT12;
- __IO uint32_t POT13;
- __IO uint32_t POT14;
- __IO uint32_t POT15;
- } stc_gpio_potr_bit_t;
- typedef struct {
- __IO uint32_t SPFE0;
- __IO uint32_t SPFE1;
- __IO uint32_t SPFE2;
- __IO uint32_t SPFE3;
- __IO uint32_t SPFE4;
- uint32_t RESERVED0[11];
- } stc_gpio_pspcr_bit_t;
- typedef struct {
- __IO uint32_t BFSEL0;
- __IO uint32_t BFSEL1;
- __IO uint32_t BFSEL2;
- __IO uint32_t BFSEL3;
- __IO uint32_t BFSEL4;
- __IO uint32_t BFSEL5;
- uint32_t RESERVED0[6];
- __IO uint32_t RDWT0;
- __IO uint32_t RDWT1;
- __IO uint32_t RDWT2;
- uint32_t RESERVED1[1];
- } stc_gpio_pccr_bit_t;
- typedef struct {
- __IO uint32_t WE;
- uint32_t RESERVED0[7];
- __O uint32_t WP0;
- __O uint32_t WP1;
- __O uint32_t WP2;
- __O uint32_t WP3;
- __O uint32_t WP4;
- __O uint32_t WP5;
- __O uint32_t WP6;
- __O uint32_t WP7;
- } stc_gpio_pwpr_bit_t;
- typedef struct {
- __IO uint32_t POUT;
- __IO uint32_t POUTE;
- __IO uint32_t NOD;
- uint32_t RESERVED0[1];
- __IO uint32_t DRV0;
- __IO uint32_t DRV1;
- __IO uint32_t PUU;
- __IO uint32_t PUD;
- __I uint32_t PIN;
- __IO uint32_t INVE;
- __IO uint32_t CINSEL;
- uint32_t RESERVED1[1];
- __IO uint32_t INTE;
- __IO uint32_t PINAE;
- __IO uint32_t LTE;
- __IO uint32_t DDIS;
- } stc_gpio_pcr_bit_t;
- typedef struct {
- __IO uint32_t FSEL0;
- __IO uint32_t FSEL1;
- __IO uint32_t FSEL2;
- __IO uint32_t FSEL3;
- __IO uint32_t FSEL4;
- __IO uint32_t FSEL5;
- uint32_t RESERVED0[2];
- __IO uint32_t BFE;
- uint32_t RESERVED1[7];
- } stc_gpio_pfsr_bit_t;
- typedef struct {
- __IO uint32_t START;
- __IO uint32_t FST_GRP;
- uint32_t RESERVED0[30];
- } stc_hash_cr_bit_t;
- typedef struct {
- __IO uint32_t PE;
- __IO uint32_t SMBUS;
- __IO uint32_t SMBALRTEN;
- __IO uint32_t SMBDEFAULTEN;
- __IO uint32_t SMBHOSTEN;
- uint32_t RESERVED0[1];
- __IO uint32_t ENGC;
- __IO uint32_t RESTART;
- __IO uint32_t START;
- __IO uint32_t STOP;
- __IO uint32_t ACK;
- uint32_t RESERVED1[4];
- __IO uint32_t SWRST;
- uint32_t RESERVED2[16];
- } stc_i2c_cr1_bit_t;
- typedef struct {
- __IO uint32_t STARTIE;
- __IO uint32_t SLADDR0IE;
- __IO uint32_t SLADDR1IE;
- __IO uint32_t TENDIE;
- __IO uint32_t STOPIE;
- uint32_t RESERVED0[1];
- __IO uint32_t RFULLIE;
- __IO uint32_t TEMPTYIE;
- uint32_t RESERVED1[1];
- __IO uint32_t ARLOIE;
- uint32_t RESERVED2[1];
- __IO uint32_t RFREQIE;
- __IO uint32_t NACKIE;
- uint32_t RESERVED3[1];
- __IO uint32_t TMOUTIE;
- uint32_t RESERVED4[5];
- __IO uint32_t GENCALLIE;
- __IO uint32_t SMBDEFAULTIE;
- __IO uint32_t SMBHOSTIE;
- __IO uint32_t SMBALRTIE;
- uint32_t RESERVED5[8];
- } stc_i2c_cr2_bit_t;
- typedef struct {
- __IO uint32_t TMOUTEN;
- __IO uint32_t LTMOUT;
- __IO uint32_t HTMOUT;
- uint32_t RESERVED0[4];
- __IO uint32_t FACKEN;
- uint32_t RESERVED1[24];
- } stc_i2c_cr3_bit_t;
- typedef struct {
- uint32_t RESERVED0[10];
- __IO uint32_t BUSWAIT;
- uint32_t RESERVED1[1];
- __IO uint32_t BUSFREECLREN;
- uint32_t RESERVED2[19];
- } stc_i2c_cr4_bit_t;
- typedef struct {
- uint32_t RESERVED0[12];
- __IO uint32_t SLADDR0EN;
- uint32_t RESERVED1[2];
- __IO uint32_t ADDRMOD0;
- uint32_t RESERVED2[10];
- __IO uint32_t MASKEN0;
- uint32_t RESERVED3[5];
- } stc_i2c_slr0_bit_t;
- typedef struct {
- uint32_t RESERVED0[12];
- __IO uint32_t SLADDR1EN;
- uint32_t RESERVED1[2];
- __IO uint32_t ADDRMOD1;
- uint32_t RESERVED2[10];
- __IO uint32_t MASKEN1;
- uint32_t RESERVED3[5];
- } stc_i2c_slr1_bit_t;
- typedef struct {
- __IO uint32_t STARTF;
- __IO uint32_t SLADDR0F;
- __IO uint32_t SLADDR1F;
- __IO uint32_t TENDF;
- __IO uint32_t STOPF;
- uint32_t RESERVED0[1];
- __IO uint32_t RFULLF;
- __IO uint32_t TEMPTYF;
- uint32_t RESERVED1[1];
- __IO uint32_t ARLOF;
- __IO uint32_t ACKRF;
- uint32_t RESERVED2[1];
- __IO uint32_t NACKF;
- uint32_t RESERVED3[1];
- __IO uint32_t TMOUTF;
- uint32_t RESERVED4[1];
- __IO uint32_t MSL;
- __IO uint32_t BUSY;
- __IO uint32_t TRA;
- uint32_t RESERVED5[1];
- __IO uint32_t GENCALLF;
- __IO uint32_t SMBDEFAULTF;
- __IO uint32_t SMBHOSTF;
- __IO uint32_t SMBALRTF;
- __IO uint32_t TFEMPTY;
- __IO uint32_t TFFULL;
- __IO uint32_t RFEMPTY;
- __IO uint32_t RFFULL;
- __IO uint32_t TFST0;
- __IO uint32_t TFST1;
- uint32_t RESERVED6[1];
- __IO uint32_t RFREQ;
- } stc_i2c_sr_bit_t;
- typedef struct {
- __O uint32_t STARTFCLR;
- __O uint32_t SLADDR0FCLR;
- __O uint32_t SLADDR1FCLR;
- __O uint32_t TENDFCLR;
- __O uint32_t STOPFCLR;
- uint32_t RESERVED0[1];
- __O uint32_t RFULLFCLR;
- __O uint32_t TEMPTYFCLR;
- uint32_t RESERVED1[1];
- __O uint32_t ARLOFCLR;
- __O uint32_t RFREQCLR;
- uint32_t RESERVED2[1];
- __O uint32_t NACKFCLR;
- uint32_t RESERVED3[1];
- __O uint32_t TMOUTFCLR;
- uint32_t RESERVED4[5];
- __O uint32_t GENCALLFCLR;
- __O uint32_t SMBDEFAULTFCLR;
- __O uint32_t SMBHOSTFCLR;
- __O uint32_t SMBALRTFCLR;
- uint32_t RESERVED5[8];
- } stc_i2c_clr_bit_t;
- typedef struct {
- uint32_t RESERVED0[23];
- __IO uint32_t FMPLUSEN;
- uint32_t RESERVED1[8];
- } stc_i2c_ccr_bit_t;
- typedef struct {
- uint32_t RESERVED0[4];
- __IO uint32_t DNFEN;
- __IO uint32_t ANFEN;
- uint32_t RESERVED1[26];
- } stc_i2c_fltr_bit_t;
- typedef struct {
- __IO uint32_t FEN;
- __IO uint32_t TFFLUSH;
- __IO uint32_t RFFLUSH;
- __IO uint32_t NACKTFFLUSH;
- __IO uint32_t TFST0;
- __IO uint32_t TFST1;
- __IO uint32_t RFST0;
- __IO uint32_t RFST1;
- uint32_t RESERVED0[24];
- } stc_i2c_fstr_bit_t;
- typedef struct {
- __I uint32_t SWDTAUTS;
- __I uint32_t SWDTITS;
- __I uint32_t SWDTPERI0;
- __I uint32_t SWDTPERI1;
- uint32_t RESERVED0[8];
- __I uint32_t SWDTSLPOFF;
- uint32_t RESERVED1[3];
- __I uint32_t WDTAUTS;
- __I uint32_t WDTITS;
- __I uint32_t WDTPERI0;
- __I uint32_t WDTPERI1;
- uint32_t RESERVED2[8];
- __I uint32_t WDTSLPOFF;
- uint32_t RESERVED3[3];
- } stc_icg_icg0_bit_t;
- typedef struct {
- __I uint32_t HRCFREQSEL;
- uint32_t RESERVED0[7];
- __I uint32_t HRCSTOP;
- uint32_t RESERVED1[7];
- __I uint32_t BOR_LEV0;
- __I uint32_t BOR_LEV1;
- __I uint32_t BORDIS;
- uint32_t RESERVED2[13];
- } stc_icg_icg1_bit_t;
- typedef struct {
- uint32_t RESERVED0[1];
- __IO uint32_t SWDTEN;
- __IO uint32_t PVD1EN;
- __IO uint32_t PVD2EN;
- uint32_t RESERVED1[1];
- __IO uint32_t XTALSTPEN;
- uint32_t RESERVED2[2];
- __IO uint32_t RPARERREN;
- __IO uint32_t RECCERREN;
- __IO uint32_t BUSERREN;
- __IO uint32_t WDTEN;
- uint32_t RESERVED3[20];
- } stc_intc_nmier_bit_t;
- typedef struct {
- uint32_t RESERVED0[1];
- __IO uint32_t SWDTF;
- __IO uint32_t PVD1F;
- __IO uint32_t PVD2F;
- uint32_t RESERVED1[1];
- __IO uint32_t XTALSTPF;
- uint32_t RESERVED2[2];
- __IO uint32_t RPARERRF;
- __IO uint32_t RECCERRF;
- __IO uint32_t BUSERRF;
- __IO uint32_t WDTF;
- uint32_t RESERVED3[20];
- } stc_intc_nmifr_bit_t;
- typedef struct {
- uint32_t RESERVED0[1];
- __IO uint32_t SWDTFCLR;
- __IO uint32_t PVD1FCLR;
- __IO uint32_t PVD2FCLR;
- uint32_t RESERVED1[1];
- __IO uint32_t XTALSTPFCLR;
- uint32_t RESERVED2[2];
- __IO uint32_t RPARERRFCLR;
- __IO uint32_t RECCERRFCLR;
- __IO uint32_t BUSERRFCLR;
- __IO uint32_t WDTFCLR;
- uint32_t RESERVED3[20];
- } stc_intc_nmifcr_bit_t;
- typedef struct {
- __IO uint32_t EIRQTRG0;
- __IO uint32_t EIRQTRG1;
- uint32_t RESERVED0[2];
- __IO uint32_t EISMPCLK0;
- __IO uint32_t EISMPCLK1;
- uint32_t RESERVED1[1];
- __IO uint32_t EFEN;
- uint32_t RESERVED2[4];
- __IO uint32_t NOCSEL0;
- __IO uint32_t NOCSEL1;
- uint32_t RESERVED3[1];
- __IO uint32_t NOCEN;
- uint32_t RESERVED4[16];
- } stc_intc_eirqcr_bit_t;
- typedef struct {
- __IO uint32_t EIRQWKEN0;
- __IO uint32_t EIRQWKEN1;
- __IO uint32_t EIRQWKEN2;
- __IO uint32_t EIRQWKEN3;
- __IO uint32_t EIRQWKEN4;
- __IO uint32_t EIRQWKEN5;
- __IO uint32_t EIRQWKEN6;
- __IO uint32_t EIRQWKEN7;
- __IO uint32_t EIRQWKEN8;
- __IO uint32_t EIRQWKEN9;
- __IO uint32_t EIRQWKEN10;
- __IO uint32_t EIRQWKEN11;
- __IO uint32_t EIRQWKEN12;
- __IO uint32_t EIRQWKEN13;
- __IO uint32_t EIRQWKEN14;
- __IO uint32_t EIRQWKEN15;
- __IO uint32_t SWDTWKEN;
- __IO uint32_t PVD1WKEN;
- __IO uint32_t PVD2WKEN;
- __IO uint32_t CMP1WKEN;
- __IO uint32_t WKTMWKEN;
- __IO uint32_t RTCALMWKEN;
- __IO uint32_t RTCPRDWKEN;
- __IO uint32_t TMR0CMPWKEN;
- uint32_t RESERVED0[2];
- __IO uint32_t RXWKEN;
- uint32_t RESERVED1[2];
- __IO uint32_t CMP2WKEN;
- __IO uint32_t CMP3WKEN;
- __IO uint32_t CMP4WKEN;
- } stc_intc_wken_bit_t;
- typedef struct {
- __IO uint32_t EIF0;
- __IO uint32_t EIF1;
- __IO uint32_t EIF2;
- __IO uint32_t EIF3;
- __IO uint32_t EIF4;
- __IO uint32_t EIF5;
- __IO uint32_t EIF6;
- __IO uint32_t EIF7;
- __IO uint32_t EIF8;
- __IO uint32_t EIF9;
- __IO uint32_t EIF10;
- __IO uint32_t EIF11;
- __IO uint32_t EIF12;
- __IO uint32_t EIF13;
- __IO uint32_t EIF14;
- __IO uint32_t EIF15;
- uint32_t RESERVED0[16];
- } stc_intc_eifr_bit_t;
- typedef struct {
- __IO uint32_t EIFCLR0;
- __IO uint32_t EIFCLR1;
- __IO uint32_t EIFCLR2;
- __IO uint32_t EIFCLR3;
- __IO uint32_t EIFCLR4;
- __IO uint32_t EIFCLR5;
- __IO uint32_t EIFCLR6;
- __IO uint32_t EIFCLR7;
- __IO uint32_t EIFCLR8;
- __IO uint32_t EIFCLR9;
- __IO uint32_t EIFCLR10;
- __IO uint32_t EIFCLR11;
- __IO uint32_t EIFCLR12;
- __IO uint32_t EIFCLR13;
- __IO uint32_t EIFCLR14;
- __IO uint32_t EIFCLR15;
- uint32_t RESERVED0[16];
- } stc_intc_eifcr_bit_t;
- typedef struct {
- __IO uint32_t INTMSK0;
- __IO uint32_t INTMSK1;
- __IO uint32_t INTMSK2;
- __IO uint32_t INTMSK3;
- __IO uint32_t INTMSK4;
- __IO uint32_t INTMSK5;
- __IO uint32_t INTMSK6;
- __IO uint32_t INTMSK7;
- __IO uint32_t INTMSK8;
- __IO uint32_t INTMSK9;
- __IO uint32_t INTMSK10;
- __IO uint32_t INTMSK11;
- __IO uint32_t INTMSK12;
- __IO uint32_t INTMSK13;
- __IO uint32_t INTMSK14;
- __IO uint32_t INTMSK15;
- __IO uint32_t INTMSK16;
- __IO uint32_t INTMSK17;
- __IO uint32_t INTMSK18;
- __IO uint32_t INTMSK19;
- __IO uint32_t INTMSK20;
- __IO uint32_t INTMSK21;
- __IO uint32_t INTMSK22;
- __IO uint32_t INTMSK23;
- __IO uint32_t INTMSK24;
- __IO uint32_t INTMSK25;
- __IO uint32_t INTMSK26;
- __IO uint32_t INTMSK27;
- __IO uint32_t INTMSK28;
- __IO uint32_t INTMSK29;
- __IO uint32_t INTMSK30;
- __IO uint32_t INTMSK31;
- } stc_intc_intmsk0_bit_t;
- typedef struct {
- __IO uint32_t INTMSK32;
- __IO uint32_t INTMSK33;
- __IO uint32_t INTMSK34;
- __IO uint32_t INTMSK35;
- __IO uint32_t INTMSK36;
- __IO uint32_t INTMSK37;
- __IO uint32_t INTMSK38;
- __IO uint32_t INTMSK39;
- __IO uint32_t INTMSK40;
- __IO uint32_t INTMSK41;
- __IO uint32_t INTMSK42;
- __IO uint32_t INTMSK43;
- __IO uint32_t INTMSK44;
- __IO uint32_t INTMSK45;
- __IO uint32_t INTMSK46;
- __IO uint32_t INTMSK47;
- __IO uint32_t INTMSK48;
- __IO uint32_t INTMSK49;
- __IO uint32_t INTMSK50;
- __IO uint32_t INTMSK51;
- __IO uint32_t INTMSK52;
- __IO uint32_t INTMSK53;
- __IO uint32_t INTMSK54;
- __IO uint32_t INTMSK55;
- __IO uint32_t INTMSK56;
- __IO uint32_t INTMSK57;
- __IO uint32_t INTMSK58;
- __IO uint32_t INTMSK59;
- __IO uint32_t INTMSK60;
- __IO uint32_t INTMSK61;
- __IO uint32_t INTMSK62;
- __IO uint32_t INTMSK63;
- } stc_intc_intmsk1_bit_t;
- typedef struct {
- __IO uint32_t INTMSK64;
- __IO uint32_t INTMSK65;
- __IO uint32_t INTMSK66;
- __IO uint32_t INTMSK67;
- __IO uint32_t INTMSK68;
- __IO uint32_t INTMSK69;
- __IO uint32_t INTMSK70;
- __IO uint32_t INTMSK71;
- __IO uint32_t INTMSK72;
- __IO uint32_t INTMSK73;
- __IO uint32_t INTMSK74;
- __IO uint32_t INTMSK75;
- __IO uint32_t INTMSK76;
- __IO uint32_t INTMSK77;
- __IO uint32_t INTMSK78;
- __IO uint32_t INTMSK79;
- __IO uint32_t INTMSK80;
- __IO uint32_t INTMSK81;
- __IO uint32_t INTMSK82;
- __IO uint32_t INTMSK83;
- __IO uint32_t INTMSK84;
- __IO uint32_t INTMSK85;
- __IO uint32_t INTMSK86;
- __IO uint32_t INTMSK87;
- __IO uint32_t INTMSK88;
- __IO uint32_t INTMSK89;
- __IO uint32_t INTMSK90;
- __IO uint32_t INTMSK91;
- __IO uint32_t INTMSK92;
- __IO uint32_t INTMSK93;
- __IO uint32_t INTMSK94;
- __IO uint32_t INTMSK95;
- } stc_intc_intmsk2_bit_t;
- typedef struct {
- __IO uint32_t INTMSK96;
- __IO uint32_t INTMSK97;
- __IO uint32_t INTMSK98;
- __IO uint32_t INTMSK99;
- __IO uint32_t INTMSK100;
- __IO uint32_t INTMSK101;
- __IO uint32_t INTMSK102;
- __IO uint32_t INTMSK103;
- __IO uint32_t INTMSK104;
- __IO uint32_t INTMSK105;
- __IO uint32_t INTMSK106;
- __IO uint32_t INTMSK107;
- __IO uint32_t INTMSK108;
- __IO uint32_t INTMSK109;
- __IO uint32_t INTMSK110;
- __IO uint32_t INTMSK111;
- __IO uint32_t INTMSK112;
- __IO uint32_t INTMSK113;
- __IO uint32_t INTMSK114;
- __IO uint32_t INTMSK115;
- __IO uint32_t INTMSK116;
- __IO uint32_t INTMSK117;
- __IO uint32_t INTMSK118;
- __IO uint32_t INTMSK119;
- __IO uint32_t INTMSK120;
- __IO uint32_t INTMSK121;
- __IO uint32_t INTMSK122;
- __IO uint32_t INTMSK123;
- __IO uint32_t INTMSK124;
- __IO uint32_t INTMSK125;
- __IO uint32_t INTMSK126;
- __IO uint32_t INTMSK127;
- } stc_intc_intmsk3_bit_t;
- typedef struct {
- __IO uint32_t INTMSK128;
- __IO uint32_t INTMSK129;
- __IO uint32_t INTMSK130;
- __IO uint32_t INTMSK131;
- __IO uint32_t INTMSK132;
- __IO uint32_t INTMSK133;
- __IO uint32_t INTMSK134;
- __IO uint32_t INTMSK135;
- __IO uint32_t INTMSK136;
- __IO uint32_t INTMSK137;
- __IO uint32_t INTMSK138;
- __IO uint32_t INTMSK139;
- __IO uint32_t INTMSK140;
- __IO uint32_t INTMSK141;
- __IO uint32_t INTMSK142;
- __IO uint32_t INTMSK143;
- __IO uint32_t INTMSK144;
- __IO uint32_t INTMSK145;
- __IO uint32_t INTMSK146;
- __IO uint32_t INTMSK147;
- __IO uint32_t INTMSK148;
- __IO uint32_t INTMSK149;
- __IO uint32_t INTMSK150;
- __IO uint32_t INTMSK151;
- __IO uint32_t INTMSK152;
- __IO uint32_t INTMSK153;
- __IO uint32_t INTMSK154;
- __IO uint32_t INTMSK155;
- __IO uint32_t INTMSK156;
- __IO uint32_t INTMSK157;
- __IO uint32_t INTMSK158;
- __IO uint32_t INTMSK159;
- } stc_intc_intmsk4_bit_t;
- typedef struct {
- __IO uint32_t INTMSK260;
- __IO uint32_t INTMSK261;
- __IO uint32_t INTMSK262;
- __IO uint32_t INTMSK263;
- __IO uint32_t INTMSK264;
- __IO uint32_t INTMSK265;
- __IO uint32_t INTMSK266;
- __IO uint32_t INTMSK267;
- __IO uint32_t INTMSK268;
- __IO uint32_t INTMSK269;
- __IO uint32_t INTMSK270;
- __IO uint32_t INTMSK271;
- __IO uint32_t INTMSK272;
- __IO uint32_t INTMSK273;
- __IO uint32_t INTMSK274;
- __IO uint32_t INTMSK275;
- __IO uint32_t INTMSK276;
- __IO uint32_t INTMSK277;
- __IO uint32_t INTMSK278;
- __IO uint32_t INTMSK279;
- __IO uint32_t INTMSK280;
- __IO uint32_t INTMSK281;
- __IO uint32_t INTMSK282;
- __IO uint32_t INTMSK283;
- __IO uint32_t INTMSK284;
- __IO uint32_t INTMSK285;
- __IO uint32_t INTMSK286;
- __IO uint32_t INTMSK287;
- __IO uint32_t INTMSK288;
- __IO uint32_t INTMSK289;
- __IO uint32_t INTMSK290;
- __IO uint32_t INTMSK291;
- } stc_intc_intmsk5_bit_t;
- typedef struct {
- __IO uint32_t INTMSK192;
- __IO uint32_t INTMSK193;
- __IO uint32_t INTMSK194;
- __IO uint32_t INTMSK195;
- __IO uint32_t INTMSK196;
- __IO uint32_t INTMSK197;
- __IO uint32_t INTMSK198;
- __IO uint32_t INTMSK199;
- __IO uint32_t INTMSK200;
- __IO uint32_t INTMSK201;
- __IO uint32_t INTMSK202;
- __IO uint32_t INTMSK203;
- __IO uint32_t INTMSK204;
- __IO uint32_t INTMSK205;
- __IO uint32_t INTMSK206;
- __IO uint32_t INTMSK207;
- __IO uint32_t INTMSK208;
- __IO uint32_t INTMSK209;
- __IO uint32_t INTMSK210;
- __IO uint32_t INTMSK211;
- __IO uint32_t INTMSK212;
- __IO uint32_t INTMSK213;
- __IO uint32_t INTMSK214;
- __IO uint32_t INTMSK215;
- __IO uint32_t INTMSK216;
- __IO uint32_t INTMSK217;
- __IO uint32_t INTMSK218;
- __IO uint32_t INTMSK219;
- __IO uint32_t INTMSK220;
- __IO uint32_t INTMSK221;
- __IO uint32_t INTMSK222;
- __IO uint32_t INTMSK223;
- } stc_intc_intmsk6_bit_t;
- typedef struct {
- __IO uint32_t INTMSK224;
- __IO uint32_t INTMSK225;
- __IO uint32_t INTMSK226;
- __IO uint32_t INTMSK227;
- __IO uint32_t INTMSK228;
- __IO uint32_t INTMSK229;
- __IO uint32_t INTMSK230;
- __IO uint32_t INTMSK231;
- __IO uint32_t INTMSK232;
- __IO uint32_t INTMSK233;
- __IO uint32_t INTMSK234;
- __IO uint32_t INTMSK235;
- __IO uint32_t INTMSK236;
- __IO uint32_t INTMSK237;
- __IO uint32_t INTMSK238;
- __IO uint32_t INTMSK239;
- __IO uint32_t INTMSK240;
- __IO uint32_t INTMSK241;
- __IO uint32_t INTMSK242;
- __IO uint32_t INTMSK243;
- __IO uint32_t INTMSK244;
- __IO uint32_t INTMSK245;
- __IO uint32_t INTMSK246;
- __IO uint32_t INTMSK247;
- __IO uint32_t INTMSK248;
- __IO uint32_t INTMSK249;
- __IO uint32_t INTMSK250;
- __IO uint32_t INTMSK251;
- __IO uint32_t INTMSK252;
- __IO uint32_t INTMSK253;
- __IO uint32_t INTMSK254;
- __IO uint32_t INTMSK255;
- } stc_intc_intmsk7_bit_t;
- typedef struct {
- __IO uint32_t INTMSK256;
- __IO uint32_t INTMSK257;
- __IO uint32_t INTMSK258;
- __IO uint32_t INTMSK259;
- __IO uint32_t INTMSK260;
- __IO uint32_t INTMSK261;
- __IO uint32_t INTMSK262;
- __IO uint32_t INTMSK263;
- __IO uint32_t INTMSK264;
- __IO uint32_t INTMSK265;
- __IO uint32_t INTMSK266;
- __IO uint32_t INTMSK267;
- __IO uint32_t INTMSK268;
- __IO uint32_t INTMSK269;
- __IO uint32_t INTMSK270;
- __IO uint32_t INTMSK271;
- __IO uint32_t INTMSK272;
- __IO uint32_t INTMSK273;
- __IO uint32_t INTMSK274;
- __IO uint32_t INTMSK275;
- __IO uint32_t INTMSK276;
- __IO uint32_t INTMSK277;
- __IO uint32_t INTMSK278;
- __IO uint32_t INTMSK279;
- __IO uint32_t INTMSK280;
- __IO uint32_t INTMSK281;
- __IO uint32_t INTMSK282;
- __IO uint32_t INTMSK283;
- __IO uint32_t INTMSK284;
- __IO uint32_t INTMSK285;
- __IO uint32_t INTMSK286;
- __IO uint32_t INTMSK287;
- } stc_intc_intmsk8_bit_t;
- typedef struct {
- __IO uint32_t INTMSK288;
- __IO uint32_t INTMSK289;
- __IO uint32_t INTMSK290;
- __IO uint32_t INTMSK291;
- __IO uint32_t INTMSK292;
- __IO uint32_t INTMSK293;
- __IO uint32_t INTMSK294;
- __IO uint32_t INTMSK295;
- __IO uint32_t INTMSK296;
- __IO uint32_t INTMSK297;
- __IO uint32_t INTMSK298;
- __IO uint32_t INTMSK299;
- __IO uint32_t INTMSK300;
- __IO uint32_t INTMSK301;
- __IO uint32_t INTMSK302;
- __IO uint32_t INTMSK303;
- __IO uint32_t INTMSK304;
- __IO uint32_t INTMSK305;
- __IO uint32_t INTMSK306;
- __IO uint32_t INTMSK307;
- __IO uint32_t INTMSK308;
- __IO uint32_t INTMSK309;
- __IO uint32_t INTMSK310;
- __IO uint32_t INTMSK311;
- __IO uint32_t INTMSK312;
- __IO uint32_t INTMSK313;
- __IO uint32_t INTMSK314;
- __IO uint32_t INTMSK315;
- __IO uint32_t INTMSK316;
- __IO uint32_t INTMSK317;
- __IO uint32_t INTMSK318;
- __IO uint32_t INTMSK319;
- } stc_intc_intmsk9_bit_t;
- typedef struct {
- __IO uint32_t INTMSK320;
- __IO uint32_t INTMSK321;
- __IO uint32_t INTMSK322;
- __IO uint32_t INTMSK323;
- __IO uint32_t INTMSK324;
- __IO uint32_t INTMSK325;
- __IO uint32_t INTMSK326;
- __IO uint32_t INTMSK327;
- __IO uint32_t INTMSK328;
- __IO uint32_t INTMSK329;
- __IO uint32_t INTMSK330;
- __IO uint32_t INTMSK331;
- __IO uint32_t INTMSK332;
- __IO uint32_t INTMSK333;
- __IO uint32_t INTMSK334;
- __IO uint32_t INTMSK335;
- __IO uint32_t INTMSK336;
- __IO uint32_t INTMSK337;
- __IO uint32_t INTMSK338;
- __IO uint32_t INTMSK339;
- __IO uint32_t INTMSK340;
- __IO uint32_t INTMSK341;
- __IO uint32_t INTMSK342;
- __IO uint32_t INTMSK343;
- __IO uint32_t INTMSK344;
- __IO uint32_t INTMSK345;
- __IO uint32_t INTMSK346;
- __IO uint32_t INTMSK347;
- __IO uint32_t INTMSK348;
- __IO uint32_t INTMSK349;
- __IO uint32_t INTMSK350;
- __IO uint32_t INTMSK351;
- } stc_intc_intmsk10_bit_t;
- typedef struct {
- __IO uint32_t INTMSK352;
- __IO uint32_t INTMSK353;
- __IO uint32_t INTMSK354;
- __IO uint32_t INTMSK355;
- __IO uint32_t INTMSK356;
- __IO uint32_t INTMSK357;
- __IO uint32_t INTMSK358;
- __IO uint32_t INTMSK359;
- __IO uint32_t INTMSK360;
- __IO uint32_t INTMSK361;
- __IO uint32_t INTMSK362;
- __IO uint32_t INTMSK363;
- __IO uint32_t INTMSK364;
- __IO uint32_t INTMSK365;
- __IO uint32_t INTMSK366;
- __IO uint32_t INTMSK367;
- __IO uint32_t INTMSK368;
- __IO uint32_t INTMSK369;
- __IO uint32_t INTMSK370;
- __IO uint32_t INTMSK371;
- __IO uint32_t INTMSK372;
- __IO uint32_t INTMSK373;
- __IO uint32_t INTMSK374;
- __IO uint32_t INTMSK375;
- __IO uint32_t INTMSK376;
- __IO uint32_t INTMSK377;
- __IO uint32_t INTMSK378;
- __IO uint32_t INTMSK379;
- __IO uint32_t INTMSK380;
- __IO uint32_t INTMSK381;
- __IO uint32_t INTMSK382;
- __IO uint32_t INTMSK383;
- } stc_intc_intmsk11_bit_t;
- typedef struct {
- __IO uint32_t INTMSK384;
- __IO uint32_t INTMSK385;
- __IO uint32_t INTMSK386;
- __IO uint32_t INTMSK387;
- __IO uint32_t INTMSK388;
- __IO uint32_t INTMSK389;
- __IO uint32_t INTMSK390;
- __IO uint32_t INTMSK391;
- __IO uint32_t INTMSK392;
- __IO uint32_t INTMSK393;
- __IO uint32_t INTMSK394;
- __IO uint32_t INTMSK395;
- __IO uint32_t INTMSK396;
- __IO uint32_t INTMSK397;
- __IO uint32_t INTMSK398;
- __IO uint32_t INTMSK399;
- __IO uint32_t INTMSK400;
- __IO uint32_t INTMSK401;
- __IO uint32_t INTMSK402;
- __IO uint32_t INTMSK403;
- __IO uint32_t INTMSK404;
- __IO uint32_t INTMSK405;
- __IO uint32_t INTMSK406;
- __IO uint32_t INTMSK407;
- __IO uint32_t INTMSK408;
- __IO uint32_t INTMSK409;
- __IO uint32_t INTMSK410;
- __IO uint32_t INTMSK411;
- __IO uint32_t INTMSK412;
- __IO uint32_t INTMSK413;
- __IO uint32_t INTMSK414;
- __IO uint32_t INTMSK415;
- } stc_intc_intmsk12_bit_t;
- typedef struct {
- __IO uint32_t INTMSK416;
- __IO uint32_t INTMSK417;
- __IO uint32_t INTMSK418;
- __IO uint32_t INTMSK419;
- __IO uint32_t INTMSK420;
- __IO uint32_t INTMSK421;
- __IO uint32_t INTMSK422;
- __IO uint32_t INTMSK423;
- __IO uint32_t INTMSK424;
- __IO uint32_t INTMSK425;
- __IO uint32_t INTMSK426;
- __IO uint32_t INTMSK427;
- __IO uint32_t INTMSK428;
- __IO uint32_t INTMSK429;
- __IO uint32_t INTMSK430;
- __IO uint32_t INTMSK431;
- __IO uint32_t INTMSK432;
- __IO uint32_t INTMSK433;
- __IO uint32_t INTMSK434;
- __IO uint32_t INTMSK435;
- __IO uint32_t INTMSK436;
- __IO uint32_t INTMSK437;
- __IO uint32_t INTMSK438;
- __IO uint32_t INTMSK439;
- __IO uint32_t INTMSK440;
- __IO uint32_t INTMSK441;
- __IO uint32_t INTMSK442;
- __IO uint32_t INTMSK443;
- __IO uint32_t INTMSK444;
- __IO uint32_t INTMSK445;
- __IO uint32_t INTMSK446;
- __IO uint32_t INTMSK447;
- } stc_intc_intmsk13_bit_t;
- typedef struct {
- __IO uint32_t INTMSK448;
- __IO uint32_t INTMSK449;
- __IO uint32_t INTMSK450;
- __IO uint32_t INTMSK451;
- __IO uint32_t INTMSK452;
- __IO uint32_t INTMSK453;
- __IO uint32_t INTMSK454;
- __IO uint32_t INTMSK455;
- __IO uint32_t INTMSK456;
- __IO uint32_t INTMSK457;
- __IO uint32_t INTMSK458;
- __IO uint32_t INTMSK459;
- __IO uint32_t INTMSK460;
- __IO uint32_t INTMSK461;
- __IO uint32_t INTMSK462;
- __IO uint32_t INTMSK463;
- __IO uint32_t INTMSK464;
- __IO uint32_t INTMSK465;
- __IO uint32_t INTMSK466;
- __IO uint32_t INTMSK467;
- __IO uint32_t INTMSK468;
- __IO uint32_t INTMSK469;
- __IO uint32_t INTMSK470;
- __IO uint32_t INTMSK471;
- __IO uint32_t INTMSK472;
- __IO uint32_t INTMSK473;
- __IO uint32_t INTMSK474;
- __IO uint32_t INTMSK475;
- __IO uint32_t INTMSK476;
- __IO uint32_t INTMSK477;
- __IO uint32_t INTMSK478;
- __IO uint32_t INTMSK479;
- } stc_intc_intmsk14_bit_t;
- typedef struct {
- __IO uint32_t INTMSK480;
- __IO uint32_t INTMSK481;
- __IO uint32_t INTMSK482;
- __IO uint32_t INTMSK483;
- __IO uint32_t INTMSK484;
- __IO uint32_t INTMSK485;
- __IO uint32_t INTMSK486;
- __IO uint32_t INTMSK487;
- __IO uint32_t INTMSK488;
- __IO uint32_t INTMSK489;
- __IO uint32_t INTMSK490;
- __IO uint32_t INTMSK491;
- __IO uint32_t INTMSK492;
- __IO uint32_t INTMSK493;
- __IO uint32_t INTMSK494;
- __IO uint32_t INTMSK495;
- __IO uint32_t INTMSK496;
- __IO uint32_t INTMSK497;
- __IO uint32_t INTMSK498;
- __IO uint32_t INTMSK499;
- __IO uint32_t INTMSK500;
- __IO uint32_t INTMSK501;
- __IO uint32_t INTMSK502;
- __IO uint32_t INTMSK503;
- __IO uint32_t INTMSK504;
- __IO uint32_t INTMSK505;
- __IO uint32_t INTMSK506;
- __IO uint32_t INTMSK507;
- __IO uint32_t INTMSK508;
- __IO uint32_t INTMSK509;
- __IO uint32_t INTMSK510;
- __IO uint32_t INTMSK511;
- } stc_intc_intmsk15_bit_t;
- typedef struct {
- __IO uint32_t SWIE0;
- __IO uint32_t SWIE1;
- __IO uint32_t SWIE2;
- __IO uint32_t SWIE3;
- __IO uint32_t SWIE4;
- __IO uint32_t SWIE5;
- __IO uint32_t SWIE6;
- __IO uint32_t SWIE7;
- __IO uint32_t SWIE8;
- __IO uint32_t SWIE9;
- __IO uint32_t SWIE10;
- __IO uint32_t SWIE11;
- __IO uint32_t SWIE12;
- __IO uint32_t SWIE13;
- __IO uint32_t SWIE14;
- __IO uint32_t SWIE15;
- __IO uint32_t SWIE16;
- __IO uint32_t SWIE17;
- __IO uint32_t SWIE18;
- __IO uint32_t SWIE19;
- __IO uint32_t SWIE20;
- __IO uint32_t SWIE21;
- __IO uint32_t SWIE22;
- __IO uint32_t SWIE23;
- __IO uint32_t SWIE24;
- __IO uint32_t SWIE25;
- __IO uint32_t SWIE26;
- __IO uint32_t SWIE27;
- __IO uint32_t SWIE28;
- __IO uint32_t SWIE29;
- __IO uint32_t SWIE30;
- __IO uint32_t SWIE31;
- } stc_intc_swier_bit_t;
- typedef struct {
- __IO uint32_t EVTE0;
- __IO uint32_t EVTE1;
- __IO uint32_t EVTE2;
- __IO uint32_t EVTE3;
- __IO uint32_t EVTE4;
- __IO uint32_t EVTE5;
- __IO uint32_t EVTE6;
- __IO uint32_t EVTE7;
- __IO uint32_t EVTE8;
- __IO uint32_t EVTE9;
- __IO uint32_t EVTE10;
- __IO uint32_t EVTE11;
- __IO uint32_t EVTE12;
- __IO uint32_t EVTE13;
- __IO uint32_t EVTE14;
- __IO uint32_t EVTE15;
- __IO uint32_t EVTE16;
- __IO uint32_t EVTE17;
- __IO uint32_t EVTE18;
- __IO uint32_t EVTE19;
- __IO uint32_t EVTE20;
- __IO uint32_t EVTE21;
- __IO uint32_t EVTE22;
- __IO uint32_t EVTE23;
- __IO uint32_t EVTE24;
- __IO uint32_t EVTE25;
- __IO uint32_t EVTE26;
- __IO uint32_t EVTE27;
- __IO uint32_t EVTE28;
- __IO uint32_t EVTE29;
- __IO uint32_t EVTE30;
- __IO uint32_t EVTE31;
- } stc_intc_evter_bit_t;
- typedef struct {
- __IO uint32_t IEN0;
- __IO uint32_t IEN1;
- __IO uint32_t IEN2;
- __IO uint32_t IEN3;
- __IO uint32_t IEN4;
- __IO uint32_t IEN5;
- __IO uint32_t IEN6;
- __IO uint32_t IEN7;
- __IO uint32_t IEN8;
- __IO uint32_t IEN9;
- __IO uint32_t IEN10;
- __IO uint32_t IEN11;
- __IO uint32_t IEN12;
- __IO uint32_t IEN13;
- __IO uint32_t IEN14;
- __IO uint32_t IEN15;
- __IO uint32_t IEN16;
- __IO uint32_t IEN17;
- __IO uint32_t IEN18;
- __IO uint32_t IEN19;
- __IO uint32_t IEN20;
- __IO uint32_t IEN21;
- __IO uint32_t IEN22;
- __IO uint32_t IEN23;
- __IO uint32_t IEN24;
- __IO uint32_t IEN25;
- __IO uint32_t IEN26;
- __IO uint32_t IEN27;
- __IO uint32_t IEN28;
- __IO uint32_t IEN29;
- __IO uint32_t IEN30;
- __IO uint32_t IEN31;
- } stc_intc_ier_bit_t;
- typedef struct {
- __IO uint32_t KEYINSEL0;
- __IO uint32_t KEYINSEL1;
- __IO uint32_t KEYINSEL2;
- __IO uint32_t KEYINSEL3;
- __IO uint32_t KEYINSEL4;
- __IO uint32_t KEYINSEL5;
- __IO uint32_t KEYINSEL6;
- __IO uint32_t KEYINSEL7;
- __IO uint32_t KEYINSEL8;
- __IO uint32_t KEYINSEL9;
- __IO uint32_t KEYINSEL10;
- __IO uint32_t KEYINSEL11;
- __IO uint32_t KEYINSEL12;
- __IO uint32_t KEYINSEL13;
- __IO uint32_t KEYINSEL14;
- __IO uint32_t KEYINSEL15;
- uint32_t RESERVED0[4];
- __IO uint32_t CKSEL0;
- __IO uint32_t CKSEL1;
- uint32_t RESERVED1[10];
- } stc_keyscan_scr_bit_t;
- typedef struct {
- __IO uint32_t SEN;
- uint32_t RESERVED0[31];
- } stc_keyscan_ser_bit_t;
- typedef struct {
- uint32_t RESERVED0[23];
- __IO uint32_t TDC;
- uint32_t RESERVED1[8];
- } stc_mcan_dbtp_bit_t;
- typedef struct {
- uint32_t RESERVED0[4];
- __IO uint32_t LBCK;
- __IO uint32_t TX0;
- __IO uint32_t TX1;
- __I uint32_t RX;
- uint32_t RESERVED1[5];
- __I uint32_t PVAL;
- uint32_t RESERVED2[7];
- __I uint32_t SVAL;
- uint32_t RESERVED3[10];
- } stc_mcan_test_bit_t;
- typedef struct {
- __IO uint32_t INIT;
- __IO uint32_t CCE;
- __IO uint32_t ASM;
- __I uint32_t CSA;
- __IO uint32_t CSR;
- __IO uint32_t MON;
- __IO uint32_t DAR;
- __IO uint32_t TEST;
- __IO uint32_t FDOE;
- __IO uint32_t BRSE;
- __IO uint32_t UTSU;
- __IO uint32_t WMM;
- __IO uint32_t PXHD;
- __IO uint32_t EFBI;
- __IO uint32_t TXP;
- __IO uint32_t NISO;
- uint32_t RESERVED0[16];
- } stc_mcan_cccr_bit_t;
- typedef struct {
- __IO uint32_t TSS0;
- __IO uint32_t TSS1;
- uint32_t RESERVED0[30];
- } stc_mcan_tscc_bit_t;
- typedef struct {
- __IO uint32_t ETOC;
- __IO uint32_t TOS0;
- __IO uint32_t TOS1;
- uint32_t RESERVED0[29];
- } stc_mcan_tocc_bit_t;
- typedef struct {
- uint32_t RESERVED0[15];
- __I uint32_t RP;
- uint32_t RESERVED1[16];
- } stc_mcan_ecr_bit_t;
- typedef struct {
- uint32_t RESERVED0[3];
- __I uint32_t ACT0;
- __I uint32_t ACT1;
- __I uint32_t EP;
- __I uint32_t EW;
- __I uint32_t BO;
- uint32_t RESERVED1[3];
- __I uint32_t RESI;
- __I uint32_t RBRS;
- __I uint32_t RFDF;
- __I uint32_t PXE;
- uint32_t RESERVED2[17];
- } stc_mcan_psr_bit_t;
- typedef struct {
- __IO uint32_t RF0N;
- __IO uint32_t RF0W;
- __IO uint32_t RF0F;
- __IO uint32_t RF0L;
- __IO uint32_t RF1N;
- __IO uint32_t RF1W;
- __IO uint32_t RF1F;
- __IO uint32_t RF1L;
- __IO uint32_t HPM;
- __IO uint32_t TC;
- __IO uint32_t TCF;
- __IO uint32_t TFE;
- __IO uint32_t TEFN;
- __IO uint32_t TEFW;
- __IO uint32_t TEFF;
- __IO uint32_t TEFL;
- __IO uint32_t TSW;
- __IO uint32_t MRAF;
- __IO uint32_t TOO;
- __IO uint32_t DRX;
- __IO uint32_t BEC;
- __IO uint32_t BEU;
- __IO uint32_t ELO;
- __IO uint32_t EP;
- __IO uint32_t EW;
- __IO uint32_t BO;
- __IO uint32_t WDI;
- __IO uint32_t PEA;
- __IO uint32_t PED;
- __IO uint32_t ARA;
- uint32_t RESERVED0[2];
- } stc_mcan_ir_bit_t;
- typedef struct {
- __IO uint32_t RF0NE;
- __IO uint32_t RF0WE;
- __IO uint32_t RF0FE;
- __IO uint32_t RF0LE;
- __IO uint32_t RF1NE;
- __IO uint32_t RF1WE;
- __IO uint32_t RF1FE;
- __IO uint32_t RF1LE;
- __IO uint32_t HPME;
- __IO uint32_t TCE;
- __IO uint32_t TCFE;
- __IO uint32_t TFEE;
- __IO uint32_t TEFNE;
- __IO uint32_t TEFWE;
- __IO uint32_t TEFFE;
- __IO uint32_t TEFLE;
- __IO uint32_t TSWE;
- __IO uint32_t MRAFE;
- __IO uint32_t TOOE;
- __IO uint32_t DRXE;
- __IO uint32_t BECE;
- __IO uint32_t BEUE;
- __IO uint32_t ELOE;
- __IO uint32_t EPE;
- __IO uint32_t EWE;
- __IO uint32_t BOE;
- __IO uint32_t WDIE;
- __IO uint32_t PEAE;
- __IO uint32_t PEDE;
- __IO uint32_t ARAE;
- uint32_t RESERVED0[2];
- } stc_mcan_ie_bit_t;
- typedef struct {
- __IO uint32_t RF0NL;
- __IO uint32_t RF0WL;
- __IO uint32_t RF0FL;
- __IO uint32_t RF0LL;
- __IO uint32_t RF1NL;
- __IO uint32_t RF1WL;
- __IO uint32_t RF1FL;
- __IO uint32_t RF1LL;
- __IO uint32_t HPML;
- __IO uint32_t TCL;
- __IO uint32_t TCFL;
- __IO uint32_t TFEL;
- __IO uint32_t TEFNL;
- __IO uint32_t TEFWL;
- __IO uint32_t TEFFL;
- __IO uint32_t TEFLL;
- __IO uint32_t TSWL;
- __IO uint32_t MRAFL;
- __IO uint32_t TOOL;
- __IO uint32_t DRXL;
- __IO uint32_t BECL;
- __IO uint32_t BEUL;
- __IO uint32_t ELOL;
- __IO uint32_t EPL;
- __IO uint32_t EWL;
- __IO uint32_t BOL;
- __IO uint32_t WDIL;
- __IO uint32_t PEAL;
- __IO uint32_t PEDL;
- __IO uint32_t ARAL;
- uint32_t RESERVED0[2];
- } stc_mcan_ils_bit_t;
- typedef struct {
- __IO uint32_t EINT0;
- __IO uint32_t EINT1;
- uint32_t RESERVED0[30];
- } stc_mcan_ile_bit_t;
- typedef struct {
- __IO uint32_t RRFE;
- __IO uint32_t RRFS;
- __IO uint32_t ANFE0;
- __IO uint32_t ANFE1;
- __IO uint32_t ANFS0;
- __IO uint32_t ANFS1;
- uint32_t RESERVED0[26];
- } stc_mcan_gfc_bit_t;
- typedef struct {
- uint32_t RESERVED0[6];
- __I uint32_t MSI0;
- __I uint32_t MSI1;
- uint32_t RESERVED1[7];
- __I uint32_t FLST;
- uint32_t RESERVED2[16];
- } stc_mcan_hpms_bit_t;
- typedef struct {
- __IO uint32_t ND0;
- __IO uint32_t ND1;
- __IO uint32_t ND2;
- __IO uint32_t ND3;
- __IO uint32_t ND4;
- __IO uint32_t ND5;
- __IO uint32_t ND6;
- __IO uint32_t ND7;
- __IO uint32_t ND8;
- __IO uint32_t ND9;
- __IO uint32_t ND10;
- __IO uint32_t ND11;
- __IO uint32_t ND12;
- __IO uint32_t ND13;
- __IO uint32_t ND14;
- __IO uint32_t ND15;
- __IO uint32_t ND16;
- __IO uint32_t ND17;
- __IO uint32_t ND18;
- __IO uint32_t ND19;
- __IO uint32_t ND20;
- __IO uint32_t ND21;
- __IO uint32_t ND22;
- __IO uint32_t ND23;
- __IO uint32_t ND24;
- __IO uint32_t ND25;
- __IO uint32_t ND26;
- __IO uint32_t ND27;
- __IO uint32_t ND28;
- __IO uint32_t ND29;
- __IO uint32_t ND30;
- __IO uint32_t ND31;
- } stc_mcan_ndat1_bit_t;
- typedef struct {
- __IO uint32_t ND32;
- __IO uint32_t ND33;
- __IO uint32_t ND34;
- __IO uint32_t ND35;
- __IO uint32_t ND36;
- __IO uint32_t ND37;
- __IO uint32_t ND38;
- __IO uint32_t ND39;
- __IO uint32_t ND40;
- __IO uint32_t ND41;
- __IO uint32_t ND42;
- __IO uint32_t ND43;
- __IO uint32_t ND44;
- __IO uint32_t ND45;
- __IO uint32_t ND46;
- __IO uint32_t ND47;
- __IO uint32_t ND48;
- __IO uint32_t ND49;
- __IO uint32_t ND50;
- __IO uint32_t ND51;
- __IO uint32_t ND52;
- __IO uint32_t ND53;
- __IO uint32_t ND54;
- __IO uint32_t ND55;
- __IO uint32_t ND56;
- __IO uint32_t ND57;
- __IO uint32_t ND58;
- __IO uint32_t ND59;
- __IO uint32_t ND60;
- __IO uint32_t ND61;
- __IO uint32_t ND62;
- __IO uint32_t ND63;
- } stc_mcan_ndat2_bit_t;
- typedef struct {
- uint32_t RESERVED0[31];
- __IO uint32_t F0OM;
- } stc_mcan_rxf0c_bit_t;
- typedef struct {
- uint32_t RESERVED0[24];
- __I uint32_t F0F;
- __I uint32_t RF0L;
- uint32_t RESERVED1[6];
- } stc_mcan_rxf0s_bit_t;
- typedef struct {
- uint32_t RESERVED0[31];
- __IO uint32_t F1OM;
- } stc_mcan_rxf1c_bit_t;
- typedef struct {
- uint32_t RESERVED0[24];
- __I uint32_t F1F;
- __I uint32_t RF1L;
- uint32_t RESERVED1[4];
- __I uint32_t DMS0;
- __I uint32_t DMS1;
- } stc_mcan_rxf1s_bit_t;
- typedef struct {
- __IO uint32_t F0DS0;
- __IO uint32_t F0DS1;
- __IO uint32_t F0DS2;
- uint32_t RESERVED0[1];
- __IO uint32_t F1DS0;
- __IO uint32_t F1DS1;
- __IO uint32_t F1DS2;
- uint32_t RESERVED1[1];
- __IO uint32_t RBDS0;
- __IO uint32_t RBDS1;
- __IO uint32_t RBDS2;
- uint32_t RESERVED2[21];
- } stc_mcan_rxesc_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t TFQM;
- uint32_t RESERVED1[1];
- } stc_mcan_txbc_bit_t;
- typedef struct {
- uint32_t RESERVED0[21];
- __I uint32_t TFQF;
- uint32_t RESERVED1[10];
- } stc_mcan_txfqs_bit_t;
- typedef struct {
- __I uint32_t TRP0;
- __I uint32_t TRP1;
- __I uint32_t TRP2;
- __I uint32_t TRP3;
- __I uint32_t TRP4;
- __I uint32_t TRP5;
- __I uint32_t TRP6;
- __I uint32_t TRP7;
- __I uint32_t TRP8;
- __I uint32_t TRP9;
- __I uint32_t TRP10;
- __I uint32_t TRP11;
- __I uint32_t TRP12;
- __I uint32_t TRP13;
- __I uint32_t TRP14;
- __I uint32_t TRP15;
- __I uint32_t TRP16;
- __I uint32_t TRP17;
- __I uint32_t TRP18;
- __I uint32_t TRP19;
- __I uint32_t TRP20;
- __I uint32_t TRP21;
- __I uint32_t TRP22;
- __I uint32_t TRP23;
- __I uint32_t TRP24;
- __I uint32_t TRP25;
- __I uint32_t TRP26;
- __I uint32_t TRP27;
- __I uint32_t TRP28;
- __I uint32_t TRP29;
- __I uint32_t TRP30;
- __I uint32_t TRP31;
- } stc_mcan_txbrp_bit_t;
- typedef struct {
- __IO uint32_t AR0;
- __IO uint32_t AR1;
- __IO uint32_t AR2;
- __IO uint32_t AR3;
- __IO uint32_t AR4;
- __IO uint32_t AR5;
- __IO uint32_t AR6;
- __IO uint32_t AR7;
- __IO uint32_t AR8;
- __IO uint32_t AR9;
- __IO uint32_t AR10;
- __IO uint32_t AR11;
- __IO uint32_t AR12;
- __IO uint32_t AR13;
- __IO uint32_t AR14;
- __IO uint32_t AR15;
- __IO uint32_t AR16;
- __IO uint32_t AR17;
- __IO uint32_t AR18;
- __IO uint32_t AR19;
- __IO uint32_t AR20;
- __IO uint32_t AR21;
- __IO uint32_t AR22;
- __IO uint32_t AR23;
- __IO uint32_t AR24;
- __IO uint32_t AR25;
- __IO uint32_t AR26;
- __IO uint32_t AR27;
- __IO uint32_t AR28;
- __IO uint32_t AR29;
- __IO uint32_t AR30;
- __IO uint32_t AR31;
- } stc_mcan_txbar_bit_t;
- typedef struct {
- __IO uint32_t CR0;
- __IO uint32_t CR1;
- __IO uint32_t CR2;
- __IO uint32_t CR3;
- __IO uint32_t CR4;
- __IO uint32_t CR5;
- __IO uint32_t CR6;
- __IO uint32_t CR7;
- __IO uint32_t CR8;
- __IO uint32_t CR9;
- __IO uint32_t CR10;
- __IO uint32_t CR11;
- __IO uint32_t CR12;
- __IO uint32_t CR13;
- __IO uint32_t CR14;
- __IO uint32_t CR15;
- __IO uint32_t CR16;
- __IO uint32_t CR17;
- __IO uint32_t CR18;
- __IO uint32_t CR19;
- __IO uint32_t CR20;
- __IO uint32_t CR21;
- __IO uint32_t CR22;
- __IO uint32_t CR23;
- __IO uint32_t CR24;
- __IO uint32_t CR25;
- __IO uint32_t CR26;
- __IO uint32_t CR27;
- __IO uint32_t CR28;
- __IO uint32_t CR29;
- __IO uint32_t CR30;
- __IO uint32_t CR31;
- } stc_mcan_txbcr_bit_t;
- typedef struct {
- __I uint32_t TO0;
- __I uint32_t TO1;
- __I uint32_t TO2;
- __I uint32_t TO3;
- __I uint32_t TO4;
- __I uint32_t TO5;
- __I uint32_t TO6;
- __I uint32_t TO7;
- __I uint32_t TO8;
- __I uint32_t TO9;
- __I uint32_t TO10;
- __I uint32_t TO11;
- __I uint32_t TO12;
- __I uint32_t TO13;
- __I uint32_t TO14;
- __I uint32_t TO15;
- __I uint32_t TO16;
- __I uint32_t TO17;
- __I uint32_t TO18;
- __I uint32_t TO19;
- __I uint32_t TO20;
- __I uint32_t TO21;
- __I uint32_t TO22;
- __I uint32_t TO23;
- __I uint32_t TO24;
- __I uint32_t TO25;
- __I uint32_t TO26;
- __I uint32_t TO27;
- __I uint32_t TO28;
- __I uint32_t TO29;
- __I uint32_t TO30;
- __I uint32_t TO31;
- } stc_mcan_txbto_bit_t;
- typedef struct {
- __I uint32_t CF0;
- __I uint32_t CF1;
- __I uint32_t CF2;
- __I uint32_t CF3;
- __I uint32_t CF4;
- __I uint32_t CF5;
- __I uint32_t CF6;
- __I uint32_t CF7;
- __I uint32_t CF8;
- __I uint32_t CF9;
- __I uint32_t CF10;
- __I uint32_t CF11;
- __I uint32_t CF12;
- __I uint32_t CF13;
- __I uint32_t CF14;
- __I uint32_t CF15;
- __I uint32_t CF16;
- __I uint32_t CF17;
- __I uint32_t CF18;
- __I uint32_t CF19;
- __I uint32_t CF20;
- __I uint32_t CF21;
- __I uint32_t CF22;
- __I uint32_t CF23;
- __I uint32_t CF24;
- __I uint32_t CF25;
- __I uint32_t CF26;
- __I uint32_t CF27;
- __I uint32_t CF28;
- __I uint32_t CF29;
- __I uint32_t CF30;
- __I uint32_t CF31;
- } stc_mcan_txbcf_bit_t;
- typedef struct {
- __IO uint32_t TIE0;
- __IO uint32_t TIE1;
- __IO uint32_t TIE2;
- __IO uint32_t TIE3;
- __IO uint32_t TIE4;
- __IO uint32_t TIE5;
- __IO uint32_t TIE6;
- __IO uint32_t TIE7;
- __IO uint32_t TIE8;
- __IO uint32_t TIE9;
- __IO uint32_t TIE10;
- __IO uint32_t TIE11;
- __IO uint32_t TIE12;
- __IO uint32_t TIE13;
- __IO uint32_t TIE14;
- __IO uint32_t TIE15;
- __IO uint32_t TIE16;
- __IO uint32_t TIE17;
- __IO uint32_t TIE18;
- __IO uint32_t TIE19;
- __IO uint32_t TIE20;
- __IO uint32_t TIE21;
- __IO uint32_t TIE22;
- __IO uint32_t TIE23;
- __IO uint32_t TIE24;
- __IO uint32_t TIE25;
- __IO uint32_t TIE26;
- __IO uint32_t TIE27;
- __IO uint32_t TIE28;
- __IO uint32_t TIE29;
- __IO uint32_t TIE30;
- __IO uint32_t TIE31;
- } stc_mcan_txbtie_bit_t;
- typedef struct {
- __IO uint32_t CFIE0;
- __IO uint32_t CFIE1;
- __IO uint32_t CFIE2;
- __IO uint32_t CFIE3;
- __IO uint32_t CFIE4;
- __IO uint32_t CFIE5;
- __IO uint32_t CFIE6;
- __IO uint32_t CFIE7;
- __IO uint32_t CFIE8;
- __IO uint32_t CFIE9;
- __IO uint32_t CFIE10;
- __IO uint32_t CFIE11;
- __IO uint32_t CFIE12;
- __IO uint32_t CFIE13;
- __IO uint32_t CFIE14;
- __IO uint32_t CFIE15;
- __IO uint32_t CFIE16;
- __IO uint32_t CFIE17;
- __IO uint32_t CFIE18;
- __IO uint32_t CFIE19;
- __IO uint32_t CFIE20;
- __IO uint32_t CFIE21;
- __IO uint32_t CFIE22;
- __IO uint32_t CFIE23;
- __IO uint32_t CFIE24;
- __IO uint32_t CFIE25;
- __IO uint32_t CFIE26;
- __IO uint32_t CFIE27;
- __IO uint32_t CFIE28;
- __IO uint32_t CFIE29;
- __IO uint32_t CFIE30;
- __IO uint32_t CFIE31;
- } stc_mcan_txbcie_bit_t;
- typedef struct {
- uint32_t RESERVED0[24];
- __I uint32_t EFF;
- __I uint32_t TEFL;
- uint32_t RESERVED1[6];
- } stc_mcan_txefs_bit_t;
- typedef struct {
- __I uint32_t SMPU1EAF;
- __I uint32_t SMPU2EAF;
- __I uint32_t PSPEF;
- __I uint32_t MSPEF;
- uint32_t RESERVED0[28];
- } stc_mpu_sr_bit_t;
- typedef struct {
- __O uint32_t SMPU1ECLR;
- __O uint32_t SMPU2ECLR;
- __O uint32_t PSPECLR;
- __O uint32_t MSPECLR;
- uint32_t RESERVED0[28];
- } stc_mpu_eclr_bit_t;
- typedef struct {
- __IO uint32_t MPUWE;
- uint32_t RESERVED0[31];
- } stc_mpu_wp_bit_t;
- typedef struct {
- __IO uint32_t AESRDP;
- __IO uint32_t AESWRP;
- __IO uint32_t HASHRDP;
- __IO uint32_t HASHWRP;
- __IO uint32_t TRNGRDP;
- __IO uint32_t TRNGWRP;
- __IO uint32_t CRCRDP;
- __IO uint32_t CRCWRP;
- __IO uint32_t EFMRDP;
- __IO uint32_t EFMWRP;
- uint32_t RESERVED0[2];
- __IO uint32_t WDTRDP;
- __IO uint32_t WDTWRP;
- __IO uint32_t SWDTRDP;
- __IO uint32_t SWDTWRP;
- __IO uint32_t BKSRAMRDP;
- __IO uint32_t BKSRAMWRP;
- __IO uint32_t RTCRDP;
- __IO uint32_t RTCWRP;
- __IO uint32_t DMPURDP;
- __IO uint32_t DMPUWRP;
- __IO uint32_t SRAMCRDP;
- __IO uint32_t SRAMCWRP;
- __IO uint32_t INTCRDP;
- __IO uint32_t INTCWRP;
- __IO uint32_t SYSCRDP;
- __IO uint32_t SYSCWRP;
- __IO uint32_t MSTPRDP;
- __IO uint32_t MSPTWRP;
- uint32_t RESERVED1[1];
- __IO uint32_t BUSERRE;
- } stc_mpu_ippr_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t MSPPACT;
- __IO uint32_t MSPPE;
- } stc_mpu_msppctl_bit_t;
- typedef struct {
- uint32_t RESERVED0[30];
- __IO uint32_t PSPPACT;
- __IO uint32_t PSPPE;
- } stc_mpu_psppctl_bit_t;
- typedef struct {
- __IO uint32_t RG0E;
- __IO uint32_t RG1E;
- __IO uint32_t RG2E;
- __IO uint32_t RG3E;
- __IO uint32_t RG4E;
- __IO uint32_t RG5E;
- __IO uint32_t RG6E;
- __IO uint32_t RG7E;
- __IO uint32_t RG8E;
- __IO uint32_t RG9E;
- __IO uint32_t RG10E;
- __IO uint32_t RG11E;
- __IO uint32_t RG12E;
- __IO uint32_t RG13E;
- __IO uint32_t RG14E;
- __IO uint32_t RG15E;
- uint32_t RESERVED0[16];
- } stc_mpu_srge_bit_t;
- typedef struct {
- __IO uint32_t RG0WP;
- __IO uint32_t RG1WP;
- __IO uint32_t RG2WP;
- __IO uint32_t RG3WP;
- __IO uint32_t RG4WP;
- __IO uint32_t RG5WP;
- __IO uint32_t RG6WP;
- __IO uint32_t RG7WP;
- __IO uint32_t RG8WP;
- __IO uint32_t RG9WP;
- __IO uint32_t RG10WP;
- __IO uint32_t RG11WP;
- __IO uint32_t RG12WP;
- __IO uint32_t RG13WP;
- __IO uint32_t RG14WP;
- __IO uint32_t RG15WP;
- uint32_t RESERVED0[16];
- } stc_mpu_srgwp_bit_t;
- typedef struct {
- __IO uint32_t RG0RP;
- __IO uint32_t RG1RP;
- __IO uint32_t RG2RP;
- __IO uint32_t RG3RP;
- __IO uint32_t RG4RP;
- __IO uint32_t RG5RP;
- __IO uint32_t RG6RP;
- __IO uint32_t RG7RP;
- __IO uint32_t RG8RP;
- __IO uint32_t RG9RP;
- __IO uint32_t RG10RP;
- __IO uint32_t RG11RP;
- __IO uint32_t RG12RP;
- __IO uint32_t RG13RP;
- __IO uint32_t RG14RP;
- __IO uint32_t RG15RP;
- uint32_t RESERVED0[16];
- } stc_mpu_srgrp_bit_t;
- typedef struct {
- __IO uint32_t SMPUBRP;
- __IO uint32_t SMPUBWP;
- __IO uint32_t SMPUACT0;
- __IO uint32_t SMPUACT1;
- uint32_t RESERVED0[3];
- __IO uint32_t SMPUE;
- uint32_t RESERVED1[24];
- } stc_mpu_scr_bit_t;
- typedef struct {
- uint32_t RESERVED0[1];
- __IO uint32_t SMCEN;
- uint32_t RESERVED1[30];
- } stc_peric_smc_enar_bit_t;
- typedef struct {
- __IO uint32_t TMR0U1A;
- __IO uint32_t TMR0U1B;
- __IO uint32_t TMR0U2A;
- __IO uint32_t TMR0U2B;
- __IO uint32_t TMR4U1;
- __IO uint32_t TMR4U2;
- __IO uint32_t TMR4U3;
- uint32_t RESERVED0[1];
- __IO uint32_t TMR6U1;
- __IO uint32_t TMR6U2;
- __IO uint32_t TMRAU1;
- __IO uint32_t TMRAU2;
- __IO uint32_t TMRAU3;
- __IO uint32_t TMRAU4;
- __IO uint32_t TMRAU5;
- uint32_t RESERVED1[17];
- } stc_peric_tmr_synenr_bit_t;
- typedef struct {
- __IO uint32_t USASRT1_NFS0;
- __IO uint32_t USASRT1_NFS1;
- __IO uint32_t USART1_NFE;
- uint32_t RESERVED0[29];
- } stc_peric_usart1_nfc_bit_t;
- typedef struct {
- __IO uint32_t SRAMH;
- uint32_t RESERVED0[3];
- __IO uint32_t SRAM0;
- uint32_t RESERVED1[5];
- __IO uint32_t SRAMB;
- uint32_t RESERVED2[2];
- __IO uint32_t KEY;
- __IO uint32_t DMA1;
- __IO uint32_t DMA2;
- __IO uint32_t FCM;
- __IO uint32_t AOS;
- __IO uint32_t CTC;
- uint32_t RESERVED3[1];
- __IO uint32_t AES;
- __IO uint32_t HASH;
- __IO uint32_t TRNG;
- __IO uint32_t CRC;
- __IO uint32_t DCU1;
- __IO uint32_t DCU2;
- __IO uint32_t DCU3;
- __IO uint32_t DCU4;
- uint32_t RESERVED4[4];
- } stc_pwc_fcg0_bit_t;
- typedef struct {
- __IO uint32_t MCAN1;
- __IO uint32_t MCAN2;
- uint32_t RESERVED0[1];
- __IO uint32_t QSPI;
- __IO uint32_t I2C1;
- __IO uint32_t I2C2;
- uint32_t RESERVED1[10];
- __IO uint32_t SPI1;
- __IO uint32_t SPI2;
- __IO uint32_t SPI3;
- uint32_t RESERVED2[13];
- } stc_pwc_fcg1_bit_t;
- typedef struct {
- __IO uint32_t TMR6_1;
- __IO uint32_t TMR6_2;
- uint32_t RESERVED0[7];
- __IO uint32_t TMR4_1;
- __IO uint32_t TMR4_2;
- __IO uint32_t TMR4_3;
- __IO uint32_t TMR0_1;
- __IO uint32_t TMR0_2;
- uint32_t RESERVED1[1];
- __IO uint32_t EMB;
- uint32_t RESERVED2[4];
- __IO uint32_t TMRA_1;
- __IO uint32_t TMRA_2;
- __IO uint32_t TMRA_3;
- __IO uint32_t TMRA_4;
- __IO uint32_t TMRA_5;
- uint32_t RESERVED3[7];
- } stc_pwc_fcg2_bit_t;
- typedef struct {
- __IO uint32_t ADC1;
- __IO uint32_t ADC2;
- __IO uint32_t ADC3;
- uint32_t RESERVED0[1];
- __IO uint32_t DAC;
- uint32_t RESERVED1[3];
- __IO uint32_t CMP12;
- __IO uint32_t CMP34;
- uint32_t RESERVED2[6];
- __IO uint32_t SMC;
- uint32_t RESERVED3[3];
- __IO uint32_t USART1;
- __IO uint32_t USART2;
- __IO uint32_t USART3;
- __IO uint32_t USART4;
- __IO uint32_t USART5;
- __IO uint32_t USART6;
- uint32_t RESERVED4[6];
- } stc_pwc_fcg3_bit_t;
- typedef struct {
- __IO uint32_t PRT0;
- uint32_t RESERVED0[31];
- } stc_pwc_fcg0pc_bit_t;
- typedef struct {
- uint32_t RESERVED0[12];
- __IO uint32_t WKOVF;
- __IO uint32_t WKCKS0;
- __IO uint32_t WKCKS1;
- __IO uint32_t WKTCE;
- } stc_pwc_wktcr_bit_t;
- typedef struct {
- __IO uint32_t PDMDS0;
- __IO uint32_t PDMDS1;
- uint32_t RESERVED0[2];
- __IO uint32_t IORTN0;
- __IO uint32_t IORTN1;
- uint32_t RESERVED1[1];
- __IO uint32_t PWDN;
- } stc_pwc_pwrc0_bit_t;
- typedef struct {
- __IO uint32_t VPLLSD0;
- __IO uint32_t VPLLSD1;
- __IO uint32_t VHRCSD;
- __IO uint32_t PDTS;
- uint32_t RESERVED0[2];
- __IO uint32_t STPDAS0;
- __IO uint32_t STPDAS1;
- } stc_pwc_pwrc1_bit_t;
- typedef struct {
- uint32_t RESERVED0[4];
- __IO uint32_t DVS0;
- __IO uint32_t DVS1;
- uint32_t RESERVED1[2];
- } stc_pwc_pwrc2_bit_t;
- typedef struct {
- uint32_t RESERVED0[7];
- __IO uint32_t ADBUFE;
- } stc_pwc_pwrc4_bit_t;
- typedef struct {
- __IO uint32_t EXVCCINEN;
- uint32_t RESERVED0[4];
- __IO uint32_t PVD1EN;
- __IO uint32_t PVD2EN;
- uint32_t RESERVED1[1];
- } stc_pwc_pvdcr0_bit_t;
- typedef struct {
- __IO uint32_t PVD1IRE;
- __IO uint32_t PVD1IRS;
- __IO uint32_t PVD1CMPOE;
- uint32_t RESERVED0[1];
- __IO uint32_t PVD2IRE;
- __IO uint32_t PVD2IRS;
- __IO uint32_t PVD2CMPOE;
- uint32_t RESERVED1[1];
- } stc_pwc_pvdcr1_bit_t;
- typedef struct {
- __IO uint32_t PVD1NFDIS;
- __IO uint32_t PVD1NFCKS0;
- __IO uint32_t PVD1NFCKS1;
- uint32_t RESERVED0[1];
- __IO uint32_t PVD2NFDIS;
- __IO uint32_t PVD2NFCKS0;
- __IO uint32_t PVD2NFCKS1;
- uint32_t RESERVED1[1];
- } stc_pwc_pvdfcr_bit_t;
- typedef struct {
- __IO uint32_t WKE00;
- __IO uint32_t WKE01;
- __IO uint32_t WKE02;
- __IO uint32_t WKE03;
- __IO uint32_t WKE10;
- __IO uint32_t WKE11;
- __IO uint32_t WKE12;
- __IO uint32_t WKE13;
- } stc_pwc_pdwke0_bit_t;
- typedef struct {
- __IO uint32_t WKE20;
- __IO uint32_t WKE21;
- __IO uint32_t WKE22;
- __IO uint32_t WKE23;
- __IO uint32_t WKE30;
- __IO uint32_t WKE31;
- __IO uint32_t WKE32;
- __IO uint32_t WKE33;
- } stc_pwc_pdwke1_bit_t;
- typedef struct {
- __IO uint32_t VD1WKE;
- __IO uint32_t VD2WKE;
- uint32_t RESERVED0[2];
- __IO uint32_t RTCPRDWKE;
- __IO uint32_t RTCALMWKE;
- uint32_t RESERVED1[1];
- __IO uint32_t WKTMWKE;
- } stc_pwc_pdwke2_bit_t;
- typedef struct {
- __IO uint32_t WK0EGS;
- __IO uint32_t WK1EGS;
- __IO uint32_t WK2EGS;
- __IO uint32_t WK3EGS;
- __IO uint32_t VD1EGS;
- __IO uint32_t VD2EGS;
- uint32_t RESERVED0[2];
- } stc_pwc_pdwkes_bit_t;
- typedef struct {
- __IO uint32_t PTWK0F;
- __IO uint32_t PTWK1F;
- __IO uint32_t PTWK2F;
- __IO uint32_t PTWK3F;
- __IO uint32_t VD1WKF;
- __IO uint32_t VD2WKF;
- uint32_t RESERVED0[2];
- } stc_pwc_pdwkf0_bit_t;
- typedef struct {
- uint32_t RESERVED0[3];
- __IO uint32_t RXD0WKF;
- __IO uint32_t RTCPRDWKF;
- __IO uint32_t RTCALMWKF;
- uint32_t RESERVED1[1];
- __IO uint32_t WKTMWKF;
- } stc_pwc_pdwkf1_bit_t;
- typedef struct {
- __IO uint32_t VVDRSD;
- __IO uint32_t SRAMBSD;
- uint32_t RESERVED0[5];
- __IO uint32_t CSDIS;
- } stc_pwc_pwrc5_bit_t;
- typedef struct {
- __IO uint32_t RTCCKSEL0;
- __IO uint32_t RTCCKSEL1;
- __IO uint32_t SWRIOCLR;
- __IO uint32_t WDRIOCLR;
- __IO uint32_t SWRDAC;
- __IO uint32_t WDRDAC;
- __IO uint32_t SWRTNE;
- __IO uint32_t WDRTNE;
- } stc_pwc_pwrc6_bit_t;
- typedef struct {
- __IO uint32_t PVD1NMIS;
- __IO uint32_t PVD1EDGS0;
- __IO uint32_t PVD1EDGS1;
- uint32_t RESERVED0[1];
- __IO uint32_t PVD2NMIS;
- __IO uint32_t PVD2EDGS0;
- __IO uint32_t PVD2EDGS1;
- uint32_t RESERVED1[1];
- } stc_pwc_pvdicr_bit_t;
- typedef struct {
- __IO uint32_t PVD1MON;
- __IO uint32_t PVD1DETFLG;
- uint32_t RESERVED0[2];
- __IO uint32_t PVD2MON;
- __IO uint32_t PVD2DETFLG;
- uint32_t RESERVED1[2];
- } stc_pwc_pvddsr_bit_t;
- typedef struct {
- __IO uint32_t RAMPDC0;
- uint32_t RESERVED0[9];
- __IO uint32_t RAMPDC10;
- uint32_t RESERVED1[21];
- } stc_pwc_rampc0_bit_t;
- typedef struct {
- __IO uint32_t PRAMPDC0;
- uint32_t RESERVED0[2];
- __IO uint32_t PRAMPDC3;
- uint32_t RESERVED1[28];
- } stc_pwc_pramlpc_bit_t;
- typedef struct {
- __IO uint32_t FLNWT;
- __IO uint32_t CKSMRC;
- uint32_t RESERVED0[12];
- __IO uint32_t EXBUSOE;
- __IO uint32_t STOP;
- } stc_pwc_stpmcr_bit_t;
- typedef struct {
- __IO uint32_t FPRCB0;
- __IO uint32_t FPRCB1;
- __IO uint32_t FPRCB2;
- __IO uint32_t FPRCB3;
- uint32_t RESERVED0[12];
- } stc_pwc_fprc_bit_t;
- typedef struct {
- uint32_t RESERVED0[13];
- __IO uint32_t KEY;
- __IO uint32_t DMA1;
- __IO uint32_t DMA2;
- __IO uint32_t FCM;
- __IO uint32_t AOS;
- __IO uint32_t CTC;
- uint32_t RESERVED1[1];
- __IO uint32_t AES;
- __IO uint32_t HASH;
- __IO uint32_t TRNG;
- __IO uint32_t CRC;
- __IO uint32_t DCU1;
- __IO uint32_t DCU2;
- __IO uint32_t DCU3;
- __IO uint32_t DCU4;
- uint32_t RESERVED2[4];
- } stc_rmu_frst0_bit_t;
- typedef struct {
- uint32_t RESERVED0[3];
- __IO uint32_t QSPI;
- uint32_t RESERVED1[12];
- __IO uint32_t SPI1;
- __IO uint32_t SPI2;
- __IO uint32_t SPI3;
- uint32_t RESERVED2[13];
- } stc_rmu_frst1_bit_t;
- typedef struct {
- __IO uint32_t TIMER6;
- uint32_t RESERVED0[9];
- __IO uint32_t TIMER4;
- uint32_t RESERVED1[1];
- __IO uint32_t TIMER0;
- uint32_t RESERVED2[2];
- __IO uint32_t EMB;
- uint32_t RESERVED3[4];
- __IO uint32_t TIMERA;
- uint32_t RESERVED4[11];
- } stc_rmu_frst2_bit_t;
- typedef struct {
- __IO uint32_t ADC1;
- __IO uint32_t ADC2;
- __IO uint32_t ADC3;
- uint32_t RESERVED0[1];
- __IO uint32_t DAC;
- uint32_t RESERVED1[3];
- __IO uint32_t CMP12;
- __IO uint32_t CMP34;
- uint32_t RESERVED2[6];
- __IO uint32_t EXMC_SMC;
- uint32_t RESERVED3[3];
- __IO uint32_t USART1;
- __IO uint32_t USART2;
- __IO uint32_t USART3;
- __IO uint32_t USART4;
- __IO uint32_t USART5;
- __IO uint32_t USART6;
- uint32_t RESERVED4[6];
- } stc_rmu_frst3_bit_t;
- typedef struct {
- uint32_t RESERVED0[5];
- __IO uint32_t LKUPREN;
- uint32_t RESERVED1[2];
- } stc_rmu_prstcr0_bit_t;
- typedef struct {
- __IO uint32_t PORF;
- __IO uint32_t PINRF;
- __IO uint32_t BORF;
- __IO uint32_t PVD1RF;
- __IO uint32_t PVD2RF;
- __IO uint32_t WDRF;
- __IO uint32_t SWDRF;
- __IO uint32_t PDRF;
- __IO uint32_t SWRF;
- __IO uint32_t MPUERF;
- __IO uint32_t RAPERF;
- __IO uint32_t RAECRF;
- __IO uint32_t CKFERF;
- __IO uint32_t XTALERF;
- __IO uint32_t LKUPRF;
- uint32_t RESERVED0[15];
- __IO uint32_t MULTIRF;
- __IO uint32_t CLRF;
- } stc_rmu_rstf0_bit_t;
- typedef struct {
- __IO uint32_t RESET;
- uint32_t RESERVED0[7];
- } stc_rtc_cr0_bit_t;
- typedef struct {
- __IO uint32_t PRDS0;
- __IO uint32_t PRDS1;
- __IO uint32_t PRDS2;
- __IO uint32_t AMPM;
- uint32_t RESERVED0[1];
- __IO uint32_t ONEHZOE;
- __IO uint32_t ONEHZSEL;
- __IO uint32_t START;
- } stc_rtc_cr1_bit_t;
- typedef struct {
- __IO uint32_t RWREQ;
- __IO uint32_t RWEN;
- __IO uint32_t PRDF;
- __IO uint32_t ALMF;
- uint32_t RESERVED0[1];
- __IO uint32_t PRDIE;
- __IO uint32_t ALMIE;
- __IO uint32_t ALME;
- } stc_rtc_cr2_bit_t;
- typedef struct {
- uint32_t RESERVED0[4];
- __IO uint32_t LRCEN;
- uint32_t RESERVED1[2];
- __IO uint32_t RCKSEL;
- } stc_rtc_cr3_bit_t;
- typedef struct {
- __IO uint32_t HOURU0;
- __IO uint32_t HOURU1;
- __IO uint32_t HOURU2;
- __IO uint32_t HOURU3;
- __IO uint32_t HOURD0;
- __IO uint32_t HOURD1;
- uint32_t RESERVED0[2];
- } stc_rtc_hour_bit_t;
- typedef struct {
- __IO uint32_t ALMHOURU0;
- __IO uint32_t ALMHOURU1;
- __IO uint32_t ALMHOURU2;
- __IO uint32_t ALMHOURU3;
- __IO uint32_t ALMHOURD0;
- __IO uint32_t ALMHOURD1;
- uint32_t RESERVED0[2];
- } stc_rtc_almhour_bit_t;
- typedef struct {
- __IO uint32_t ALMWEEK0;
- __IO uint32_t ALMWEEK1;
- __IO uint32_t ALMWEEK2;
- __IO uint32_t ALMWEEK3;
- __IO uint32_t ALMWEEK4;
- __IO uint32_t ALMWEEK5;
- __IO uint32_t ALMWEEK6;
- uint32_t RESERVED0[1];
- } stc_rtc_almweek_bit_t;
- typedef struct {
- __IO uint32_t COMP8;
- uint32_t RESERVED0[6];
- __IO uint32_t COMPEN;
- } stc_rtc_errcrh_bit_t;
- typedef struct {
- __IO uint32_t SPIMDS;
- __IO uint32_t TXMDS;
- uint32_t RESERVED0[1];
- __IO uint32_t MSTR;
- __IO uint32_t SPLPBK;
- __IO uint32_t SPLPBK2;
- __IO uint32_t SPE;
- __IO uint32_t CSUSPE;
- __IO uint32_t EIE;
- __IO uint32_t TXIE;
- __IO uint32_t RXIE;
- __IO uint32_t IDIE;
- __IO uint32_t MODFE;
- __IO uint32_t PATE;
- __IO uint32_t PAOE;
- __IO uint32_t PAE;
- uint32_t RESERVED1[16];
- } stc_spi_cr_bit_t;
- typedef struct {
- __IO uint32_t FTHLV0;
- __IO uint32_t FTHLV1;
- __IO uint32_t CTMDS;
- uint32_t RESERVED0[3];
- __IO uint32_t SPRDTD;
- uint32_t RESERVED1[1];
- __IO uint32_t SS0PV;
- __IO uint32_t SS1PV;
- __IO uint32_t SS2PV;
- __IO uint32_t SS3PV;
- __IO uint32_t CLKDIV0;
- __IO uint32_t CLKDIV1;
- __IO uint32_t CLKDIV2;
- __IO uint32_t CLKDIV3;
- uint32_t RESERVED2[4];
- __IO uint32_t MSSI0;
- __IO uint32_t MSSI1;
- __IO uint32_t MSSI2;
- uint32_t RESERVED3[1];
- __IO uint32_t MSSDL0;
- __IO uint32_t MSSDL1;
- __IO uint32_t MSSDL2;
- uint32_t RESERVED4[1];
- __IO uint32_t MIDI0;
- __IO uint32_t MIDI1;
- __IO uint32_t MIDI2;
- uint32_t RESERVED5[1];
- } stc_spi_cfg1_bit_t;
- typedef struct {
- __IO uint32_t OVRERF;
- __I uint32_t IDLNF;
- __IO uint32_t MODFERF;
- __IO uint32_t PERF;
- __IO uint32_t UDRERF;
- __I uint32_t TDEF;
- uint32_t RESERVED0[1];
- __I uint32_t RDFF;
- uint32_t RESERVED1[24];
- } stc_spi_sr_bit_t;
- typedef struct {
- __IO uint32_t CPHA;
- __IO uint32_t CPOL;
- __IO uint32_t MBR0;
- __IO uint32_t MBR1;
- uint32_t RESERVED0[1];
- __IO uint32_t SSA0;
- __IO uint32_t SSA1;
- __IO uint32_t SSA2;
- __IO uint32_t DSIZE0;
- __IO uint32_t DSIZE1;
- __IO uint32_t DSIZE2;
- __IO uint32_t DSIZE3;
- __IO uint32_t LSBF;
- __IO uint32_t MIDIE;
- __IO uint32_t MSSDLE;
- __IO uint32_t MSSIE;
- uint32_t RESERVED1[16];
- } stc_spi_cfg2_bit_t;
- typedef struct {
- __IO uint32_t SRAM0RWT0;
- __IO uint32_t SRAM0RWT1;
- __IO uint32_t SRAM0RWT2;
- uint32_t RESERVED0[1];
- __IO uint32_t SRAM0WWT0;
- __IO uint32_t SRAM0WWT1;
- __IO uint32_t SRAM0WWT2;
- uint32_t RESERVED1[9];
- __IO uint32_t SRAMHRWT0;
- __IO uint32_t SRAMHRWT1;
- __IO uint32_t SRAMHRWT2;
- uint32_t RESERVED2[1];
- __IO uint32_t SRAMHWWT0;
- __IO uint32_t SRAMHWWT1;
- __IO uint32_t SRAMHWWT2;
- uint32_t RESERVED3[1];
- __IO uint32_t SRAMBRWT0;
- __IO uint32_t SRAMBRWT1;
- __IO uint32_t SRAMBRWT2;
- uint32_t RESERVED4[1];
- __IO uint32_t SRAMBWWT0;
- __IO uint32_t SRAMBWWT1;
- __IO uint32_t SRAMBWWT2;
- uint32_t RESERVED5[1];
- } stc_sramc_wtcr_bit_t;
- typedef struct {
- __IO uint32_t WTPRC;
- __IO uint32_t WTPRKW0;
- __IO uint32_t WTPRKW1;
- __IO uint32_t WTPRKW2;
- __IO uint32_t WTPRKW3;
- __IO uint32_t WTPRKW4;
- __IO uint32_t WTPRKW5;
- __IO uint32_t WTPRKW6;
- uint32_t RESERVED0[24];
- } stc_sramc_wtpr_bit_t;
- typedef struct {
- __IO uint32_t PYOAD;
- uint32_t RESERVED0[15];
- __IO uint32_t ECCOAD;
- __IO uint32_t BECCOAD;
- uint32_t RESERVED1[6];
- __IO uint32_t ECCMOD0;
- __IO uint32_t ECCMOD1;
- __IO uint32_t BECCMOD0;
- __IO uint32_t BECCMOD1;
- uint32_t RESERVED2[4];
- } stc_sramc_ckcr_bit_t;
- typedef struct {
- __IO uint32_t CKPRC;
- __IO uint32_t CKPRKW0;
- __IO uint32_t CKPRKW1;
- __IO uint32_t CKPRKW2;
- __IO uint32_t CKPRKW3;
- __IO uint32_t CKPRKW4;
- __IO uint32_t CKPRKW5;
- __IO uint32_t CKPRKW6;
- uint32_t RESERVED0[24];
- } stc_sramc_ckpr_bit_t;
- typedef struct {
- uint32_t RESERVED0[3];
- __IO uint32_t SRAMH_PYERR;
- __IO uint32_t SRAM0_1ERR;
- __IO uint32_t SRAM0_2ERR;
- __IO uint32_t SRAMB_1ERR;
- __IO uint32_t SRAMB_2ERR;
- __IO uint32_t CACHE_PYERR;
- uint32_t RESERVED1[23];
- } stc_sramc_cksr_bit_t;
- typedef struct {
- __IO uint32_t EIEN;
- uint32_t RESERVED0[31];
- } stc_sramc_sram0_eien_bit_t;
- typedef struct {
- __IO uint32_t EIBIT0;
- __IO uint32_t EIBIT1;
- __IO uint32_t EIBIT2;
- __IO uint32_t EIBIT3;
- __IO uint32_t EIBIT4;
- __IO uint32_t EIBIT5;
- __IO uint32_t EIBIT6;
- uint32_t RESERVED0[25];
- } stc_sramc_sram0_eibit1_bit_t;
- typedef struct {
- __IO uint32_t ECCERRADDR0;
- __IO uint32_t ECCERRADDR1;
- __IO uint32_t ECCERRADDR2;
- __IO uint32_t ECCERRADDR3;
- __IO uint32_t ECCERRADDR4;
- __IO uint32_t ECCERRADDR5;
- __IO uint32_t ECCERRADDR6;
- __IO uint32_t ECCERRADDR7;
- __IO uint32_t ECCERRADDR8;
- __IO uint32_t ECCERRADDR9;
- __IO uint32_t ECCERRADDR10;
- __IO uint32_t ECCERRADDR11;
- __IO uint32_t ECCERRADDR12;
- __IO uint32_t ECCERRADDR13;
- __IO uint32_t ECCERRADDR14;
- uint32_t RESERVED0[17];
- } stc_sramc_sram0_eccerraddr_bit_t;
- typedef struct {
- __IO uint32_t EIEN;
- uint32_t RESERVED0[31];
- } stc_sramc_sramb_eien_bit_t;
- typedef struct {
- __IO uint32_t EIBIT0;
- __IO uint32_t EIBIT1;
- __IO uint32_t EIBIT2;
- __IO uint32_t EIBIT3;
- __IO uint32_t EIBIT4;
- __IO uint32_t EIBIT5;
- __IO uint32_t EIBIT6;
- uint32_t RESERVED0[25];
- } stc_sramc_sramb_eibit1_bit_t;
- typedef struct {
- __IO uint32_t ECCERRADDR0;
- __IO uint32_t ECCERRADDR1;
- __IO uint32_t ECCERRADDR2;
- __IO uint32_t ECCERRADDR3;
- __IO uint32_t ECCERRADDR4;
- __IO uint32_t ECCERRADDR5;
- __IO uint32_t ECCERRADDR6;
- __IO uint32_t ECCERRADDR7;
- __IO uint32_t ECCERRADDR8;
- __IO uint32_t ECCERRADDR9;
- __IO uint32_t ECCERRADDR10;
- __IO uint32_t ECCERRADDR11;
- uint32_t RESERVED0[20];
- } stc_sramc_sramb_eccerraddr_bit_t;
- typedef struct {
- __IO uint32_t PERI0;
- __IO uint32_t PERI1;
- uint32_t RESERVED0[2];
- __IO uint32_t CKS0;
- __IO uint32_t CKS1;
- __IO uint32_t CKS2;
- __IO uint32_t CKS3;
- __IO uint32_t WDPT0;
- __IO uint32_t WDPT1;
- __IO uint32_t WDPT2;
- __IO uint32_t WDPT3;
- uint32_t RESERVED1[4];
- __IO uint32_t SLPOFF;
- uint32_t RESERVED2[14];
- __IO uint32_t ITS;
- } stc_swdt_cr_bit_t;
- typedef struct {
- __I uint32_t CNT0;
- __I uint32_t CNT1;
- __I uint32_t CNT2;
- __I uint32_t CNT3;
- __I uint32_t CNT4;
- __I uint32_t CNT5;
- __I uint32_t CNT6;
- __I uint32_t CNT7;
- __I uint32_t CNT8;
- __I uint32_t CNT9;
- __I uint32_t CNT10;
- __I uint32_t CNT11;
- __I uint32_t CNT12;
- __I uint32_t CNT13;
- __I uint32_t CNT14;
- __I uint32_t CNT15;
- __IO uint32_t UDF;
- __IO uint32_t REF;
- uint32_t RESERVED0[14];
- } stc_swdt_sr_bit_t;
- typedef struct {
- __IO uint32_t RF0;
- __IO uint32_t RF1;
- __IO uint32_t RF2;
- __IO uint32_t RF3;
- __IO uint32_t RF4;
- __IO uint32_t RF5;
- __IO uint32_t RF6;
- __IO uint32_t RF7;
- __IO uint32_t RF8;
- __IO uint32_t RF9;
- __IO uint32_t RF10;
- __IO uint32_t RF11;
- __IO uint32_t RF12;
- __IO uint32_t RF13;
- __IO uint32_t RF14;
- __IO uint32_t RF15;
- uint32_t RESERVED0[16];
- } stc_swdt_rr_bit_t;
- typedef struct {
- __IO uint32_t CSTA;
- __IO uint32_t CAPMDA;
- __IO uint32_t CMENA;
- __IO uint32_t OVENA;
- uint32_t RESERVED0[4];
- __IO uint32_t SYNSA;
- __IO uint32_t SYNCLKA;
- __IO uint32_t ASYNCLKA;
- uint32_t RESERVED1[1];
- __IO uint32_t HSTAA;
- __IO uint32_t HSTPA;
- __IO uint32_t HCLEA;
- __IO uint32_t HICPA;
- __IO uint32_t CSTB;
- __IO uint32_t CAPMDB;
- __IO uint32_t CMENB;
- __IO uint32_t OVENB;
- uint32_t RESERVED2[4];
- __IO uint32_t SYNSB;
- __IO uint32_t SYNCLKB;
- __IO uint32_t ASYNCLKB;
- uint32_t RESERVED3[1];
- __IO uint32_t HSTAB;
- __IO uint32_t HSTPB;
- __IO uint32_t HCLEB;
- __IO uint32_t HICPB;
- } stc_tmr0_bconr_bit_t;
- typedef struct {
- __IO uint32_t CMFA;
- __IO uint32_t OVFA;
- __IO uint32_t ICPA;
- uint32_t RESERVED0[13];
- __IO uint32_t CMFB;
- __IO uint32_t OVFB;
- __IO uint32_t ICPB;
- uint32_t RESERVED1[13];
- } stc_tmr0_stflr_bit_t;
- typedef struct {
- __IO uint32_t OCEH;
- __IO uint32_t OCEL;
- __IO uint32_t OCPH;
- __IO uint32_t OCPL;
- __IO uint32_t OCIEH;
- __IO uint32_t OCIEL;
- __IO uint32_t OCFH;
- __IO uint32_t OCFL;
- uint32_t RESERVED0[8];
- } stc_tmr4_ocsr_bit_t;
- typedef struct {
- __IO uint32_t CHBUFEN0;
- __IO uint32_t CHBUFEN1;
- __IO uint32_t CLBUFEN0;
- __IO uint32_t CLBUFEN1;
- __IO uint32_t MHBUFEN0;
- __IO uint32_t MHBUFEN1;
- __IO uint32_t MLBUFEN0;
- __IO uint32_t MLBUFEN1;
- __IO uint32_t LMCH;
- __IO uint32_t LMCL;
- __IO uint32_t LMMH;
- __IO uint32_t LMML;
- __IO uint32_t MCECH;
- __IO uint32_t MCECL;
- uint32_t RESERVED0[2];
- } stc_tmr4_ocer_bit_t;
- typedef struct {
- __IO uint32_t OCFDCH;
- __IO uint32_t OCFPKH;
- __IO uint32_t OCFUCH;
- __IO uint32_t OCFZRH;
- __IO uint32_t OPDCH0;
- __IO uint32_t OPDCH1;
- __IO uint32_t OPPKH0;
- __IO uint32_t OPPKH1;
- __IO uint32_t OPUCH0;
- __IO uint32_t OPUCH1;
- __IO uint32_t OPZRH0;
- __IO uint32_t OPZRH1;
- __IO uint32_t OPNPKH0;
- __IO uint32_t OPNPKH1;
- __IO uint32_t OPNZRH0;
- __IO uint32_t OPNZRH1;
- } stc_tmr4_ocmrh_bit_t;
- typedef struct {
- __IO uint32_t OCFDCL;
- __IO uint32_t OCFPKL;
- __IO uint32_t OCFUCL;
- __IO uint32_t OCFZRL;
- __IO uint32_t OPDCL0;
- __IO uint32_t OPDCL1;
- __IO uint32_t OPPKL0;
- __IO uint32_t OPPKL1;
- __IO uint32_t OPUCL0;
- __IO uint32_t OPUCL1;
- __IO uint32_t OPZRL0;
- __IO uint32_t OPZRL1;
- __IO uint32_t OPNPKL0;
- __IO uint32_t OPNPKL1;
- __IO uint32_t OPNZRL0;
- __IO uint32_t OPNZRL1;
- __IO uint32_t EOPNDCL0;
- __IO uint32_t EOPNDCL1;
- __IO uint32_t EOPNUCL0;
- __IO uint32_t EOPNUCL1;
- __IO uint32_t EOPDCL0;
- __IO uint32_t EOPDCL1;
- __IO uint32_t EOPPKL0;
- __IO uint32_t EOPPKL1;
- __IO uint32_t EOPUCL0;
- __IO uint32_t EOPUCL1;
- __IO uint32_t EOPZRL0;
- __IO uint32_t EOPZRL1;
- __IO uint32_t EOPNPKL0;
- __IO uint32_t EOPNPKL1;
- __IO uint32_t EOPNZRL0;
- __IO uint32_t EOPNZRL1;
- } stc_tmr4_ocmrl_bit_t;
- typedef struct {
- uint32_t RESERVED0[4];
- __IO uint32_t CLEAR;
- __IO uint32_t MODE;
- __IO uint32_t STOP;
- __IO uint32_t BUFEN;
- __IO uint32_t IRQPEN;
- __IO uint32_t IRQPF;
- __IO uint32_t IRQZEN;
- __IO uint32_t IRQZF;
- __IO uint32_t SYNST;
- __IO uint32_t HST;
- uint32_t RESERVED1[1];
- __IO uint32_t ECKEN;
- } stc_tmr4_ccsr_bit_t;
- typedef struct {
- __IO uint32_t OEUH;
- __IO uint32_t OEUL;
- __IO uint32_t OEVH;
- __IO uint32_t OEVL;
- __IO uint32_t OEWH;
- __IO uint32_t OEWL;
- __IO uint32_t OEXH;
- __IO uint32_t OEXL;
- __IO uint32_t MOE;
- __IO uint32_t AOE;
- __IO uint32_t ODT0;
- __IO uint32_t ODT1;
- uint32_t RESERVED0[4];
- __IO uint32_t OSUH0;
- __IO uint32_t OSUH1;
- __IO uint32_t OSUL0;
- __IO uint32_t OSUL1;
- __IO uint32_t OSVH0;
- __IO uint32_t OSVH1;
- __IO uint32_t OSVL0;
- __IO uint32_t OSVL1;
- __IO uint32_t OSWH0;
- __IO uint32_t OSWH1;
- __IO uint32_t OSWL0;
- __IO uint32_t OSWL1;
- __IO uint32_t OSXH0;
- __IO uint32_t OSXH1;
- __IO uint32_t OSXL0;
- __IO uint32_t OSXL1;
- } stc_tmr4_pscr_bit_t;
- typedef struct {
- uint32_t RESERVED0[4];
- __IO uint32_t PWMMD0;
- __IO uint32_t PWMMD1;
- __IO uint32_t LVLS0;
- __IO uint32_t LVLS1;
- uint32_t RESERVED1[8];
- } stc_tmr4_pocr_bit_t;
- typedef struct {
- __IO uint32_t BUFEN0;
- __IO uint32_t BUFEN1;
- __IO uint32_t EVTOS0;
- __IO uint32_t EVTOS1;
- __IO uint32_t EVTOS2;
- __IO uint32_t LMC;
- uint32_t RESERVED0[2];
- __IO uint32_t EVTMS;
- __IO uint32_t EVTDS;
- uint32_t RESERVED1[2];
- __IO uint32_t DEN;
- __IO uint32_t PEN;
- __IO uint32_t UEN;
- __IO uint32_t ZEN;
- } stc_tmr4_scsr_bit_t;
- typedef struct {
- uint32_t RESERVED0[6];
- __IO uint32_t MZCE;
- __IO uint32_t MPCE;
- uint32_t RESERVED1[8];
- } stc_tmr4_scmr_bit_t;
- typedef struct {
- __IO uint32_t EVTRS0;
- __IO uint32_t EVTRS1;
- __IO uint32_t EVTRS2;
- __IO uint32_t EVTRS3;
- uint32_t RESERVED0[4];
- __IO uint32_t PCTS;
- uint32_t RESERVED1[7];
- } stc_tmr4_scer_bit_t;
- typedef struct {
- __IO uint32_t RTIDU;
- __IO uint32_t RTIDV;
- __IO uint32_t RTIDW;
- __IO uint32_t RTIDX;
- __I uint32_t RTIFU;
- __IO uint32_t RTICU;
- __IO uint32_t RTEU;
- __IO uint32_t RTSU;
- __I uint32_t RTIFV;
- __IO uint32_t RTICV;
- __IO uint32_t RTEV;
- __IO uint32_t RTSV;
- __I uint32_t RTIFW;
- __IO uint32_t RTICW;
- __IO uint32_t RTEW;
- __IO uint32_t RTSW;
- __I uint32_t RTIFX;
- __IO uint32_t RTICX;
- __IO uint32_t RTEX;
- __IO uint32_t RTSX;
- uint32_t RESERVED0[12];
- } stc_tmr4_rcsr_bit_t;
- typedef struct {
- __IO uint32_t ITENUH;
- __IO uint32_t ITENUL;
- __IO uint32_t ITENVH;
- __IO uint32_t ITENVL;
- __IO uint32_t ITENWH;
- __IO uint32_t ITENWL;
- __IO uint32_t ITENXH;
- __IO uint32_t ITENXL;
- uint32_t RESERVED0[8];
- } stc_tmr4_scir_bit_t;
- typedef struct {
- __IO uint32_t SFUH;
- __IO uint32_t SFUL;
- __IO uint32_t SFVH;
- __IO uint32_t SFVL;
- __IO uint32_t SFWH;
- __IO uint32_t SFWL;
- __IO uint32_t SFXH;
- __IO uint32_t SFXL;
- uint32_t RESERVED0[8];
- } stc_tmr4_scfr_bit_t;
- typedef struct {
- __IO uint32_t START;
- __IO uint32_t DIR;
- __IO uint32_t MODE;
- uint32_t RESERVED0[5];
- __IO uint32_t OVSTP;
- uint32_t RESERVED1[7];
- __IO uint32_t ZMSKREV;
- __IO uint32_t ZMSKPOS;
- __IO uint32_t ZMSKVAL0;
- __IO uint32_t ZMSKVAL1;
- uint32_t RESERVED2[12];
- } stc_tmr6_gconr_bit_t;
- typedef struct {
- __IO uint32_t INTENA;
- __IO uint32_t INTENB;
- __IO uint32_t INTENC;
- __IO uint32_t INTEND;
- __IO uint32_t INTENE;
- __IO uint32_t INTENF;
- __IO uint32_t INTENOVF;
- __IO uint32_t INTENUDF;
- __IO uint32_t INTENDTE;
- uint32_t RESERVED0[7];
- __IO uint32_t INTENSAU;
- __IO uint32_t INTENSAD;
- __IO uint32_t INTENSBU;
- __IO uint32_t INTENSBD;
- uint32_t RESERVED1[12];
- } stc_tmr6_iconr_bit_t;
- typedef struct {
- __IO uint32_t BENA;
- __IO uint32_t BSEA;
- __IO uint32_t BTRUA;
- __IO uint32_t BTRDA;
- __IO uint32_t BENB;
- __IO uint32_t BSEB;
- __IO uint32_t BTRUB;
- __IO uint32_t BTRDB;
- __IO uint32_t BENP;
- __IO uint32_t BSEP;
- __IO uint32_t BTRUP;
- __IO uint32_t BTRDP;
- uint32_t RESERVED0[4];
- __IO uint32_t BENSPA;
- __IO uint32_t BSESPA;
- __IO uint32_t BTRUSPA;
- __IO uint32_t BTRDSPA;
- __IO uint32_t BENSPB;
- __IO uint32_t BSESPB;
- __IO uint32_t BTRUSPB;
- __IO uint32_t BTRDSPB;
- uint32_t RESERVED1[8];
- } stc_tmr6_bconr_bit_t;
- typedef struct {
- __IO uint32_t DTCEN;
- __IO uint32_t SEPA;
- uint32_t RESERVED0[2];
- __IO uint32_t DTBENU;
- __IO uint32_t DTBEND;
- __IO uint32_t DTBTRU;
- __IO uint32_t DTBTRD;
- uint32_t RESERVED1[24];
- } stc_tmr6_dconr_bit_t;
- typedef struct {
- __IO uint32_t STACA0;
- __IO uint32_t STACA1;
- __IO uint32_t STPCA0;
- __IO uint32_t STPCA1;
- __IO uint32_t OVFCA0;
- __IO uint32_t OVFCA1;
- __IO uint32_t UDFCA0;
- __IO uint32_t UDFCA1;
- __IO uint32_t CMAUCA0;
- __IO uint32_t CMAUCA1;
- __IO uint32_t CMADCA0;
- __IO uint32_t CMADCA1;
- __IO uint32_t CMBUCA0;
- __IO uint32_t CMBUCA1;
- __IO uint32_t CMBDCA0;
- __IO uint32_t CMBDCA1;
- __IO uint32_t FORCA0;
- __IO uint32_t FORCA1;
- uint32_t RESERVED0[2];
- __IO uint32_t EMBCA0;
- __IO uint32_t EMBCA1;
- __IO uint32_t EMBRA0;
- __IO uint32_t EMBRA1;
- __IO uint32_t EMBSA0;
- __IO uint32_t EMBSA1;
- uint32_t RESERVED1[2];
- __IO uint32_t OUTENA;
- uint32_t RESERVED2[2];
- __IO uint32_t CAPMDA;
- } stc_tmr6_pcnar_bit_t;
- typedef struct {
- __IO uint32_t STACB0;
- __IO uint32_t STACB1;
- __IO uint32_t STPCB0;
- __IO uint32_t STPCB1;
- __IO uint32_t OVFCB0;
- __IO uint32_t OVFCB1;
- __IO uint32_t UDFCB0;
- __IO uint32_t UDFCB1;
- __IO uint32_t CMAUCB0;
- __IO uint32_t CMAUCB1;
- __IO uint32_t CMADCB0;
- __IO uint32_t CMADCB1;
- __IO uint32_t CMBUCB0;
- __IO uint32_t CMBUCB1;
- __IO uint32_t CMBDCB0;
- __IO uint32_t CMBDCB1;
- __IO uint32_t FORCB0;
- __IO uint32_t FORCB1;
- uint32_t RESERVED0[2];
- __IO uint32_t EMBCB0;
- __IO uint32_t EMBCB1;
- __IO uint32_t EMBRB0;
- __IO uint32_t EMBRB1;
- __IO uint32_t EMBSB0;
- __IO uint32_t EMBSB1;
- uint32_t RESERVED1[2];
- __IO uint32_t OUTENB;
- uint32_t RESERVED2[2];
- __IO uint32_t CAPMDB;
- } stc_tmr6_pcnbr_bit_t;
- typedef struct {
- __IO uint32_t NOFIENGA;
- __IO uint32_t NOFICKGA0;
- __IO uint32_t NOFICKGA1;
- uint32_t RESERVED0[1];
- __IO uint32_t NOFIENGB;
- __IO uint32_t NOFICKGB0;
- __IO uint32_t NOFICKGB1;
- uint32_t RESERVED1[25];
- } stc_tmr6_fcngr_bit_t;
- typedef struct {
- uint32_t RESERVED0[8];
- __IO uint32_t SPPERIA;
- __IO uint32_t SPPERIB;
- uint32_t RESERVED1[6];
- __IO uint32_t PCNTE0;
- __IO uint32_t PCNTE1;
- uint32_t RESERVED2[14];
- } stc_tmr6_vperr_bit_t;
- typedef struct {
- __IO uint32_t CMAF;
- __IO uint32_t CMBF;
- __IO uint32_t CMCF;
- __IO uint32_t CMDF;
- __IO uint32_t CMEF;
- __IO uint32_t CMFF;
- __IO uint32_t OVFF;
- __IO uint32_t UDFF;
- __I uint32_t DTEF;
- __IO uint32_t CMSAUF;
- __IO uint32_t CMSADF;
- __IO uint32_t CMSBUF;
- __IO uint32_t CMSBDF;
- uint32_t RESERVED0[13];
- __IO uint32_t CMAF2;
- __IO uint32_t CMBF2;
- uint32_t RESERVED1[3];
- __I uint32_t DIRF;
- } stc_tmr6_stflr_bit_t;
- typedef struct {
- __IO uint32_t HSTA0;
- __IO uint32_t HSTA1;
- __IO uint32_t HSTA2;
- __IO uint32_t HSTA3;
- uint32_t RESERVED0[3];
- __IO uint32_t STAS;
- __IO uint32_t HSTA8;
- __IO uint32_t HSTA9;
- uint32_t RESERVED1[6];
- __IO uint32_t HSTA16;
- __IO uint32_t HSTA17;
- __IO uint32_t HSTA18;
- __IO uint32_t HSTA19;
- uint32_t RESERVED2[12];
- } stc_tmr6_hstar_bit_t;
- typedef struct {
- __IO uint32_t HSTP0;
- __IO uint32_t HSTP1;
- __IO uint32_t HSTP2;
- __IO uint32_t HSTP3;
- uint32_t RESERVED0[3];
- __IO uint32_t STPS;
- __IO uint32_t HSTP8;
- __IO uint32_t HSTP9;
- uint32_t RESERVED1[6];
- __IO uint32_t HSTP16;
- __IO uint32_t HSTP17;
- __IO uint32_t HSTP18;
- __IO uint32_t HSTP19;
- uint32_t RESERVED2[12];
- } stc_tmr6_hstpr_bit_t;
- typedef struct {
- __IO uint32_t HCLE0;
- __IO uint32_t HCLE1;
- __IO uint32_t HCLE2;
- __IO uint32_t HCLE3;
- uint32_t RESERVED0[3];
- __IO uint32_t CLES;
- __IO uint32_t HCLE8;
- __IO uint32_t HCLE9;
- uint32_t RESERVED1[6];
- __IO uint32_t HCLE16;
- __IO uint32_t HCLE17;
- __IO uint32_t HCLE18;
- __IO uint32_t HCLE19;
- uint32_t RESERVED2[12];
- } stc_tmr6_hclrr_bit_t;
- typedef struct {
- __IO uint32_t HUPD0;
- __IO uint32_t HUPD1;
- __IO uint32_t HUPD2;
- __IO uint32_t HUPD3;
- uint32_t RESERVED0[3];
- __IO uint32_t UPDS;
- __IO uint32_t HUPD8;
- __IO uint32_t HUPD9;
- uint32_t RESERVED1[6];
- __IO uint32_t HUPD16;
- __IO uint32_t HUPD17;
- __IO uint32_t HUPD18;
- __IO uint32_t HUPD19;
- uint32_t RESERVED2[12];
- } stc_tmr6_hupdr_bit_t;
- typedef struct {
- __IO uint32_t HCPA0;
- __IO uint32_t HCPA1;
- __IO uint32_t HCPA2;
- __IO uint32_t HCPA3;
- uint32_t RESERVED0[4];
- __IO uint32_t HCPA8;
- __IO uint32_t HCPA9;
- uint32_t RESERVED1[6];
- __IO uint32_t HCPA16;
- __IO uint32_t HCPA17;
- __IO uint32_t HCPA18;
- __IO uint32_t HCPA19;
- uint32_t RESERVED2[4];
- __IO uint32_t HCPA24;
- __IO uint32_t HCPA25;
- uint32_t RESERVED3[6];
- } stc_tmr6_hcpar_bit_t;
- typedef struct {
- __IO uint32_t HCPB0;
- __IO uint32_t HCPB1;
- __IO uint32_t HCPB2;
- __IO uint32_t HCPB3;
- uint32_t RESERVED0[4];
- __IO uint32_t HCPB8;
- __IO uint32_t HCPB9;
- uint32_t RESERVED1[6];
- __IO uint32_t HCPB16;
- __IO uint32_t HCPB17;
- __IO uint32_t HCPB18;
- __IO uint32_t HCPB19;
- uint32_t RESERVED2[4];
- __IO uint32_t HCPB24;
- __IO uint32_t HCPB25;
- uint32_t RESERVED3[6];
- } stc_tmr6_hcpbr_bit_t;
- typedef struct {
- __IO uint32_t HCUP0;
- __IO uint32_t HCUP1;
- __IO uint32_t HCUP2;
- __IO uint32_t HCUP3;
- __IO uint32_t HCUP4;
- __IO uint32_t HCUP5;
- __IO uint32_t HCUP6;
- __IO uint32_t HCUP7;
- __IO uint32_t HCUP8;
- __IO uint32_t HCUP9;
- uint32_t RESERVED0[6];
- __IO uint32_t HCUP16;
- __IO uint32_t HCUP17;
- __IO uint32_t HCUP18;
- __IO uint32_t HCUP19;
- uint32_t RESERVED1[12];
- } stc_tmr6_hcupr_bit_t;
- typedef struct {
- __IO uint32_t HCDO0;
- __IO uint32_t HCDO1;
- __IO uint32_t HCDO2;
- __IO uint32_t HCDO3;
- __IO uint32_t HCDO4;
- __IO uint32_t HCDO5;
- __IO uint32_t HCDO6;
- __IO uint32_t HCDO7;
- __IO uint32_t HCDO8;
- __IO uint32_t HCDO9;
- uint32_t RESERVED0[6];
- __IO uint32_t HCDO16;
- __IO uint32_t HCDO17;
- __IO uint32_t HCDO18;
- __IO uint32_t HCDO19;
- uint32_t RESERVED1[12];
- } stc_tmr6_hcdor_bit_t;
- typedef struct {
- __IO uint32_t NOFIENTA;
- __IO uint32_t NOFICKTA0;
- __IO uint32_t NOFICKTA1;
- uint32_t RESERVED0[1];
- __IO uint32_t NOFIENTB;
- __IO uint32_t NOFICKTB0;
- __IO uint32_t NOFICKTB1;
- uint32_t RESERVED1[25];
- } stc_tmr6cr_fcntr_bit_t;
- typedef struct {
- __IO uint32_t SSTA1;
- __IO uint32_t SSTA2;
- uint32_t RESERVED0[30];
- } stc_tmr6cr_sstar_bit_t;
- typedef struct {
- __IO uint32_t SSTP1;
- __IO uint32_t SSTP2;
- uint32_t RESERVED0[30];
- } stc_tmr6cr_sstpr_bit_t;
- typedef struct {
- __IO uint32_t SCLE1;
- __IO uint32_t SCLE2;
- uint32_t RESERVED0[30];
- } stc_tmr6cr_sclrr_bit_t;
- typedef struct {
- __IO uint32_t SUPD1;
- __IO uint32_t SUPD2;
- uint32_t RESERVED0[30];
- } stc_tmr6cr_supdr_bit_t;
- typedef struct {
- __IO uint32_t START;
- __IO uint32_t DIR;
- __IO uint32_t MODE;
- __IO uint32_t SYNST;
- uint32_t RESERVED0[4];
- __IO uint32_t OVSTP;
- uint32_t RESERVED1[3];
- __IO uint32_t ITENOVF;
- __IO uint32_t ITENUDF;
- __IO uint32_t OVFF;
- __IO uint32_t UDFF;
- } stc_tmra_bcstr_bit_t;
- typedef struct {
- __IO uint32_t HSTA0;
- __IO uint32_t HSTA1;
- __IO uint32_t HSTA2;
- uint32_t RESERVED0[1];
- __IO uint32_t HSTP0;
- __IO uint32_t HSTP1;
- __IO uint32_t HSTP2;
- uint32_t RESERVED1[1];
- __IO uint32_t HCLE0;
- __IO uint32_t HCLE1;
- __IO uint32_t HCLE2;
- uint32_t RESERVED2[1];
- __IO uint32_t HCLE3;
- __IO uint32_t HCLE4;
- __IO uint32_t HCLE5;
- __IO uint32_t HCLE6;
- } stc_tmra_hconr_bit_t;
- typedef struct {
- __IO uint32_t HCUP0;
- __IO uint32_t HCUP1;
- __IO uint32_t HCUP2;
- __IO uint32_t HCUP3;
- __IO uint32_t HCUP4;
- __IO uint32_t HCUP5;
- __IO uint32_t HCUP6;
- __IO uint32_t HCUP7;
- __IO uint32_t HCUP8;
- __IO uint32_t HCUP9;
- __IO uint32_t HCUP10;
- __IO uint32_t HCUP11;
- __IO uint32_t HCUP12;
- uint32_t RESERVED0[3];
- } stc_tmra_hcupr_bit_t;
- typedef struct {
- __IO uint32_t HCDO0;
- __IO uint32_t HCDO1;
- __IO uint32_t HCDO2;
- __IO uint32_t HCDO3;
- __IO uint32_t HCDO4;
- __IO uint32_t HCDO5;
- __IO uint32_t HCDO6;
- __IO uint32_t HCDO7;
- __IO uint32_t HCDO8;
- __IO uint32_t HCDO9;
- __IO uint32_t HCDO10;
- __IO uint32_t HCDO11;
- __IO uint32_t HCDO12;
- uint32_t RESERVED0[3];
- } stc_tmra_hcdor_bit_t;
- typedef struct {
- __IO uint32_t ITEN1;
- __IO uint32_t ITEN2;
- __IO uint32_t ITEN3;
- __IO uint32_t ITEN4;
- __IO uint32_t ITEN5;
- __IO uint32_t ITEN6;
- __IO uint32_t ITEN7;
- __IO uint32_t ITEN8;
- uint32_t RESERVED0[8];
- } stc_tmra_iconr_bit_t;
- typedef struct {
- __IO uint32_t ETEN1;
- __IO uint32_t ETEN2;
- __IO uint32_t ETEN3;
- __IO uint32_t ETEN4;
- __IO uint32_t ETEN5;
- __IO uint32_t ETEN6;
- __IO uint32_t ETEN7;
- __IO uint32_t ETEN8;
- uint32_t RESERVED0[8];
- } stc_tmra_econr_bit_t;
- typedef struct {
- __IO uint32_t NOFIENTG;
- uint32_t RESERVED0[7];
- __IO uint32_t NOFIENCA;
- uint32_t RESERVED1[3];
- __IO uint32_t NOFIENCB;
- uint32_t RESERVED2[3];
- } stc_tmra_fconr_bit_t;
- typedef struct {
- __IO uint32_t CMPF1;
- __IO uint32_t CMPF2;
- __IO uint32_t CMPF3;
- __IO uint32_t CMPF4;
- __IO uint32_t CMPF5;
- __IO uint32_t CMPF6;
- __IO uint32_t CMPF7;
- __IO uint32_t CMPF8;
- __IO uint32_t ICPF1;
- __IO uint32_t ICPF2;
- __IO uint32_t ICPF3;
- __IO uint32_t ICPF4;
- __IO uint32_t ICPF5;
- __IO uint32_t ICPF6;
- __IO uint32_t ICPF7;
- __IO uint32_t ICPF8;
- } stc_tmra_stflr_bit_t;
- typedef struct {
- __IO uint32_t BEN;
- __IO uint32_t BSE0;
- __IO uint32_t BSE1;
- uint32_t RESERVED0[13];
- } stc_tmra_bconr_bit_t;
- typedef struct {
- __IO uint32_t CAPMD;
- uint32_t RESERVED0[3];
- __IO uint32_t HICP0;
- __IO uint32_t HICP1;
- __IO uint32_t HICP2;
- uint32_t RESERVED1[1];
- __IO uint32_t HICP3;
- __IO uint32_t HICP4;
- __IO uint32_t HICP5;
- __IO uint32_t HICP6;
- __IO uint32_t NOFIENCP;
- __IO uint32_t NOFICKCP0;
- __IO uint32_t NOFICKCP1;
- uint32_t RESERVED2[1];
- } stc_tmra_cconr_bit_t;
- typedef struct {
- __IO uint32_t STAC0;
- __IO uint32_t STAC1;
- __IO uint32_t STPC0;
- __IO uint32_t STPC1;
- __IO uint32_t CMPC0;
- __IO uint32_t CMPC1;
- __IO uint32_t PERC0;
- __IO uint32_t PERC1;
- __IO uint32_t FORC0;
- __IO uint32_t FORC1;
- uint32_t RESERVED0[2];
- __IO uint32_t OUTEN;
- uint32_t RESERVED1[3];
- } stc_tmra_pconr_bit_t;
- typedef struct {
- __IO uint32_t END;
- __IO uint32_t RUN;
- uint32_t RESERVED0[30];
- } stc_trng_cr_bit_t;
- typedef struct {
- __IO uint32_t LOAD;
- uint32_t RESERVED0[31];
- } stc_trng_mr_bit_t;
- typedef struct {
- __I uint32_t PE;
- __I uint32_t FE;
- uint32_t RESERVED0[1];
- __I uint32_t ORE;
- __I uint32_t BE;
- __I uint32_t RXNE;
- __I uint32_t TC;
- __I uint32_t TXE;
- __I uint32_t RTOF;
- __I uint32_t WKUP;
- __I uint32_t LBD;
- __I uint32_t TEND;
- uint32_t RESERVED1[4];
- __I uint32_t MPB;
- uint32_t RESERVED2[15];
- } stc_usart_sr_bit_t;
- typedef struct {
- uint32_t RESERVED0[9];
- __IO uint32_t MPID;
- uint32_t RESERVED1[22];
- } stc_usart_dr_bit_t;
- typedef struct {
- __IO uint32_t RTOE;
- __IO uint32_t RTOIE;
- __IO uint32_t RE;
- __IO uint32_t TE;
- __IO uint32_t SLME;
- __IO uint32_t RIE;
- __IO uint32_t TCIE;
- __IO uint32_t TXEIE;
- __IO uint32_t TENDIE;
- __IO uint32_t PS;
- __IO uint32_t PCE;
- uint32_t RESERVED0[1];
- __IO uint32_t M;
- uint32_t RESERVED1[2];
- __IO uint32_t OVER8;
- __IO uint32_t CPE;
- __IO uint32_t CFE;
- uint32_t RESERVED2[1];
- __IO uint32_t CORE;
- __IO uint32_t CRTOF;
- __IO uint32_t CBE;
- __IO uint32_t CWKUP;
- __IO uint32_t CLBD;
- __IO uint32_t MS;
- __IO uint32_t CTEND;
- uint32_t RESERVED3[2];
- __IO uint32_t ML;
- __IO uint32_t FBME;
- __IO uint32_t NFE;
- __IO uint32_t SBS;
- } stc_usart_cr1_bit_t;
- typedef struct {
- __IO uint32_t MPE;
- __IO uint32_t WKUPIE;
- __IO uint32_t BEIE;
- __IO uint32_t BEE;
- __IO uint32_t LBDIE;
- __IO uint32_t LBDL;
- __IO uint32_t SBKL0;
- __IO uint32_t SBKL1;
- __IO uint32_t WKUPE;
- uint32_t RESERVED0[2];
- __IO uint32_t CLKC0;
- __IO uint32_t CLKC1;
- __IO uint32_t STOP;
- __IO uint32_t LINEN;
- uint32_t RESERVED1[1];
- __IO uint32_t SBK;
- __IO uint32_t SBKM;
- uint32_t RESERVED2[14];
- } stc_usart_cr2_bit_t;
- typedef struct {
- uint32_t RESERVED0[3];
- __IO uint32_t HDSEL;
- __IO uint32_t LOOP;
- __IO uint32_t SCEN;
- uint32_t RESERVED1[2];
- __IO uint32_t RTSE;
- __IO uint32_t CTSE;
- uint32_t RESERVED2[11];
- __IO uint32_t BCN0;
- __IO uint32_t BCN1;
- __IO uint32_t BCN2;
- uint32_t RESERVED3[8];
- } stc_usart_cr3_bit_t;
- typedef struct {
- __IO uint32_t PSC0;
- __IO uint32_t PSC1;
- __IO uint32_t LBMPSC0;
- __IO uint32_t LBMPSC1;
- __IO uint32_t ULBREN;
- uint32_t RESERVED0[27];
- } stc_usart_pr_bit_t;
- typedef struct {
- __I uint32_t LBMC0;
- __I uint32_t LBMC1;
- __I uint32_t LBMC2;
- __I uint32_t LBMC3;
- __I uint32_t LBMC4;
- __I uint32_t LBMC5;
- __I uint32_t LBMC6;
- __I uint32_t LBMC7;
- __I uint32_t LBMC8;
- __I uint32_t LBMC9;
- __I uint32_t LBMC10;
- __I uint32_t LBMC11;
- __I uint32_t LBMC12;
- __I uint32_t LBMC13;
- __I uint32_t LBMC14;
- __I uint32_t LBMC15;
- uint32_t RESERVED0[16];
- } stc_usart_lbmc_bit_t;
- typedef struct {
- __IO uint32_t PERI0;
- __IO uint32_t PERI1;
- uint32_t RESERVED0[2];
- __IO uint32_t CKS0;
- __IO uint32_t CKS1;
- __IO uint32_t CKS2;
- __IO uint32_t CKS3;
- __IO uint32_t WDPT0;
- __IO uint32_t WDPT1;
- __IO uint32_t WDPT2;
- __IO uint32_t WDPT3;
- uint32_t RESERVED1[4];
- __IO uint32_t SLPOFF;
- uint32_t RESERVED2[14];
- __IO uint32_t ITS;
- } stc_wdt_cr_bit_t;
- typedef struct {
- __I uint32_t CNT0;
- __I uint32_t CNT1;
- __I uint32_t CNT2;
- __I uint32_t CNT3;
- __I uint32_t CNT4;
- __I uint32_t CNT5;
- __I uint32_t CNT6;
- __I uint32_t CNT7;
- __I uint32_t CNT8;
- __I uint32_t CNT9;
- __I uint32_t CNT10;
- __I uint32_t CNT11;
- __I uint32_t CNT12;
- __I uint32_t CNT13;
- __I uint32_t CNT14;
- __I uint32_t CNT15;
- __IO uint32_t UDF;
- __IO uint32_t REF;
- uint32_t RESERVED0[14];
- } stc_wdt_sr_bit_t;
- typedef struct {
- __IO uint32_t RF0;
- __IO uint32_t RF1;
- __IO uint32_t RF2;
- __IO uint32_t RF3;
- __IO uint32_t RF4;
- __IO uint32_t RF5;
- __IO uint32_t RF6;
- __IO uint32_t RF7;
- __IO uint32_t RF8;
- __IO uint32_t RF9;
- __IO uint32_t RF10;
- __IO uint32_t RF11;
- __IO uint32_t RF12;
- __IO uint32_t RF13;
- __IO uint32_t RF14;
- __IO uint32_t RF15;
- uint32_t RESERVED0[16];
- } stc_wdt_rr_bit_t;
- typedef struct {
- stc_adc_str_bit_t STR_b;
- uint32_t RESERVED0[8];
- stc_adc_cr0_bit_t CR0_b;
- stc_adc_cr1_bit_t CR1_b;
- stc_adc_cr2_bit_t CR2_b;
- uint32_t RESERVED1[16];
- stc_adc_trgsr_bit_t TRGSR_b;
- uint32_t RESERVED2[96];
- stc_adc_exchselr_bit_t EXCHSELR_b;
- uint32_t RESERVED3[344];
- stc_adc_isr_bit_t ISR_b;
- stc_adc_icr_bit_t ICR_b;
- stc_adc_isclrr_bit_t ISCLRR_b;
- uint32_t RESERVED4[40];
- stc_adc_synccr_bit_t SYNCCR_b;
- uint32_t RESERVED5[656];
- stc_adc_awdcr_bit_t AWDCR_b;
- stc_adc_awdsr_bit_t AWDSR_b;
- stc_adc_awdsclrr_bit_t AWDSCLRR_b;
- } bCM_ADC_TypeDef;
- typedef struct {
- stc_aes_cr_bit_t CR_b;
- } bCM_AES_TypeDef;
- typedef struct {
- stc_aos_intsfttrg_bit_t INTSFTTRG_b;
- stc_aos_dcu_trgsel_bit_t DCU_TRGSEL1_b;
- stc_aos_dcu_trgsel_bit_t DCU_TRGSEL2_b;
- stc_aos_dcu_trgsel_bit_t DCU_TRGSEL3_b;
- stc_aos_dcu_trgsel_bit_t DCU_TRGSEL4_b;
- stc_aos_dma1_trgsel_bit_t DMA1_TRGSEL0_b;
- stc_aos_dma1_trgsel_bit_t DMA1_TRGSEL1_b;
- stc_aos_dma1_trgsel_bit_t DMA1_TRGSEL2_b;
- stc_aos_dma1_trgsel_bit_t DMA1_TRGSEL3_b;
- stc_aos_dma1_trgsel_bit_t DMA1_TRGSEL4_b;
- stc_aos_dma1_trgsel_bit_t DMA1_TRGSEL5_b;
- stc_aos_dma2_trgsel_bit_t DMA2_TRGSEL0_b;
- stc_aos_dma2_trgsel_bit_t DMA2_TRGSEL1_b;
- stc_aos_dma2_trgsel_bit_t DMA2_TRGSEL2_b;
- stc_aos_dma2_trgsel_bit_t DMA2_TRGSEL3_b;
- stc_aos_dma2_trgsel_bit_t DMA2_TRGSEL4_b;
- stc_aos_dma2_trgsel_bit_t DMA2_TRGSEL5_b;
- stc_aos_dma_trgselrc_bit_t DMA_TRGSELRC_b;
- stc_aos_tmr6_htssr_bit_t TMR6_HTSSR0_b;
- stc_aos_tmr6_htssr_bit_t TMR6_HTSSR1_b;
- stc_aos_tmr4_htssr_bit_t TMR4_HTSSR0_b;
- stc_aos_tmr4_htssr_bit_t TMR4_HTSSR1_b;
- stc_aos_tmr4_htssr_bit_t TMR4_HTSSR2_b;
- stc_aos_pevnttrgsr12_bit_t PEVNTTRGSR12_b;
- stc_aos_pevnttrgsr34_bit_t PEVNTTRGSR34_b;
- stc_aos_tmr0_htssr_bit_t TMR0_HTSSR_b;
- stc_aos_tmra_htssr_bit_t TMRA_HTSSR0_b;
- stc_aos_tmra_htssr_bit_t TMRA_HTSSR1_b;
- stc_aos_tmra_htssr_bit_t TMRA_HTSSR2_b;
- stc_aos_tmra_htssr_bit_t TMRA_HTSSR3_b;
- stc_aos_adc1_itrgselr_bit_t ADC1_ITRGSELR0_b;
- stc_aos_adc1_itrgselr_bit_t ADC1_ITRGSELR1_b;
- stc_aos_adc2_itrgselr_bit_t ADC2_ITRGSELR0_b;
- stc_aos_adc2_itrgselr_bit_t ADC2_ITRGSELR1_b;
- stc_aos_adc3_itrgselr_bit_t ADC3_ITRGSELR0_b;
- stc_aos_adc3_itrgselr_bit_t ADC3_ITRGSELR1_b;
- uint32_t RESERVED0[1792];
- stc_aos_pevntnfcr_bit_t PEVNTNFCR_b;
- } bCM_AOS_TypeDef;
- typedef struct {
- stc_cmp_mdr_bit_t MDR_b;
- stc_cmp_fir_bit_t FIR_b;
- stc_cmp_ocr_bit_t OCR_b;
- uint32_t RESERVED0[8];
- stc_cmp_pmsr_bit_t PMSR_b;
- uint32_t RESERVED1[64];
- stc_cmp_bwsr1_bit_t BWSR1_b;
- stc_cmp_bwsr2_bit_t BWSR2_b;
- } bCM_CMP_TypeDef;
- typedef struct {
- uint32_t RESERVED0[224];
- stc_cmu_xtaldivcr_bit_t XTALDIVCR_b;
- uint32_t RESERVED1[156032];
- stc_cmu_xtalcfgr_bit_t XTALCFGR_b;
- uint32_t RESERVED2[24];
- stc_cmu_xtal32cr_bit_t XTAL32CR_b;
- uint32_t RESERVED3[152];
- stc_cmu_xtal32nfr_bit_t XTAL32NFR_b;
- uint32_t RESERVED4[24];
- stc_cmu_lrccr_bit_t LRCCR_b;
- uint32_t RESERVED5[237032];
- stc_cmu_pllhcr_bit_t PLLHCR_b;
- uint32_t RESERVED6[56];
- stc_cmu_xtalcr_bit_t XTALCR_b;
- uint32_t RESERVED7[24];
- stc_cmu_hrccr_bit_t HRCCR_b;
- uint32_t RESERVED8[8];
- stc_cmu_mrccr_bit_t MRCCR_b;
- uint32_t RESERVED9[24];
- stc_cmu_oscstbsr_bit_t OSCSTBSR_b;
- stc_cmu_mcocfgr_bit_t MCO1CFGR_b;
- stc_cmu_mcocfgr_bit_t MCO2CFGR_b;
- stc_cmu_tpiuckcfgr_bit_t TPIUCKCFGR_b;
- stc_cmu_xtalstdcr_bit_t XTALSTDCR_b;
- stc_cmu_xtalstdsr_bit_t XTALSTDSR_b;
- uint32_t RESERVED10[1520];
- stc_cmu_pllhcfgr_bit_t PLLHCFGR_b;
- } bCM_CMU_TypeDef;
- typedef struct {
- stc_crc_cr_bit_t CR_b;
- } bCM_CRC_TypeDef;
- typedef struct {
- stc_ctc_cr1_bit_t CR1_b;
- uint32_t RESERVED0[32];
- stc_ctc_str_bit_t STR_b;
- } bCM_CTC_TypeDef;
- typedef struct {
- stc_dac_dadr1_bit_t DADR1_b;
- stc_dac_dadr2_bit_t DADR2_b;
- stc_dac_dacr_bit_t DACR_b;
- stc_dac_daadpcr_bit_t DAADPCR_b;
- uint32_t RESERVED0[160];
- stc_dac_daocr_bit_t DAOCR_b;
- } bCM_DAC_TypeDef;
- typedef struct {
- stc_dcu_ctl_bit_t CTL_b;
- stc_dcu_flag_bit_t FLAG_b;
- uint32_t RESERVED0[96];
- stc_dcu_flagclr_bit_t FLAGCLR_b;
- stc_dcu_intevtsel_bit_t INTEVTSEL_b;
- } bCM_DCU_TypeDef;
- typedef struct {
- stc_dma_en_bit_t EN_b;
- stc_dma_intstat0_bit_t INTSTAT0_b;
- stc_dma_intstat1_bit_t INTSTAT1_b;
- stc_dma_intmask0_bit_t INTMASK0_b;
- stc_dma_intmask1_bit_t INTMASK1_b;
- stc_dma_intclr0_bit_t INTCLR0_b;
- stc_dma_intclr1_bit_t INTCLR1_b;
- stc_dma_chen_bit_t CHEN_b;
- stc_dma_reqstat_bit_t REQSTAT_b;
- stc_dma_chstat_bit_t CHSTAT_b;
- uint32_t RESERVED0[32];
- stc_dma_rcfgctl_bit_t RCFGCTL_b;
- uint32_t RESERVED1[32];
- stc_dma_chenclr_bit_t CHENCLR_b;
- uint32_t RESERVED2[288];
- stc_dma_chctl_bit_t CHCTL0_b;
- uint32_t RESERVED3[480];
- stc_dma_chctl_bit_t CHCTL1_b;
- uint32_t RESERVED4[480];
- stc_dma_chctl_bit_t CHCTL2_b;
- uint32_t RESERVED5[480];
- stc_dma_chctl_bit_t CHCTL3_b;
- uint32_t RESERVED6[480];
- stc_dma_chctl_bit_t CHCTL4_b;
- uint32_t RESERVED7[480];
- stc_dma_chctl_bit_t CHCTL5_b;
- } bCM_DMA_TypeDef;
- typedef struct {
- uint32_t RESERVED0[160];
- stc_efm_fstp_bit_t FSTP_b;
- stc_efm_frmc_bit_t FRMC_b;
- stc_efm_fwmc_bit_t FWMC_b;
- stc_efm_fsr_bit_t FSR_b;
- stc_efm_fsclr_bit_t FSCLR_b;
- stc_efm_fite_bit_t FITE_b;
- stc_efm_fswp_bit_t FSWP_b;
- uint32_t RESERVED1[1696];
- stc_efm_mmf_remcr_bit_t MMF_REMCR0_b;
- stc_efm_mmf_remcr1_bit_t MMF_REMCR1_b;
- uint32_t RESERVED2[928];
- stc_efm_wlock_bit_t WLOCK_b;
- uint32_t RESERVED3[96];
- stc_efm_f0nwprt_bit_t F0NWPRT_b;
- } bCM_EFM_TypeDef;
- typedef struct {
- stc_emb_ctl1_bit_t CTL1_b;
- stc_emb_ctl2_bit_t CTL2_b;
- stc_emb_soe_bit_t SOE_b;
- stc_emb_stat_bit_t STAT_b;
- stc_emb_statclr_bit_t STATCLR_b;
- stc_emb_inten_bit_t INTEN_b;
- stc_emb_rlssel_bit_t RLSSEL_b;
- } bCM_EMB_TypeDef;
- typedef struct {
- uint32_t RESERVED0[96];
- stc_fcm_str_bit_t STR_b;
- stc_fcm_mccr_bit_t MCCR_b;
- stc_fcm_rccr_bit_t RCCR_b;
- stc_fcm_rier_bit_t RIER_b;
- stc_fcm_sr_bit_t SR_b;
- stc_fcm_clr_bit_t CLR_b;
- } bCM_FCM_TypeDef;
- typedef struct {
- stc_gpio_pidr_bit_t PIDRA_b;
- uint32_t RESERVED0[16];
- stc_gpio_podr_bit_t PODRA_b;
- stc_gpio_poer_bit_t POERA_b;
- stc_gpio_posr_bit_t POSRA_b;
- stc_gpio_porr_bit_t PORRA_b;
- stc_gpio_potr_bit_t POTRA_b;
- uint32_t RESERVED1[16];
- stc_gpio_pidr_bit_t PIDRB_b;
- uint32_t RESERVED2[16];
- stc_gpio_podr_bit_t PODRB_b;
- stc_gpio_poer_bit_t POERB_b;
- stc_gpio_posr_bit_t POSRB_b;
- stc_gpio_porr_bit_t PORRB_b;
- stc_gpio_potr_bit_t POTRB_b;
- uint32_t RESERVED3[16];
- stc_gpio_pidr_bit_t PIDRC_b;
- uint32_t RESERVED4[16];
- stc_gpio_podr_bit_t PODRC_b;
- stc_gpio_poer_bit_t POERC_b;
- stc_gpio_posr_bit_t POSRC_b;
- stc_gpio_porr_bit_t PORRC_b;
- stc_gpio_potr_bit_t POTRC_b;
- uint32_t RESERVED5[16];
- stc_gpio_pidr_bit_t PIDRD_b;
- uint32_t RESERVED6[16];
- stc_gpio_podr_bit_t PODRD_b;
- stc_gpio_poer_bit_t POERD_b;
- stc_gpio_posr_bit_t POSRD_b;
- stc_gpio_porr_bit_t PORRD_b;
- stc_gpio_potr_bit_t POTRD_b;
- uint32_t RESERVED7[16];
- stc_gpio_pidr_bit_t PIDRE_b;
- uint32_t RESERVED8[16];
- stc_gpio_podr_bit_t PODRE_b;
- stc_gpio_poer_bit_t POERE_b;
- stc_gpio_posr_bit_t POSRE_b;
- stc_gpio_porr_bit_t PORRE_b;
- stc_gpio_potr_bit_t POTRE_b;
- uint32_t RESERVED9[16];
- stc_gpio_pidr_bit_t PIDRH_b;
- uint32_t RESERVED10[16];
- stc_gpio_podr_bit_t PODRH_b;
- stc_gpio_poer_bit_t POERH_b;
- stc_gpio_posr_bit_t POSRH_b;
- stc_gpio_porr_bit_t PORRH_b;
- stc_gpio_potr_bit_t POTRH_b;
- uint32_t RESERVED11[7344];
- stc_gpio_pspcr_bit_t PSPCR_b;
- uint32_t RESERVED12[16];
- stc_gpio_pccr_bit_t PCCR_b;
- uint32_t RESERVED13[16];
- stc_gpio_pwpr_bit_t PWPR_b;
- uint32_t RESERVED14[16];
- stc_gpio_pcr_bit_t PCRA0_b;
- stc_gpio_pfsr_bit_t PFSRA0_b;
- stc_gpio_pcr_bit_t PCRA1_b;
- stc_gpio_pfsr_bit_t PFSRA1_b;
- stc_gpio_pcr_bit_t PCRA2_b;
- stc_gpio_pfsr_bit_t PFSRA2_b;
- stc_gpio_pcr_bit_t PCRA3_b;
- stc_gpio_pfsr_bit_t PFSRA3_b;
- stc_gpio_pcr_bit_t PCRA4_b;
- stc_gpio_pfsr_bit_t PFSRA4_b;
- stc_gpio_pcr_bit_t PCRA5_b;
- stc_gpio_pfsr_bit_t PFSRA5_b;
- stc_gpio_pcr_bit_t PCRA6_b;
- stc_gpio_pfsr_bit_t PFSRA6_b;
- stc_gpio_pcr_bit_t PCRA7_b;
- stc_gpio_pfsr_bit_t PFSRA7_b;
- stc_gpio_pcr_bit_t PCRA8_b;
- stc_gpio_pfsr_bit_t PFSRA8_b;
- stc_gpio_pcr_bit_t PCRA9_b;
- stc_gpio_pfsr_bit_t PFSRA9_b;
- stc_gpio_pcr_bit_t PCRA10_b;
- stc_gpio_pfsr_bit_t PFSRA10_b;
- stc_gpio_pcr_bit_t PCRA11_b;
- stc_gpio_pfsr_bit_t PFSRA11_b;
- stc_gpio_pcr_bit_t PCRA12_b;
- stc_gpio_pfsr_bit_t PFSRA12_b;
- stc_gpio_pcr_bit_t PCRA13_b;
- stc_gpio_pfsr_bit_t PFSRA13_b;
- stc_gpio_pcr_bit_t PCRA14_b;
- stc_gpio_pfsr_bit_t PFSRA14_b;
- stc_gpio_pcr_bit_t PCRA15_b;
- stc_gpio_pfsr_bit_t PFSRA15_b;
- stc_gpio_pcr_bit_t PCRB0_b;
- stc_gpio_pfsr_bit_t PFSRB0_b;
- stc_gpio_pcr_bit_t PCRB1_b;
- stc_gpio_pfsr_bit_t PFSRB1_b;
- stc_gpio_pcr_bit_t PCRB2_b;
- stc_gpio_pfsr_bit_t PFSRB2_b;
- stc_gpio_pcr_bit_t PCRB3_b;
- stc_gpio_pfsr_bit_t PFSRB3_b;
- stc_gpio_pcr_bit_t PCRB4_b;
- stc_gpio_pfsr_bit_t PFSRB4_b;
- stc_gpio_pcr_bit_t PCRB5_b;
- stc_gpio_pfsr_bit_t PFSRB5_b;
- stc_gpio_pcr_bit_t PCRB6_b;
- stc_gpio_pfsr_bit_t PFSRB6_b;
- stc_gpio_pcr_bit_t PCRB7_b;
- stc_gpio_pfsr_bit_t PFSRB7_b;
- stc_gpio_pcr_bit_t PCRB8_b;
- stc_gpio_pfsr_bit_t PFSRB8_b;
- stc_gpio_pcr_bit_t PCRB9_b;
- stc_gpio_pfsr_bit_t PFSRB9_b;
- stc_gpio_pcr_bit_t PCRB10_b;
- stc_gpio_pfsr_bit_t PFSRB10_b;
- stc_gpio_pcr_bit_t PCRB11_b;
- stc_gpio_pfsr_bit_t PFSRB11_b;
- stc_gpio_pcr_bit_t PCRB12_b;
- stc_gpio_pfsr_bit_t PFSRB12_b;
- stc_gpio_pcr_bit_t PCRB13_b;
- stc_gpio_pfsr_bit_t PFSRB13_b;
- stc_gpio_pcr_bit_t PCRB14_b;
- stc_gpio_pfsr_bit_t PFSRB14_b;
- stc_gpio_pcr_bit_t PCRB15_b;
- stc_gpio_pfsr_bit_t PFSRB15_b;
- stc_gpio_pcr_bit_t PCRC0_b;
- stc_gpio_pfsr_bit_t PFSRC0_b;
- stc_gpio_pcr_bit_t PCRC1_b;
- stc_gpio_pfsr_bit_t PFSRC1_b;
- stc_gpio_pcr_bit_t PCRC2_b;
- stc_gpio_pfsr_bit_t PFSRC2_b;
- stc_gpio_pcr_bit_t PCRC3_b;
- stc_gpio_pfsr_bit_t PFSRC3_b;
- stc_gpio_pcr_bit_t PCRC4_b;
- stc_gpio_pfsr_bit_t PFSRC4_b;
- stc_gpio_pcr_bit_t PCRC5_b;
- stc_gpio_pfsr_bit_t PFSRC5_b;
- stc_gpio_pcr_bit_t PCRC6_b;
- stc_gpio_pfsr_bit_t PFSRC6_b;
- stc_gpio_pcr_bit_t PCRC7_b;
- stc_gpio_pfsr_bit_t PFSRC7_b;
- stc_gpio_pcr_bit_t PCRC8_b;
- stc_gpio_pfsr_bit_t PFSRC8_b;
- stc_gpio_pcr_bit_t PCRC9_b;
- stc_gpio_pfsr_bit_t PFSRC9_b;
- stc_gpio_pcr_bit_t PCRC10_b;
- stc_gpio_pfsr_bit_t PFSRC10_b;
- stc_gpio_pcr_bit_t PCRC11_b;
- stc_gpio_pfsr_bit_t PFSRC11_b;
- stc_gpio_pcr_bit_t PCRC12_b;
- stc_gpio_pfsr_bit_t PFSRC12_b;
- stc_gpio_pcr_bit_t PCRC13_b;
- stc_gpio_pfsr_bit_t PFSRC13_b;
- stc_gpio_pcr_bit_t PCRC14_b;
- stc_gpio_pfsr_bit_t PFSRC14_b;
- stc_gpio_pcr_bit_t PCRC15_b;
- stc_gpio_pfsr_bit_t PFSRC15_b;
- stc_gpio_pcr_bit_t PCRD0_b;
- stc_gpio_pfsr_bit_t PFSRD0_b;
- stc_gpio_pcr_bit_t PCRD1_b;
- stc_gpio_pfsr_bit_t PFSRD1_b;
- stc_gpio_pcr_bit_t PCRD2_b;
- stc_gpio_pfsr_bit_t PFSRD2_b;
- stc_gpio_pcr_bit_t PCRD3_b;
- stc_gpio_pfsr_bit_t PFSRD3_b;
- stc_gpio_pcr_bit_t PCRD4_b;
- stc_gpio_pfsr_bit_t PFSRD4_b;
- stc_gpio_pcr_bit_t PCRD5_b;
- stc_gpio_pfsr_bit_t PFSRD5_b;
- stc_gpio_pcr_bit_t PCRD6_b;
- stc_gpio_pfsr_bit_t PFSRD6_b;
- stc_gpio_pcr_bit_t PCRD7_b;
- stc_gpio_pfsr_bit_t PFSRD7_b;
- stc_gpio_pcr_bit_t PCRD8_b;
- stc_gpio_pfsr_bit_t PFSRD8_b;
- stc_gpio_pcr_bit_t PCRD9_b;
- stc_gpio_pfsr_bit_t PFSRD9_b;
- stc_gpio_pcr_bit_t PCRD10_b;
- stc_gpio_pfsr_bit_t PFSRD10_b;
- stc_gpio_pcr_bit_t PCRD11_b;
- stc_gpio_pfsr_bit_t PFSRD11_b;
- stc_gpio_pcr_bit_t PCRD12_b;
- stc_gpio_pfsr_bit_t PFSRD12_b;
- stc_gpio_pcr_bit_t PCRD13_b;
- stc_gpio_pfsr_bit_t PFSRD13_b;
- stc_gpio_pcr_bit_t PCRD14_b;
- stc_gpio_pfsr_bit_t PFSRD14_b;
- stc_gpio_pcr_bit_t PCRD15_b;
- stc_gpio_pfsr_bit_t PFSRD15_b;
- stc_gpio_pcr_bit_t PCRE0_b;
- stc_gpio_pfsr_bit_t PFSRE0_b;
- stc_gpio_pcr_bit_t PCRE1_b;
- stc_gpio_pfsr_bit_t PFSRE1_b;
- stc_gpio_pcr_bit_t PCRE2_b;
- stc_gpio_pfsr_bit_t PFSRE2_b;
- stc_gpio_pcr_bit_t PCRE3_b;
- stc_gpio_pfsr_bit_t PFSRE3_b;
- stc_gpio_pcr_bit_t PCRE4_b;
- stc_gpio_pfsr_bit_t PFSRE4_b;
- stc_gpio_pcr_bit_t PCRE5_b;
- stc_gpio_pfsr_bit_t PFSRE5_b;
- stc_gpio_pcr_bit_t PCRE6_b;
- stc_gpio_pfsr_bit_t PFSRE6_b;
- stc_gpio_pcr_bit_t PCRE7_b;
- stc_gpio_pfsr_bit_t PFSRE7_b;
- stc_gpio_pcr_bit_t PCRE8_b;
- stc_gpio_pfsr_bit_t PFSRE8_b;
- stc_gpio_pcr_bit_t PCRE9_b;
- stc_gpio_pfsr_bit_t PFSRE9_b;
- stc_gpio_pcr_bit_t PCRE10_b;
- stc_gpio_pfsr_bit_t PFSRE10_b;
- stc_gpio_pcr_bit_t PCRE11_b;
- stc_gpio_pfsr_bit_t PFSRE11_b;
- stc_gpio_pcr_bit_t PCRE12_b;
- stc_gpio_pfsr_bit_t PFSRE12_b;
- stc_gpio_pcr_bit_t PCRE13_b;
- stc_gpio_pfsr_bit_t PFSRE13_b;
- stc_gpio_pcr_bit_t PCRE14_b;
- stc_gpio_pfsr_bit_t PFSRE14_b;
- stc_gpio_pcr_bit_t PCRE15_b;
- stc_gpio_pfsr_bit_t PFSRE15_b;
- stc_gpio_pcr_bit_t PCRH0_b;
- stc_gpio_pfsr_bit_t PFSRH0_b;
- stc_gpio_pcr_bit_t PCRH1_b;
- stc_gpio_pfsr_bit_t PFSRH1_b;
- stc_gpio_pcr_bit_t PCRH2_b;
- stc_gpio_pfsr_bit_t PFSRH2_b;
- stc_gpio_pcr_bit_t PCRH3_b;
- stc_gpio_pfsr_bit_t PFSRH3_b;
- stc_gpio_pcr_bit_t PCRH4_b;
- stc_gpio_pfsr_bit_t PFSRH4_b;
- stc_gpio_pcr_bit_t PCRH5_b;
- stc_gpio_pfsr_bit_t PFSRH5_b;
- stc_gpio_pcr_bit_t PCRH6_b;
- stc_gpio_pfsr_bit_t PFSRH6_b;
- stc_gpio_pcr_bit_t PCRH7_b;
- stc_gpio_pfsr_bit_t PFSRH7_b;
- stc_gpio_pcr_bit_t PCRH8_b;
- stc_gpio_pfsr_bit_t PFSRH8_b;
- stc_gpio_pcr_bit_t PCRH9_b;
- stc_gpio_pfsr_bit_t PFSRH9_b;
- stc_gpio_pcr_bit_t PCRH10_b;
- stc_gpio_pfsr_bit_t PFSRH10_b;
- stc_gpio_pcr_bit_t PCRH11_b;
- stc_gpio_pfsr_bit_t PFSRH11_b;
- stc_gpio_pcr_bit_t PCRH12_b;
- stc_gpio_pfsr_bit_t PFSRH12_b;
- stc_gpio_pcr_bit_t PCRH13_b;
- stc_gpio_pfsr_bit_t PFSRH13_b;
- stc_gpio_pcr_bit_t PCRH14_b;
- stc_gpio_pfsr_bit_t PFSRH14_b;
- stc_gpio_pcr_bit_t PCRH15_b;
- stc_gpio_pfsr_bit_t PFSRH15_b;
- } bCM_GPIO_TypeDef;
- typedef struct {
- stc_hash_cr_bit_t CR_b;
- } bCM_HASH_TypeDef;
- typedef struct {
- stc_i2c_cr1_bit_t CR1_b;
- stc_i2c_cr2_bit_t CR2_b;
- stc_i2c_cr3_bit_t CR3_b;
- stc_i2c_cr4_bit_t CR4_b;
- stc_i2c_slr0_bit_t SLR0_b;
- stc_i2c_slr1_bit_t SLR1_b;
- uint32_t RESERVED0[32];
- stc_i2c_sr_bit_t SR_b;
- stc_i2c_clr_bit_t CLR_b;
- uint32_t RESERVED1[64];
- stc_i2c_ccr_bit_t CCR_b;
- stc_i2c_fltr_bit_t FLTR_b;
- stc_i2c_fstr_bit_t FSTR_b;
- } bCM_I2C_TypeDef;
- typedef struct {
- stc_icg_icg0_bit_t ICG0_b;
- stc_icg_icg1_bit_t ICG1_b;
- } bCM_ICG_TypeDef;
- typedef struct {
- uint32_t RESERVED0[32];
- stc_intc_nmier_bit_t NMIER_b;
- stc_intc_nmifr_bit_t NMIFR_b;
- stc_intc_nmifcr_bit_t NMIFCR_b;
- stc_intc_eirqcr_bit_t EIRQCR0_b;
- stc_intc_eirqcr_bit_t EIRQCR1_b;
- stc_intc_eirqcr_bit_t EIRQCR2_b;
- stc_intc_eirqcr_bit_t EIRQCR3_b;
- stc_intc_eirqcr_bit_t EIRQCR4_b;
- stc_intc_eirqcr_bit_t EIRQCR5_b;
- stc_intc_eirqcr_bit_t EIRQCR6_b;
- stc_intc_eirqcr_bit_t EIRQCR7_b;
- stc_intc_eirqcr_bit_t EIRQCR8_b;
- stc_intc_eirqcr_bit_t EIRQCR9_b;
- stc_intc_eirqcr_bit_t EIRQCR10_b;
- stc_intc_eirqcr_bit_t EIRQCR11_b;
- stc_intc_eirqcr_bit_t EIRQCR12_b;
- stc_intc_eirqcr_bit_t EIRQCR13_b;
- stc_intc_eirqcr_bit_t EIRQCR14_b;
- stc_intc_eirqcr_bit_t EIRQCR15_b;
- stc_intc_wken_bit_t WKEN_b;
- stc_intc_eifr_bit_t EIFR_b;
- stc_intc_eifcr_bit_t EIFCR_b;
- uint32_t RESERVED1[512];
- stc_intc_intmsk0_bit_t INTMSK0_b;
- stc_intc_intmsk1_bit_t INTMSK1_b;
- stc_intc_intmsk2_bit_t INTMSK2_b;
- stc_intc_intmsk3_bit_t INTMSK3_b;
- stc_intc_intmsk4_bit_t INTMSK4_b;
- stc_intc_intmsk5_bit_t INTMSK5_b;
- stc_intc_intmsk6_bit_t INTMSK6_b;
- stc_intc_intmsk7_bit_t INTMSK7_b;
- stc_intc_intmsk8_bit_t INTMSK8_b;
- stc_intc_intmsk9_bit_t INTMSK9_b;
- stc_intc_intmsk10_bit_t INTMSK10_b;
- stc_intc_intmsk11_bit_t INTMSK11_b;
- stc_intc_intmsk12_bit_t INTMSK12_b;
- stc_intc_intmsk13_bit_t INTMSK13_b;
- stc_intc_intmsk14_bit_t INTMSK14_b;
- stc_intc_intmsk15_bit_t INTMSK15_b;
- stc_intc_swier_bit_t SWIER_b;
- stc_intc_evter_bit_t EVTER_b;
- stc_intc_ier_bit_t IER_b;
- } bCM_INTC_TypeDef;
- typedef struct {
- stc_keyscan_scr_bit_t SCR_b;
- stc_keyscan_ser_bit_t SER_b;
- } bCM_KEYSCAN_TypeDef;
- typedef struct {
- uint32_t RESERVED0[96];
- stc_mcan_dbtp_bit_t DBTP_b;
- stc_mcan_test_bit_t TEST_b;
- uint32_t RESERVED1[32];
- stc_mcan_cccr_bit_t CCCR_b;
- uint32_t RESERVED2[32];
- stc_mcan_tscc_bit_t TSCC_b;
- uint32_t RESERVED3[32];
- stc_mcan_tocc_bit_t TOCC_b;
- uint32_t RESERVED4[160];
- stc_mcan_ecr_bit_t ECR_b;
- stc_mcan_psr_bit_t PSR_b;
- uint32_t RESERVED5[64];
- stc_mcan_ir_bit_t IR_b;
- stc_mcan_ie_bit_t IE_b;
- stc_mcan_ils_bit_t ILS_b;
- stc_mcan_ile_bit_t ILE_b;
- uint32_t RESERVED6[256];
- stc_mcan_gfc_bit_t GFC_b;
- uint32_t RESERVED7[128];
- stc_mcan_hpms_bit_t HPMS_b;
- stc_mcan_ndat1_bit_t NDAT1_b;
- stc_mcan_ndat2_bit_t NDAT2_b;
- stc_mcan_rxf0c_bit_t RXF0C_b;
- stc_mcan_rxf0s_bit_t RXF0S_b;
- uint32_t RESERVED8[64];
- stc_mcan_rxf1c_bit_t RXF1C_b;
- stc_mcan_rxf1s_bit_t RXF1S_b;
- uint32_t RESERVED9[32];
- stc_mcan_rxesc_bit_t RXESC_b;
- stc_mcan_txbc_bit_t TXBC_b;
- stc_mcan_txfqs_bit_t TXFQS_b;
- uint32_t RESERVED10[32];
- stc_mcan_txbrp_bit_t TXBRP_b;
- stc_mcan_txbar_bit_t TXBAR_b;
- stc_mcan_txbcr_bit_t TXBCR_b;
- stc_mcan_txbto_bit_t TXBTO_b;
- stc_mcan_txbcf_bit_t TXBCF_b;
- stc_mcan_txbtie_bit_t TXBTIE_b;
- stc_mcan_txbcie_bit_t TXBCIE_b;
- uint32_t RESERVED11[96];
- stc_mcan_txefs_bit_t TXEFS_b;
- } bCM_MCAN_TypeDef;
- typedef struct {
- uint32_t RESERVED0[512];
- stc_mpu_sr_bit_t SR_b;
- stc_mpu_eclr_bit_t ECLR_b;
- stc_mpu_wp_bit_t WP_b;
- stc_mpu_ippr_bit_t IPPR_b;
- uint32_t RESERVED1[32];
- stc_mpu_msppctl_bit_t MSPPCTL_b;
- uint32_t RESERVED2[32];
- stc_mpu_psppctl_bit_t PSPPCTL_b;
- stc_mpu_srge_bit_t S1RGE_b;
- stc_mpu_srgwp_bit_t S1RGWP_b;
- stc_mpu_srgrp_bit_t S1RGRP_b;
- stc_mpu_scr_bit_t S1CR_b;
- stc_mpu_srge_bit_t S2RGE_b;
- stc_mpu_srgwp_bit_t S2RGWP_b;
- stc_mpu_srgrp_bit_t S2RGRP_b;
- stc_mpu_scr_bit_t S2CR_b;
- } bCM_MPU_TypeDef;
- typedef struct {
- uint32_t RESERVED0[96];
- stc_peric_smc_enar_bit_t SMC_ENAR_b;
- uint32_t RESERVED1[32];
- stc_peric_tmr_synenr_bit_t TMR_SYNENR_b;
- uint32_t RESERVED2[32];
- stc_peric_usart1_nfc_bit_t USART1_NFC_b;
- } bCM_PERIC_TypeDef;
- typedef struct {
- stc_pwc_fcg0_bit_t FCG0_b;
- stc_pwc_fcg1_bit_t FCG1_b;
- stc_pwc_fcg2_bit_t FCG2_b;
- stc_pwc_fcg3_bit_t FCG3_b;
- stc_pwc_fcg0pc_bit_t FCG0PC_b;
- uint32_t RESERVED0[139104];
- stc_pwc_wktcr_bit_t WKTCR_b;
- uint32_t RESERVED1[16368];
- stc_pwc_pwrc0_bit_t PWRC0_b;
- uint32_t RESERVED2[24];
- stc_pwc_pwrc1_bit_t PWRC1_b;
- uint32_t RESERVED3[24];
- stc_pwc_pwrc2_bit_t PWRC2_b;
- uint32_t RESERVED4[56];
- stc_pwc_pwrc4_bit_t PWRC4_b;
- uint32_t RESERVED5[24];
- stc_pwc_pvdcr0_bit_t PVDCR0_b;
- uint32_t RESERVED6[24];
- stc_pwc_pvdcr1_bit_t PVDCR1_b;
- uint32_t RESERVED7[24];
- stc_pwc_pvdfcr_bit_t PVDFCR_b;
- uint32_t RESERVED8[88];
- stc_pwc_pdwke0_bit_t PDWKE0_b;
- uint32_t RESERVED9[24];
- stc_pwc_pdwke1_bit_t PDWKE1_b;
- uint32_t RESERVED10[24];
- stc_pwc_pdwke2_bit_t PDWKE2_b;
- uint32_t RESERVED11[24];
- stc_pwc_pdwkes_bit_t PDWKES_b;
- uint32_t RESERVED12[24];
- stc_pwc_pdwkf0_bit_t PDWKF0_b;
- uint32_t RESERVED13[24];
- stc_pwc_pdwkf1_bit_t PDWKF1_b;
- uint32_t RESERVED14[24];
- stc_pwc_pwrc5_bit_t PWRC5_b;
- uint32_t RESERVED15[24];
- stc_pwc_pwrc6_bit_t PWRC6_b;
- uint32_t RESERVED16[984];
- stc_pwc_pvdicr_bit_t PVDICR_b;
- uint32_t RESERVED17[24];
- stc_pwc_pvddsr_bit_t PVDDSR_b;
- uint32_t RESERVED18[24];
- stc_pwc_rampc0_bit_t RAMPC0_b;
- uint32_t RESERVED19[32];
- stc_pwc_pramlpc_bit_t PRAMLPC_b;
- uint32_t RESERVED20[235968];
- stc_pwc_stpmcr_bit_t STPMCR_b;
- uint32_t RESERVED21[8064];
- stc_pwc_fprc_bit_t FPRC_b;
- } bCM_PWC_TypeDef;
- typedef struct {
- stc_rmu_frst0_bit_t FRST0_b;
- stc_rmu_frst1_bit_t FRST1_b;
- stc_rmu_frst2_bit_t FRST2_b;
- stc_rmu_frst3_bit_t FRST3_b;
- stc_rmu_prstcr0_bit_t PRSTCR0_b;
- uint32_t RESERVED0[24];
- stc_rmu_rstf0_bit_t RSTF0_b;
- } bCM_RMU_TypeDef;
- typedef struct {
- stc_rtc_cr0_bit_t CR0_b;
- uint32_t RESERVED0[24];
- stc_rtc_cr1_bit_t CR1_b;
- uint32_t RESERVED1[24];
- stc_rtc_cr2_bit_t CR2_b;
- uint32_t RESERVED2[24];
- stc_rtc_cr3_bit_t CR3_b;
- uint32_t RESERVED3[88];
- stc_rtc_hour_bit_t HOUR_b;
- uint32_t RESERVED4[184];
- stc_rtc_almhour_bit_t ALMHOUR_b;
- uint32_t RESERVED5[24];
- stc_rtc_almweek_bit_t ALMWEEK_b;
- uint32_t RESERVED6[24];
- stc_rtc_errcrh_bit_t ERRCRH_b;
- } bCM_RTC_TypeDef;
- typedef struct {
- uint32_t RESERVED0[32];
- stc_spi_cr_bit_t CR_b;
- uint32_t RESERVED1[32];
- stc_spi_cfg1_bit_t CFG1_b;
- uint32_t RESERVED2[32];
- stc_spi_sr_bit_t SR_b;
- stc_spi_cfg2_bit_t CFG2_b;
- } bCM_SPI_TypeDef;
- typedef struct {
- stc_sramc_wtcr_bit_t WTCR_b;
- stc_sramc_wtpr_bit_t WTPR_b;
- stc_sramc_ckcr_bit_t CKCR_b;
- stc_sramc_ckpr_bit_t CKPR_b;
- stc_sramc_cksr_bit_t CKSR_b;
- stc_sramc_sram0_eien_bit_t SRAM0_EIEN_b;
- uint32_t RESERVED0[32];
- stc_sramc_sram0_eibit1_bit_t SRAM0_EIBIT1_b;
- stc_sramc_sram0_eccerraddr_bit_t SRAM0_ECCERRADDR_b;
- stc_sramc_sramb_eien_bit_t SRAMB_EIEN_b;
- uint32_t RESERVED1[32];
- stc_sramc_sramb_eibit1_bit_t SRAMB_EIBIT1_b;
- stc_sramc_sramb_eccerraddr_bit_t SRAMB_ECCERRADDR_b;
- } bCM_SRAMC_TypeDef;
- typedef struct {
- stc_swdt_cr_bit_t CR_b;
- stc_swdt_sr_bit_t SR_b;
- stc_swdt_rr_bit_t RR_b;
- } bCM_SWDT_TypeDef;
- typedef struct {
- uint32_t RESERVED0[128];
- stc_tmr0_bconr_bit_t BCONR_b;
- stc_tmr0_stflr_bit_t STFLR_b;
- } bCM_TMR0_TypeDef;
- typedef struct {
- uint32_t RESERVED0[256];
- stc_tmr4_ocsr_bit_t OCSRU_b;
- stc_tmr4_ocer_bit_t OCERU_b;
- stc_tmr4_ocsr_bit_t OCSRV_b;
- stc_tmr4_ocer_bit_t OCERV_b;
- stc_tmr4_ocsr_bit_t OCSRW_b;
- stc_tmr4_ocer_bit_t OCERW_b;
- stc_tmr4_ocsr_bit_t OCSRX_b;
- stc_tmr4_ocer_bit_t OCERX_b;
- stc_tmr4_ocmrh_bit_t OCMRHUH_b;
- uint32_t RESERVED1[16];
- stc_tmr4_ocmrl_bit_t OCMRLUL_b;
- stc_tmr4_ocmrh_bit_t OCMRHVH_b;
- uint32_t RESERVED2[16];
- stc_tmr4_ocmrl_bit_t OCMRLVL_b;
- stc_tmr4_ocmrh_bit_t OCMRHWH_b;
- uint32_t RESERVED3[16];
- stc_tmr4_ocmrl_bit_t OCMRLWL_b;
- stc_tmr4_ocmrh_bit_t OCMRHXH_b;
- uint32_t RESERVED4[16];
- stc_tmr4_ocmrl_bit_t OCMRLXL_b;
- uint32_t RESERVED5[64];
- stc_tmr4_ccsr_bit_t CCSR_b;
- uint32_t RESERVED6[16];
- stc_tmr4_pscr_bit_t PSCR_b;
- uint32_t RESERVED7[512];
- stc_tmr4_pocr_bit_t POCRU_b;
- uint32_t RESERVED8[16];
- stc_tmr4_pocr_bit_t POCRV_b;
- uint32_t RESERVED9[16];
- stc_tmr4_pocr_bit_t POCRW_b;
- uint32_t RESERVED10[16];
- stc_tmr4_pocr_bit_t POCRX_b;
- uint32_t RESERVED11[272];
- stc_tmr4_scsr_bit_t SCSRUH_b;
- stc_tmr4_scmr_bit_t SCMRUH_b;
- stc_tmr4_scsr_bit_t SCSRUL_b;
- stc_tmr4_scmr_bit_t SCMRUL_b;
- stc_tmr4_scsr_bit_t SCSRVH_b;
- stc_tmr4_scmr_bit_t SCMRVH_b;
- stc_tmr4_scsr_bit_t SCSRVL_b;
- stc_tmr4_scmr_bit_t SCMRVL_b;
- stc_tmr4_scsr_bit_t SCSRWH_b;
- stc_tmr4_scmr_bit_t SCMRWH_b;
- stc_tmr4_scsr_bit_t SCSRWL_b;
- stc_tmr4_scmr_bit_t SCMRWL_b;
- stc_tmr4_scsr_bit_t SCSRXH_b;
- stc_tmr4_scmr_bit_t SCMRXH_b;
- stc_tmr4_scsr_bit_t SCSRXL_b;
- stc_tmr4_scmr_bit_t SCMRXL_b;
- stc_tmr4_scer_bit_t SCER_b;
- uint32_t RESERVED12[16];
- stc_tmr4_rcsr_bit_t RCSR_b;
- stc_tmr4_scir_bit_t SCIR_b;
- uint32_t RESERVED13[16];
- stc_tmr4_scfr_bit_t SCFR_b;
- } bCM_TMR4_TypeDef;
- typedef struct {
- uint32_t RESERVED0[2560];
- stc_tmr6_gconr_bit_t GCONR_b;
- stc_tmr6_iconr_bit_t ICONR_b;
- stc_tmr6_bconr_bit_t BCONR_b;
- stc_tmr6_dconr_bit_t DCONR_b;
- uint32_t RESERVED1[32];
- stc_tmr6_pcnar_bit_t PCNAR_b;
- stc_tmr6_pcnbr_bit_t PCNBR_b;
- stc_tmr6_fcngr_bit_t FCNGR_b;
- stc_tmr6_vperr_bit_t VPERR_b;
- stc_tmr6_stflr_bit_t STFLR_b;
- uint32_t RESERVED2[192];
- stc_tmr6_hstar_bit_t HSTAR_b;
- stc_tmr6_hstpr_bit_t HSTPR_b;
- stc_tmr6_hclrr_bit_t HCLRR_b;
- stc_tmr6_hupdr_bit_t HUPDR_b;
- stc_tmr6_hcpar_bit_t HCPAR_b;
- stc_tmr6_hcpbr_bit_t HCPBR_b;
- stc_tmr6_hcupr_bit_t HCUPR_b;
- stc_tmr6_hcdor_bit_t HCDOR_b;
- } bCM_TMR6_TypeDef;
- typedef struct {
- uint32_t RESERVED0[8032];
- stc_tmr6cr_fcntr_bit_t FCNTR_b;
- stc_tmr6cr_sstar_bit_t SSTAR_b;
- stc_tmr6cr_sstpr_bit_t SSTPR_b;
- stc_tmr6cr_sclrr_bit_t SCLRR_b;
- stc_tmr6cr_supdr_bit_t SUPDR_b;
- } bCM_TMR6CR_TypeDef;
- typedef struct {
- uint32_t RESERVED0[1024];
- stc_tmra_bcstr_bit_t BCSTR_b;
- uint32_t RESERVED1[16];
- stc_tmra_hconr_bit_t HCONR_b;
- uint32_t RESERVED2[16];
- stc_tmra_hcupr_bit_t HCUPR_b;
- uint32_t RESERVED3[16];
- stc_tmra_hcdor_bit_t HCDOR_b;
- uint32_t RESERVED4[16];
- stc_tmra_iconr_bit_t ICONR_b;
- uint32_t RESERVED5[16];
- stc_tmra_econr_bit_t ECONR_b;
- uint32_t RESERVED6[16];
- stc_tmra_fconr_bit_t FCONR_b;
- uint32_t RESERVED7[16];
- stc_tmra_stflr_bit_t STFLR_b;
- uint32_t RESERVED8[272];
- stc_tmra_bconr_bit_t BCONR1_b;
- uint32_t RESERVED9[48];
- stc_tmra_bconr_bit_t BCONR2_b;
- uint32_t RESERVED10[48];
- stc_tmra_bconr_bit_t BCONR3_b;
- uint32_t RESERVED11[48];
- stc_tmra_bconr_bit_t BCONR4_b;
- uint32_t RESERVED12[304];
- stc_tmra_cconr_bit_t CCONR1_b;
- uint32_t RESERVED13[16];
- stc_tmra_cconr_bit_t CCONR2_b;
- uint32_t RESERVED14[16];
- stc_tmra_cconr_bit_t CCONR3_b;
- uint32_t RESERVED15[16];
- stc_tmra_cconr_bit_t CCONR4_b;
- uint32_t RESERVED16[16];
- stc_tmra_cconr_bit_t CCONR5_b;
- uint32_t RESERVED17[16];
- stc_tmra_cconr_bit_t CCONR6_b;
- uint32_t RESERVED18[16];
- stc_tmra_cconr_bit_t CCONR7_b;
- uint32_t RESERVED19[16];
- stc_tmra_cconr_bit_t CCONR8_b;
- uint32_t RESERVED20[272];
- stc_tmra_pconr_bit_t PCONR1_b;
- uint32_t RESERVED21[16];
- stc_tmra_pconr_bit_t PCONR2_b;
- uint32_t RESERVED22[16];
- stc_tmra_pconr_bit_t PCONR3_b;
- uint32_t RESERVED23[16];
- stc_tmra_pconr_bit_t PCONR4_b;
- uint32_t RESERVED24[16];
- stc_tmra_pconr_bit_t PCONR5_b;
- uint32_t RESERVED25[16];
- stc_tmra_pconr_bit_t PCONR6_b;
- uint32_t RESERVED26[16];
- stc_tmra_pconr_bit_t PCONR7_b;
- uint32_t RESERVED27[16];
- stc_tmra_pconr_bit_t PCONR8_b;
- } bCM_TMRA_TypeDef;
- typedef struct {
- stc_trng_cr_bit_t CR_b;
- stc_trng_mr_bit_t MR_b;
- } bCM_TRNG_TypeDef;
- typedef struct {
- stc_usart_sr_bit_t SR_b;
- stc_usart_dr_bit_t DR_b;
- uint32_t RESERVED0[32];
- stc_usart_cr1_bit_t CR1_b;
- stc_usart_cr2_bit_t CR2_b;
- stc_usart_cr3_bit_t CR3_b;
- stc_usart_pr_bit_t PR_b;
- stc_usart_lbmc_bit_t LBMC_b;
- } bCM_USART_TypeDef;
- typedef struct {
- stc_wdt_cr_bit_t CR_b;
- stc_wdt_sr_bit_t SR_b;
- stc_wdt_rr_bit_t RR_b;
- } bCM_WDT_TypeDef;
- /******************************************************************************/
- /* Device Specific Peripheral bit_band declaration & memory map */
- /******************************************************************************/
- #define bCM_ADC1 ((bCM_ADC_TypeDef *)0x42800000UL)
- #define bCM_ADC2 ((bCM_ADC_TypeDef *)0x42808000UL)
- #define bCM_ADC3 ((bCM_ADC_TypeDef *)0x42810000UL)
- #define bCM_AES ((bCM_AES_TypeDef *)0x42100000UL)
- #define bCM_AOS ((bCM_AOS_TypeDef *)0x42210000UL)
- #define bCM_CMP1 ((bCM_CMP_TypeDef *)0x42710000UL)
- #define bCM_CMP2 ((bCM_CMP_TypeDef *)0x42712000UL)
- #define bCM_CMP3 ((bCM_CMP_TypeDef *)0x42718000UL)
- #define bCM_CMP4 ((bCM_CMP_TypeDef *)0x4271A000UL)
- #define bCM_CMU ((bCM_CMU_TypeDef *)0x42900000UL)
- #define bCM_CRC ((bCM_CRC_TypeDef *)0x42118000UL)
- #define bCM_CTC ((bCM_CTC_TypeDef *)0x42938000UL)
- #define bCM_DAC ((bCM_DAC_TypeDef *)0x42820000UL)
- #define bCM_DCU1 ((bCM_DCU_TypeDef *)0x42AC0000UL)
- #define bCM_DCU2 ((bCM_DCU_TypeDef *)0x42AC8000UL)
- #define bCM_DCU3 ((bCM_DCU_TypeDef *)0x42AD0000UL)
- #define bCM_DCU4 ((bCM_DCU_TypeDef *)0x42AD8000UL)
- #define bCM_DMA1 ((bCM_DMA_TypeDef *)0x42A60000UL)
- #define bCM_DMA2 ((bCM_DMA_TypeDef *)0x42A68000UL)
- #define bCM_EFM ((bCM_EFM_TypeDef *)0x42208000UL)
- #define bCM_EMB0 ((bCM_EMB_TypeDef *)0x422F8000UL)
- #define bCM_EMB1 ((bCM_EMB_TypeDef *)0x422F8400UL)
- #define bCM_EMB2 ((bCM_EMB_TypeDef *)0x422F8800UL)
- #define bCM_EMB3 ((bCM_EMB_TypeDef *)0x422F8C00UL)
- #define bCM_FCM ((bCM_FCM_TypeDef *)0x42908000UL)
- #define bCM_GPIO ((bCM_GPIO_TypeDef *)0x42A70000UL)
- #define bCM_HASH ((bCM_HASH_TypeDef *)0x42108000UL)
- #define bCM_I2C1 ((bCM_I2C_TypeDef *)0x42768000UL)
- #define bCM_I2C2 ((bCM_I2C_TypeDef *)0x42770000UL)
- #define bCM_INTC ((bCM_INTC_TypeDef *)0x42A20000UL)
- #define bCM_KEYSCAN ((bCM_KEYSCAN_TypeDef *)0x42A18000UL)
- #define bCM_MCAN1 ((bCM_MCAN_TypeDef *)0x42520000UL)
- #define bCM_MCAN2 ((bCM_MCAN_TypeDef *)0x42528000UL)
- #define bCM_MPU ((bCM_MPU_TypeDef *)0x42A00000UL)
- #define bCM_PERIC ((bCM_PERIC_TypeDef *)0x42AA8000UL)
- #define bCM_PWC ((bCM_PWC_TypeDef *)0x42900000UL)
- #define bCM_RMU ((bCM_RMU_TypeDef *)0x42999C00UL)
- #define bCM_RTC ((bCM_RTC_TypeDef *)0x42980000UL)
- #define bCM_SPI1 ((bCM_SPI_TypeDef *)0x42380000UL)
- #define bCM_SPI2 ((bCM_SPI_TypeDef *)0x42388000UL)
- #define bCM_SPI3 ((bCM_SPI_TypeDef *)0x42400000UL)
- #define bCM_SRAMC ((bCM_SRAMC_TypeDef *)0x42A10000UL)
- #define bCM_SWDT ((bCM_SWDT_TypeDef *)0x42928000UL)
- #define bCM_TMR0_1 ((bCM_TMR0_TypeDef *)0x42480000UL)
- #define bCM_TMR0_2 ((bCM_TMR0_TypeDef *)0x42488000UL)
- #define bCM_TMR4_1 ((bCM_TMR4_TypeDef *)0x42700000UL)
- #define bCM_TMR4_2 ((bCM_TMR4_TypeDef *)0x42708000UL)
- #define bCM_TMR4_3 ((bCM_TMR4_TypeDef *)0x4271C000UL)
- #define bCM_TMR6_1 ((bCM_TMR6_TypeDef *)0x42780000UL)
- #define bCM_TMR6_2 ((bCM_TMR6_TypeDef *)0x42788000UL)
- #define bCM_TMR6CR ((bCM_TMR6CR_TypeDef *)0x42780000UL)
- #define bCM_TMRA_1 ((bCM_TMRA_TypeDef *)0x42740000UL)
- #define bCM_TMRA_2 ((bCM_TMRA_TypeDef *)0x42748000UL)
- #define bCM_TMRA_3 ((bCM_TMRA_TypeDef *)0x42750000UL)
- #define bCM_TMRA_4 ((bCM_TMRA_TypeDef *)0x42758000UL)
- #define bCM_TMRA_5 ((bCM_TMRA_TypeDef *)0x424C0000UL)
- #define bCM_TRNG ((bCM_TRNG_TypeDef *)0x42840000UL)
- #define bCM_USART1 ((bCM_USART_TypeDef *)0x42398000UL)
- #define bCM_USART2 ((bCM_USART_TypeDef *)0x423A0000UL)
- #define bCM_USART3 ((bCM_USART_TypeDef *)0x423A8000UL)
- #define bCM_USART4 ((bCM_USART_TypeDef *)0x42418000UL)
- #define bCM_USART5 ((bCM_USART_TypeDef *)0x42420000UL)
- #define bCM_USART6 ((bCM_USART_TypeDef *)0x42428000UL)
- #define bCM_WDT ((bCM_WDT_TypeDef *)0x42920000UL)
- #ifdef __cplusplus
- }
- #endif
- #endif /* __HC32F448MCTI_H__ */
|