epwm_reg.h 336 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023
  1. /**************************************************************************//**
  2. * @file epwm_reg.h
  3. * @version V1.00
  4. * @brief EPWM register definition header file
  5. *
  6. * SPDX-License-Identifier: Apache-2.0
  7. * @copyright (C) 2017-2020 Nuvoton Technology Corp. All rights reserved.
  8. *****************************************************************************/
  9. #ifndef __EPWM_REG_H__
  10. #define __EPWM_REG_H__
  11. #if defined ( __CC_ARM )
  12. #pragma anon_unions
  13. #endif
  14. /**
  15. @addtogroup REGISTER Control Register
  16. @{
  17. */
  18. /**
  19. @addtogroup EPWM Pulse Width Modulation Controller(EPWM)
  20. Memory Mapped Structure for EPWM Controller
  21. @{ */
  22. typedef struct
  23. {
  24. /**
  25. * @var ECAPDAT_T::RCAPDAT
  26. * Offset: 0x20C EPWM Rising Capture Data Register 0~5
  27. * ---------------------------------------------------------------------------------------------------
  28. * |Bits |Field |Descriptions
  29. * | :----: | :----: | :---- |
  30. * |[15:0] |RCAPDAT |EPWM Rising Capture Data (Read Only)
  31. * | | |When rising capture condition happened, the EPWM counter value will be saved in this register.
  32. * @var ECAPDAT_T::FCAPDAT
  33. * Offset: 0x210 EPWM Falling Capture Data Register 0~5
  34. * ---------------------------------------------------------------------------------------------------
  35. * |Bits |Field |Descriptions
  36. * | :----: | :----: | :---- |
  37. * |[15:0] |FCAPDAT |EPWM Falling Capture Data (Read Only)
  38. * | | |When falling capture condition happened, the EPWM counter value will be saved in this register.
  39. */
  40. __IO uint32_t RCAPDAT; /*!< [0x20C/0x214/0x21C/0x224/0x22C/0x234] EPWM Rising Capture Data Register 0~5 */
  41. __IO uint32_t FCAPDAT; /*!< [0x210/0x218/0x220/0x228/0x230/0x238] EPWM Falling Capture Data Register 0~5 */
  42. } ECAPDAT_T;
  43. typedef struct
  44. {
  45. /**
  46. * @var EPWM_T::CTL0
  47. * Offset: 0x00 EPWM Control Register 0
  48. * ---------------------------------------------------------------------------------------------------
  49. * |Bits |Field |Descriptions
  50. * | :----: | :----: | :---- |
  51. * |[0] |CTRLD0 |Center Re-load
  52. * | | |In up-down counter type, PERIOD will load to PBUF at the end point of each period
  53. * | | |CMPDAT will load to CMPBUF at the center point of a period
  54. * |[1] |CTRLD1 |Center Re-load
  55. * | | |In up-down counter type, PERIOD will load to PBUF at the end point of each period
  56. * | | |CMPDAT will load to CMPBUF at the center point of a period
  57. * |[2] |CTRLD2 |Center Re-load
  58. * | | |In up-down counter type, PERIOD will load to PBUF at the end point of each period
  59. * | | |CMPDAT will load to CMPBUF at the center point of a period
  60. * |[3] |CTRLD3 |Center Re-load
  61. * | | |In up-down counter type, PERIOD will load to PBUF at the end point of each period
  62. * | | |CMPDAT will load to CMPBUF at the center point of a period
  63. * |[4] |CTRLD4 |Center Re-load
  64. * | | |In up-down counter type, PERIOD will load to PBUF at the end point of each period
  65. * | | |CMPDAT will load to CMPBUF at the center point of a period
  66. * |[5] |CTRLD5 |Center Re-load
  67. * | | |In up-down counter type, PERIOD will load to PBUF at the end point of each period
  68. * | | |CMPDAT will load to CMPBUF at the center point of a period
  69. * |[8] |WINLDEN0 |Window Load Enable Bits
  70. * | | |0 = PERIOD will load to PBUF at the end point of each period
  71. * | | |CMPDAT will load to CMPBUF at the end point or center point of each period by setting CTRLD bit.
  72. * | | |1 = PERIOD will load to PBUF at the end point of each period
  73. * | | |CMPDAT will load to CMPBUF at the end point of each period when valid reload window is set
  74. * | | |The valid reload window is set by software write 1 to EPWM_LOAD register and cleared by hardware after load success.
  75. * |[9] |WINLDEN1 |Window Load Enable Bits
  76. * | | |0 = PERIOD will load to PBUF at the end point of each period
  77. * | | |CMPDAT will load to CMPBUF at the end point or center point of each period by setting CTRLD bit.
  78. * | | |1 = PERIOD will load to PBUF at the end point of each period
  79. * | | |CMPDAT will load to CMPBUF at the end point of each period when valid reload window is set
  80. * | | |The valid reload window is set by software write 1 to EPWM_LOAD register and cleared by hardware after load success.
  81. * |[10] |WINLDEN2 |Window Load Enable Bits
  82. * | | |0 = PERIOD will load to PBUF at the end point of each period
  83. * | | |CMPDAT will load to CMPBUF at the end point or center point of each period by setting CTRLD bit.
  84. * | | |1 = PERIOD will load to PBUF at the end point of each period
  85. * | | |CMPDAT will load to CMPBUF at the end point of each period when valid reload window is set
  86. * | | |The valid reload window is set by software write 1 to EPWM_LOAD register and cleared by hardware after load success.
  87. * |[11] |WINLDEN3 |Window Load Enable Bits
  88. * | | |0 = PERIOD will load to PBUF at the end point of each period
  89. * | | |CMPDAT will load to CMPBUF at the end point or center point of each period by setting CTRLD bit.
  90. * | | |1 = PERIOD will load to PBUF at the end point of each period
  91. * | | |CMPDAT will load to CMPBUF at the end point of each period when valid reload window is set
  92. * | | |The valid reload window is set by software write 1 to EPWM_LOAD register and cleared by hardware after load success.
  93. * |[12] |WINLDEN4 |Window Load Enable Bits
  94. * | | |0 = PERIOD will load to PBUF at the end point of each period
  95. * | | |CMPDAT will load to CMPBUF at the end point or center point of each period by setting CTRLD bit.
  96. * | | |1 = PERIOD will load to PBUF at the end point of each period
  97. * | | |CMPDAT will load to CMPBUF at the end point of each period when valid reload window is set
  98. * | | |The valid reload window is set by software write 1 to EPWM_LOAD register and cleared by hardware after load success.
  99. * |[13] |WINLDEN5 |Window Load Enable Bits
  100. * | | |0 = PERIOD will load to PBUF at the end point of each period
  101. * | | |CMPDAT will load to CMPBUF at the end point or center point of each period by setting CTRLD bit.
  102. * | | |1 = PERIOD will load to PBUF at the end point of each period
  103. * | | |CMPDAT will load to CMPBUF at the end point of each period when valid reload window is set
  104. * | | |The valid reload window is set by software write 1 to EPWM_LOAD register and cleared by hardware after load success.
  105. * |[16] |IMMLDEN0 |Immediately Load Enable Bits
  106. * | | |0 = PERIOD will load to PBUF at the end point of each period
  107. * | | |CMPDAT will load to CMPBUF at the end point or center point of each period by setting CTRLD bit.
  108. * | | |1 = PERIOD/CMPDAT will load to PBUF and CMPBUF immediately when software update PERIOD/CMPDAT.
  109. * | | |Note: If IMMLDENn is enabled, WINLDENn and CTRLDn will be invalid.
  110. * |[17] |IMMLDEN1 |Immediately Load Enable Bits
  111. * | | |0 = PERIOD will load to PBUF at the end point of each period
  112. * | | |CMPDAT will load to CMPBUF at the end point or center point of each period by setting CTRLD bit.
  113. * | | |1 = PERIOD/CMPDAT will load to PBUF and CMPBUF immediately when software update PERIOD/CMPDAT.
  114. * | | |Note: If IMMLDENn is enabled, WINLDENn and CTRLDn will be invalid.
  115. * |[18] |IMMLDEN2 |Immediately Load Enable Bits
  116. * | | |0 = PERIOD will load to PBUF at the end point of each period
  117. * | | |CMPDAT will load to CMPBUF at the end point or center point of each period by setting CTRLD bit.
  118. * | | |1 = PERIOD/CMPDAT will load to PBUF and CMPBUF immediately when software update PERIOD/CMPDAT.
  119. * | | |Note: If IMMLDENn is enabled, WINLDENn and CTRLDn will be invalid.
  120. * |[19] |IMMLDEN3 |Immediately Load Enable Bits
  121. * | | |0 = PERIOD will load to PBUF at the end point of each period
  122. * | | |CMPDAT will load to CMPBUF at the end point or center point of each period by setting CTRLD bit.
  123. * | | |1 = PERIOD/CMPDAT will load to PBUF and CMPBUF immediately when software update PERIOD/CMPDAT.
  124. * | | |Note: If IMMLDENn is enabled, WINLDENn and CTRLDn will be invalid.
  125. * |[20] |IMMLDEN4 |Immediately Load Enable Bits
  126. * | | |0 = PERIOD will load to PBUF at the end point of each period
  127. * | | |CMPDAT will load to CMPBUF at the end point or center point of each period by setting CTRLD bit.
  128. * | | |1 = PERIOD/CMPDAT will load to PBUF and CMPBUF immediately when software update PERIOD/CMPDAT.
  129. * | | |Note: If IMMLDENn is enabled, WINLDENn and CTRLDn will be invalid.
  130. * |[21] |IMMLDEN5 |Immediately Load Enable Bits
  131. * | | |0 = PERIOD will load to PBUF at the end point of each period
  132. * | | |CMPDAT will load to CMPBUF at the end point or center point of each period by setting CTRLD bit.
  133. * | | |1 = PERIOD/CMPDAT will load to PBUF and CMPBUF immediately when software update PERIOD/CMPDAT.
  134. * | | |Note: If IMMLDENn is enabled, WINLDENn and CTRLDn will be invalid.
  135. * |[24] |GROUPEN |Group Function Enable Bit(S)
  136. * | | |0 = The output waveform of each EPWM channel are independent.
  137. * | | |1 = Unify the EPWM_CH2 and EPWM_CH4 to output the same waveform as EPWM_CH0 and unify the EPWM_CH3 and EPWM_CH5 to output the same waveform as EPWM_CH1.
  138. * |[30] |DBGHALT |ICE Debug Mode Counter Halt (Write Protect)
  139. * | | |If counter halt is enabled, EPWM all counters will keep current value until exit ICE debug mode.
  140. * | | |0 = ICE debug mode counter halt disable.
  141. * | | |1 = ICE debug mode counter halt enable.
  142. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  143. * |[31] |DBGTRIOFF |ICE Debug Mode Acknowledge Disable (Write Protect)
  144. * | | |0 = ICE debug mode acknowledgement effects EPWM output.
  145. * | | |EPWM pin will be forced as tri-state while ICE debug mode acknowledged.
  146. * | | |1 = ICE debug mode acknowledgement disabled.
  147. * | | |EPWM pin will keep output no matter ICE debug mode acknowledged or not.
  148. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  149. * @var EPWM_T::CTL1
  150. * Offset: 0x04 EPWM Control Register 1
  151. * ---------------------------------------------------------------------------------------------------
  152. * |Bits |Field |Descriptions
  153. * | :----: | :----: | :---- |
  154. * |[1:0] |CNTTYPE0 |EPWM Counter Behavior Type
  155. * | | |00 = Up counter type (supports in capture mode).
  156. * | | |01 = Down count type (supports in capture mode).
  157. * | | |10 = Up-down counter type.
  158. * | | |11 = Reserved.
  159. * |[3:2] |CNTTYPE1 |EPWM Counter Behavior Type
  160. * | | |00 = Up counter type (supports in capture mode).
  161. * | | |01 = Down count type (supports in capture mode).
  162. * | | |10 = Up-down counter type.
  163. * | | |11 = Reserved.
  164. * |[5:4] |CNTTYPE2 |EPWM Counter Behavior Type
  165. * | | |00 = Up counter type (supports in capture mode).
  166. * | | |01 = Down count type (supports in capture mode).
  167. * | | |10 = Up-down counter type.
  168. * | | |11 = Reserved.
  169. * |[7:6] |CNTTYPE3 |EPWM Counter Behavior Type
  170. * | | |00 = Up counter type (supports in capture mode).
  171. * | | |01 = Down count type (supports in capture mode).
  172. * | | |10 = Up-down counter type.
  173. * | | |11 = Reserved.
  174. * |[9:8] |CNTTYPE4 |EPWM Counter Behavior Type
  175. * | | |00 = Up counter type (supports in capture mode).
  176. * | | |01 = Down count type (supports in capture mode).
  177. * | | |10 = Up-down counter type.
  178. * | | |11 = Reserved.
  179. * |[11:10] |CNTTYPE5 |EPWM Counter Behavior Type
  180. * | | |00 = Up counter type (supports in capture mode).
  181. * | | |01 = Down count type (supports in capture mode).
  182. * | | |10 = Up-down counter type.
  183. * | | |11 = Reserved.
  184. * |[16] |CNTMODE0 |EPWM Counter Mode
  185. * | | |0 = Auto-reload mode.
  186. * | | |1 = One-shot mode.
  187. * |[17] |CNTMODE1 |EPWM Counter Mode
  188. * | | |0 = Auto-reload mode.
  189. * | | |1 = One-shot mode.
  190. * |[18] |CNTMODE2 |EPWM Counter Mode
  191. * | | |0 = Auto-reload mode.
  192. * | | |1 = One-shot mode.
  193. * |[19] |CNTMODE3 |EPWM Counter Mode
  194. * | | |0 = Auto-reload mode.
  195. * | | |1 = One-shot mode.
  196. * |[20] |CNTMODE4 |EPWM Counter Mode
  197. * | | |0 = Auto-reload mode.
  198. * | | |1 = One-shot mode.
  199. * |[21] |CNTMODE5 |EPWM Counter Mode
  200. * | | |0 = Auto-reload mode.
  201. * | | |1 = One-shot mode.
  202. * |[24] |OUTMODE0 |EPWM Output Mode
  203. * | | |Each bit n controls the output mode of corresponding EPWM channel n.
  204. * | | |0 = EPWM independent mode.
  205. * | | |1 = EPWM complementary mode.
  206. * | | |Note: When operating in group function, these bits must all set to the same mode.
  207. * |[25] |OUTMODE2 |EPWM Output Mode
  208. * | | |Each bit n controls the output mode of corresponding EPWM channel n.
  209. * | | |0 = EPWM independent mode.
  210. * | | |1 = EPWM complementary mode.
  211. * | | |Note: When operating in group function, these bits must all set to the same mode.
  212. * |[26] |OUTMODE4 |EPWM Output Mode
  213. * | | |Each bit n controls the output mode of corresponding EPWM channel n.
  214. * | | |0 = EPWM independent mode.
  215. * | | |1 = EPWM complementary mode.
  216. * | | |Note: When operating in group function, these bits must all set to the same mode.
  217. * @var EPWM_T::SYNC
  218. * Offset: 0x08 EPWM Synchronization Register
  219. * ---------------------------------------------------------------------------------------------------
  220. * |Bits |Field |Descriptions
  221. * | :----: | :----: | :---- |
  222. * |[0] |PHSEN0 |SYNC Phase Enable Bits
  223. * | | |0 = EPWM counter disable to load PHS value.
  224. * | | |1 = EPWM counter enable to load PHS value.
  225. * |[1] |PHSEN2 |SYNC Phase Enable Bits
  226. * | | |0 = EPWM counter disable to load PHS value.
  227. * | | |1 = EPWM counter enable to load PHS value.
  228. * |[2] |PHSEN4 |SYNC Phase Enable Bits
  229. * | | |0 = EPWM counter disable to load PHS value.
  230. * | | |1 = EPWM counter enable to load PHS value.
  231. * |[9:8] |SINSRC0 |EPWM0_SYNC_IN Source Selection
  232. * | | |00 = Synchronize source from SYNC_IN or SWSYNC.
  233. * | | |01 = Counter equal to 0.
  234. * | | |10 = Counter equal to EPWM_CMPDATm, m denotes 1, 3, 5.
  235. * | | |11 = SYNC_OUT will not be generated.
  236. * |[11:10] |SINSRC2 |EPWM0_SYNC_IN Source Selection
  237. * | | |00 = Synchronize source from SYNC_IN or SWSYNC.
  238. * | | |01 = Counter equal to 0.
  239. * | | |10 = Counter equal to EPWM_CMPDATm, m denotes 1, 3, 5.
  240. * | | |11 = SYNC_OUT will not be generated.
  241. * |[13:12] |SINSRC4 |EPWM0_SYNC_IN Source Selection
  242. * | | |00 = Synchronize source from SYNC_IN or SWSYNC.
  243. * | | |01 = Counter equal to 0.
  244. * | | |10 = Counter equal to EPWM_CMPDATm, m denotes 1, 3, 5.
  245. * | | |11 = SYNC_OUT will not be generated.
  246. * |[16] |SNFLTEN |EPWM0_SYNC_IN Noise Filter Enable Bits
  247. * | | |0 = Noise filter of input pin EPWM0_SYNC_IN is Disabled.
  248. * | | |1 = Noise filter of input pin EPWM0_SYNC_IN is Enabled.
  249. * |[19:17] |SFLTCSEL |SYNC Edge Detector Filter Clock Selection
  250. * | | |000 = Filter clock = HCLK.
  251. * | | |001 = Filter clock = HCLK/2.
  252. * | | |010 = Filter clock = HCLK/4.
  253. * | | |011 = Filter clock = HCLK/8.
  254. * | | |100 = Filter clock = HCLK/16.
  255. * | | |101 = Filter clock = HCLK/32.
  256. * | | |110 = Filter clock = HCLK/64.
  257. * | | |111 = Filter clock = HCLK/128.
  258. * |[22:20] |SFLTCNT |SYNC Edge Detector Filter Count
  259. * | | |The register bits control the counter number of edge detector.
  260. * |[23] |SINPINV |SYNC Input Pin Inverse
  261. * | | |0 = The state of pin SYNC is passed to the negative edge detector.
  262. * | | |1 = The inversed state of pin SYNC is passed to the negative edge detector.
  263. * |[24] |PHSDIR0 |EPWM Phase Direction Control
  264. * | | |0 = Control EPWM counter count decrement after synchronizing.
  265. * | | |1 = Control EPWM counter count increment after synchronizing.
  266. * |[25] |PHSDIR2 |EPWM Phase Direction Control
  267. * | | |0 = Control EPWM counter count decrement after synchronizing.
  268. * | | |1 = Control EPWM counter count increment after synchronizing.
  269. * |[26] |PHSDIR4 |EPWM Phase Direction Control
  270. * | | |0 = Control EPWM counter count decrement after synchronizing.
  271. * | | |1 = Control EPWM counter count increment after synchronizing.
  272. * @var EPWM_T::SWSYNC
  273. * Offset: 0x0C EPWM Software Control Synchronization Register
  274. * ---------------------------------------------------------------------------------------------------
  275. * |Bits |Field |Descriptions
  276. * | :----: | :----: | :---- |
  277. * |[0] |SWSYNC0 |Software SYNC Function
  278. * | | |When SINSRCn (EPWM_SYNC[13:8]) is selected to 0, SYNC_OUT source is come from SYNC_IN or this bit.
  279. * |[1] |SWSYNC2 |Software SYNC Function
  280. * | | |When SINSRCn (EPWM_SYNC[13:8]) is selected to 0, SYNC_OUT source is come from SYNC_IN or this bit.
  281. * |[2] |SWSYNC4 |Software SYNC Function
  282. * | | |When SINSRCn (EPWM_SYNC[13:8]) is selected to 0, SYNC_OUT source is come from SYNC_IN or this bit.
  283. * @var EPWM_T::CLKSRC
  284. * Offset: 0x10 EPWM Clock Source Register
  285. * ---------------------------------------------------------------------------------------------------
  286. * |Bits |Field |Descriptions
  287. * | :----: | :----: | :---- |
  288. * |[2:0] |ECLKSRC0 |EPWM_CH01 External Clock Source Select
  289. * | | |000 = EPWMx_CLK, x denotes 0 or 1.
  290. * | | |001 = TIMER0 overflow.
  291. * | | |010 = TIMER1 overflow.
  292. * | | |011 = TIMER2 overflow.
  293. * | | |100 = TIMER3 overflow.
  294. * | | |Others = Reserved.
  295. * |[10:8] |ECLKSRC2 |EPWM_CH23 External Clock Source Select
  296. * | | |000 = EPWMx_CLK, x denotes 0 or 1.
  297. * | | |001 = TIMER0 overflow.
  298. * | | |010 = TIMER1 overflow.
  299. * | | |011 = TIMER2 overflow.
  300. * | | |100 = TIMER3 overflow.
  301. * | | |Others = Reserved.
  302. * |[18:16] |ECLKSRC4 |EPWM_CH45 External Clock Source Select
  303. * | | |000 = EPWMx_CLK, x denotes 0 or 1.
  304. * | | |001 = TIMER0 overflow.
  305. * | | |010 = TIMER1 overflow.
  306. * | | |011 = TIMER2 overflow.
  307. * | | |100 = TIMER3 overflow.
  308. * | | |Others = Reserved.
  309. * @var EPWM_T::CLKPSC[3]
  310. * Offset: 0x14 EPWM Clock Prescale Register 0/1, 2/3, 4/5
  311. * ---------------------------------------------------------------------------------------------------
  312. * |Bits |Field |Descriptions
  313. * | :----: | :----: | :---- |
  314. * |[11:0] |CLKPSC |EPWM Counter Clock Prescale
  315. * | | |The clock of EPWM counter is decided by clock prescaler
  316. * | | |Each EPWM pair share one EPWM counter clock prescaler
  317. * | | |The clock of EPWM counter is divided by (CLKPSC+ 1)
  318. * @var EPWM_T::CNTEN
  319. * Offset: 0x20 EPWM Counter Enable Register
  320. * ---------------------------------------------------------------------------------------------------
  321. * |Bits |Field |Descriptions
  322. * | :----: | :----: | :---- |
  323. * |[0] |CNTEN0 |EPWM Counter Enable Bits
  324. * | | |0 = EPWM Counter and clock prescaler Stop Running.
  325. * | | |1 = EPWM Counter and clock prescaler Start Running.
  326. * |[1] |CNTEN1 |EPWM Counter Enable Bits
  327. * | | |0 = EPWM Counter and clock prescaler Stop Running.
  328. * | | |1 = EPWM Counter and clock prescaler Start Running.
  329. * |[2] |CNTEN2 |EPWM Counter Enable Bits
  330. * | | |0 = EPWM Counter and clock prescaler Stop Running.
  331. * | | |1 = EPWM Counter and clock prescaler Start Running.
  332. * |[3] |CNTEN3 |EPWM Counter Enable Bits
  333. * | | |0 = EPWM Counter and clock prescaler Stop Running.
  334. * | | |1 = EPWM Counter and clock prescaler Start Running.
  335. * |[4] |CNTEN4 |EPWM Counter Enable Bits
  336. * | | |0 = EPWM Counter and clock prescaler Stop Running.
  337. * | | |1 = EPWM Counter and clock prescaler Start Running.
  338. * |[5] |CNTEN5 |EPWM Counter Enable Bits
  339. * | | |0 = EPWM Counter and clock prescaler Stop Running.
  340. * | | |1 = EPWM Counter and clock prescaler Start Running.
  341. * @var EPWM_T::CNTCLR
  342. * Offset: 0x24 EPWM Clear Counter Register
  343. * ---------------------------------------------------------------------------------------------------
  344. * |Bits |Field |Descriptions
  345. * | :----: | :----: | :---- |
  346. * |[0] |CNTCLR0 |Clear EPWM Counter Control Bit
  347. * | | |It is automatically cleared by hardware. Each bit n controls the corresponding EPWM channel n.
  348. * | | |0 = No effect.
  349. * | | |1 = Clear 16-bit EPWM counter to 0000H.
  350. * |[1] |CNTCLR1 |Clear EPWM Counter Control Bit
  351. * | | |It is automatically cleared by hardware. Each bit n controls the corresponding EPWM channel n.
  352. * | | |0 = No effect.
  353. * | | |1 = Clear 16-bit EPWM counter to 0000H.
  354. * |[2] |CNTCLR2 |Clear EPWM Counter Control Bit
  355. * | | |It is automatically cleared by hardware. Each bit n controls the corresponding EPWM channel n.
  356. * | | |0 = No effect.
  357. * | | |1 = Clear 16-bit EPWM counter to 0000H.
  358. * |[3] |CNTCLR3 |Clear EPWM Counter Control Bit
  359. * | | |It is automatically cleared by hardware. Each bit n controls the corresponding EPWM channel n.
  360. * | | |0 = No effect.
  361. * | | |1 = Clear 16-bit EPWM counter to 0000H.
  362. * |[4] |CNTCLR4 |Clear EPWM Counter Control Bit
  363. * | | |It is automatically cleared by hardware. Each bit n controls the corresponding EPWM channel n.
  364. * | | |0 = No effect.
  365. * | | |1 = Clear 16-bit EPWM counter to 0000H.
  366. * |[5] |CNTCLR5 |Clear EPWM Counter Control Bit
  367. * | | |It is automatically cleared by hardware. Each bit n controls the corresponding EPWM channel n.
  368. * | | |0 = No effect.
  369. * | | |1 = Clear 16-bit EPWM counter to 0000H.
  370. * @var EPWM_T::LOAD
  371. * Offset: 0x28 EPWM Load Register
  372. * ---------------------------------------------------------------------------------------------------
  373. * |Bits |Field |Descriptions
  374. * | :----: | :----: | :---- |
  375. * |[0] |LOAD0 |Re-load EPWM Comparator Register (CMPDAT) Control Bit
  376. * | | |This bit is software write, hardware clear when current EPWM period end.
  377. * | | |Write Operation:
  378. * | | |0 = No effect.
  379. * | | |1 = Set load window of window loading mode.
  380. * | | |Read Operation:
  381. * | | |0 = No load window is set.
  382. * | | |1 = Load window is set.
  383. * | | |Note: This bit only use in window loading mode, WINLDENn(EPWM_CTL0[13:8]) = 1.
  384. * |[1] |LOAD1 |Re-load EPWM Comparator Register (CMPDAT) Control Bit
  385. * | | |This bit is software write, hardware clear when current EPWM period end.
  386. * | | |Write Operation:
  387. * | | |0 = No effect.
  388. * | | |1 = Set load window of window loading mode.
  389. * | | |Read Operation:
  390. * | | |0 = No load window is set.
  391. * | | |1 = Load window is set.
  392. * | | |Note: This bit only use in window loading mode, WINLDENn(EPWM_CTL0[13:8]) = 1.
  393. * |[2] |LOAD2 |Re-load EPWM Comparator Register (CMPDAT) Control Bit
  394. * | | |This bit is software write, hardware clear when current EPWM period end.
  395. * | | |Write Operation:
  396. * | | |0 = No effect.
  397. * | | |1 = Set load window of window loading mode.
  398. * | | |Read Operation:
  399. * | | |0 = No load window is set.
  400. * | | |1 = Load window is set.
  401. * | | |Note: This bit only use in window loading mode, WINLDENn(EPWM_CTL0[13:8]) = 1.
  402. * |[3] |LOAD3 |Re-load EPWM Comparator Register (CMPDAT) Control Bit
  403. * | | |This bit is software write, hardware clear when current EPWM period end.
  404. * | | |Write Operation:
  405. * | | |0 = No effect.
  406. * | | |1 = Set load window of window loading mode.
  407. * | | |Read Operation:
  408. * | | |0 = No load window is set.
  409. * | | |1 = Load window is set.
  410. * | | |Note: This bit only use in window loading mode, WINLDENn(EPWM_CTL0[13:8]) = 1.
  411. * |[4] |LOAD4 |Re-load EPWM Comparator Register (CMPDAT) Control Bit
  412. * | | |This bit is software write, hardware clear when current EPWM period end.
  413. * | | |Write Operation:
  414. * | | |0 = No effect.
  415. * | | |1 = Set load window of window loading mode.
  416. * | | |Read Operation:
  417. * | | |0 = No load window is set.
  418. * | | |1 = Load window is set.
  419. * | | |Note: This bit only use in window loading mode, WINLDENn(EPWM_CTL0[13:8]) = 1.
  420. * |[5] |LOAD5 |Re-load EPWM Comparator Register (CMPDAT) Control Bit
  421. * | | |This bit is software write, hardware clear when current EPWM period end.
  422. * | | |Write Operation:
  423. * | | |0 = No effect.
  424. * | | |1 = Set load window of window loading mode.
  425. * | | |Read Operation:
  426. * | | |0 = No load window is set.
  427. * | | |1 = Load window is set.
  428. * | | |Note: This bit only use in window loading mode, WINLDENn(EPWM_CTL0[13:8]) = 1.
  429. * @var EPWM_T::PERIOD[6]
  430. * Offset: 0x30 EPWM Period Register 0~5
  431. * ---------------------------------------------------------------------------------------------------
  432. * |Bits |Field |Descriptions
  433. * | :----: | :----: | :---- |
  434. * |[15:0] |PERIOD |EPWM Period Register
  435. * | | |Up-Count mode: In this mode, EPWM counter counts from 0 to PERIOD, and restarts from 0.
  436. * | | |Down-Count mode: In this mode, EPWM counter counts from PERIOD to 0, and restarts from PERIOD.
  437. * | | |EPWM period time = (PERIOD+1) * EPWM_CLK period.
  438. * | | |Up-Down-Count mode: In this mode, EPWM counter counts from 0 to PERIOD, then decrements to 0 and repeats again.
  439. * | | |EPWM period time = 2 * PERIOD * EPWM_CLK period.
  440. * @var EPWM_T::CMPDAT[6]
  441. * Offset: 0x50 EPWM Comparator Register 0
  442. * ---------------------------------------------------------------------------------------------------
  443. * |Bits |Field |Descriptions
  444. * | :----: | :----: | :---- |
  445. * |[15:0] |CMP |EPWM Comparator Register
  446. * | | |CMP use to compare with CNTR to generate EPWM waveform, interrupt and trigger EADC/DAC.
  447. * | | |In independent mode, CMPDAT0~5 denote as 6 independent EPWM_CH0~5 compared point.
  448. * | | |In complementary mode, CMPDAT0, 2, 4 denote as first compared point, and CMPDAT1, 3, 5 denote as second compared point for the corresponding 3 complementary pairs EPWM_CH0 and EPWM_CH1, EPWM_CH2 and EPWM_CH3, EPWM_CH4 and EPWM_CH5.
  449. * @var EPWM_T::DTCTL[3]
  450. * Offset: 0x70 EPWM Dead-Time Control Register 0/1,2/3,4/5
  451. * ---------------------------------------------------------------------------------------------------
  452. * |Bits |Field |Descriptions
  453. * | :----: | :----: | :---- |
  454. * |[11:0] |DTCNT |Dead-time Counter (Write Protect)
  455. * | | |The dead-time can be calculated from the following formula:
  456. * | | |Dead-time = (DTCNT[11:0]+1) * EPWM_CLK period.
  457. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  458. * |[16] |DTEN |Enable Dead-time Insertion for EPWM Pair (EPWM_CH0, EPWM_CH1) (EPWM_CH2, EPWM_CH3) (EPWM_CH4, EPWM_CH5) (Write Protect)
  459. * | | |Dead-time insertion is only active when this pair of complementary EPWM is enabled
  460. * | | |If dead- time insertion is inactive, the outputs of pin pair are complementary without any delay.
  461. * | | |0 = Dead-time insertion Disabled on the pin pair.
  462. * | | |1 = Dead-time insertion Enabled on the pin pair.
  463. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  464. * |[24] |DTCKSEL |Dead-time Clock Select (Write Protect)
  465. * | | |0 = Dead-time clock source from EPWM_CLK.
  466. * | | |1 = Dead-time clock source from prescaler output.
  467. * | | |Note: This register is write protected. Refer toREGWRPROT register.
  468. * @var EPWM_T::PHS[3]
  469. * Offset: 0x80 EPWM Counter Phase Register 0/1,2/3,4/5
  470. * ---------------------------------------------------------------------------------------------------
  471. * |Bits |Field |Descriptions
  472. * | :----: | :----: | :---- |
  473. * |[15:0] |PHS |EPWM Synchronous Start Phase Bits
  474. * | | |PHS determines the EPWM synchronous start phase value. These bits only use in synchronous function.
  475. * @var EPWM_T::CNT[6]
  476. * Offset: 0x90 EPWM Counter Register 0~5
  477. * ---------------------------------------------------------------------------------------------------
  478. * |Bits |Field |Descriptions
  479. * | :----: | :----: | :---- |
  480. * |[15:0] |CNT |EPWM Data Register (Read Only)
  481. * | | |User can monitor CNTR to know the current value in 16-bit period counter.
  482. * |[16] |DIRF |EPWM Direction Indicator Flag (Read Only)
  483. * | | |0 = Counter is Down count.
  484. * | | |1 = Counter is UP count.
  485. * @var EPWM_T::WGCTL0
  486. * Offset: 0xB0 EPWM Generation Register 0
  487. * ---------------------------------------------------------------------------------------------------
  488. * |Bits |Field |Descriptions
  489. * | :----: | :----: | :---- |
  490. * |[1:0] |ZPCTL0 |EPWM Zero Point Control
  491. * | | |00 = Do nothing.
  492. * | | |01 = EPWM zero point output Low.
  493. * | | |10 = EPWM zero point output High.
  494. * | | |11 = EPWM zero point output Toggle.
  495. * | | |EPWM can control output level when EPWM counter count to zero.
  496. * |[3:2] |ZPCTL1 |EPWM Zero Point Control
  497. * | | |00 = Do nothing.
  498. * | | |01 = EPWM zero point output Low.
  499. * | | |10 = EPWM zero point output High.
  500. * | | |11 = EPWM zero point output Toggle.
  501. * | | |EPWM can control output level when EPWM counter count to zero.
  502. * |[5:4] |ZPCTL2 |EPWM Zero Point Control
  503. * | | |00 = Do nothing.
  504. * | | |01 = EPWM zero point output Low.
  505. * | | |10 = EPWM zero point output High.
  506. * | | |11 = EPWM zero point output Toggle.
  507. * | | |EPWM can control output level when EPWM counter count to zero.
  508. * |[7:6] |ZPCTL3 |EPWM Zero Point Control
  509. * | | |00 = Do nothing.
  510. * | | |01 = EPWM zero point output Low.
  511. * | | |10 = EPWM zero point output High.
  512. * | | |11 = EPWM zero point output Toggle.
  513. * | | |EPWM can control output level when EPWM counter count to zero.
  514. * |[9:8] |ZPCTL4 |EPWM Zero Point Control
  515. * | | |00 = Do nothing.
  516. * | | |01 = EPWM zero point output Low.
  517. * | | |10 = EPWM zero point output High.
  518. * | | |11 = EPWM zero point output Toggle.
  519. * | | |EPWM can control output level when EPWM counter count to zero.
  520. * |[11:10] |ZPCTL5 |EPWM Zero Point Control
  521. * | | |00 = Do nothing.
  522. * | | |01 = EPWM zero point output Low.
  523. * | | |10 = EPWM zero point output High.
  524. * | | |11 = EPWM zero point output Toggle.
  525. * | | |EPWM can control output level when EPWM counter count to zero.
  526. * |[17:16] |PRDPCTL0 |EPWM Period (Center) Point Control
  527. * | | |00 = Do nothing.
  528. * | | |01 = EPWM period (center) point output Low.
  529. * | | |10 = EPWM period (center) point output High.
  530. * | | |11 = EPWM period (center) point output Toggle.
  531. * | | |EPWM can control output level when EPWM counter count to (PERIODn+1).
  532. * | | |Note: This bit is center point control when EPWM counter operating in up-down counter type.
  533. * |[19:18] |PRDPCTL1 |EPWM Period (Center) Point Control
  534. * | | |00 = Do nothing.
  535. * | | |01 = EPWM period (center) point output Low.
  536. * | | |10 = EPWM period (center) point output High.
  537. * | | |11 = EPWM period (center) point output Toggle.
  538. * | | |EPWM can control output level when EPWM counter count to (PERIODn+1).
  539. * | | |Note: This bit is center point control when EPWM counter operating in up-down counter type.
  540. * |[21:20] |PRDPCTL2 |EPWM Period (Center) Point Control
  541. * | | |00 = Do nothing.
  542. * | | |01 = EPWM period (center) point output Low.
  543. * | | |10 = EPWM period (center) point output High.
  544. * | | |11 = EPWM period (center) point output Toggle.
  545. * | | |EPWM can control output level when EPWM counter count to (PERIODn+1).
  546. * | | |Note: This bit is center point control when EPWM counter operating in up-down counter type.
  547. * |[23:22] |PRDPCTL3 |EPWM Period (Center) Point Control
  548. * | | |00 = Do nothing.
  549. * | | |01 = EPWM period (center) point output Low.
  550. * | | |10 = EPWM period (center) point output High.
  551. * | | |11 = EPWM period (center) point output Toggle.
  552. * | | |EPWM can control output level when EPWM counter count to (PERIODn+1).
  553. * | | |Note: This bit is center point control when EPWM counter operating in up-down counter type.
  554. * |[25:24] |PRDPCTL4 |EPWM Period (Center) Point Control
  555. * | | |00 = Do nothing.
  556. * | | |01 = EPWM period (center) point output Low.
  557. * | | |10 = EPWM period (center) point output High.
  558. * | | |11 = EPWM period (center) point output Toggle.
  559. * | | |EPWM can control output level when EPWM counter count to (PERIODn+1).
  560. * | | |Note: This bit is center point control when EPWM counter operating in up-down counter type.
  561. * |[27:26] |PRDPCTL5 |EPWM Period (Center) Point Control
  562. * | | |00 = Do nothing.
  563. * | | |01 = EPWM period (center) point output Low.
  564. * | | |10 = EPWM period (center) point output High.
  565. * | | |11 = EPWM period (center) point output Toggle.
  566. * | | |EPWM can control output level when EPWM counter count to (PERIODn+1).
  567. * | | |Note: This bit is center point control when EPWM counter operating in up-down counter type.
  568. * @var EPWM_T::WGCTL1
  569. * Offset: 0xB4 EPWM Generation Register 1
  570. * ---------------------------------------------------------------------------------------------------
  571. * |Bits |Field |Descriptions
  572. * | :----: | :----: | :---- |
  573. * |[1:0] |CMPUCTL0 |EPWM Compare Up Point Control
  574. * | | |00 = Do nothing.
  575. * | | |01 = EPWM compare up point output Low.
  576. * | | |10 = EPWM compare up point output High.
  577. * | | |11 = EPWM compare up point output Toggle.
  578. * | | |EPWM can control output level when EPWM counter up count to CMPDAT.
  579. * | | |Note: In complementary mode, CMPUCTL1, 3, 5 use as another CMPUCTL for channel 0, 2, 4.
  580. * |[3:2] |CMPUCTL1 |EPWM Compare Up Point Control
  581. * | | |00 = Do nothing.
  582. * | | |01 = EPWM compare up point output Low.
  583. * | | |10 = EPWM compare up point output High.
  584. * | | |11 = EPWM compare up point output Toggle.
  585. * | | |EPWM can control output level when EPWM counter up count to CMPDAT.
  586. * | | |Note: In complementary mode, CMPUCTL1, 3, 5 use as another CMPUCTL for channel 0, 2, 4.
  587. * |[5:4] |CMPUCTL2 |EPWM Compare Up Point Control
  588. * | | |00 = Do nothing.
  589. * | | |01 = EPWM compare up point output Low.
  590. * | | |10 = EPWM compare up point output High.
  591. * | | |11 = EPWM compare up point output Toggle.
  592. * | | |EPWM can control output level when EPWM counter up count to CMPDAT.
  593. * | | |Note: In complementary mode, CMPUCTL1, 3, 5 use as another CMPUCTL for channel 0, 2, 4.
  594. * |[7:6] |CMPUCTL3 |EPWM Compare Up Point Control
  595. * | | |00 = Do nothing.
  596. * | | |01 = EPWM compare up point output Low.
  597. * | | |10 = EPWM compare up point output High.
  598. * | | |11 = EPWM compare up point output Toggle.
  599. * | | |EPWM can control output level when EPWM counter up count to CMPDAT.
  600. * | | |Note: In complementary mode, CMPUCTL1, 3, 5 use as another CMPUCTL for channel 0, 2, 4.
  601. * |[9:8] |CMPUCTL4 |EPWM Compare Up Point Control
  602. * | | |00 = Do nothing.
  603. * | | |01 = EPWM compare up point output Low.
  604. * | | |10 = EPWM compare up point output High.
  605. * | | |11 = EPWM compare up point output Toggle.
  606. * | | |EPWM can control output level when EPWM counter up count to CMPDAT.
  607. * | | |Note: In complementary mode, CMPUCTL1, 3, 5 use as another CMPUCTL for channel 0, 2, 4.
  608. * |[11:10] |CMPUCTL5 |EPWM Compare Up Point Control
  609. * | | |00 = Do nothing.
  610. * | | |01 = EPWM compare up point output Low.
  611. * | | |10 = EPWM compare up point output High.
  612. * | | |11 = EPWM compare up point output Toggle.
  613. * | | |EPWM can control output level when EPWM counter up count to CMPDAT.
  614. * | | |Note: In complementary mode, CMPUCTL1, 3, 5 use as another CMPUCTL for channel 0, 2, 4.
  615. * |[17:16] |CMPDCTL0 |EPWM Compare Down Point Control
  616. * | | |00 = Do nothing.
  617. * | | |01 = EPWM compare down point output Low.
  618. * | | |10 = EPWM compare down point output High.
  619. * | | |11 = EPWM compare down point output Toggle.
  620. * | | |EPWM can control output level when EPWM counter down count to CMPDAT.
  621. * | | |Note: In complementary mode, CMPDCTL1, 3, 5 use as another CMPDCTL for channel 0, 2, 4.
  622. * |[19:18] |CMPDCTL1 |EPWM Compare Down Point Control
  623. * | | |00 = Do nothing.
  624. * | | |01 = EPWM compare down point output Low.
  625. * | | |10 = EPWM compare down point output High.
  626. * | | |11 = EPWM compare down point output Toggle.
  627. * | | |EPWM can control output level when EPWM counter down count to CMPDAT.
  628. * | | |Note: In complementary mode, CMPDCTL1, 3, 5 use as another CMPDCTL for channel 0, 2, 4.
  629. * |[21:20] |CMPDCTL2 |EPWM Compare Down Point Control
  630. * | | |00 = Do nothing.
  631. * | | |01 = EPWM compare down point output Low.
  632. * | | |10 = EPWM compare down point output High.
  633. * | | |11 = EPWM compare down point output Toggle.
  634. * | | |EPWM can control output level when EPWM counter down count to CMPDAT.
  635. * | | |Note: In complementary mode, CMPDCTL1, 3, 5 use as another CMPDCTL for channel 0, 2, 4.
  636. * |[23:22] |CMPDCTL3 |EPWM Compare Down Point Control
  637. * | | |00 = Do nothing.
  638. * | | |01 = EPWM compare down point output Low.
  639. * | | |10 = EPWM compare down point output High.
  640. * | | |11 = EPWM compare down point output Toggle.
  641. * | | |EPWM can control output level when EPWM counter down count to CMPDAT.
  642. * | | |Note: In complementary mode, CMPDCTL1, 3, 5 use as another CMPDCTL for channel 0, 2, 4.
  643. * |[25:24] |CMPDCTL4 |EPWM Compare Down Point Control
  644. * | | |00 = Do nothing.
  645. * | | |01 = EPWM compare down point output Low.
  646. * | | |10 = EPWM compare down point output High.
  647. * | | |11 = EPWM compare down point output Toggle.
  648. * | | |EPWM can control output level when EPWM counter down count to CMPDAT.
  649. * | | |Note: In complementary mode, CMPDCTL1, 3, 5 use as another CMPDCTL for channel 0, 2, 4.
  650. * |[27:26] |CMPDCTL5 |EPWM Compare Down Point Control
  651. * | | |00 = Do nothing.
  652. * | | |01 = EPWM compare down point output Low.
  653. * | | |10 = EPWM compare down point output High.
  654. * | | |11 = EPWM compare down point output Toggle.
  655. * | | |EPWM can control output level when EPWM counter down count to CMPDAT.
  656. * | | |Note: In complementary mode, CMPDCTL1, 3, 5 use as another CMPDCTL for channel 0, 2, 4.
  657. * @var EPWM_T::MSKEN
  658. * Offset: 0xB8 EPWM Mask Enable Register
  659. * ---------------------------------------------------------------------------------------------------
  660. * |Bits |Field |Descriptions
  661. * | :----: | :----: | :---- |
  662. * |[0] |MSKEN0 |EPWM Mask Enable Bits
  663. * | | |The EPWM output signal will be masked when this bit is enabled
  664. * | | |The corresponding EPWM channel n will output MSKDATn (EPWM_MSK[5:0]) data.
  665. * | | |0 = EPWM output signal is non-masked.
  666. * | | |1 = EPWM output signal is masked and output MSKDATn data.
  667. * |[1] |MSKEN1 |EPWM Mask Enable Bits
  668. * | | |The EPWM output signal will be masked when this bit is enabled
  669. * | | |The corresponding EPWM channel n will output MSKDATn (EPWM_MSK[5:0]) data.
  670. * | | |0 = EPWM output signal is non-masked.
  671. * | | |1 = EPWM output signal is masked and output MSKDATn data.
  672. * |[2] |MSKEN2 |EPWM Mask Enable Bits
  673. * | | |The EPWM output signal will be masked when this bit is enabled
  674. * | | |The corresponding EPWM channel n will output MSKDATn (EPWM_MSK[5:0]) data.
  675. * | | |0 = EPWM output signal is non-masked.
  676. * | | |1 = EPWM output signal is masked and output MSKDATn data.
  677. * |[3] |MSKEN3 |EPWM Mask Enable Bits
  678. * | | |The EPWM output signal will be masked when this bit is enabled
  679. * | | |The corresponding EPWM channel n will output MSKDATn (EPWM_MSK[5:0]) data.
  680. * | | |0 = EPWM output signal is non-masked.
  681. * | | |1 = EPWM output signal is masked and output MSKDATn data.
  682. * |[4] |MSKEN4 |EPWM Mask Enable Bits
  683. * | | |The EPWM output signal will be masked when this bit is enabled
  684. * | | |The corresponding EPWM channel n will output MSKDATn (EPWM_MSK[5:0]) data.
  685. * | | |0 = EPWM output signal is non-masked.
  686. * | | |1 = EPWM output signal is masked and output MSKDATn data.
  687. * |[5] |MSKEN5 |EPWM Mask Enable Bits
  688. * | | |The EPWM output signal will be masked when this bit is enabled
  689. * | | |The corresponding EPWM channel n will output MSKDATn (EPWM_MSK[5:0]) data.
  690. * | | |0 = EPWM output signal is non-masked.
  691. * | | |1 = EPWM output signal is masked and output MSKDATn data.
  692. * @var EPWM_T::MSK
  693. * Offset: 0xBC EPWM Mask Data Register
  694. * ---------------------------------------------------------------------------------------------------
  695. * |Bits |Field |Descriptions
  696. * | :----: | :----: | :---- |
  697. * |[0] |MSKDAT0 |EPWM Mask Data Bit
  698. * | | |This data bit control the state of EPWMn output pin, if corresponding mask function is enabled.
  699. * | | |0 = Output logic low to EPWM channel n.
  700. * | | |1 = Output logic high to EPWM channel n.
  701. * |[1] |MSKDAT1 |EPWM Mask Data Bit
  702. * | | |This data bit control the state of EPWMn output pin, if corresponding mask function is enabled.
  703. * | | |0 = Output logic low to EPWM channel n.
  704. * | | |1 = Output logic high to EPWM channel n.
  705. * |[2] |MSKDAT2 |EPWM Mask Data Bit
  706. * | | |This data bit control the state of EPWMn output pin, if corresponding mask function is enabled.
  707. * | | |0 = Output logic low to EPWM channel n.
  708. * | | |1 = Output logic high to EPWM channel n.
  709. * |[3] |MSKDAT3 |EPWM Mask Data Bit
  710. * | | |This data bit control the state of EPWMn output pin, if corresponding mask function is enabled.
  711. * | | |0 = Output logic low to EPWM channel n.
  712. * | | |1 = Output logic high to EPWM channel n.
  713. * |[4] |MSKDAT4 |EPWM Mask Data Bit
  714. * | | |This data bit control the state of EPWMn output pin, if corresponding mask function is enabled.
  715. * | | |0 = Output logic low to EPWM channel n.
  716. * | | |1 = Output logic high to EPWM channel n.
  717. * |[5] |MSKDAT5 |EPWM Mask Data Bit
  718. * | | |This data bit control the state of EPWMn output pin, if corresponding mask function is enabled.
  719. * | | |0 = Output logic low to EPWM channel n.
  720. * | | |1 = Output logic high to EPWM channel n.
  721. * @var EPWM_T::BNF
  722. * Offset: 0xC0 EPWM Brake Noise Filter Register
  723. * ---------------------------------------------------------------------------------------------------
  724. * |Bits |Field |Descriptions
  725. * | :----: | :----: | :---- |
  726. * |[0] |BRK0NFEN |EPWM Brake 0 Noise Filter Enable Bit
  727. * | | |0 = Noise filter of EPWM Brake 0 Disabled.
  728. * | | |1 = Noise filter of EPWM Brake 0 Enabled.
  729. * |[3:1] |BRK0NFSEL |Brake 0 Edge Detector Filter Clock Selection
  730. * | | |000 = Filter clock = HCLK.
  731. * | | |001 = Filter clock = HCLK/2.
  732. * | | |010 = Filter clock = HCLK/4.
  733. * | | |011 = Filter clock = HCLK/8.
  734. * | | |100 = Filter clock = HCLK/16.
  735. * | | |101 = Filter clock = HCLK/32.
  736. * | | |110 = Filter clock = HCLK/64.
  737. * | | |111 = Filter clock = HCLK/128.
  738. * |[6:4] |BRK0FCNT |Brake 0 Edge Detector Filter Count
  739. * | | |The register bits control the Brake0 filter counter to count from 0 to BRK1FCNT.
  740. * |[7] |BRK0PINV |Brake 0 Pin Inverse
  741. * | | |0 = The state of pin EPWMx_BRAKE0 is passed to the negative edge detector.
  742. * | | |1 = The inversed state of pin EPWMx_BRAKE10 is passed to the negative edge detector.
  743. * |[8] |BRK1NFEN |EPWM Brake 1 Noise Filter Enable Bit
  744. * | | |0 = Noise filter of EPWM Brake 1 Disabled.
  745. * | | |1 = Noise filter of EPWM Brake 1 Enabled.
  746. * |[11:9] |BRK1NFSEL |Brake 1 Edge Detector Filter Clock Selection
  747. * | | |000 = Filter clock = HCLK.
  748. * | | |001 = Filter clock = HCLK/2.
  749. * | | |010 = Filter clock = HCLK/4.
  750. * | | |011 = Filter clock = HCLK/8.
  751. * | | |100 = Filter clock = HCLK/16.
  752. * | | |101 = Filter clock = HCLK/32.
  753. * | | |110 = Filter clock = HCLK/64.
  754. * | | |111 = Filter clock = HCLK/128.
  755. * |[14:12] |BRK1FCNT |Brake 1 Edge Detector Filter Count
  756. * | | |The register bits control the Brake1 filter counter to count from 0 to BRK1FCNT.
  757. * |[15] |BRK1PINV |Brake 1 Pin Inverse
  758. * | | |0 = The state of pin EPWMx_BRAKE1 is passed to the negative edge detector.
  759. * | | |1 = The inversed state of pin EPWMx_BRAKE1 is passed to the negative edge detector.
  760. * |[16] |BK0SRC |Brake 0 Pin Source Select
  761. * | | |For EPWM0 setting:
  762. * | | |0 = Brake 0 pin source come from EPWM0_BRAKE0.
  763. * | | |1 = Brake 0 pin source come from EPWM1_BRAKE0.
  764. * | | |For EPWM1 setting:
  765. * | | |0 = Brake 0 pin source come from EPWM1_BRAKE0.
  766. * | | |1 = Brake 0 pin source come from EPWM0_BRAKE0.
  767. * |[24] |BK1SRC |Brake 1 Pin Source Select
  768. * | | |For EPWM0 setting:
  769. * | | |0 = Brake 1 pin source come from EPWM0_BRAKE1.
  770. * | | |1 = Brake 1 pin source come from EPWM1_BRAKE1.
  771. * | | |For EPWM1 setting:
  772. * | | |0 = Brake 1 pin source come from EPWM1_BRAKE1.
  773. * | | |1 = Brake 1 pin source come from EPWM0_BRAKE1.
  774. * @var EPWM_T::FAILBRK
  775. * Offset: 0xC4 EPWM System Fail Brake Control Register
  776. * ---------------------------------------------------------------------------------------------------
  777. * |Bits |Field |Descriptions
  778. * | :----: | :----: | :---- |
  779. * |[0] |CSSBRKEN |Clock Security System Detection Trigger EPWM Brake Function 0 Enable Bit
  780. * | | |0 = Brake Function triggered by CSS detection Disabled.
  781. * | | |1 = Brake Function triggered by CSS detection Enabled.
  782. * |[1] |BODBRKEN |Brown-out Detection Trigger EPWM Brake Function 0 Enable Bit
  783. * | | |0 = Brake Function triggered by BOD Disabled.
  784. * | | |1 = Brake Function triggered by BOD Enabled.
  785. * |[2] |RAMBRKEN |SRAM Parity Error Detection Trigger EPWM Brake Function 0 Enable Bit
  786. * | | |0 = Brake Function triggered by SRAM parity error detection Disabled.
  787. * | | |1 = Brake Function triggered by SRAM parity error detection Enabled.
  788. * |[3] |CORBRKEN |Core Lockup Detection Trigger EPWM Brake Function 0 Enable Bit
  789. * | | |0 = Brake Function triggered by Core lockup detection Disabled.
  790. * | | |1 = Brake Function triggered by Core lockup detection Enabled.
  791. * @var EPWM_T::BRKCTL[3]
  792. * Offset: 0xC8 EPWM Brake Edge Detect Control Register 0/1,2/3,4/5
  793. * ---------------------------------------------------------------------------------------------------
  794. * |Bits |Field |Descriptions
  795. * | :----: | :----: | :---- |
  796. * |[0] |CPO0EBEN |Enable ACMP0_O Digital Output As Edge-detect Brake Source (Write Protect)
  797. * | | |0 = ACMP0_O as edge-detect brake source Disabled.
  798. * | | |1 = ACMP0_O as edge-detect brake source Enabled.
  799. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  800. * |[1] |CPO1EBEN |Enable ACMP1_O Digital Output As Edge-detect Brake Source (Write Protect)
  801. * | | |0 = ACMP1_O as edge-detect brake source Disabled.
  802. * | | |1 = ACMP1_O as edge-detect brake source Enabled.
  803. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  804. * |[4] |BRKP0EEN |Enable EPWMx_BRAKE0 Pin As Edge-detect Brake Source (Write Protect)
  805. * | | |0 = EPWMx_BRAKE0 pin as edge-detect brake source Disabled.
  806. * | | |1 = EPWMx_BRAKE0 pin as edge-detect brake source Enabled.
  807. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  808. * |[5] |BRKP1EEN |Enable EPWMx_BRAKE1 Pin As Edge-detect Brake Source (Write Protect)
  809. * | | |0 = EPWMx_BRAKE1 pin as edge-detect brake source Disabled.
  810. * | | |1 = EPWMx_BRAKE1 pin as edge-detect brake source Enabled.
  811. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  812. * |[7] |SYSEBEN |Enable System Fail As Edge-detect Brake Source (Write Protect)
  813. * | | |0 = System Fail condition as edge-detect brake source Disabled.
  814. * | | |1 = System Fail condition as edge-detect brake source Enabled.
  815. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  816. * |[8] |CPO0LBEN |Enable ACMP0_O Digital Output As Level-detect Brake Source (Write Protect)
  817. * | | |0 = ACMP0_O as level-detect brake source Disabled.
  818. * | | |1 = ACMP0_O as level-detect brake source Enabled.
  819. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  820. * |[9] |CPO1LBEN |Enable ACMP1_O Digital Output As Level-detect Brake Source (Write Protect)
  821. * | | |0 = ACMP1_O as level-detect brake source Disabled.
  822. * | | |1 = ACMP1_O as level-detect brake source Enabled.
  823. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  824. * |[12] |BRKP0LEN |Enable BKP0 Pin As Level-detect Brake Source (Write Protect)
  825. * | | |0 = EPWMx_BRAKE0 pin as level-detect brake source Disabled.
  826. * | | |1 = EPWMx_BRAKE0 pin as level-detect brake source Enabled.
  827. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  828. * |[13] |BRKP1LEN |Enable BKP1 Pin As Level-detect Brake Source (Write Protect)
  829. * | | |0 = EPWMx_BRAKE1 pin as level-detect brake source Disabled.
  830. * | | |1 = EPWMx_BRAKE1 pin as level-detect brake source Enabled.
  831. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  832. * |[15] |SYSLBEN |Enable System Fail As Level-detect Brake Source (Write Protect)
  833. * | | |0 = System Fail condition as level-detect brake source Disabled.
  834. * | | |1 = System Fail condition as level-detect brake source Enabled.
  835. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  836. * |[17:16] |BRKAEVEN |EPWM Brake Action Select for Even Channel (Write Protect)
  837. * | | |00 = EPWMx brake event will not affect even channels output.
  838. * | | |01 = EPWM even channel output tri-state when EPWMx brake event happened.
  839. * | | |10 = EPWM even channel output low level when EPWMx brake event happened.
  840. * | | |11 = EPWM even channel output high level when EPWMx brake event happened.
  841. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  842. * |[19:18] |BRKAODD |EPWM Brake Action Select for Odd Channel (Write Protect)
  843. * | | |00 = EPWMx brake event will not affect odd channels output.
  844. * | | |01 = EPWM odd channel output tri-state when EPWMx brake event happened.
  845. * | | |10 = EPWM odd channel output low level when EPWMx brake event happened.
  846. * | | |11 = EPWM odd channel output high level when EPWMx brake event happened.
  847. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  848. * |[20] |EADCEBEN |Enable EADC Result Monitor (EADCRM) As Edge-detect Brake Source (Write Protect)
  849. * | | |0 = EADCRM as edge-detect brake source Disabled.
  850. * | | |1 = EADCRM as edge-detect brake source Enabled.
  851. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  852. * |[28] |EADCLBEN |Enable EADC Result Monitor (EADCRM) As Level-detect Brake Source (Write Protect)
  853. * | | |0 = EADCRM as level-detect brake source Disabled.
  854. * | | |1 = EADCRM as level-detect brake source Enabled.
  855. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  856. * @var EPWM_T::POLCTL
  857. * Offset: 0xD4 EPWM Pin Polar Inverse Register
  858. * ---------------------------------------------------------------------------------------------------
  859. * |Bits |Field |Descriptions
  860. * | :----: | :----: | :---- |
  861. * |[0] |PINV0 |EPWM PIN Polar Inverse Control
  862. * | | |The register controls polarity state of EPWM output.
  863. * | | |0 = EPWM output polar inverse Disabled.
  864. * | | |1 = EPWM output polar inverse Enabled.
  865. * |[1] |PINV1 |EPWM PIN Polar Inverse Control
  866. * | | |The register controls polarity state of EPWM output.
  867. * | | |0 = EPWM output polar inverse Disabled.
  868. * | | |1 = EPWM output polar inverse Enabled.
  869. * |[2] |PINV2 |EPWM PIN Polar Inverse Control
  870. * | | |The register controls polarity state of EPWM output.
  871. * | | |0 = EPWM output polar inverse Disabled.
  872. * | | |1 = EPWM output polar inverse Enabled.
  873. * |[3] |PINV3 |EPWM PIN Polar Inverse Control
  874. * | | |The register controls polarity state of EPWM output.
  875. * | | |0 = EPWM output polar inverse Disabled.
  876. * | | |1 = EPWM output polar inverse Enabled.
  877. * |[4] |PINV4 |EPWM PIN Polar Inverse Control
  878. * | | |The register controls polarity state of EPWM output.
  879. * | | |0 = EPWM output polar inverse Disabled.
  880. * | | |1 = EPWM output polar inverse Enabled.
  881. * |[5] |PINV5 |EPWM PIN Polar Inverse Control
  882. * | | |The register controls polarity state of EPWM output.
  883. * | | |0 = EPWM output polar inverse Disabled.
  884. * | | |1 = EPWM output polar inverse Enabled.
  885. * @var EPWM_T::POEN
  886. * Offset: 0xD8 EPWM Output Enable Register
  887. * ---------------------------------------------------------------------------------------------------
  888. * |Bits |Field |Descriptions
  889. * | :----: | :----: | :---- |
  890. * |[0] |POEN0 |EPWM Pin Output Enable Bits
  891. * | | |0 = EPWM pin at tri-state.
  892. * | | |1 = EPWM pin in output mode.
  893. * |[1] |POEN1 |EPWM Pin Output Enable Bits
  894. * | | |0 = EPWM pin at tri-state.
  895. * | | |1 = EPWM pin in output mode.
  896. * |[2] |POEN2 |EPWM Pin Output Enable Bits
  897. * | | |0 = EPWM pin at tri-state.
  898. * | | |1 = EPWM pin in output mode.
  899. * |[3] |POEN3 |EPWM Pin Output Enable Bits
  900. * | | |0 = EPWM pin at tri-state.
  901. * | | |1 = EPWM pin in output mode.
  902. * |[4] |POEN4 |EPWM Pin Output Enable Bits
  903. * | | |0 = EPWM pin at tri-state.
  904. * | | |1 = EPWM pin in output mode.
  905. * |[5] |POEN5 |EPWM Pin Output Enable Bits
  906. * | | |0 = EPWM pin at tri-state.
  907. * | | |1 = EPWM pin in output mode.
  908. * @var EPWM_T::SWBRK
  909. * Offset: 0xDC EPWM Software Brake Control Register
  910. * ---------------------------------------------------------------------------------------------------
  911. * |Bits |Field |Descriptions
  912. * | :----: | :----: | :---- |
  913. * |[0] |BRKETRG0 |EPWM Edge Brake Software Trigger (Write Only) (Write Protect)
  914. * | | |Write 1 to this bit will trigger edge brake, and set BRKEIFn to 1 in EPWM_INTSTS1 register.
  915. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  916. * |[1] |BRKETRG2 |EPWM Edge Brake Software Trigger (Write Only) (Write Protect)
  917. * | | |Write 1 to this bit will trigger edge brake, and set BRKEIFn to 1 in EPWM_INTSTS1 register.
  918. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  919. * |[2] |BRKETRG4 |EPWM Edge Brake Software Trigger (Write Only) (Write Protect)
  920. * | | |Write 1 to this bit will trigger edge brake, and set BRKEIFn to 1 in EPWM_INTSTS1 register.
  921. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  922. * |[8] |BRKLTRG0 |EPWM Level Brake Software Trigger (Write Only) (Write Protect)
  923. * | | |Write 1 to this bit will trigger level brake, and set BRKLIFn to 1 in EPWM_INTSTS1 register.
  924. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  925. * |[9] |BRKLTRG2 |EPWM Level Brake Software Trigger (Write Only) (Write Protect)
  926. * | | |Write 1 to this bit will trigger level brake, and set BRKLIFn to 1 in EPWM_INTSTS1 register.
  927. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  928. * |[10] |BRKLTRG4 |EPWM Level Brake Software Trigger (Write Only) (Write Protect)
  929. * | | |Write 1 to this bit will trigger level brake, and set BRKLIFn to 1 in EPWM_INTSTS1 register.
  930. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  931. * @var EPWM_T::INTEN0
  932. * Offset: 0xE0 EPWM Interrupt Enable Register 0
  933. * ---------------------------------------------------------------------------------------------------
  934. * |Bits |Field |Descriptions
  935. * | :----: | :----: | :---- |
  936. * |[0] |ZIEN0 |EPWM Zero Point Interrupt Enable Bits
  937. * | | |0 = Zero point interrupt Disabled.
  938. * | | |1 = Zero point interrupt Enabled.
  939. * | | |Note: Odd channels will read always 0 at complementary mode.
  940. * |[1] |ZIEN1 |EPWM Zero Point Interrupt Enable Bits
  941. * | | |0 = Zero point interrupt Disabled.
  942. * | | |1 = Zero point interrupt Enabled.
  943. * | | |Note: Odd channels will read always 0 at complementary mode.
  944. * |[2] |ZIEN2 |EPWM Zero Point Interrupt Enable Bits
  945. * | | |0 = Zero point interrupt Disabled.
  946. * | | |1 = Zero point interrupt Enabled.
  947. * | | |Note: Odd channels will read always 0 at complementary mode.
  948. * |[3] |ZIEN3 |EPWM Zero Point Interrupt Enable Bits
  949. * | | |0 = Zero point interrupt Disabled.
  950. * | | |1 = Zero point interrupt Enabled.
  951. * | | |Note: Odd channels will read always 0 at complementary mode.
  952. * |[4] |ZIEN4 |EPWM Zero Point Interrupt Enable Bits
  953. * | | |0 = Zero point interrupt Disabled.
  954. * | | |1 = Zero point interrupt Enabled.
  955. * | | |Note: Odd channels will read always 0 at complementary mode.
  956. * |[5] |ZIEN5 |EPWM Zero Point Interrupt Enable Bits
  957. * | | |0 = Zero point interrupt Disabled.
  958. * | | |1 = Zero point interrupt Enabled.
  959. * | | |Note: Odd channels will read always 0 at complementary mode.
  960. * |[8] |PIEN0 |EPWM Period Point Interrupt Enable Bits
  961. * | | |0 = Period point interrupt Disabled.
  962. * | | |1 = Period point interrupt Enabled.
  963. * | | |Note1: When up-down counter type period point means center point.
  964. * | | |Note2: Odd channels will read always 0 at complementary mode.
  965. * |[9] |PIEN1 |EPWM Period Point Interrupt Enable Bits
  966. * | | |0 = Period point interrupt Disabled.
  967. * | | |1 = Period point interrupt Enabled.
  968. * | | |Note1: When up-down counter type period point means center point.
  969. * | | |Note2: Odd channels will read always 0 at complementary mode.
  970. * |[10] |PIEN2 |EPWM Period Point Interrupt Enable Bits
  971. * | | |0 = Period point interrupt Disabled.
  972. * | | |1 = Period point interrupt Enabled.
  973. * | | |Note1: When up-down counter type period point means center point.
  974. * | | |Note2: Odd channels will read always 0 at complementary mode.
  975. * |[11] |PIEN3 |EPWM Period Point Interrupt Enable Bits
  976. * | | |0 = Period point interrupt Disabled.
  977. * | | |1 = Period point interrupt Enabled.
  978. * | | |Note1: When up-down counter type period point means center point.
  979. * | | |Note2: Odd channels will read always 0 at complementary mode.
  980. * |[12] |PIEN4 |EPWM Period Point Interrupt Enable Bits
  981. * | | |0 = Period point interrupt Disabled.
  982. * | | |1 = Period point interrupt Enabled.
  983. * | | |Note1: When up-down counter type period point means center point.
  984. * | | |Note2: Odd channels will read always 0 at complementary mode.
  985. * |[13] |PIEN5 |EPWM Period Point Interrupt Enable Bits
  986. * | | |0 = Period point interrupt Disabled.
  987. * | | |1 = Period point interrupt Enabled.
  988. * | | |Note1: When up-down counter type period point means center point.
  989. * | | |Note2: Odd channels will read always 0 at complementary mode.
  990. * |[16] |CMPUIEN0 |EPWM Compare Up Count Interrupt Enable Bits
  991. * | | |0 = Compare up count interrupt Disabled.
  992. * | | |1 = Compare up count interrupt Enabled.
  993. * | | |Note: In complementary mode, CMPUIEN1, 3, 5 use as another CMPUIEN for channel 0, 2, 4.
  994. * |[17] |CMPUIEN1 |EPWM Compare Up Count Interrupt Enable Bits
  995. * | | |0 = Compare up count interrupt Disabled.
  996. * | | |1 = Compare up count interrupt Enabled.
  997. * | | |Note: In complementary mode, CMPUIEN1, 3, 5 use as another CMPUIEN for channel 0, 2, 4.
  998. * |[18] |CMPUIEN2 |EPWM Compare Up Count Interrupt Enable Bits
  999. * | | |0 = Compare up count interrupt Disabled.
  1000. * | | |1 = Compare up count interrupt Enabled.
  1001. * | | |Note: In complementary mode, CMPUIEN1, 3, 5 use as another CMPUIEN for channel 0, 2, 4.
  1002. * |[19] |CMPUIEN3 |EPWM Compare Up Count Interrupt Enable Bits
  1003. * | | |0 = Compare up count interrupt Disabled.
  1004. * | | |1 = Compare up count interrupt Enabled.
  1005. * | | |Note: In complementary mode, CMPUIEN1, 3, 5 use as another CMPUIEN for channel 0, 2, 4.
  1006. * |[20] |CMPUIEN4 |EPWM Compare Up Count Interrupt Enable Bits
  1007. * | | |0 = Compare up count interrupt Disabled.
  1008. * | | |1 = Compare up count interrupt Enabled.
  1009. * | | |Note: In complementary mode, CMPUIEN1, 3, 5 use as another CMPUIEN for channel 0, 2, 4.
  1010. * |[21] |CMPUIEN5 |EPWM Compare Up Count Interrupt Enable Bits
  1011. * | | |0 = Compare up count interrupt Disabled.
  1012. * | | |1 = Compare up count interrupt Enabled.
  1013. * | | |Note: In complementary mode, CMPUIEN1, 3, 5 use as another CMPUIEN for channel 0, 2, 4.
  1014. * |[24] |CMPDIEN0 |EPWM Compare Down Count Interrupt Enable Bits
  1015. * | | |0 = Compare down count interrupt Disabled.
  1016. * | | |1 = Compare down count interrupt Enabled.
  1017. * | | |Note: In complementary mode, CMPDIEN1, 3, 5 use as another CMPDIEN for channel 0, 2, 4.
  1018. * |[25] |CMPDIEN1 |EPWM Compare Down Count Interrupt Enable Bits
  1019. * | | |0 = Compare down count interrupt Disabled.
  1020. * | | |1 = Compare down count interrupt Enabled.
  1021. * | | |Note: In complementary mode, CMPDIEN1, 3, 5 use as another CMPDIEN for channel 0, 2, 4.
  1022. * |[26] |CMPDIEN2 |EPWM Compare Down Count Interrupt Enable Bits
  1023. * | | |0 = Compare down count interrupt Disabled.
  1024. * | | |1 = Compare down count interrupt Enabled.
  1025. * | | |Note: In complementary mode, CMPDIEN1, 3, 5 use as another CMPDIEN for channel 0, 2, 4.
  1026. * |[27] |CMPDIEN3 |EPWM Compare Down Count Interrupt Enable Bits
  1027. * | | |0 = Compare down count interrupt Disabled.
  1028. * | | |1 = Compare down count interrupt Enabled.
  1029. * | | |Note: In complementary mode, CMPDIEN1, 3, 5 use as another CMPDIEN for channel 0, 2, 4.
  1030. * |[28] |CMPDIEN4 |EPWM Compare Down Count Interrupt Enable Bits
  1031. * | | |0 = Compare down count interrupt Disabled.
  1032. * | | |1 = Compare down count interrupt Enabled.
  1033. * | | |Note: In complementary mode, CMPDIEN1, 3, 5 use as another CMPDIEN for channel 0, 2, 4.
  1034. * |[29] |CMPDIEN5 |EPWM Compare Down Count Interrupt Enable Bits
  1035. * | | |0 = Compare down count interrupt Disabled.
  1036. * | | |1 = Compare down count interrupt Enabled.
  1037. * | | |Note: In complementary mode, CMPDIEN1, 3, 5 use as another CMPDIEN for channel 0, 2, 4.
  1038. * @var EPWM_T::INTEN1
  1039. * Offset: 0xE4 EPWM Interrupt Enable Register 1
  1040. * ---------------------------------------------------------------------------------------------------
  1041. * |Bits |Field |Descriptions
  1042. * | :----: | :----: | :---- |
  1043. * |[0] |BRKEIEN0_1|EPWM Edge-detect Brake Interrupt Enable for Channel0/1 (Write Protect)
  1044. * | | |0 = Edge-detect Brake interrupt for channel0/1 Disabled.
  1045. * | | |1 = Edge-detect Brake interrupt for channel0/1 Enabled.
  1046. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1047. * |[1] |BRKEIEN2_3|EPWM Edge-detect Brake Interrupt Enable for Channel2/3 (Write Protect)
  1048. * | | |0 = Edge-detect Brake interrupt for channel2/3 Disabled.
  1049. * | | |1 = Edge-detect Brake interrupt for channel2/3 Enabled.
  1050. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1051. * |[2] |BRKEIEN4_5|EPWM Edge-detect Brake Interrupt Enable for Channel4/5 (Write Protect)
  1052. * | | |0 = Edge-detect Brake interrupt for channel4/5 Disabled.
  1053. * | | |1 = Edge-detect Brake interrupt for channel4/5 Enabled.
  1054. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1055. * |[8] |BRKLIEN0_1|EPWM Level-detect Brake Interrupt Enable for Channel0/1 (Write Protect)
  1056. * | | |0 = Level-detect Brake interrupt for channel0/1 Disabled.
  1057. * | | |1 = Level-detect Brake interrupt for channel0/1 Enabled.
  1058. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1059. * |[9] |BRKLIEN2_3|EPWM Level-detect Brake Interrupt Enable for Channel2/3 (Write Protect)
  1060. * | | |0 = Level-detect Brake interrupt for channel2/3 Disabled.
  1061. * | | |1 = Level-detect Brake interrupt for channel2/3 Enabled.
  1062. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1063. * |[10] |BRKLIEN4_5|EPWM Level-detect Brake Interrupt Enable for Channel4/5 (Write Protect)
  1064. * | | |0 = Level-detect Brake interrupt for channel4/5 Disabled.
  1065. * | | |1 = Level-detect Brake interrupt for channel4/5 Enabled.
  1066. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1067. * @var EPWM_T::INTSTS0
  1068. * Offset: 0xE8 EPWM Interrupt Flag Register 0
  1069. * ---------------------------------------------------------------------------------------------------
  1070. * |Bits |Field |Descriptions
  1071. * | :----: | :----: | :---- |
  1072. * |[0] |ZIF0 |EPWM Zero Point Interrupt Flag
  1073. * | | |This bit is set by hardware when EPWM counter reaches zero, software can write 1 to clear this bit to zero.
  1074. * |[1] |ZIF1 |EPWM Zero Point Interrupt Flag
  1075. * | | |This bit is set by hardware when EPWM counter reaches zero, software can write 1 to clear this bit to zero.
  1076. * |[2] |ZIF2 |EPWM Zero Point Interrupt Flag
  1077. * | | |This bit is set by hardware when EPWM counter reaches zero, software can write 1 to clear this bit to zero.
  1078. * |[3] |ZIF3 |EPWM Zero Point Interrupt Flag
  1079. * | | |This bit is set by hardware when EPWM counter reaches zero, software can write 1 to clear this bit to zero.
  1080. * |[4] |ZIF4 |EPWM Zero Point Interrupt Flag
  1081. * | | |This bit is set by hardware when EPWM counter reaches zero, software can write 1 to clear this bit to zero.
  1082. * |[5] |ZIF5 |EPWM Zero Point Interrupt Flag
  1083. * | | |This bit is set by hardware when EPWM counter reaches zero, software can write 1 to clear this bit to zero.
  1084. * |[8] |PIF0 |EPWM Period Point Interrupt Flag
  1085. * | | |This bit is set by hardware when EPWM counter reaches EPWM_PERIODn, software can write 1 to clear this bit to zero.
  1086. * |[9] |PIF1 |EPWM Period Point Interrupt Flag
  1087. * | | |This bit is set by hardware when EPWM counter reaches EPWM_PERIODn, software can write 1 to clear this bit to zero.
  1088. * |[10] |PIF2 |EPWM Period Point Interrupt Flag
  1089. * | | |This bit is set by hardware when EPWM counter reaches EPWM_PERIODn, software can write 1 to clear this bit to zero.
  1090. * |[11] |PIF3 |EPWM Period Point Interrupt Flag
  1091. * | | |This bit is set by hardware when EPWM counter reaches EPWM_PERIODn, software can write 1 to clear this bit to zero.
  1092. * |[12] |PIF4 |EPWM Period Point Interrupt Flag
  1093. * | | |This bit is set by hardware when EPWM counter reaches EPWM_PERIODn, software can write 1 to clear this bit to zero.
  1094. * |[13] |PIF5 |EPWM Period Point Interrupt Flag
  1095. * | | |This bit is set by hardware when EPWM counter reaches EPWM_PERIODn, software can write 1 to clear this bit to zero.
  1096. * |[16] |CMPUIF0 |EPWM Compare Up Count Interrupt Flag
  1097. * | | |Flag is set by hardware when EPWM counter up count and reaches EPWM_CMPDATn, software can clear this bit by writing 1 to it.
  1098. * | | |Note1: If CMPDAT equal to PERIOD, this flag is not working in up counter type selection.
  1099. * | | |Note2: In complementary mode, CMPUIF1, 3, 5 use as another CMPUIF for channel 0, 2, 4.
  1100. * |[17] |CMPUIF1 |EPWM Compare Up Count Interrupt Flag
  1101. * | | |Flag is set by hardware when EPWM counter up count and reaches EPWM_CMPDATn, software can clear this bit by writing 1 to it.
  1102. * | | |Note1: If CMPDAT equal to PERIOD, this flag is not working in up counter type selection.
  1103. * | | |Note2: In complementary mode, CMPUIF1, 3, 5 use as another CMPUIF for channel 0, 2, 4.
  1104. * |[18] |CMPUIF2 |EPWM Compare Up Count Interrupt Flag
  1105. * | | |Flag is set by hardware when EPWM counter up count and reaches EPWM_CMPDATn, software can clear this bit by writing 1 to it.
  1106. * | | |Note1: If CMPDAT equal to PERIOD, this flag is not working in up counter type selection.
  1107. * | | |Note2: In complementary mode, CMPUIF1, 3, 5 use as another CMPUIF for channel 0, 2, 4.
  1108. * |[19] |CMPUIF3 |EPWM Compare Up Count Interrupt Flag
  1109. * | | |Flag is set by hardware when EPWM counter up count and reaches EPWM_CMPDATn, software can clear this bit by writing 1 to it.
  1110. * | | |Note1: If CMPDAT equal to PERIOD, this flag is not working in up counter type selection.
  1111. * | | |Note2: In complementary mode, CMPUIF1, 3, 5 use as another CMPUIF for channel 0, 2, 4.
  1112. * |[20] |CMPUIF4 |EPWM Compare Up Count Interrupt Flag
  1113. * | | |Flag is set by hardware when EPWM counter up count and reaches EPWM_CMPDATn, software can clear this bit by writing 1 to it.
  1114. * | | |Note1: If CMPDAT equal to PERIOD, this flag is not working in up counter type selection.
  1115. * | | |Note2: In complementary mode, CMPUIF1, 3, 5 use as another CMPUIF for channel 0, 2, 4.
  1116. * |[21] |CMPUIF5 |EPWM Compare Up Count Interrupt Flag
  1117. * | | |Flag is set by hardware when EPWM counter up count and reaches EPWM_CMPDATn, software can clear this bit by writing 1 to it.
  1118. * | | |Note1: If CMPDAT equal to PERIOD, this flag is not working in up counter type selection.
  1119. * | | |Note2: In complementary mode, CMPUIF1, 3, 5 use as another CMPUIF for channel 0, 2, 4.
  1120. * |[24] |CMPDIF0 |EPWM Compare Down Count Interrupt Flag
  1121. * | | |Flag is set by hardware when EPWM counter down count and reaches EPWM_CMPDATn, software can clear this bit by writing 1 to it.
  1122. * | | |Note1: If CMPDAT equal to PERIOD, this flag is not working in down counter type selection.
  1123. * | | |Note2: In complementary mode, CMPDIF1, 3, 5 use as another CMPDIF for channel 0, 2, 4.
  1124. * |[25] |CMPDIF1 |EPWM Compare Down Count Interrupt Flag
  1125. * | | |Flag is set by hardware when EPWM counter down count and reaches EPWM_CMPDATn, software can clear this bit by writing 1 to it.
  1126. * | | |Note1: If CMPDAT equal to PERIOD, this flag is not working in down counter type selection.
  1127. * | | |Note2: In complementary mode, CMPDIF1, 3, 5 use as another CMPDIF for channel 0, 2, 4.
  1128. * |[26] |CMPDIF2 |EPWM Compare Down Count Interrupt Flag
  1129. * | | |Flag is set by hardware when EPWM counter down count and reaches EPWM_CMPDATn, software can clear this bit by writing 1 to it.
  1130. * | | |Note1: If CMPDAT equal to PERIOD, this flag is not working in down counter type selection.
  1131. * | | |Note2: In complementary mode, CMPDIF1, 3, 5 use as another CMPDIF for channel 0, 2, 4.
  1132. * |[27] |CMPDIF3 |EPWM Compare Down Count Interrupt Flag
  1133. * | | |Flag is set by hardware when EPWM counter down count and reaches EPWM_CMPDATn, software can clear this bit by writing 1 to it.
  1134. * | | |Note1: If CMPDAT equal to PERIOD, this flag is not working in down counter type selection.
  1135. * | | |Note2: In complementary mode, CMPDIF1, 3, 5 use as another CMPDIF for channel 0, 2, 4.
  1136. * |[28] |CMPDIF4 |EPWM Compare Down Count Interrupt Flag
  1137. * | | |Flag is set by hardware when EPWM counter down count and reaches EPWM_CMPDATn, software can clear this bit by writing 1 to it.
  1138. * | | |Note1: If CMPDAT equal to PERIOD, this flag is not working in down counter type selection.
  1139. * | | |Note2: In complementary mode, CMPDIF1, 3, 5 use as another CMPDIF for channel 0, 2, 4.
  1140. * |[29] |CMPDIF5 |EPWM Compare Down Count Interrupt Flag
  1141. * | | |Flag is set by hardware when EPWM counter down count and reaches EPWM_CMPDATn, software can clear this bit by writing 1 to it.
  1142. * | | |Note1: If CMPDAT equal to PERIOD, this flag is not working in down counter type selection.
  1143. * | | |Note2: In complementary mode, CMPDIF1, 3, 5 use as another CMPDIF for channel 0, 2, 4.
  1144. * @var EPWM_T::INTSTS1
  1145. * Offset: 0xEC EPWM Interrupt Flag Register 1
  1146. * ---------------------------------------------------------------------------------------------------
  1147. * |Bits |Field |Descriptions
  1148. * | :----: | :----: | :---- |
  1149. * |[0] |BRKEIF0 |EPWM Channel0 Edge-detect Brake Interrupt Flag (Write Protect)
  1150. * | | |0 = EPWM channel0 edge-detect brake event do not happened.
  1151. * | | |1 = When EPWM channel0 edge-detect brake event happened, this bit is set to 1, writing 1 to clear.
  1152. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1153. * |[1] |BRKEIF1 |EPWM Channel1 Edge-detect Brake Interrupt Flag (Write Protect)
  1154. * | | |0 = EPWM channel1 edge-detect brake event do not happened.
  1155. * | | |1 = When EPWM channel1 edge-detect brake event happened, this bit is set to 1, writing 1 to clear.
  1156. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1157. * |[2] |BRKEIF2 |EPWM Channel2 Edge-detect Brake Interrupt Flag (Write Protect)
  1158. * | | |0 = EPWM channel2 edge-detect brake event do not happened.
  1159. * | | |1 = When EPWM channel2 edge-detect brake event happened, this bit is set to 1, writing 1 to clear.
  1160. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1161. * |[3] |BRKEIF3 |EPWM Channel3 Edge-detect Brake Interrupt Flag (Write Protect)
  1162. * | | |0 = EPWM channel3 edge-detect brake event do not happened.
  1163. * | | |1 = When EPWM channel3 edge-detect brake event happened, this bit is set to 1, writing 1 to clear.
  1164. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1165. * |[4] |BRKEIF4 |EPWM Channel4 Edge-detect Brake Interrupt Flag (Write Protect)
  1166. * | | |0 = EPWM channel4 edge-detect brake event do not happened.
  1167. * | | |1 = When EPWM channel4 edge-detect brake event happened, this bit is set to 1, writing 1 to clear.
  1168. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1169. * |[5] |BRKEIF5 |EPWM Channel5 Edge-detect Brake Interrupt Flag (Write Protect)
  1170. * | | |0 = EPWM channel5 edge-detect brake event do not happened.
  1171. * | | |1 = When EPWM channel5 edge-detect brake event happened, this bit is set to 1, writing 1 to clear.
  1172. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1173. * |[8] |BRKLIF0 |EPWM Channel0 Level-detect Brake Interrupt Flag (Write Protect)
  1174. * | | |0 = EPWM channel0 level-detect brake event do not happened.
  1175. * | | |1 = When EPWM channel0 level-detect brake event happened, this bit is set to 1, writing 1 to clear.
  1176. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1177. * |[9] |BRKLIF1 |EPWM Channel1 Level-detect Brake Interrupt Flag (Write Protect)
  1178. * | | |0 = EPWM channel1 level-detect brake event do not happened.
  1179. * | | |1 = When EPWM channel1 level-detect brake event happened, this bit is set to 1, writing 1 to clear.
  1180. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1181. * |[10] |BRKLIF2 |EPWM Channel2 Level-detect Brake Interrupt Flag (Write Protect)
  1182. * | | |0 = EPWM channel2 level-detect brake event do not happened.
  1183. * | | |1 = When EPWM channel2 level-detect brake event happened, this bit is set to 1, writing 1 to clear.
  1184. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1185. * |[11] |BRKLIF3 |EPWM Channel3 Level-detect Brake Interrupt Flag (Write Protect)
  1186. * | | |0 = EPWM channel3 level-detect brake event do not happened.
  1187. * | | |1 = When EPWM channel3 level-detect brake event happened, this bit is set to 1, writing 1 to clear.
  1188. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1189. * |[12] |BRKLIF4 |EPWM Channel4 Level-detect Brake Interrupt Flag (Write Protect)
  1190. * | | |0 = EPWM channel4 level-detect brake event do not happened.
  1191. * | | |1 = When EPWM channel4 level-detect brake event happened, this bit is set to 1, writing 1 to clear.
  1192. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1193. * |[13] |BRKLIF5 |EPWM Channel5 Level-detect Brake Interrupt Flag (Write Protect)
  1194. * | | |0 = EPWM channel5 level-detect brake event do not happened.
  1195. * | | |1 = When EEPWM channel5 level-detect brake event happened, this bit is set to 1, writing 1 to clear.
  1196. * | | |Note: This register is write protected. Refer toSYS_REGLCTL register.
  1197. * |[16] |BRKESTS0 |EPWM Channel0 Edge-detect Brake Status (Read Only)
  1198. * | | |0 = EPWM channel0 edge-detect brake state is released.
  1199. * | | |1 = When EPWM channel0 edge-detect brake detects a falling edge of any enabled brake source; this flag will be set to indicate the EPWM channel0 at brake state, writing 1 to clear.
  1200. * |[17] |BRKESTS1 |EPWM Channel1 Edge-detect Brake Status (Read Only)
  1201. * | | |0 = EPWM channel1 edge-detect brake state is released.
  1202. * | | |1 = When EPWM channel1 edge-detect brake detects a falling edge of any enabled brake source; this flag will be set to indicate the EPWM channel1 at brake state, writing 1 to clear.
  1203. * |[18] |BRKESTS2 |EPWM Channel2 Edge-detect Brake Status (Read Only)
  1204. * | | |0 = EPWM channel2 edge-detect brake state is released.
  1205. * | | |1 = When EPWM channel2 edge-detect brake detects a falling edge of any enabled brake source; this flag will be set to indicate the EPWM channel2 at brake state, writing 1 to clear.
  1206. * |[19] |BRKESTS3 |EPWM Channel3 Edge-detect Brake Status (Read Only)
  1207. * | | |0 = EPWM channel3 edge-detect brake state is released.
  1208. * | | |1 = When EPWM channel3 edge-detect brake detects a falling edge of any enabled brake source; this flag will be set to indicate the EPWM channel3 at brake state, writing 1 to clear.
  1209. * |[20] |BRKESTS4 |EPWM Channel4 Edge-detect Brake Status (Read Only)
  1210. * | | |0 = EPWM channel4 edge-detect brake state is released.
  1211. * | | |1 = When EPWM channel4 edge-detect brake detects a falling edge of any enabled brake source; this flag will be set to indicate the EPWM channel4 at brake state, writing 1 to clear.
  1212. * |[21] |BRKESTS5 |EPWM Channel5 Edge-detect Brake Status (Read Only)
  1213. * | | |0 = EPWM channel5 edge-detect brake state is released.
  1214. * | | |1 = When EPWM channel5 edge-detect brake detects a falling edge of any enabled brake source; this flag will be set to indicate the EPWM channel5 at brake state, writing 1 to clear.
  1215. * |[24] |BRKLSTS0 |EPWM Channel0 Level-detect Brake Status (Read Only)
  1216. * | | |0 = EPWM channel0 level-detect brake state is released.
  1217. * | | |1 = When EPWM channel0 level-detect brake detects a falling edge of any enabled brake source; this flag will be set to indicate the EPWM channel0 at brake state.
  1218. * | | |Note: This bit is read only and auto cleared by hardware
  1219. * | | |When enabled brake source return to high level, EPWM will release brake state until current EPWM period finished
  1220. * | | |The EPWM waveform will start output from next full EPWM period.
  1221. * |[25] |BRKLSTS1 |EPWM Channel1 Level-detect Brake Status (Read Only)
  1222. * | | |0 = EPWM channel1 level-detect brake state is released.
  1223. * | | |1 = When EPWM channel1 level-detect brake detects a falling edge of any enabled brake source; this flag will be set to indicate the EPWM channel1 at brake state.
  1224. * | | |Note: This bit is read only and auto cleared by hardware
  1225. * | | |When enabled brake source return to high level, EPWM will release brake state until current EPWM period finished
  1226. * | | |The EPWM waveform will start output from next full EPWM period.
  1227. * |[26] |BRKLSTS2 |EPWM Channel2 Level-detect Brake Status (Read Only)
  1228. * | | |0 = EPWM channel2 level-detect brake state is released.
  1229. * | | |1 = When EPWM channel2 level-detect brake detects a falling edge of any enabled brake source; this flag will be set to indicate the EPWM channel2 at brake state.
  1230. * | | |Note: This bit is read only and auto cleared by hardware
  1231. * | | |When enabled brake source return to high level, EPWM will release brake state until current EPWM period finished
  1232. * | | |The EPWM waveform will start output from next full EPWM period.
  1233. * |[27] |BRKLSTS3 |EPWM Channel3 Level-detect Brake Status (Read Only)
  1234. * | | |0 = EPWM channel3 level-detect brake state is released.
  1235. * | | |1 = When EPWM channel3 level-detect brake detects a falling edge of any enabled brake source; this flag will be set to indicate the EPWM channel3 at brake state.
  1236. * | | |Note: This bit is read only and auto cleared by hardware
  1237. * | | |When enabled brake source return to high level, EPWM will release brake state until current EPWM period finished
  1238. * | | |The EPWM waveform will start output from next full EPWM period.
  1239. * |[28] |BRKLSTS4 |EPWM Channel4 Level-detect Brake Status (Read Only)
  1240. * | | |0 = EPWM channel4 level-detect brake state is released.
  1241. * | | |1 = When EPWM channel4 level-detect brake detects a falling edge of any enabled brake source; this flag will be set to indicate the EPWM channel4 at brake state.
  1242. * | | |Note: This bit is read only and auto cleared by hardware
  1243. * | | |When enabled brake source return to high level, EPWM will release brake state until current EPWM period finished
  1244. * | | |The EPWM waveform will start output from next full EPWM period.
  1245. * |[29] |BRKLSTS5 |EPWM Channel5 Level-detect Brake Status (Read Only)
  1246. * | | |0 = EPWM channel5 level-detect brake state is released.
  1247. * | | |1 = When EPWM channel5 level-detect brake detects a falling edge of any enabled brake source; this flag will be set to indicate the EPWM channel5 at brake state.
  1248. * | | |Note: This bit is read only and auto cleared by hardware
  1249. * | | |When enabled brake source return to high level, EPWM will release brake state until current EPWM period finished
  1250. * | | |The EPWM waveform will start output from next full EPWM period.
  1251. * @var EPWM_T::DACTRGEN
  1252. * Offset: 0xF4 EPWM Trigger DAC Enable Register
  1253. * ---------------------------------------------------------------------------------------------------
  1254. * |Bits |Field |Descriptions
  1255. * | :----: | :----: | :---- |
  1256. * |[0] |ZTE0 |EPWM Zero Point Trigger DAC Enable Bits
  1257. * | | |EPWM can trigger EADC/DAC/DMA to start action when EPWM counter down count to zero if this bit is set to1.
  1258. * | | |0 = EPWM period point trigger DAC function Disabled.
  1259. * | | |1 = EPWM period point trigger DAC function Enabled.
  1260. * |[1] |ZTE1 |EPWM Zero Point Trigger DAC Enable Bits
  1261. * | | |EPWM can trigger EADC/DAC/DMA to start action when EPWM counter down count to zero if this bit is set to1.
  1262. * | | |0 = EPWM period point trigger DAC function Disabled.
  1263. * | | |1 = EPWM period point trigger DAC function Enabled.
  1264. * |[2] |ZTE2 |EPWM Zero Point Trigger DAC Enable Bits
  1265. * | | |EPWM can trigger EADC/DAC/DMA to start action when EPWM counter down count to zero if this bit is set to1.
  1266. * | | |0 = EPWM period point trigger DAC function Disabled.
  1267. * | | |1 = EPWM period point trigger DAC function Enabled.
  1268. * |[3] |ZTE3 |EPWM Zero Point Trigger DAC Enable Bits
  1269. * | | |EPWM can trigger EADC/DAC/DMA to start action when EPWM counter down count to zero if this bit is set to1.
  1270. * | | |0 = EPWM period point trigger DAC function Disabled.
  1271. * | | |1 = EPWM period point trigger DAC function Enabled.
  1272. * |[4] |ZTE4 |EPWM Zero Point Trigger DAC Enable Bits
  1273. * | | |EPWM can trigger EADC/DAC/DMA to start action when EPWM counter down count to zero if this bit is set to1.
  1274. * | | |0 = EPWM period point trigger DAC function Disabled.
  1275. * | | |1 = EPWM period point trigger DAC function Enabled.
  1276. * |[5] |ZTE5 |EPWM Zero Point Trigger DAC Enable Bits
  1277. * | | |EPWM can trigger EADC/DAC/DMA to start action when EPWM counter down count to zero if this bit is set to1.
  1278. * | | |0 = EPWM period point trigger DAC function Disabled.
  1279. * | | |1 = EPWM period point trigger DAC function Enabled.
  1280. * |[8] |PTE0 |EPWM Period Point Trigger DAC Enable Bits
  1281. * | | |EPWM can trigger DAC to start action when EPWM counter up count to (PERIODn+1) if this bit is set to1.
  1282. * | | |0 = EPWM period point trigger DAC function Disabled.
  1283. * | | |1 = EPWM period point trigger DAC function Enabled.
  1284. * |[9] |PTE1 |EPWM Period Point Trigger DAC Enable Bits
  1285. * | | |EPWM can trigger DAC to start action when EPWM counter up count to (PERIODn+1) if this bit is set to1.
  1286. * | | |0 = EPWM period point trigger DAC function Disabled.
  1287. * | | |1 = EPWM period point trigger DAC function Enabled.
  1288. * |[10] |PTE2 |EPWM Period Point Trigger DAC Enable Bits
  1289. * | | |EPWM can trigger DAC to start action when EPWM counter up count to (PERIODn+1) if this bit is set to1.
  1290. * | | |0 = EPWM period point trigger DAC function Disabled.
  1291. * | | |1 = EPWM period point trigger DAC function Enabled.
  1292. * |[11] |PTE3 |EPWM Period Point Trigger DAC Enable Bits
  1293. * | | |EPWM can trigger DAC to start action when EPWM counter up count to (PERIODn+1) if this bit is set to1.
  1294. * | | |0 = EPWM period point trigger DAC function Disabled.
  1295. * | | |1 = EPWM period point trigger DAC function Enabled.
  1296. * |[12] |PTE4 |EPWM Period Point Trigger DAC Enable Bits
  1297. * | | |EPWM can trigger DAC to start action when EPWM counter up count to (PERIODn+1) if this bit is set to1.
  1298. * | | |0 = EPWM period point trigger DAC function Disabled.
  1299. * | | |1 = EPWM period point trigger DAC function Enabled.
  1300. * |[13] |PTE5 |EPWM Period Point Trigger DAC Enable Bits
  1301. * | | |EPWM can trigger DAC to start action when EPWM counter up count to (PERIODn+1) if this bit is set to1.
  1302. * | | |0 = EPWM period point trigger DAC function Disabled.
  1303. * | | |1 = EPWM period point trigger DAC function Enabled.
  1304. * |[16] |CUTRGE0 |EPWM Compare Up Count Point Trigger DAC Enable Bits
  1305. * | | |EPWM can trigger DAC to start action when EPWM counter up count to CMPDAT if this bit is set to1.
  1306. * | | |0 = EPWM Compare Up point trigger DAC function Disabled.
  1307. * | | |1 = EPWM Compare Up point trigger DAC function Enabled.
  1308. * | | |Note1: This bit should keep at 0 when EPWM counter operating in down counter type.
  1309. * | | |Note2: In complementary mode, CUTRGE1, 3, 5 use as another CUTRGE for channel 0, 2, 4.
  1310. * |[17] |CUTRGE1 |EPWM Compare Up Count Point Trigger DAC Enable Bits
  1311. * | | |EPWM can trigger DAC to start action when EPWM counter up count to CMPDAT if this bit is set to1.
  1312. * | | |0 = EPWM Compare Up point trigger DAC function Disabled.
  1313. * | | |1 = EPWM Compare Up point trigger DAC function Enabled.
  1314. * | | |Note1: This bit should keep at 0 when EPWM counter operating in down counter type.
  1315. * | | |Note2: In complementary mode, CUTRGE1, 3, 5 use as another CUTRGE for channel 0, 2, 4.
  1316. * |[18] |CUTRGE2 |EPWM Compare Up Count Point Trigger DAC Enable Bits
  1317. * | | |EPWM can trigger DAC to start action when EPWM counter up count to CMPDAT if this bit is set to1.
  1318. * | | |0 = EPWM Compare Up point trigger DAC function Disabled.
  1319. * | | |1 = EPWM Compare Up point trigger DAC function Enabled.
  1320. * | | |Note1: This bit should keep at 0 when EPWM counter operating in down counter type.
  1321. * | | |Note2: In complementary mode, CUTRGE1, 3, 5 use as another CUTRGE for channel 0, 2, 4.
  1322. * |[19] |CUTRGE3 |EPWM Compare Up Count Point Trigger DAC Enable Bits
  1323. * | | |EPWM can trigger DAC to start action when EPWM counter up count to CMPDAT if this bit is set to1.
  1324. * | | |0 = EPWM Compare Up point trigger DAC function Disabled.
  1325. * | | |1 = EPWM Compare Up point trigger DAC function Enabled.
  1326. * | | |Note1: This bit should keep at 0 when EPWM counter operating in down counter type.
  1327. * | | |Note2: In complementary mode, CUTRGE1, 3, 5 use as another CUTRGE for channel 0, 2, 4.
  1328. * |[20] |CUTRGE4 |EPWM Compare Up Count Point Trigger DAC Enable Bits
  1329. * | | |EPWM can trigger DAC to start action when EPWM counter up count to CMPDAT if this bit is set to1.
  1330. * | | |0 = EPWM Compare Up point trigger DAC function Disabled.
  1331. * | | |1 = EPWM Compare Up point trigger DAC function Enabled.
  1332. * | | |Note1: This bit should keep at 0 when EPWM counter operating in down counter type.
  1333. * | | |Note2: In complementary mode, CUTRGE1, 3, 5 use as another CUTRGE for channel 0, 2, 4.
  1334. * |[21] |CUTRGE5 |EPWM Compare Up Count Point Trigger DAC Enable Bits
  1335. * | | |EPWM can trigger DAC to start action when EPWM counter up count to CMPDAT if this bit is set to1.
  1336. * | | |0 = EPWM Compare Up point trigger DAC function Disabled.
  1337. * | | |1 = EPWM Compare Up point trigger DAC function Enabled.
  1338. * | | |Note1: This bit should keep at 0 when EPWM counter operating in down counter type.
  1339. * | | |Note2: In complementary mode, CUTRGE1, 3, 5 use as another CUTRGE for channel 0, 2, 4.
  1340. * |[24] |CDTRGE0 |EPWM Compare Down Count Point Trigger DAC Enable Bits
  1341. * | | |EPWM can trigger DAC to start action when EPWM counter down count to CMPDAT if this bit is set to1.
  1342. * | | |0 = EPWM Compare Down count point trigger DAC function Disabled.
  1343. * | | |1 = EPWM Compare Down count point trigger DAC function Enabled.
  1344. * | | |Note1: This bit should keep at 0 when EPWM counter operating in up counter type.
  1345. * | | |Note2: In complementary mode, CDTRGE1, 3, 5 use as another CDTRGE for channel 0, 2, 4.
  1346. * |[25] |CDTRGE1 |EPWM Compare Down Count Point Trigger DAC Enable Bits
  1347. * | | |EPWM can trigger DAC to start action when EPWM counter down count to CMPDAT if this bit is set to1.
  1348. * | | |0 = EPWM Compare Down count point trigger DAC function Disabled.
  1349. * | | |1 = EPWM Compare Down count point trigger DAC function Enabled.
  1350. * | | |Note1: This bit should keep at 0 when EPWM counter operating in up counter type.
  1351. * | | |Note2: In complementary mode, CDTRGE1, 3, 5 use as another CDTRGE for channel 0, 2, 4.
  1352. * |[26] |CDTRGE2 |EPWM Compare Down Count Point Trigger DAC Enable Bits
  1353. * | | |EPWM can trigger DAC to start action when EPWM counter down count to CMPDAT if this bit is set to1.
  1354. * | | |0 = EPWM Compare Down count point trigger DAC function Disabled.
  1355. * | | |1 = EPWM Compare Down count point trigger DAC function Enabled.
  1356. * | | |Note1: This bit should keep at 0 when EPWM counter operating in up counter type.
  1357. * | | |Note2: In complementary mode, CDTRGE1, 3, 5 use as another CDTRGE for channel 0, 2, 4.
  1358. * |[27] |CDTRGE3 |EPWM Compare Down Count Point Trigger DAC Enable Bits
  1359. * | | |EPWM can trigger DAC to start action when EPWM counter down count to CMPDAT if this bit is set to1.
  1360. * | | |0 = EPWM Compare Down count point trigger DAC function Disabled.
  1361. * | | |1 = EPWM Compare Down count point trigger DAC function Enabled.
  1362. * | | |Note1: This bit should keep at 0 when EPWM counter operating in up counter type.
  1363. * | | |Note2: In complementary mode, CDTRGE1, 3, 5 use as another CDTRGE for channel 0, 2, 4.
  1364. * |[28] |CDTRGE4 |EPWM Compare Down Count Point Trigger DAC Enable Bits
  1365. * | | |EPWM can trigger DAC to start action when EPWM counter down count to CMPDAT if this bit is set to1.
  1366. * | | |0 = EPWM Compare Down count point trigger DAC function Disabled.
  1367. * | | |1 = EPWM Compare Down count point trigger DAC function Enabled.
  1368. * | | |Note1: This bit should keep at 0 when EPWM counter operating in up counter type.
  1369. * | | |Note2: In complementary mode, CDTRGE1, 3, 5 use as another CDTRGE for channel 0, 2, 4.
  1370. * |[29] |CDTRGE5 |EPWM Compare Down Count Point Trigger DAC Enable Bits
  1371. * | | |EPWM can trigger DAC to start action when EPWM counter down count to CMPDAT if this bit is set to1.
  1372. * | | |0 = EPWM Compare Down count point trigger DAC function Disabled.
  1373. * | | |1 = EPWM Compare Down count point trigger DAC function Enabled.
  1374. * | | |Note1: This bit should keep at 0 when EPWM counter operating in up counter type.
  1375. * | | |Note2: In complementary mode, CDTRGE1, 3, 5 use as another CDTRGE for channel 0, 2, 4.
  1376. * @var EPWM_T::EADCTS0
  1377. * Offset: 0xF8 EPWM Trigger EADC Source Select Register 0
  1378. * ---------------------------------------------------------------------------------------------------
  1379. * |Bits |Field |Descriptions
  1380. * | :----: | :----: | :---- |
  1381. * |[3:0] |TRGSEL0 |EPWM_CH0 Trigger EADC Source Select
  1382. * | | |0000 = EPWM_CH0 zero point.
  1383. * | | |0001 = EPWM_CH0 period point.
  1384. * | | |0010 = EPWM_CH0 zero or period point.
  1385. * | | |0011 = EPWM_CH0 up-count CMPDAT point.
  1386. * | | |0100 = EPWM_CH0 down-count CMPDAT point.
  1387. * | | |0101 = EPWM_CH1 zero point.
  1388. * | | |0110 = EPWM_CH1 period point.
  1389. * | | |0111 = EPWM_CH1 zero or period point.
  1390. * | | |1000 = EPWM_CH1 up-count CMPDAT point.
  1391. * | | |1001 = EPWM_CH1 down-count CMPDAT point.
  1392. * | | |1010 = EPWM_CH0 up-count free CMPDAT point.
  1393. * | | |1011 = EPWM_CH0 down-count free CMPDAT point.
  1394. * | | |1100 = EPWM_CH2 up-count free CMPDAT point.
  1395. * | | |1101 = EPWM_CH2 down-count free CMPDAT point.
  1396. * | | |1110 = EPWM_CH4 up-count free CMPDAT point.
  1397. * | | |1111 = EPWM_CH4 down-count free CMPDAT point.
  1398. * |[7] |TRGEN0 |EPWM_CH0 Trigger EADC enable bit
  1399. * |[11:8] |TRGSEL1 |EPWM_CH1 Trigger EADC Source Select
  1400. * | | |0000 = EPWM_CH0 zero point.
  1401. * | | |0001 = EPWM_CH0 period point.
  1402. * | | |0010 = EPWM_CH0 zero or period point.
  1403. * | | |0011 = EPWM_CH0 up-count CMPDAT point.
  1404. * | | |0100 = EPWM_CH0 down-count CMPDAT point.
  1405. * | | |0101 = EPWM_CH1 zero point.
  1406. * | | |0110 = EPWM_CH1 period point.
  1407. * | | |0111 = EPWM_CH1 zero or period point.
  1408. * | | |1000 = EPWM_CH1 up-count CMPDAT point.
  1409. * | | |1001 = EPWM_CH1 down-count CMPDAT point.
  1410. * | | |1010 = EPWM_CH0 up-count free CMPDAT point.
  1411. * | | |1011 = EPWM_CH0 down-count free CMPDAT point.
  1412. * | | |1100 = EPWM_CH2 up-count free CMPDAT point.
  1413. * | | |1101 = EPWM_CH2 down-count free CMPDAT point.
  1414. * | | |1110 = EPWM_CH4 up-count free CMPDAT point.
  1415. * | | |1111 = EPWM_CH4 down-count free CMPDAT point.
  1416. * |[15] |TRGEN1 |EPWM_CH1 Trigger EADC enable bit
  1417. * |[19:16] |TRGSEL2 |EPWM_CH2 Trigger EADC Source Select
  1418. * | | |0000 = EPWM_CH2 zero point.
  1419. * | | |0001 = EPWM_CH2 period point.
  1420. * | | |0010 = EPWM_CH2 zero or period point.
  1421. * | | |0011 = EPWM_CH2 up-count CMPDAT point.
  1422. * | | |0100 = EPWM_CH2 down-count CMPDAT point.
  1423. * | | |0101 = EPWM_CH3 zero point.
  1424. * | | |0110 = EPWM_CH3 period point.
  1425. * | | |0111 = EPWM_CH3 zero or period point.
  1426. * | | |1000 = EPWM_CH3 up-count CMPDAT point.
  1427. * | | |1001 = EPWM_CH3 down-count CMPDAT point.
  1428. * | | |1010 = EPWM_CH0 up-count free CMPDAT point.
  1429. * | | |1011 = EPWM_CH0 down-count free CMPDAT point.
  1430. * | | |1100 = EPWM_CH2 up-count free CMPDAT point.
  1431. * | | |1101 = EPWM_CH2 down-count free CMPDAT point.
  1432. * | | |1110 = EPWM_CH4 up-count free CMPDAT point.
  1433. * | | |1111 = EPWM_CH4 down-count free CMPDAT point.
  1434. * |[23] |TRGEN2 |EPWM_CH2 Trigger EADC enable bit
  1435. * |[27:24] |TRGSEL3 |EPWM_CH3 Trigger EADC Source Select
  1436. * | | |0000 = EPWM_CH2 zero point.
  1437. * | | |0001 = EPWM_CH2 period point.
  1438. * | | |0010 = EPWM_CH2 zero or period point.
  1439. * | | |0011 = EPWM_CH2 up-count CMPDAT point.
  1440. * | | |0100 = EPWM_CH2 down-count CMPDAT point.
  1441. * | | |0101 = EPWM_CH3 zero point.
  1442. * | | |0110 = EPWM_CH3 period point.
  1443. * | | |0111 = EPWM_CH3 zero or period point.
  1444. * | | |1000 = EPWM_CH3 up-count CMPDAT point.
  1445. * | | |1001 = EPWM_CH3 down-count CMPDAT point.
  1446. * | | |1010 = EPWM_CH0 up-count free CMPDAT point.
  1447. * | | |1011 = EPWM_CH0 down-count free CMPDAT point.
  1448. * | | |1100 = EPWM_CH2 up-count free CMPDAT point.
  1449. * | | |1101 = EPWM_CH2 down-count free CMPDAT point.
  1450. * | | |1110 = EPWM_CH4 up-count free CMPDAT point.
  1451. * | | |1111 = EPWM_CH4 down-count free CMPDAT point.
  1452. * |[31] |TRGEN3 |EPWM_CH3 Trigger EADC enable bit
  1453. * @var EPWM_T::EADCTS1
  1454. * Offset: 0xFC EPWM Trigger EADC Source Select Register 1
  1455. * ---------------------------------------------------------------------------------------------------
  1456. * |Bits |Field |Descriptions
  1457. * | :----: | :----: | :---- |
  1458. * |[3:0] |TRGSEL4 |EPWM_CH4 Trigger EADC Source Select
  1459. * | | |0000 = EPWM_CH4 zero point.
  1460. * | | |0001 = EPWM_CH4 period point.
  1461. * | | |0010 = EPWM_CH4 zero or period point.
  1462. * | | |0011 = EPWM_CH4 up-count CMPDAT point.
  1463. * | | |0100 = EPWM_CH4 down-count CMPDAT point.
  1464. * | | |0101 = EPWM_CH5 zero point.
  1465. * | | |0110 = EPWM_CH5 period point.
  1466. * | | |0111 = EPWM_CH5 zero or period point.
  1467. * | | |1000 = EPWM_CH5 up-count CMPDAT point.
  1468. * | | |1001 = EPWM_CH5 down-count CMPDAT point.
  1469. * | | |1010 = EPWM_CH0 up-count free CMPDAT point.
  1470. * | | |1011 = EPWM_CH0 down-count free CMPDAT point.
  1471. * | | |1100 = EPWM_CH2 up-count free CMPDAT point.
  1472. * | | |1101 = EPWM_CH2 down-count free CMPDAT point.
  1473. * | | |1110 = EPWM_CH4 up-count free CMPDAT point.
  1474. * | | |1111 = EPWM_CH4 down-count free CMPDAT point.
  1475. * |[7] |TRGEN4 |EPWM_CH4 Trigger EADC enable bit
  1476. * |[11:8] |TRGSEL5 |EPWM_CH5 Trigger EADC Source Select
  1477. * | | |0000 = EPWM_CH4 zero point.
  1478. * | | |0001 = EPWM_CH4 period point.
  1479. * | | |0010 = EPWM_CH4 zero or period point.
  1480. * | | |0011 = EPWM_CH4 up-count CMPDAT point.
  1481. * | | |0100 = EPWM_CH4 down-count CMPDAT point.
  1482. * | | |0101 = EPWM_CH5 zero point.
  1483. * | | |0110 = EPWM_CH5 period point.
  1484. * | | |0111 = EPWM_CH5 zero or period point.
  1485. * | | |1000 = EPWM_CH5 up-count CMPDAT point.
  1486. * | | |1001 = EPWM_CH5 down-count CMPDAT point.
  1487. * | | |1010 = EPWM_CH0 up-count free CMPDAT point.
  1488. * | | |1011 = EPWM_CH0 down-count free CMPDAT point.
  1489. * | | |1100 = EPWM_CH2 up-count free CMPDAT point.
  1490. * | | |1101 = EPWM_CH2 down-count free CMPDAT point.
  1491. * | | |1110 = EPWM_CH4 up-count free CMPDAT point.
  1492. * | | |1111 = EPWM_CH4 down-count free CMPDAT point.
  1493. * |[15] |TRGEN5 |EPWM_CH5 Trigger EADC enable bit
  1494. * @var EPWM_T::FTCMPDAT[3]
  1495. * Offset: 0x100 EPWM Free Trigger Compare Register 0/1,2/3,4/5
  1496. * ---------------------------------------------------------------------------------------------------
  1497. * |Bits |Field |Descriptions
  1498. * | :----: | :----: | :---- |
  1499. * |[15:0] |FTCMP |EPWM Free Trigger Compare Register
  1500. * | | |FTCMP use to compare with even CNTR to trigger EADC
  1501. * | | |FTCMPDAT0, 2, 4 corresponding complementary pairs EPWM_CH0 and EPWM_CH1, EPWM_CH2 and EPWM_CH3, EPWM_CH4 and EPWM_CH5.
  1502. * @var EPWM_T::SSCTL
  1503. * Offset: 0x110 EPWM Synchronous Start Control Register
  1504. * ---------------------------------------------------------------------------------------------------
  1505. * |Bits |Field |Descriptions
  1506. * | :----: | :----: | :---- |
  1507. * |[0] |SSEN0 |EPWM Synchronous Start Function Enable Bits
  1508. * | | |When synchronous start function is enabled, the EPWM counter enable register (EPWM_CNTEN) can be enabled by writing EPWM synchronous start trigger bit (CNTSEN).
  1509. * | | |0 = EPWM synchronous start function Disabled.
  1510. * | | |1 = EPWM synchronous start function Enabled.
  1511. * |[1] |SSEN1 |EPWM Synchronous Start Function Enable Bits
  1512. * | | |When synchronous start function is enabled, the EPWM counter enable register (EPWM_CNTEN) can be enabled by writing EPWM synchronous start trigger bit (CNTSEN).
  1513. * | | |0 = EPWM synchronous start function Disabled.
  1514. * | | |1 = EPWM synchronous start function Enabled.
  1515. * |[2] |SSEN2 |EPWM Synchronous Start Function Enable Bits
  1516. * | | |When synchronous start function is enabled, the EPWM counter enable register (EPWM_CNTEN) can be enabled by writing EPWM synchronous start trigger bit (CNTSEN).
  1517. * | | |0 = EPWM synchronous start function Disabled.
  1518. * | | |1 = EPWM synchronous start function Enabled.
  1519. * |[3] |SSEN3 |EPWM Synchronous Start Function Enable Bits
  1520. * | | |When synchronous start function is enabled, the EPWM counter enable register (EPWM_CNTEN) can be enabled by writing EPWM synchronous start trigger bit (CNTSEN).
  1521. * | | |0 = EPWM synchronous start function Disabled.
  1522. * | | |1 = EPWM synchronous start function Enabled.
  1523. * |[4] |SSEN4 |EPWM Synchronous Start Function Enable Bits
  1524. * | | |When synchronous start function is enabled, the EPWM counter enable register (EPWM_CNTEN) can be enabled by writing EPWM synchronous start trigger bit (CNTSEN).
  1525. * | | |0 = EPWM synchronous start function Disabled.
  1526. * | | |1 = EPWM synchronous start function Enabled.
  1527. * |[5] |SSEN5 |EPWM Synchronous Start Function Enable Bits
  1528. * | | |When synchronous start function is enabled, the EPWM counter enable register (EPWM_CNTEN) can be enabled by writing EPWM synchronous start trigger bit (CNTSEN).
  1529. * | | |0 = EPWM synchronous start function Disabled.
  1530. * | | |1 = EPWM synchronous start function Enabled.
  1531. * |[9:8] |SSRC |EPWM Synchronous Start Source Select Bits
  1532. * | | |00 = Synchronous start source come from EPWM0.
  1533. * | | |01 = Synchronous start source come from EPWM1.
  1534. * | | |10 = Synchronous start source come from BPWM0.
  1535. * | | |11 = Synchronous start source come from BPWM1.
  1536. * @var EPWM_T::SSTRG
  1537. * Offset: 0x114 EPWM Synchronous Start Trigger Register
  1538. * ---------------------------------------------------------------------------------------------------
  1539. * |Bits |Field |Descriptions
  1540. * | :----: | :----: | :---- |
  1541. * |[0] |CNTSEN |EPWM Counter Synchronous Start Enable (Write Only)
  1542. * | | |PMW counter synchronous enable function is used to make selected EPWM channels (include EPWM0_CHx and EPWM1_CHx) start counting at the same time.
  1543. * | | |Writing this bit to 1 will also set the counter enable bit (CNTENn, n denotes channel 0 to 5) if correlated EPWM channel counter synchronous start function is enabled.
  1544. * @var EPWM_T::LEBCTL
  1545. * Offset: 0x118 EPWM Leading Edge Blanking Control Register
  1546. * ---------------------------------------------------------------------------------------------------
  1547. * |Bits |Field |Descriptions
  1548. * | :----: | :----: | :---- |
  1549. * |[0] |LEBEN |EPWM Leading Edge Blanking Enable Bit
  1550. * | | |0 = EPWM Leading Edge Blanking Disabled.
  1551. * | | |1 = EPWM Leading Edge Blanking Enabled.
  1552. * |[8] |SRCEN0 |EPWM Leading Edge Blanking Source From EPWM_CH0 Enable Bit
  1553. * | | |0 = EPWM Leading Edge Blanking Source from EPWM_CH0 Disabled.
  1554. * | | |1 = EPWM Leading Edge Blanking Source from EPWM_CH0 Enabled.
  1555. * |[9] |SRCEN2 |EPWM Leading Edge Blanking Source From EPWM_CH2 Enable Bit
  1556. * | | |0 = EPWM Leading Edge Blanking Source from EPWM_CH2 Disabled.
  1557. * | | |1 = EPWM Leading Edge Blanking Source from EPWM_CH2 Enabled.
  1558. * |[10] |SRCEN4 |EPWM Leading Edge Blanking Source From EPWM_CH4 Enable Bit
  1559. * | | |0 = EPWM Leading Edge Blanking Source from EPWM_CH4 Disabled.
  1560. * | | |1 = EPWM Leading Edge Blanking Source from EPWM_CH4 Enabled.
  1561. * |[17:16] |TRGTYPE |EPWM Leading Edge Blanking Trigger Type
  1562. * | | |0 = When detect leading edge blanking source rising edge, blanking counter start counting.
  1563. * | | |1 = When detect leading edge blanking source falling edge, blanking counter start counting.
  1564. * | | |2 = When detect leading edge blanking source rising or falling edge, blanking counter start counting.
  1565. * | | |3 = Reserved.
  1566. * @var EPWM_T::LEBCNT
  1567. * Offset: 0x11C EPWM Leading Edge Blanking Counter Register
  1568. * ---------------------------------------------------------------------------------------------------
  1569. * |Bits |Field |Descriptions
  1570. * | :----: | :----: | :---- |
  1571. * |[8:0] |LEBCNT |EPWM Leading Edge Blanking Counter
  1572. * | | |This counter value decides leading edge blanking window size
  1573. * | | |Blanking window size = LEBCNT+1, and LEB counter clock base is ECLK.
  1574. * @var EPWM_T::STATUS
  1575. * Offset: 0x120 EPWM Status Register
  1576. * ---------------------------------------------------------------------------------------------------
  1577. * |Bits |Field |Descriptions
  1578. * | :----: | :----: | :---- |
  1579. * |[0] |CNTMAXF0 |Time-base Counter Equal to 0xFFFF Latched Flag
  1580. * | | |0 = indicates the time-base counter never reached its maximum value 0xFFFF.
  1581. * | | |1 = indicates the time-base counter reached its maximum value, software can write 1 to clear this bit.
  1582. * |[1] |CNTMAXF1 |Time-base Counter Equal to 0xFFFF Latched Flag
  1583. * | | |0 = indicates the time-base counter never reached its maximum value 0xFFFF.
  1584. * | | |1 = indicates the time-base counter reached its maximum value, software can write 1 to clear this bit.
  1585. * |[2] |CNTMAXF2 |Time-base Counter Equal to 0xFFFF Latched Flag
  1586. * | | |0 = indicates the time-base counter never reached its maximum value 0xFFFF.
  1587. * | | |1 = indicates the time-base counter reached its maximum value, software can write 1 to clear this bit.
  1588. * |[3] |CNTMAXF3 |Time-base Counter Equal to 0xFFFF Latched Flag
  1589. * | | |0 = indicates the time-base counter never reached its maximum value 0xFFFF.
  1590. * | | |1 = indicates the time-base counter reached its maximum value, software can write 1 to clear this bit.
  1591. * |[4] |CNTMAXF4 |Time-base Counter Equal to 0xFFFF Latched Flag
  1592. * | | |0 = indicates the time-base counter never reached its maximum value 0xFFFF.
  1593. * | | |1 = indicates the time-base counter reached its maximum value, software can write 1 to clear this bit.
  1594. * |[5] |CNTMAXF5 |Time-base Counter Equal to 0xFFFF Latched Flag
  1595. * | | |0 = indicates the time-base counter never reached its maximum value 0xFFFF.
  1596. * | | |1 = indicates the time-base counter reached its maximum value, software can write 1 to clear this bit.
  1597. * |[8] |SYNCINF0 |Input Synchronization Latched Flag
  1598. * | | |0 = Indicates no SYNC_IN event has occurred.
  1599. * | | |1 = Indicates an SYNC_IN event has occurred, software can write 1 to clear this bit.
  1600. * |[9] |SYNCINF2 |Input Synchronization Latched Flag
  1601. * | | |0 = Indicates no SYNC_IN event has occurred.
  1602. * | | |1 = Indicates an SYNC_IN event has occurred, software can write 1 to clear this bit.
  1603. * |[10] |SYNCINF4 |Input Synchronization Latched Flag
  1604. * | | |0 = Indicates no SYNC_IN event has occurred.
  1605. * | | |1 = Indicates an SYNC_IN event has occurred, software can write 1 to clear this bit.
  1606. * |[16] |EADCTRGF0 |EADC Start of Conversion Flag
  1607. * | | |0 = Indicates no EADC start of conversion trigger event has occurred.
  1608. * | | |1 = Indicates an EADC start of conversion trigger event has occurred, software can write 1 to clear this bit.
  1609. * |[17] |EADCTRGF1 |EADC Start of Conversion Flag
  1610. * | | |0 = Indicates no EADC start of conversion trigger event has occurred.
  1611. * | | |1 = Indicates an EADC start of conversion trigger event has occurred, software can write 1 to clear this bit.
  1612. * |[18] |EADCTRGF2 |EADC Start of Conversion Flag
  1613. * | | |0 = Indicates no EADC start of conversion trigger event has occurred.
  1614. * | | |1 = Indicates an EADC start of conversion trigger event has occurred, software can write 1 to clear this bit.
  1615. * |[19] |EADCTRGF3 |EADC Start of Conversion Flag
  1616. * | | |0 = Indicates no EADC start of conversion trigger event has occurred.
  1617. * | | |1 = Indicates an EADC start of conversion trigger event has occurred, software can write 1 to clear this bit.
  1618. * |[20] |EADCTRGF4 |EADC Start of Conversion Flag
  1619. * | | |0 = Indicates no EADC start of conversion trigger event has occurred.
  1620. * | | |1 = Indicates an EADC start of conversion trigger event has occurred, software can write 1 to clear this bit.
  1621. * |[21] |EADCTRGF5 |EADC Start of Conversion Flag
  1622. * | | |0 = Indicates no EADC start of conversion trigger event has occurred.
  1623. * | | |1 = Indicates an EADC start of conversion trigger event has occurred, software can write 1 to clear this bit.
  1624. * |[24] |DACTRGF |DAC Start of Conversion Flag
  1625. * | | |0 = Indicates no DAC start of conversion trigger event has occurred.
  1626. * | | |1 = Indicates an DAC start of conversion trigger event has occurred, software can write 1 to clear this bit
  1627. * @var EPWM_T::IFA[6]
  1628. * Offset: 0x130 EPWM Interrupt Flag Accumulator Register 0~5
  1629. * ---------------------------------------------------------------------------------------------------
  1630. * |Bits |Field |Descriptions
  1631. * | :----: | :----: | :---- |
  1632. * |[15:0] |IFACNT |EPWM_CHn Interrupt Flag Counter
  1633. * | | |The register sets the count number which defines how many times of EPWM_CHn period occurs to set bit IFAIFn to request the EPWM period interrupt.
  1634. * | | |EPWM flag will be set in every IFACNT[15:0] times of EPWM period.
  1635. * |[24] |STPMOD |EPWM_CHn Interrupt Flag Accumulator Stop Mode Enable Bits
  1636. * | | |0 = EPWM_CHn interrupt flag accumulator stop mode disable.
  1637. * | | |1 = EPWM_CHn interrupt flag accumulator stop mode enable.
  1638. * |[29:28] |IFASEL |EPWM_CHn Interrupt Flag Accumulator Source Select
  1639. * | | |00 = CNT equal to Zero in channel n.
  1640. * | | |01 = CNT equal to PERIOD in channel n.
  1641. * | | |10 = CNT equal to CMPU in channel n.
  1642. * | | |11 = CNT equal to CMPD in channel n.
  1643. * |[31] |IFAEN |EPWM_CHn Interrupt Flag Accumulator Enable Bits
  1644. * | | |0 = EPWM_CHn interrupt flag accumulator disable.
  1645. * | | |1 = EPWM_CHn interrupt flag accumulator enable.
  1646. * @var EPWM_T::AINTSTS
  1647. * Offset: 0x150 EPWM Accumulator Interrupt Flag Register
  1648. * ---------------------------------------------------------------------------------------------------
  1649. * |Bits |Field |Descriptions
  1650. * | :----: | :----: | :---- |
  1651. * |[0] |IFAIF0 |EPWM_CHn Interrupt Flag Accumulator Interrupt Flag
  1652. * | | |Flag is set by hardware when condition match IFASEL in EPWM_IFAn register, software can clear this bit by writing 1 to it.
  1653. * |[1] |IFAIF1 |EPWM_CHn Interrupt Flag Accumulator Interrupt Flag
  1654. * | | |Flag is set by hardware when condition match IFASEL in EPWM_IFAn register, software can clear this bit by writing 1 to it.
  1655. * |[2] |IFAIF2 |EPWM_CHn Interrupt Flag Accumulator Interrupt Flag
  1656. * | | |Flag is set by hardware when condition match IFASEL in EPWM_IFAn register, software can clear this bit by writing 1 to it.
  1657. * |[3] |IFAIF3 |EPWM_CHn Interrupt Flag Accumulator Interrupt Flag
  1658. * | | |Flag is set by hardware when condition match IFASEL in EPWM_IFAn register, software can clear this bit by writing 1 to it.
  1659. * |[4] |IFAIF4 |EPWM_CHn Interrupt Flag Accumulator Interrupt Flag
  1660. * | | |Flag is set by hardware when condition match IFASEL in EPWM_IFAn register, software can clear this bit by writing 1 to it.
  1661. * |[5] |IFAIF5 |EPWM_CHn Interrupt Flag Accumulator Interrupt Flag
  1662. * | | |Flag is set by hardware when condition match IFASEL in EPWM_IFAn register, software can clear this bit by writing 1 to it.
  1663. * @var EPWM_T::AINTEN
  1664. * Offset: 0x154 EPWM Accumulator Interrupt Enable Register
  1665. * ---------------------------------------------------------------------------------------------------
  1666. * |Bits |Field |Descriptions
  1667. * | :----: | :----: | :---- |
  1668. * |[0] |IFAIEN0 |EPWM_CHn Interrupt Flag Accumulator Interrupt Enable Bits
  1669. * | | |0 = Interrupt Flag accumulator interrupt Disabled.
  1670. * | | |1 = Interrupt Flag accumulator interrupt Enabled.
  1671. * |[1] |IFAIEN1 |EPWM_CHn Interrupt Flag Accumulator Interrupt Enable Bits
  1672. * | | |0 = Interrupt Flag accumulator interrupt Disabled.
  1673. * | | |1 = Interrupt Flag accumulator interrupt Enabled.
  1674. * |[2] |IFAIEN2 |EPWM_CHn Interrupt Flag Accumulator Interrupt Enable Bits
  1675. * | | |0 = Interrupt Flag accumulator interrupt Disabled.
  1676. * | | |1 = Interrupt Flag accumulator interrupt Enabled.
  1677. * |[3] |IFAIEN3 |EPWM_CHn Interrupt Flag Accumulator Interrupt Enable Bits
  1678. * | | |0 = Interrupt Flag accumulator interrupt Disabled.
  1679. * | | |1 = Interrupt Flag accumulator interrupt Enabled.
  1680. * |[4] |IFAIEN4 |EPWM_CHn Interrupt Flag Accumulator Interrupt Enable Bits
  1681. * | | |0 = Interrupt Flag accumulator interrupt Disabled.
  1682. * | | |1 = Interrupt Flag accumulator interrupt Enabled.
  1683. * |[5] |IFAIEN5 |EPWM_CHn Interrupt Flag Accumulator Interrupt Enable Bits
  1684. * | | |0 = Interrupt Flag accumulator interrupt Disabled.
  1685. * | | |1 = Interrupt Flag accumulator interrupt Enabled.
  1686. * @var EPWM_T::APDMACTL
  1687. * Offset: 0x158 EPWM Accumulator PDMA Control Register
  1688. * ---------------------------------------------------------------------------------------------------
  1689. * |Bits |Field |Descriptions
  1690. * | :----: | :----: | :---- |
  1691. * |[0] |APDMAEN0 |Channel N Accumulator PDMA Enable Bits
  1692. * | | |0 = Channel n PDMA function Disabled.
  1693. * | | |1 = Channel n PDMA function Enabled for the channel n to trigger PDMA to transfer memory data to register.
  1694. * |[1] |APDMAEN1 |Channel N Accumulator PDMA Enable Bits
  1695. * | | |0 = Channel n PDMA function Disabled.
  1696. * | | |1 = Channel n PDMA function Enabled for the channel n to trigger PDMA to transfer memory data to register.
  1697. * |[2] |APDMAEN2 |Channel N Accumulator PDMA Enable Bits
  1698. * | | |0 = Channel n PDMA function Disabled.
  1699. * | | |1 = Channel n PDMA function Enabled for the channel n to trigger PDMA to transfer memory data to register.
  1700. * |[3] |APDMAEN3 |Channel N Accumulator PDMA Enable Bits
  1701. * | | |0 = Channel n PDMA function Disabled.
  1702. * | | |1 = Channel n PDMA function Enabled for the channel n to trigger PDMA to transfer memory data to register.
  1703. * |[4] |APDMAEN4 |Channel N Accumulator PDMA Enable Bits
  1704. * | | |0 = Channel n PDMA function Disabled.
  1705. * | | |1 = Channel n PDMA function Enabled for the channel n to trigger PDMA to transfer memory data to register.
  1706. * |[5] |APDMAEN5 |Channel N Accumulator PDMA Enable Bits
  1707. * | | |0 = Channel n PDMA function Disabled.
  1708. * | | |1 = Channel n PDMA function Enabled for the channel n to trigger PDMA to transfer memory data to register.
  1709. * @var EPWM_T::CAPINEN
  1710. * Offset: 0x200 EPWM Capture Input Enable Register
  1711. * ---------------------------------------------------------------------------------------------------
  1712. * |Bits |Field |Descriptions
  1713. * | :----: | :----: | :---- |
  1714. * |[0] |CAPINEN0 |Capture Input Enable Bits
  1715. * | | |0 = EPWM Channel capture input path Disabled
  1716. * | | |The input of EPWM channel capture function is always regarded as 0.
  1717. * | | |1 = EPWM Channel capture input path Enabled
  1718. * | | |The input of EPWM channel capture function comes from correlative multifunction pin.
  1719. * |[1] |CAPINEN1 |Capture Input Enable Bits
  1720. * | | |0 = EPWM Channel capture input path Disabled
  1721. * | | |The input of EPWM channel capture function is always regarded as 0.
  1722. * | | |1 = EPWM Channel capture input path Enabled
  1723. * | | |The input of EPWM channel capture function comes from correlative multifunction pin.
  1724. * |[2] |CAPINEN2 |Capture Input Enable Bits
  1725. * | | |0 = EPWM Channel capture input path Disabled
  1726. * | | |The input of EPWM channel capture function is always regarded as 0.
  1727. * | | |1 = EPWM Channel capture input path Enabled
  1728. * | | |The input of EPWM channel capture function comes from correlative multifunction pin.
  1729. * |[3] |CAPINEN3 |Capture Input Enable Bits
  1730. * | | |0 = EPWM Channel capture input path Disabled
  1731. * | | |The input of EPWM channel capture function is always regarded as 0.
  1732. * | | |1 = EPWM Channel capture input path Enabled
  1733. * | | |The input of EPWM channel capture function comes from correlative multifunction pin.
  1734. * |[4] |CAPINEN4 |Capture Input Enable Bits
  1735. * | | |0 = EPWM Channel capture input path Disabled
  1736. * | | |The input of EPWM channel capture function is always regarded as 0.
  1737. * | | |1 = EPWM Channel capture input path Enabled
  1738. * | | |The input of EPWM channel capture function comes from correlative multifunction pin.
  1739. * |[5] |CAPINEN5 |Capture Input Enable Bits
  1740. * | | |0 = EPWM Channel capture input path Disabled
  1741. * | | |The input of EPWM channel capture function is always regarded as 0.
  1742. * | | |1 = EPWM Channel capture input path Enabled
  1743. * | | |The input of EPWM channel capture function comes from correlative multifunction pin.
  1744. * @var EPWM_T::CAPCTL
  1745. * Offset: 0x204 EPWM Capture Control Register
  1746. * ---------------------------------------------------------------------------------------------------
  1747. * |Bits |Field |Descriptions
  1748. * | :----: | :----: | :---- |
  1749. * |[0] |CAPEN0 |Capture Function Enable Bits
  1750. * | | |0 = Capture function Disabled. RCAPDAT/FCAPDAT register will not be updated.
  1751. * | | |1 = Capture function Enabled
  1752. * | | |Capture latched the EPWM counter value when detected rising or falling edge of input signal and saved to RCAPDAT (Rising latch) and FCAPDAT (Falling latch).
  1753. * |[1] |CAPEN1 |Capture Function Enable Bits
  1754. * | | |0 = Capture function Disabled. RCAPDAT/FCAPDAT register will not be updated.
  1755. * | | |1 = Capture function Enabled
  1756. * | | |Capture latched the EPWM counter value when detected rising or falling edge of input signal and saved to RCAPDAT (Rising latch) and FCAPDAT (Falling latch).
  1757. * |[2] |CAPEN2 |Capture Function Enable Bits
  1758. * | | |0 = Capture function Disabled. RCAPDAT/FCAPDAT register will not be updated.
  1759. * | | |1 = Capture function Enabled
  1760. * | | |Capture latched the EPWM counter value when detected rising or falling edge of input signal and saved to RCAPDAT (Rising latch) and FCAPDAT (Falling latch).
  1761. * |[3] |CAPEN3 |Capture Function Enable Bits
  1762. * | | |0 = Capture function Disabled. RCAPDAT/FCAPDAT register will not be updated.
  1763. * | | |1 = Capture function Enabled
  1764. * | | |Capture latched the EPWM counter value when detected rising or falling edge of input signal and saved to RCAPDAT (Rising latch) and FCAPDAT (Falling latch).
  1765. * |[4] |CAPEN4 |Capture Function Enable Bits
  1766. * | | |0 = Capture function Disabled. RCAPDAT/FCAPDAT register will not be updated.
  1767. * | | |1 = Capture function Enabled
  1768. * | | |Capture latched the EPWM counter value when detected rising or falling edge of input signal and saved to RCAPDAT (Rising latch) and FCAPDAT (Falling latch).
  1769. * |[5] |CAPEN5 |Capture Function Enable Bits
  1770. * | | |0 = Capture function Disabled. RCAPDAT/FCAPDAT register will not be updated.
  1771. * | | |1 = Capture function Enabled
  1772. * | | |Capture latched the EPWM counter value when detected rising or falling edge of input signal and saved to RCAPDAT (Rising latch) and FCAPDAT (Falling latch).
  1773. * |[8] |CAPINV0 |Capture Inverter Enable Bits
  1774. * | | |0 = Capture source inverter Disabled.
  1775. * | | |1 = Capture source inverter Enabled. Reverse the input signal from GPIO.
  1776. * |[9] |CAPINV1 |Capture Inverter Enable Bits
  1777. * | | |0 = Capture source inverter Disabled.
  1778. * | | |1 = Capture source inverter Enabled. Reverse the input signal from GPIO.
  1779. * |[10] |CAPINV2 |Capture Inverter Enable Bits
  1780. * | | |0 = Capture source inverter Disabled.
  1781. * | | |1 = Capture source inverter Enabled. Reverse the input signal from GPIO.
  1782. * |[11] |CAPINV3 |Capture Inverter Enable Bits
  1783. * | | |0 = Capture source inverter Disabled.
  1784. * | | |1 = Capture source inverter Enabled. Reverse the input signal from GPIO.
  1785. * |[12] |CAPINV4 |Capture Inverter Enable Bits
  1786. * | | |0 = Capture source inverter Disabled.
  1787. * | | |1 = Capture source inverter Enabled. Reverse the input signal from GPIO.
  1788. * |[13] |CAPINV5 |Capture Inverter Enable Bits
  1789. * | | |0 = Capture source inverter Disabled.
  1790. * | | |1 = Capture source inverter Enabled. Reverse the input signal from GPIO.
  1791. * |[16] |RCRLDEN0 |Rising Capture Reload Enable Bits
  1792. * | | |0 = Rising capture reload counter Disabled.
  1793. * | | |1 = Rising capture reload counter Enabled.
  1794. * |[17] |RCRLDEN1 |Rising Capture Reload Enable Bits
  1795. * | | |0 = Rising capture reload counter Disabled.
  1796. * | | |1 = Rising capture reload counter Enabled.
  1797. * |[18] |RCRLDEN2 |Rising Capture Reload Enable Bits
  1798. * | | |0 = Rising capture reload counter Disabled.
  1799. * | | |1 = Rising capture reload counter Enabled.
  1800. * |[19] |RCRLDEN3 |Rising Capture Reload Enable Bits
  1801. * | | |0 = Rising capture reload counter Disabled.
  1802. * | | |1 = Rising capture reload counter Enabled.
  1803. * |[20] |RCRLDEN4 |Rising Capture Reload Enable Bits
  1804. * | | |0 = Rising capture reload counter Disabled.
  1805. * | | |1 = Rising capture reload counter Enabled.
  1806. * |[21] |RCRLDEN5 |Rising Capture Reload Enable Bits
  1807. * | | |0 = Rising capture reload counter Disabled.
  1808. * | | |1 = Rising capture reload counter Enabled.
  1809. * |[24] |FCRLDEN0 |Falling Capture Reload Enable Bits
  1810. * | | |0 = Falling capture reload counter Disabled.
  1811. * | | |1 = Falling capture reload counter Enabled.
  1812. * |[25] |FCRLDEN1 |Falling Capture Reload Enable Bits
  1813. * | | |0 = Falling capture reload counter Disabled.
  1814. * | | |1 = Falling capture reload counter Enabled.
  1815. * |[26] |FCRLDEN2 |Falling Capture Reload Enable Bits
  1816. * | | |0 = Falling capture reload counter Disabled.
  1817. * | | |1 = Falling capture reload counter Enabled.
  1818. * |[27] |FCRLDEN3 |Falling Capture Reload Enable Bits
  1819. * | | |0 = Falling capture reload counter Disabled.
  1820. * | | |1 = Falling capture reload counter Enabled.
  1821. * |[28] |FCRLDEN4 |Falling Capture Reload Enable Bits
  1822. * | | |0 = Falling capture reload counter Disabled.
  1823. * | | |1 = Falling capture reload counter Enabled.
  1824. * |[29] |FCRLDEN5 |Falling Capture Reload Enable Bits
  1825. * | | |0 = Falling capture reload counter Disabled.
  1826. * | | |1 = Falling capture reload counter Enabled.
  1827. * @var EPWM_T::CAPSTS
  1828. * Offset: 0x208 EPWM Capture Status Register
  1829. * ---------------------------------------------------------------------------------------------------
  1830. * |Bits |Field |Descriptions
  1831. * | :----: | :----: | :---- |
  1832. * |[0] |CRLIFOV0 |Capture Rising Latch Interrupt Flag Overrun Status (Read Only)
  1833. * | | |This flag indicates if rising latch happened when the corresponding CRLIF is 1.
  1834. * | | |Note: This bit will be cleared automatically when user clear corresponding CRLIF.
  1835. * |[1] |CRLIFOV1 |Capture Rising Latch Interrupt Flag Overrun Status (Read Only)
  1836. * | | |This flag indicates if rising latch happened when the corresponding CRLIF is 1.
  1837. * | | |Note: This bit will be cleared automatically when user clear corresponding CRLIF.
  1838. * |[2] |CRLIFOV2 |Capture Rising Latch Interrupt Flag Overrun Status (Read Only)
  1839. * | | |This flag indicates if rising latch happened when the corresponding CRLIF is 1.
  1840. * | | |Note: This bit will be cleared automatically when user clear corresponding CRLIF.
  1841. * |[3] |CRLIFOV3 |Capture Rising Latch Interrupt Flag Overrun Status (Read Only)
  1842. * | | |This flag indicates if rising latch happened when the corresponding CRLIF is 1.
  1843. * | | |Note: This bit will be cleared automatically when user clear corresponding CRLIF.
  1844. * |[4] |CRLIFOV4 |Capture Rising Latch Interrupt Flag Overrun Status (Read Only)
  1845. * | | |This flag indicates if rising latch happened when the corresponding CRLIF is 1.
  1846. * | | |Note: This bit will be cleared automatically when user clear corresponding CRLIF.
  1847. * |[5] |CRLIFOV5 |Capture Rising Latch Interrupt Flag Overrun Status (Read Only)
  1848. * | | |This flag indicates if rising latch happened when the corresponding CRLIF is 1.
  1849. * | | |Note: This bit will be cleared automatically when user clear corresponding CRLIF.
  1850. * |[8] |CFLIFOV0 |Capture Falling Latch Interrupt Flag Overrun Status (Read Only)
  1851. * | | |This flag indicates if falling latch happened when the corresponding CFLIF is 1.
  1852. * | | |Note: This bit will be cleared automatically when user clear corresponding CFLIF.
  1853. * |[9] |CFLIFOV1 |Capture Falling Latch Interrupt Flag Overrun Status (Read Only)
  1854. * | | |This flag indicates if falling latch happened when the corresponding CFLIF is 1.
  1855. * | | |Note: This bit will be cleared automatically when user clear corresponding CFLIF.
  1856. * |[10] |CFLIFOV2 |Capture Falling Latch Interrupt Flag Overrun Status (Read Only)
  1857. * | | |This flag indicates if falling latch happened when the corresponding CFLIF is 1.
  1858. * | | |Note: This bit will be cleared automatically when user clear corresponding CFLIF.
  1859. * |[11] |CFLIFOV3 |Capture Falling Latch Interrupt Flag Overrun Status (Read Only)
  1860. * | | |This flag indicates if falling latch happened when the corresponding CFLIF is 1.
  1861. * | | |Note: This bit will be cleared automatically when user clear corresponding CFLIF.
  1862. * |[12] |CFLIFOV4 |Capture Falling Latch Interrupt Flag Overrun Status (Read Only)
  1863. * | | |This flag indicates if falling latch happened when the corresponding CFLIF is 1.
  1864. * | | |Note: This bit will be cleared automatically when user clear corresponding CFLIF.
  1865. * |[13] |CFLIFOV5 |Capture Falling Latch Interrupt Flag Overrun Status (Read Only)
  1866. * | | |This flag indicates if falling latch happened when the corresponding CFLIF is 1.
  1867. * | | |Note: This bit will be cleared automatically when user clear corresponding CFLIF.
  1868. * @var EPWM_T::PDMACTL
  1869. * Offset: 0x23C EPWM PDMA Control Register
  1870. * ---------------------------------------------------------------------------------------------------
  1871. * |Bits |Field |Descriptions
  1872. * | :----: | :----: | :---- |
  1873. * |[0] |CHEN0_1 |Channel 0/1 PDMA Enable
  1874. * | | |0 = Channel 0/1 PDMA function Disabled.
  1875. * | | |1 = Channel 0/1 PDMA function Enabled for the channel 0/1 captured data and transfer to memory.
  1876. * |[2:1] |CAPMOD0_1 |Select EPWM_RCAPDAT0/1 or EPWM_FCAPDAT0/1 to Do PDMA Transfer
  1877. * | | |00 = Reserved.
  1878. * | | |01 = EPWM_RCAPDAT0/1.
  1879. * | | |10 = EPWM_FCAPDAT0/1.
  1880. * | | |11 = Both EPWM_RCAPDAT0/1 and EPWM_FCAPDAT0/1.
  1881. * |[3] |CAPORD0_1 |Capture Channel 0/1 Rising/Falling Order
  1882. * | | |Set this bit to determine whether the EPWM_RCAPDAT0/1 or EPWM_FCAPDAT0/1 is the first captured data transferred to memory through PDMA when CAPMOD0_1 =11.
  1883. * | | |0 = EPWM_FCAPDAT0/1 is the first captured data to memory.
  1884. * | | |1 = EPWM_RCAPDAT0/1 is the first captured data to memory.
  1885. * |[4] |CHSEL0_1 |Select Channel 0/1 to Do PDMA Transfer
  1886. * | | |0 = Channel0.
  1887. * | | |1 = Channel1.
  1888. * |[8] |CHEN2_3 |Channel 2/3 PDMA Enable
  1889. * | | |0 = Channel 2/3 PDMA function Disabled.
  1890. * | | |1 = Channel 2/3 PDMA function Enabled for the channel 2/3 captured data and transfer to memory.
  1891. * |[10:9] |CAPMOD2_3 |Select EPWM_RCAPDAT2/3 or EPWM_FCAODAT2/3 to Do PDMA Transfer
  1892. * | | |00 = Reserved.
  1893. * | | |01 = EPWM_RCAPDAT2/3.
  1894. * | | |10 = EPWM_FCAPDAT2/3.
  1895. * | | |11 = Both EPWM_RCAPDAT2/3 and EPWM_FCAPDAT2/3.
  1896. * |[11] |CAPORD2_3 |Capture Channel 2/3 Rising/Falling Order
  1897. * | | |Set this bit to determine whether the EPWM_RCAPDAT2/3 or EPWM_FCAPDAT2/3 is the first captured data transferred to memory through PDMA when CAPMOD2_3 =11.
  1898. * | | |0 = EPWM_FCAPDAT2/3 is the first captured data to memory.
  1899. * | | |1 = EPWM_RCAPDAT2/3 is the first captured data to memory.
  1900. * |[12] |CHSEL2_3 |Select Channel 2/3 to Do PDMA Transfer
  1901. * | | |0 = Channel2.
  1902. * | | |1 = Channel3.
  1903. * |[16] |CHEN4_5 |Channel 4/5 PDMA Enable
  1904. * | | |0 = Channel 4/5 PDMA function Disabled.
  1905. * | | |1 = Channel 4/5 PDMA function Enabled for the channel 4/5 captured data and transfer to memory.
  1906. * |[18:17] |CAPMOD4_5 |Select EPWM_RCAPDAT4/5 or EPWM_FCAPDAT4/5 to Do PDMA Transfer
  1907. * | | |00 = Reserved.
  1908. * | | |01 = EPWM_RCAPDAT4/5.
  1909. * | | |10 = EPWM_FCAPDAT4/5.
  1910. * | | |11 = Both EPWM_RCAPDAT4/5 and EPWM_FCAPDAT4/5.
  1911. * |[19] |CAPORD4_5 |Capture Channel 4/5 Rising/Falling Order
  1912. * | | |Set this bit to determine whether the EPWM_RCAPDAT4/5 or EPWM_FCAPDAT4/5 is the first captured data transferred to memory through PDMA when CAPMOD4_5 =11.
  1913. * | | |0 = EPWM_FCAPDAT4/5 is the first captured data to memory.
  1914. * | | |1 = EPWM_RCAPDAT4/5 is the first captured data to memory.
  1915. * |[20] |CHSEL4_5 |Select Channel 4/5 to Do PDMA Transfer
  1916. * | | |0 = Channel4.
  1917. * | | |1 = Channel5.
  1918. * @var EPWM_T::PDMACAP[3]
  1919. * Offset: 0x240 EPWM Capture Channel 01 PDMA Register
  1920. * ---------------------------------------------------------------------------------------------------
  1921. * |Bits |Field |Descriptions
  1922. * | :----: | :----: | :---- |
  1923. * |[15:0] |CAPBUF |EPWM Capture PDMA Register (Read Only)
  1924. * | | |This register is use as a buffer to transfer EPWM capture rising or falling data to memory by PDMA.
  1925. * @var EPWM_T::CAPIEN
  1926. * Offset: 0x250 EPWM Capture Interrupt Enable Register
  1927. * ---------------------------------------------------------------------------------------------------
  1928. * |Bits |Field |Descriptions
  1929. * | :----: | :----: | :---- |
  1930. * |[0] |CAPRIEN0 |EPWM Capture Rising Latch Interrupt Enable Bits
  1931. * | | |0 = Capture rising edge latch interrupt Disabled.
  1932. * | | |1 = Capture rising edge latch interrupt Enabled.
  1933. * |[1] |CAPRIEN1 |EPWM Capture Rising Latch Interrupt Enable Bits
  1934. * | | |0 = Capture rising edge latch interrupt Disabled.
  1935. * | | |1 = Capture rising edge latch interrupt Enabled.
  1936. * |[2] |CAPRIEN2 |EPWM Capture Rising Latch Interrupt Enable Bits
  1937. * | | |0 = Capture rising edge latch interrupt Disabled.
  1938. * | | |1 = Capture rising edge latch interrupt Enabled.
  1939. * |[3] |CAPRIEN3 |EPWM Capture Rising Latch Interrupt Enable Bits
  1940. * | | |0 = Capture rising edge latch interrupt Disabled.
  1941. * | | |1 = Capture rising edge latch interrupt Enabled.
  1942. * |[4] |CAPRIEN4 |EPWM Capture Rising Latch Interrupt Enable Bits
  1943. * | | |0 = Capture rising edge latch interrupt Disabled.
  1944. * | | |1 = Capture rising edge latch interrupt Enabled.
  1945. * |[5] |CAPRIEN5 |EPWM Capture Rising Latch Interrupt Enable Bits
  1946. * | | |0 = Capture rising edge latch interrupt Disabled.
  1947. * | | |1 = Capture rising edge latch interrupt Enabled.
  1948. * |[8] |CAPFIEN0 |EPWM Capture Falling Latch Interrupt Enable Bits
  1949. * | | |0 = Capture falling edge latch interrupt Disabled.
  1950. * | | |1 = Capture falling edge latch interrupt Enabled.
  1951. * |[9] |CAPFIEN1 |EPWM Capture Falling Latch Interrupt Enable Bits
  1952. * | | |0 = Capture falling edge latch interrupt Disabled.
  1953. * | | |1 = Capture falling edge latch interrupt Enabled.
  1954. * |[10] |CAPFIEN2 |EPWM Capture Falling Latch Interrupt Enable Bits
  1955. * | | |0 = Capture falling edge latch interrupt Disabled.
  1956. * | | |1 = Capture falling edge latch interrupt Enabled.
  1957. * |[11] |CAPFIEN3 |EPWM Capture Falling Latch Interrupt Enable Bits
  1958. * | | |0 = Capture falling edge latch interrupt Disabled.
  1959. * | | |1 = Capture falling edge latch interrupt Enabled.
  1960. * |[12] |CAPFIEN4 |EPWM Capture Falling Latch Interrupt Enable Bits
  1961. * | | |0 = Capture falling edge latch interrupt Disabled.
  1962. * | | |1 = Capture falling edge latch interrupt Enabled.
  1963. * |[13] |CAPFIEN5 |EPWM Capture Falling Latch Interrupt Enable Bits
  1964. * | | |0 = Capture falling edge latch interrupt Disabled.
  1965. * | | |1 = Capture falling edge latch interrupt Enabled.
  1966. * @var EPWM_T::CAPIF
  1967. * Offset: 0x254 EPWM Capture Interrupt Flag Register
  1968. * ---------------------------------------------------------------------------------------------------
  1969. * |Bits |Field |Descriptions
  1970. * | :----: | :----: | :---- |
  1971. * |[0] |CRLIF0 |EPWM Capture Rising Latch Interrupt Flag
  1972. * | | |This bit is writing 1 to clear.
  1973. * | | |0 = No capture rising latch condition happened.
  1974. * | | |1 = Capture rising latch condition happened, this flag will be set to high.
  1975. * | | |Note: When Capture with PDMA operating, CAPIF corresponding channel CRLIF will cleared by hardware after PDMA transfer data.
  1976. * |[1] |CRLIF1 |EPWM Capture Rising Latch Interrupt Flag
  1977. * | | |This bit is writing 1 to clear.
  1978. * | | |0 = No capture rising latch condition happened.
  1979. * | | |1 = Capture rising latch condition happened, this flag will be set to high.
  1980. * | | |Note: When Capture with PDMA operating, CAPIF corresponding channel CRLIF will cleared by hardware after PDMA transfer data.
  1981. * |[2] |CRLIF2 |EPWM Capture Rising Latch Interrupt Flag
  1982. * | | |This bit is writing 1 to clear.
  1983. * | | |0 = No capture rising latch condition happened.
  1984. * | | |1 = Capture rising latch condition happened, this flag will be set to high.
  1985. * | | |Note: When Capture with PDMA operating, CAPIF corresponding channel CRLIF will cleared by hardware after PDMA transfer data.
  1986. * |[3] |CRLIF3 |EPWM Capture Rising Latch Interrupt Flag
  1987. * | | |This bit is writing 1 to clear.
  1988. * | | |0 = No capture rising latch condition happened.
  1989. * | | |1 = Capture rising latch condition happened, this flag will be set to high.
  1990. * | | |Note: When Capture with PDMA operating, CAPIF corresponding channel CRLIF will cleared by hardware after PDMA transfer data.
  1991. * |[4] |CRLIF4 |EPWM Capture Rising Latch Interrupt Flag
  1992. * | | |This bit is writing 1 to clear.
  1993. * | | |0 = No capture rising latch condition happened.
  1994. * | | |1 = Capture rising latch condition happened, this flag will be set to high.
  1995. * | | |Note: When Capture with PDMA operating, CAPIF corresponding channel CRLIF will cleared by hardware after PDMA transfer data.
  1996. * |[5] |CRLIF5 |EPWM Capture Rising Latch Interrupt Flag
  1997. * | | |This bit is writing 1 to clear.
  1998. * | | |0 = No capture rising latch condition happened.
  1999. * | | |1 = Capture rising latch condition happened, this flag will be set to high.
  2000. * | | |Note: When Capture with PDMA operating, CAPIF corresponding channel CRLIF will cleared by hardware after PDMA transfer data.
  2001. * |[8] |CFLIF0 |EPWM Capture Falling Latch Interrupt Flag
  2002. * | | |This bit is writing 1 to clear.
  2003. * | | |0 = No capture falling latch condition happened.
  2004. * | | |1 = Capture falling latch condition happened, this flag will be set to high.
  2005. * | | |Note: When Capture with PDMA operating, CAPIF corresponding channel CFLIF will cleared by hardware after PDMA transfer data.
  2006. * |[9] |CFLIF1 |EPWM Capture Falling Latch Interrupt Flag
  2007. * | | |This bit is writing 1 to clear.
  2008. * | | |0 = No capture falling latch condition happened.
  2009. * | | |1 = Capture falling latch condition happened, this flag will be set to high.
  2010. * | | |Note: When Capture with PDMA operating, CAPIF corresponding channel CFLIF will cleared by hardware after PDMA transfer data.
  2011. * |[10] |CFLIF2 |EPWM Capture Falling Latch Interrupt Flag
  2012. * | | |This bit is writing 1 to clear.
  2013. * | | |0 = No capture falling latch condition happened.
  2014. * | | |1 = Capture falling latch condition happened, this flag will be set to high.
  2015. * | | |Note: When Capture with PDMA operating, CAPIF corresponding channel CFLIF will cleared by hardware after PDMA transfer data.
  2016. * |[11] |CFLIF3 |EPWM Capture Falling Latch Interrupt Flag
  2017. * | | |This bit is writing 1 to clear.
  2018. * | | |0 = No capture falling latch condition happened.
  2019. * | | |1 = Capture falling latch condition happened, this flag will be set to high.
  2020. * | | |Note: When Capture with PDMA operating, CAPIF corresponding channel CFLIF will cleared by hardware after PDMA transfer data.
  2021. * |[12] |CFLIF4 |EPWM Capture Falling Latch Interrupt Flag
  2022. * | | |This bit is writing 1 to clear.
  2023. * | | |0 = No capture falling latch condition happened.
  2024. * | | |1 = Capture falling latch condition happened, this flag will be set to high.
  2025. * | | |Note: When Capture with PDMA operating, CAPIF corresponding channel CFLIF will cleared by hardware after PDMA transfer data.
  2026. * |[13] |CFLIF5 |EPWM Capture Falling Latch Interrupt Flag
  2027. * | | |This bit is writing 1 to clear.
  2028. * | | |0 = No capture falling latch condition happened.
  2029. * | | |1 = Capture falling latch condition happened, this flag will be set to high.
  2030. * | | |Note: When Capture with PDMA operating, CAPIF corresponding channel CFLIF will cleared by hardware after PDMA transfer data.
  2031. * @var EPWM_T::PBUF[6]
  2032. * Offset: 0x304 EPWM PERIOD0~5 Buffer
  2033. * ---------------------------------------------------------------------------------------------------
  2034. * |Bits |Field |Descriptions
  2035. * | :----: | :----: | :---- |
  2036. * |[15:0] |PBUF |EPWM Period Register Buffer (Read Only)
  2037. * | | |Used as PERIOD active register.
  2038. * @var EPWM_T::CMPBUF[6]
  2039. * Offset: 0x31C EPWM CMPDAT0~5 Buffer
  2040. * ---------------------------------------------------------------------------------------------------
  2041. * |Bits |Field |Descriptions
  2042. * | :----: | :----: | :---- |
  2043. * |[15:0] |CMPBUF |EPWM Comparator Register Buffer (Read Only)
  2044. * | | |Used as CMP active register.
  2045. * @var EPWM_T::CPSCBUF[3]
  2046. * Offset: 0x334 EPWM CLKPSC0_1/2_3/4_5 Buffer
  2047. * ---------------------------------------------------------------------------------------------------
  2048. * |Bits |Field |Descriptions
  2049. * | :----: | :----: | :---- |
  2050. * |[11:0] |CPSCBUF |EPWM Counter Clock Prescale Buffer
  2051. * | | |Use as EPWM counter clock prescale active register.
  2052. * @var EPWM_T::FTCBUF[3]
  2053. * Offset: 0x340 EPWM FTCMPDAT0_1/2_3/4_5 Buffer
  2054. * ---------------------------------------------------------------------------------------------------
  2055. * |Bits |Field |Descriptions
  2056. * | :----: | :----: | :---- |
  2057. * |[15:0] |FTCMPBUF |EPWM FTCMPDAT Buffer (Read Only)
  2058. * | | |Used as FTCMPDAT active register.
  2059. * @var EPWM_T::FTCI
  2060. * Offset: 0x34C EPWM FTCMPDAT Indicator Register
  2061. * ---------------------------------------------------------------------------------------------------
  2062. * |Bits |Field |Descriptions
  2063. * | :----: | :----: | :---- |
  2064. * |[0] |FTCMU0 |EPWM FTCMPDAT Up Indicator
  2065. * | | |Indicator will be set to high when FTCMPDATn equal to CNTn and DIRF=1, software can write 1 to clear this bit.
  2066. * |[1] |FTCMU2 |EPWM FTCMPDAT Up Indicator
  2067. * | | |Indicator will be set to high when FTCMPDATn equal to CNTn and DIRF=1, software can write 1 to clear this bit.
  2068. * |[2] |FTCMU4 |EPWM FTCMPDAT Up Indicator
  2069. * | | |Indicator will be set to high when FTCMPDATn equal to CNTn and DIRF=1, software can write 1 to clear this bit.
  2070. * |[8] |FTCMD0 |EPWM FTCMPDAT Down Indicator
  2071. * | | |Indicator will be set to high when FTCMPDATn equal to CNTn and DIRF=0, software can write 1 to clear this bit.
  2072. * |[9] |FTCMD2 |EPWM FTCMPDAT Down Indicator
  2073. * | | |Indicator will be set to high when FTCMPDATn equal to CNTn and DIRF=0, software can write 1 to clear this bit.
  2074. * |[10] |FTCMD4 |EPWM FTCMPDAT Down Indicator
  2075. * | | |Indicator will be set to high when FTCMPDATn equal to CNTn and DIRF=0, software can write 1 to clear this bit.
  2076. */
  2077. __IO uint32_t CTL0; /*!< [0x0000] EPWM Control Register 0 */
  2078. __IO uint32_t CTL1; /*!< [0x0004] EPWM Control Register 1 */
  2079. __IO uint32_t SYNC; /*!< [0x0008] EPWM Synchronization Register */
  2080. __IO uint32_t SWSYNC; /*!< [0x000c] EPWM Software Control Synchronization Register */
  2081. __IO uint32_t CLKSRC; /*!< [0x0010] EPWM Clock Source Register */
  2082. __IO uint32_t CLKPSC[3]; /*!< [0x0014] EPWM Clock Prescale Register 0/1,2/3,4/5 */
  2083. __IO uint32_t CNTEN; /*!< [0x0020] EPWM Counter Enable Register */
  2084. __IO uint32_t CNTCLR; /*!< [0x0024] EPWM Clear Counter Register */
  2085. __IO uint32_t LOAD; /*!< [0x0028] EPWM Load Register */
  2086. /// @cond HIDDEN_SYMBOLS
  2087. __I uint32_t RESERVE0[1];
  2088. /// @endcond //HIDDEN_SYMBOLS
  2089. __IO uint32_t PERIOD[6]; /*!< [0x0030] EPWM Period Register 0~5 */
  2090. /// @cond HIDDEN_SYMBOLS
  2091. __I uint32_t RESERVE1[2];
  2092. /// @endcond //HIDDEN_SYMBOLS
  2093. __IO uint32_t CMPDAT[6]; /*!< [0x0050] EPWM Comparator Register 0~5 */
  2094. /// @cond HIDDEN_SYMBOLS
  2095. __I uint32_t RESERVE2[2];
  2096. /// @endcond //HIDDEN_SYMBOLS
  2097. __IO uint32_t DTCTL[3]; /*!< [0x0070] EPWM Dead-Time Control Register 0/1,2/3,4/5 */
  2098. /// @cond HIDDEN_SYMBOLS
  2099. __I uint32_t RESERVE3[1];
  2100. /// @endcond //HIDDEN_SYMBOLS
  2101. __IO uint32_t PHS[3]; /*!< [0x0080] EPWM Counter Phase Register 0/1,2/3,4/5 */
  2102. /// @cond HIDDEN_SYMBOLS
  2103. __I uint32_t RESERVE4[1];
  2104. /// @endcond //HIDDEN_SYMBOLS
  2105. __I uint32_t CNT[6]; /*!< [0x0090] EPWM Counter Register 0~5 */
  2106. /// @cond HIDDEN_SYMBOLS
  2107. __I uint32_t RESERVE5[2];
  2108. /// @endcond //HIDDEN_SYMBOLS
  2109. __IO uint32_t WGCTL0; /*!< [0x00b0] EPWM Generation Register 0 */
  2110. __IO uint32_t WGCTL1; /*!< [0x00b4] EPWM Generation Register 1 */
  2111. __IO uint32_t MSKEN; /*!< [0x00b8] EPWM Mask Enable Register */
  2112. __IO uint32_t MSK; /*!< [0x00bc] EPWM Mask Data Register */
  2113. __IO uint32_t BNF; /*!< [0x00c0] EPWM Brake Noise Filter Register */
  2114. __IO uint32_t FAILBRK; /*!< [0x00c4] EPWM System Fail Brake Control Register */
  2115. __IO uint32_t BRKCTL[3]; /*!< [0x00c8] EPWM Brake Edge Detect Control Register 0/1,2/3,4/5 */
  2116. __IO uint32_t POLCTL; /*!< [0x00d4] EPWM Pin Polar Inverse Register */
  2117. __IO uint32_t POEN; /*!< [0x00d8] EPWM Output Enable Register */
  2118. __O uint32_t SWBRK; /*!< [0x00dc] EPWM Software Brake Control Register */
  2119. __IO uint32_t INTEN0; /*!< [0x00e0] EPWM Interrupt Enable Register 0 */
  2120. __IO uint32_t INTEN1; /*!< [0x00e4] EPWM Interrupt Enable Register 1 */
  2121. __IO uint32_t INTSTS0; /*!< [0x00e8] EPWM Interrupt Flag Register 0 */
  2122. __IO uint32_t INTSTS1; /*!< [0x00ec] EPWM Interrupt Flag Register 1 */
  2123. /// @cond HIDDEN_SYMBOLS
  2124. __I uint32_t RESERVE6[1];
  2125. /// @endcond //HIDDEN_SYMBOLS
  2126. __IO uint32_t DACTRGEN; /*!< [0x00f4] EPWM Trigger DAC Enable Register */
  2127. __IO uint32_t EADCTS0; /*!< [0x00f8] EPWM Trigger EADC Source Select Register 0 */
  2128. __IO uint32_t EADCTS1; /*!< [0x00fc] EPWM Trigger EADC Source Select Register 1 */
  2129. __IO uint32_t FTCMPDAT[3]; /*!< [0x0100] EPWM Free Trigger Compare Register 0/1,2/3,4/5 */
  2130. /// @cond HIDDEN_SYMBOLS
  2131. __I uint32_t RESERVE7[1];
  2132. /// @endcond //HIDDEN_SYMBOLS
  2133. __IO uint32_t SSCTL; /*!< [0x0110] EPWM Synchronous Start Control Register */
  2134. __O uint32_t SSTRG; /*!< [0x0114] EPWM Synchronous Start Trigger Register */
  2135. __IO uint32_t LEBCTL; /*!< [0x0118] EPWM Leading Edge Blanking Control Register */
  2136. __IO uint32_t LEBCNT; /*!< [0x011c] EPWM Leading Edge Blanking Counter Register */
  2137. __IO uint32_t STATUS; /*!< [0x0120] EPWM Status Register */
  2138. /// @cond HIDDEN_SYMBOLS
  2139. __I uint32_t RESERVE8[3];
  2140. /// @endcond //HIDDEN_SYMBOLS
  2141. __IO uint32_t IFA[6]; /*!< [0x0130] EPWM Interrupt Flag Accumulator Register 0~5 */
  2142. /// @cond HIDDEN_SYMBOLS
  2143. __I uint32_t RESERVE9[2];
  2144. /// @endcond //HIDDEN_SYMBOLS
  2145. __IO uint32_t AINTSTS; /*!< [0x0150] EPWM Accumulator Interrupt Flag Register */
  2146. __IO uint32_t AINTEN; /*!< [0x0154] EPWM Accumulator Interrupt Enable Register */
  2147. __IO uint32_t APDMACTL; /*!< [0x0158] EPWM Accumulator PDMA Control Register */
  2148. /// @cond HIDDEN_SYMBOLS
  2149. __I uint32_t RESERVE10[1];
  2150. /// @endcond //HIDDEN_SYMBOLS
  2151. __IO uint32_t FDEN; /*!< [0x0160] EPWM Fault Detect Enable Register */
  2152. __IO uint32_t FDCTL[6]; /*!< [0x0164~0x178] EPWM Fault Detect Control Register 0~5 */
  2153. __IO uint32_t FDIEN; /*!< [0x017C] EPWM Fault Detect Interrupt Enable Register */
  2154. __IO uint32_t FDSTS; /*!< [0x0180] EPWM Fault Detect Interrupt Flag Register */
  2155. __IO uint32_t EADCPSCCTL; /*!< [0x0184] EPWM Trigger EADC Prescale Control Register */
  2156. __IO uint32_t EADCPSC0; /*!< [0x0188] EPWM Trigger EADC Prescale Register 0 */
  2157. __IO uint32_t EADCPSC1; /*!< [0x018C] EPWM Trigger EADC Prescale Register 1 */
  2158. __IO uint32_t EADCPSCNT0; /*!< [0x0190] EPWM Trigger EADC Prescale Counter Register 0 */
  2159. __IO uint32_t EADCPSCNT1; /*!< [0x0194] EPWM Trigger EADC Prescale Counter Register 1 */
  2160. /// @cond HIDDEN_SYMBOLS
  2161. __I uint32_t RESERVE11[26];
  2162. /// @endcond //HIDDEN_SYMBOLS
  2163. __IO uint32_t CAPINEN; /*!< [0x0200] EPWM Capture Input Enable Register */
  2164. __IO uint32_t CAPCTL; /*!< [0x0204] EPWM Capture Control Register */
  2165. __I uint32_t CAPSTS; /*!< [0x0208] EPWM Capture Status Register */
  2166. ECAPDAT_T CAPDAT[6]; /*!< [0x020C] EPWM Rising and Falling Capture Data Register 0~5 */
  2167. __IO uint32_t PDMACTL; /*!< [0x023c] EPWM PDMA Control Register */
  2168. __I uint32_t PDMACAP[3]; /*!< [0x0240] EPWM Capture Channel 01,23,45 PDMA Register */
  2169. /// @cond HIDDEN_SYMBOLS
  2170. __I uint32_t RESERVE12[1];
  2171. /// @endcond //HIDDEN_SYMBOLS
  2172. __IO uint32_t CAPIEN; /*!< [0x0250] EPWM Capture Interrupt Enable Register */
  2173. __IO uint32_t CAPIF; /*!< [0x0254] EPWM Capture Interrupt Flag Register */
  2174. /// @cond HIDDEN_SYMBOLS
  2175. __I uint32_t RESERVE13[43];
  2176. /// @endcond //HIDDEN_SYMBOLS
  2177. __I uint32_t PBUF[6]; /*!< [0x0304] EPWM PERIOD0~5 Buffer */
  2178. __I uint32_t CMPBUF[6]; /*!< [0x031c] EPWM CMPDAT0~5 Buffer */
  2179. __I uint32_t CPSCBUF[3]; /*!< [0x0334] EPWM CLKPSC0_1/2_3/4_5 Buffer */
  2180. __I uint32_t FTCBUF[3]; /*!< [0x0340] EPWM FTCMPDAT0_1/2_3/4_5 Buffer */
  2181. __IO uint32_t FTCI; /*!< [0x034c] EPWM FTCMPDAT Indicator Register */
  2182. } EPWM_T;
  2183. /**
  2184. @addtogroup EPWM_CONST EPWM Bit Field Definition
  2185. Constant Definitions for EPWM Controller
  2186. @{ */
  2187. #define EPWM_CTL0_CTRLD0_Pos (0) /*!< EPWM_T::CTL0: CTRLD0 Position */
  2188. #define EPWM_CTL0_CTRLD0_Msk (0x1ul << EPWM_CTL0_CTRLD0_Pos) /*!< EPWM_T::CTL0: CTRLD0 Mask */
  2189. #define EPWM_CTL0_CTRLD1_Pos (1) /*!< EPWM_T::CTL0: CTRLD1 Position */
  2190. #define EPWM_CTL0_CTRLD1_Msk (0x1ul << EPWM_CTL0_CTRLD1_Pos) /*!< EPWM_T::CTL0: CTRLD1 Mask */
  2191. #define EPWM_CTL0_CTRLD2_Pos (2) /*!< EPWM_T::CTL0: CTRLD2 Position */
  2192. #define EPWM_CTL0_CTRLD2_Msk (0x1ul << EPWM_CTL0_CTRLD2_Pos) /*!< EPWM_T::CTL0: CTRLD2 Mask */
  2193. #define EPWM_CTL0_CTRLD3_Pos (3) /*!< EPWM_T::CTL0: CTRLD3 Position */
  2194. #define EPWM_CTL0_CTRLD3_Msk (0x1ul << EPWM_CTL0_CTRLD3_Pos) /*!< EPWM_T::CTL0: CTRLD3 Mask */
  2195. #define EPWM_CTL0_CTRLD4_Pos (4) /*!< EPWM_T::CTL0: CTRLD4 Position */
  2196. #define EPWM_CTL0_CTRLD4_Msk (0x1ul << EPWM_CTL0_CTRLD4_Pos) /*!< EPWM_T::CTL0: CTRLD4 Mask */
  2197. #define EPWM_CTL0_CTRLD5_Pos (5) /*!< EPWM_T::CTL0: CTRLD5 Position */
  2198. #define EPWM_CTL0_CTRLD5_Msk (0x1ul << EPWM_CTL0_CTRLD5_Pos) /*!< EPWM_T::CTL0: CTRLD5 Mask */
  2199. #define EPWM_CTL0_WINLDEN0_Pos (8) /*!< EPWM_T::CTL0: WINLDEN0 Position */
  2200. #define EPWM_CTL0_WINLDEN0_Msk (0x1ul << EPWM_CTL0_WINLDEN0_Pos) /*!< EPWM_T::CTL0: WINLDEN0 Mask */
  2201. #define EPWM_CTL0_WINLDEN1_Pos (9) /*!< EPWM_T::CTL0: WINLDEN1 Position */
  2202. #define EPWM_CTL0_WINLDEN1_Msk (0x1ul << EPWM_CTL0_WINLDEN1_Pos) /*!< EPWM_T::CTL0: WINLDEN1 Mask */
  2203. #define EPWM_CTL0_WINLDEN2_Pos (10) /*!< EPWM_T::CTL0: WINLDEN2 Position */
  2204. #define EPWM_CTL0_WINLDEN2_Msk (0x1ul << EPWM_CTL0_WINLDEN2_Pos) /*!< EPWM_T::CTL0: WINLDEN2 Mask */
  2205. #define EPWM_CTL0_WINLDEN3_Pos (11) /*!< EPWM_T::CTL0: WINLDEN3 Position */
  2206. #define EPWM_CTL0_WINLDEN3_Msk (0x1ul << EPWM_CTL0_WINLDEN3_Pos) /*!< EPWM_T::CTL0: WINLDEN3 Mask */
  2207. #define EPWM_CTL0_WINLDEN4_Pos (12) /*!< EPWM_T::CTL0: WINLDEN4 Position */
  2208. #define EPWM_CTL0_WINLDEN4_Msk (0x1ul << EPWM_CTL0_WINLDEN4_Pos) /*!< EPWM_T::CTL0: WINLDEN4 Mask */
  2209. #define EPWM_CTL0_WINLDEN5_Pos (13) /*!< EPWM_T::CTL0: WINLDEN5 Position */
  2210. #define EPWM_CTL0_WINLDEN5_Msk (0x1ul << EPWM_CTL0_WINLDEN5_Pos) /*!< EPWM_T::CTL0: WINLDEN5 Mask */
  2211. #define EPWM_CTL0_IMMLDEN0_Pos (16) /*!< EPWM_T::CTL0: IMMLDEN0 Position */
  2212. #define EPWM_CTL0_IMMLDEN0_Msk (0x1ul << EPWM_CTL0_IMMLDEN0_Pos) /*!< EPWM_T::CTL0: IMMLDEN0 Mask */
  2213. #define EPWM_CTL0_IMMLDEN1_Pos (17) /*!< EPWM_T::CTL0: IMMLDEN1 Position */
  2214. #define EPWM_CTL0_IMMLDEN1_Msk (0x1ul << EPWM_CTL0_IMMLDEN1_Pos) /*!< EPWM_T::CTL0: IMMLDEN1 Mask */
  2215. #define EPWM_CTL0_IMMLDEN2_Pos (18) /*!< EPWM_T::CTL0: IMMLDEN2 Position */
  2216. #define EPWM_CTL0_IMMLDEN2_Msk (0x1ul << EPWM_CTL0_IMMLDEN2_Pos) /*!< EPWM_T::CTL0: IMMLDEN2 Mask */
  2217. #define EPWM_CTL0_IMMLDEN3_Pos (19) /*!< EPWM_T::CTL0: IMMLDEN3 Position */
  2218. #define EPWM_CTL0_IMMLDEN3_Msk (0x1ul << EPWM_CTL0_IMMLDEN3_Pos) /*!< EPWM_T::CTL0: IMMLDEN3 Mask */
  2219. #define EPWM_CTL0_IMMLDEN4_Pos (20) /*!< EPWM_T::CTL0: IMMLDEN4 Position */
  2220. #define EPWM_CTL0_IMMLDEN4_Msk (0x1ul << EPWM_CTL0_IMMLDEN4_Pos) /*!< EPWM_T::CTL0: IMMLDEN4 Mask */
  2221. #define EPWM_CTL0_IMMLDEN5_Pos (21) /*!< EPWM_T::CTL0: IMMLDEN5 Position */
  2222. #define EPWM_CTL0_IMMLDEN5_Msk (0x1ul << EPWM_CTL0_IMMLDEN5_Pos) /*!< EPWM_T::CTL0: IMMLDEN5 Mask */
  2223. #define EPWM_CTL0_GROUPEN_Pos (24) /*!< EPWM_T::CTL0: GROUPEN Position */
  2224. #define EPWM_CTL0_GROUPEN_Msk (0x1ul << EPWM_CTL0_GROUPEN_Pos) /*!< EPWM_T::CTL0: GROUPEN Mask */
  2225. #define EPWM_CTL0_DBGHALT_Pos (30) /*!< EPWM_T::CTL0: DBGHALT Position */
  2226. #define EPWM_CTL0_DBGHALT_Msk (0x1ul << EPWM_CTL0_DBGHALT_Pos) /*!< EPWM_T::CTL0: DBGHALT Mask */
  2227. #define EPWM_CTL0_DBGTRIOFF_Pos (31) /*!< EPWM_T::CTL0: DBGTRIOFF Position */
  2228. #define EPWM_CTL0_DBGTRIOFF_Msk (0x1ul << EPWM_CTL0_DBGTRIOFF_Pos) /*!< EPWM_T::CTL0: DBGTRIOFF Mask */
  2229. #define EPWM_CTL1_CNTTYPE0_Pos (0) /*!< EPWM_T::CTL1: CNTTYPE0 Position */
  2230. #define EPWM_CTL1_CNTTYPE0_Msk (0x3ul << EPWM_CTL1_CNTTYPE0_Pos) /*!< EPWM_T::CTL1: CNTTYPE0 Mask */
  2231. #define EPWM_CTL1_CNTTYPE1_Pos (2) /*!< EPWM_T::CTL1: CNTTYPE1 Position */
  2232. #define EPWM_CTL1_CNTTYPE1_Msk (0x3ul << EPWM_CTL1_CNTTYPE1_Pos) /*!< EPWM_T::CTL1: CNTTYPE1 Mask */
  2233. #define EPWM_CTL1_CNTTYPE2_Pos (4) /*!< EPWM_T::CTL1: CNTTYPE2 Position */
  2234. #define EPWM_CTL1_CNTTYPE2_Msk (0x3ul << EPWM_CTL1_CNTTYPE2_Pos) /*!< EPWM_T::CTL1: CNTTYPE2 Mask */
  2235. #define EPWM_CTL1_CNTTYPE3_Pos (6) /*!< EPWM_T::CTL1: CNTTYPE3 Position */
  2236. #define EPWM_CTL1_CNTTYPE3_Msk (0x3ul << EPWM_CTL1_CNTTYPE3_Pos) /*!< EPWM_T::CTL1: CNTTYPE3 Mask */
  2237. #define EPWM_CTL1_CNTTYPE4_Pos (8) /*!< EPWM_T::CTL1: CNTTYPE4 Position */
  2238. #define EPWM_CTL1_CNTTYPE4_Msk (0x3ul << EPWM_CTL1_CNTTYPE4_Pos) /*!< EPWM_T::CTL1: CNTTYPE4 Mask */
  2239. #define EPWM_CTL1_CNTTYPE5_Pos (10) /*!< EPWM_T::CTL1: CNTTYPE5 Position */
  2240. #define EPWM_CTL1_CNTTYPE5_Msk (0x3ul << EPWM_CTL1_CNTTYPE5_Pos) /*!< EPWM_T::CTL1: CNTTYPE5 Mask */
  2241. #define EPWM_CTL1_CNTMODE0_Pos (16) /*!< EPWM_T::CTL1: CNTMODE0 Position */
  2242. #define EPWM_CTL1_CNTMODE0_Msk (0x1ul << EPWM_CTL1_CNTMODE0_Pos) /*!< EPWM_T::CTL1: CNTMODE0 Mask */
  2243. #define EPWM_CTL1_CNTMODE1_Pos (17) /*!< EPWM_T::CTL1: CNTMODE1 Position */
  2244. #define EPWM_CTL1_CNTMODE1_Msk (0x1ul << EPWM_CTL1_CNTMODE1_Pos) /*!< EPWM_T::CTL1: CNTMODE1 Mask */
  2245. #define EPWM_CTL1_CNTMODE2_Pos (18) /*!< EPWM_T::CTL1: CNTMODE2 Position */
  2246. #define EPWM_CTL1_CNTMODE2_Msk (0x1ul << EPWM_CTL1_CNTMODE2_Pos) /*!< EPWM_T::CTL1: CNTMODE2 Mask */
  2247. #define EPWM_CTL1_CNTMODE3_Pos (19) /*!< EPWM_T::CTL1: CNTMODE3 Position */
  2248. #define EPWM_CTL1_CNTMODE3_Msk (0x1ul << EPWM_CTL1_CNTMODE3_Pos) /*!< EPWM_T::CTL1: CNTMODE3 Mask */
  2249. #define EPWM_CTL1_CNTMODE4_Pos (20) /*!< EPWM_T::CTL1: CNTMODE4 Position */
  2250. #define EPWM_CTL1_CNTMODE4_Msk (0x1ul << EPWM_CTL1_CNTMODE4_Pos) /*!< EPWM_T::CTL1: CNTMODE4 Mask */
  2251. #define EPWM_CTL1_CNTMODE5_Pos (21) /*!< EPWM_T::CTL1: CNTMODE5 Position */
  2252. #define EPWM_CTL1_CNTMODE5_Msk (0x1ul << EPWM_CTL1_CNTMODE5_Pos) /*!< EPWM_T::CTL1: CNTMODE5 Mask */
  2253. #define EPWM_CTL1_OUTMODE0_Pos (24) /*!< EPWM_T::CTL1: OUTMODE0 Position */
  2254. #define EPWM_CTL1_OUTMODE0_Msk (0x1ul << EPWM_CTL1_OUTMODE0_Pos) /*!< EPWM_T::CTL1: OUTMODE0 Mask */
  2255. #define EPWM_CTL1_OUTMODE2_Pos (25) /*!< EPWM_T::CTL1: OUTMODE2 Position */
  2256. #define EPWM_CTL1_OUTMODE2_Msk (0x1ul << EPWM_CTL1_OUTMODE2_Pos) /*!< EPWM_T::CTL1: OUTMODE2 Mask */
  2257. #define EPWM_CTL1_OUTMODE4_Pos (26) /*!< EPWM_T::CTL1: OUTMODE4 Position */
  2258. #define EPWM_CTL1_OUTMODE4_Msk (0x1ul << EPWM_CTL1_OUTMODE4_Pos) /*!< EPWM_T::CTL1: OUTMODE4 Mask */
  2259. #define EPWM_SYNC_PHSEN0_Pos (0) /*!< EPWM_T::SYNC: PHSEN0 Position */
  2260. #define EPWM_SYNC_PHSEN0_Msk (0x1ul << EPWM_SYNC_PHSEN0_Pos) /*!< EPWM_T::SYNC: PHSEN0 Mask */
  2261. #define EPWM_SYNC_PHSEN2_Pos (1) /*!< EPWM_T::SYNC: PHSEN2 Position */
  2262. #define EPWM_SYNC_PHSEN2_Msk (0x1ul << EPWM_SYNC_PHSEN2_Pos) /*!< EPWM_T::SYNC: PHSEN2 Mask */
  2263. #define EPWM_SYNC_PHSEN4_Pos (2) /*!< EPWM_T::SYNC: PHSEN4 Position */
  2264. #define EPWM_SYNC_PHSEN4_Msk (0x1ul << EPWM_SYNC_PHSEN4_Pos) /*!< EPWM_T::SYNC: PHSEN4 Mask */
  2265. #define EPWM_SYNC_SINSRC0_Pos (8) /*!< EPWM_T::SYNC: SINSRC0 Position */
  2266. #define EPWM_SYNC_SINSRC0_Msk (0x3ul << EPWM_SYNC_SINSRC0_Pos) /*!< EPWM_T::SYNC: SINSRC0 Mask */
  2267. #define EPWM_SYNC_SINSRC2_Pos (10) /*!< EPWM_T::SYNC: SINSRC2 Position */
  2268. #define EPWM_SYNC_SINSRC2_Msk (0x3ul << EPWM_SYNC_SINSRC2_Pos) /*!< EPWM_T::SYNC: SINSRC2 Mask */
  2269. #define EPWM_SYNC_SINSRC4_Pos (12) /*!< EPWM_T::SYNC: SINSRC4 Position */
  2270. #define EPWM_SYNC_SINSRC4_Msk (0x3ul << EPWM_SYNC_SINSRC4_Pos) /*!< EPWM_T::SYNC: SINSRC4 Mask */
  2271. #define EPWM_SYNC_SNFLTEN_Pos (16) /*!< EPWM_T::SYNC: SNFLTEN Position */
  2272. #define EPWM_SYNC_SNFLTEN_Msk (0x1ul << EPWM_SYNC_SNFLTEN_Pos) /*!< EPWM_T::SYNC: SNFLTEN Mask */
  2273. #define EPWM_SYNC_SFLTCSEL_Pos (17) /*!< EPWM_T::SYNC: SFLTCSEL Position */
  2274. #define EPWM_SYNC_SFLTCSEL_Msk (0x7ul << EPWM_SYNC_SFLTCSEL_Pos) /*!< EPWM_T::SYNC: SFLTCSEL Mask */
  2275. #define EPWM_SYNC_SFLTCNT_Pos (20) /*!< EPWM_T::SYNC: SFLTCNT Position */
  2276. #define EPWM_SYNC_SFLTCNT_Msk (0x7ul << EPWM_SYNC_SFLTCNT_Pos) /*!< EPWM_T::SYNC: SFLTCNT Mask */
  2277. #define EPWM_SYNC_SINPINV_Pos (23) /*!< EPWM_T::SYNC: SINPINV Position */
  2278. #define EPWM_SYNC_SINPINV_Msk (0x1ul << EPWM_SYNC_SINPINV_Pos) /*!< EPWM_T::SYNC: SINPINV Mask */
  2279. #define EPWM_SYNC_PHSDIR0_Pos (24) /*!< EPWM_T::SYNC: PHSDIR0 Position */
  2280. #define EPWM_SYNC_PHSDIR0_Msk (0x1ul << EPWM_SYNC_PHSDIR0_Pos) /*!< EPWM_T::SYNC: PHSDIR0 Mask */
  2281. #define EPWM_SYNC_PHSDIR2_Pos (25) /*!< EPWM_T::SYNC: PHSDIR2 Position */
  2282. #define EPWM_SYNC_PHSDIR2_Msk (0x1ul << EPWM_SYNC_PHSDIR2_Pos) /*!< EPWM_T::SYNC: PHSDIR2 Mask */
  2283. #define EPWM_SYNC_PHSDIR4_Pos (26) /*!< EPWM_T::SYNC: PHSDIR4 Position */
  2284. #define EPWM_SYNC_PHSDIR4_Msk (0x1ul << EPWM_SYNC_PHSDIR4_Pos) /*!< EPWM_T::SYNC: PHSDIR4 Mask */
  2285. #define EPWM_SWSYNC_SWSYNC0_Pos (0) /*!< EPWM_T::SWSYNC: SWSYNC0 Position */
  2286. #define EPWM_SWSYNC_SWSYNC0_Msk (0x1ul << EPWM_SWSYNC_SWSYNC0_Pos) /*!< EPWM_T::SWSYNC: SWSYNC0 Mask */
  2287. #define EPWM_SWSYNC_SWSYNC2_Pos (1) /*!< EPWM_T::SWSYNC: SWSYNC2 Position */
  2288. #define EPWM_SWSYNC_SWSYNC2_Msk (0x1ul << EPWM_SWSYNC_SWSYNC2_Pos) /*!< EPWM_T::SWSYNC: SWSYNC2 Mask */
  2289. #define EPWM_SWSYNC_SWSYNC4_Pos (2) /*!< EPWM_T::SWSYNC: SWSYNC4 Position */
  2290. #define EPWM_SWSYNC_SWSYNC4_Msk (0x1ul << EPWM_SWSYNC_SWSYNC4_Pos) /*!< EPWM_T::SWSYNC: SWSYNC4 Mask */
  2291. #define EPWM_CLKSRC_ECLKSRC0_Pos (0) /*!< EPWM_T::CLKSRC: ECLKSRC0 Position */
  2292. #define EPWM_CLKSRC_ECLKSRC0_Msk (0x7ul << EPWM_CLKSRC_ECLKSRC0_Pos) /*!< EPWM_T::CLKSRC: ECLKSRC0 Mask */
  2293. #define EPWM_CLKSRC_ECLKSRC2_Pos (8) /*!< EPWM_T::CLKSRC: ECLKSRC2 Position */
  2294. #define EPWM_CLKSRC_ECLKSRC2_Msk (0x7ul << EPWM_CLKSRC_ECLKSRC2_Pos) /*!< EPWM_T::CLKSRC: ECLKSRC2 Mask */
  2295. #define EPWM_CLKSRC_ECLKSRC4_Pos (16) /*!< EPWM_T::CLKSRC: ECLKSRC4 Position */
  2296. #define EPWM_CLKSRC_ECLKSRC4_Msk (0x7ul << EPWM_CLKSRC_ECLKSRC4_Pos) /*!< EPWM_T::CLKSRC: ECLKSRC4 Mask */
  2297. #define EPWM_CLKPSC0_1_CLKPSC_Pos (0) /*!< EPWM_T::CLKPSC0_1: CLKPSC Position */
  2298. #define EPWM_CLKPSC0_1_CLKPSC_Msk (0xffful << EPWM_CLKPSC0_1_CLKPSC_Pos) /*!< EPWM_T::CLKPSC0_1: CLKPSC Mask */
  2299. #define EPWM_CLKPSC2_3_CLKPSC_Pos (0) /*!< EPWM_T::CLKPSC2_3: CLKPSC Position */
  2300. #define EPWM_CLKPSC2_3_CLKPSC_Msk (0xffful << EPWM_CLKPSC2_3_CLKPSC_Pos) /*!< EPWM_T::CLKPSC2_3: CLKPSC Mask */
  2301. #define EPWM_CLKPSC4_5_CLKPSC_Pos (0) /*!< EPWM_T::CLKPSC4_5: CLKPSC Position */
  2302. #define EPWM_CLKPSC4_5_CLKPSC_Msk (0xffful << EPWM_CLKPSC4_5_CLKPSC_Pos) /*!< EPWM_T::CLKPSC4_5: CLKPSC Mask */
  2303. #define EPWM_CNTEN_CNTEN0_Pos (0) /*!< EPWM_T::CNTEN: CNTEN0 Position */
  2304. #define EPWM_CNTEN_CNTEN0_Msk (0x1ul << EPWM_CNTEN_CNTEN0_Pos) /*!< EPWM_T::CNTEN: CNTEN0 Mask */
  2305. #define EPWM_CNTEN_CNTEN1_Pos (1) /*!< EPWM_T::CNTEN: CNTEN1 Position */
  2306. #define EPWM_CNTEN_CNTEN1_Msk (0x1ul << EPWM_CNTEN_CNTEN1_Pos) /*!< EPWM_T::CNTEN: CNTEN1 Mask */
  2307. #define EPWM_CNTEN_CNTEN2_Pos (2) /*!< EPWM_T::CNTEN: CNTEN2 Position */
  2308. #define EPWM_CNTEN_CNTEN2_Msk (0x1ul << EPWM_CNTEN_CNTEN2_Pos) /*!< EPWM_T::CNTEN: CNTEN2 Mask */
  2309. #define EPWM_CNTEN_CNTEN3_Pos (3) /*!< EPWM_T::CNTEN: CNTEN3 Position */
  2310. #define EPWM_CNTEN_CNTEN3_Msk (0x1ul << EPWM_CNTEN_CNTEN3_Pos) /*!< EPWM_T::CNTEN: CNTEN3 Mask */
  2311. #define EPWM_CNTEN_CNTEN4_Pos (4) /*!< EPWM_T::CNTEN: CNTEN4 Position */
  2312. #define EPWM_CNTEN_CNTEN4_Msk (0x1ul << EPWM_CNTEN_CNTEN4_Pos) /*!< EPWM_T::CNTEN: CNTEN4 Mask */
  2313. #define EPWM_CNTEN_CNTEN5_Pos (5) /*!< EPWM_T::CNTEN: CNTEN5 Position */
  2314. #define EPWM_CNTEN_CNTEN5_Msk (0x1ul << EPWM_CNTEN_CNTEN5_Pos) /*!< EPWM_T::CNTEN: CNTEN5 Mask */
  2315. #define EPWM_CNTCLR_CNTCLR0_Pos (0) /*!< EPWM_T::CNTCLR: CNTCLR0 Position */
  2316. #define EPWM_CNTCLR_CNTCLR0_Msk (0x1ul << EPWM_CNTCLR_CNTCLR0_Pos) /*!< EPWM_T::CNTCLR: CNTCLR0 Mask */
  2317. #define EPWM_CNTCLR_CNTCLR1_Pos (1) /*!< EPWM_T::CNTCLR: CNTCLR1 Position */
  2318. #define EPWM_CNTCLR_CNTCLR1_Msk (0x1ul << EPWM_CNTCLR_CNTCLR1_Pos) /*!< EPWM_T::CNTCLR: CNTCLR1 Mask */
  2319. #define EPWM_CNTCLR_CNTCLR2_Pos (2) /*!< EPWM_T::CNTCLR: CNTCLR2 Position */
  2320. #define EPWM_CNTCLR_CNTCLR2_Msk (0x1ul << EPWM_CNTCLR_CNTCLR2_Pos) /*!< EPWM_T::CNTCLR: CNTCLR2 Mask */
  2321. #define EPWM_CNTCLR_CNTCLR3_Pos (3) /*!< EPWM_T::CNTCLR: CNTCLR3 Position */
  2322. #define EPWM_CNTCLR_CNTCLR3_Msk (0x1ul << EPWM_CNTCLR_CNTCLR3_Pos) /*!< EPWM_T::CNTCLR: CNTCLR3 Mask */
  2323. #define EPWM_CNTCLR_CNTCLR4_Pos (4) /*!< EPWM_T::CNTCLR: CNTCLR4 Position */
  2324. #define EPWM_CNTCLR_CNTCLR4_Msk (0x1ul << EPWM_CNTCLR_CNTCLR4_Pos) /*!< EPWM_T::CNTCLR: CNTCLR4 Mask */
  2325. #define EPWM_CNTCLR_CNTCLR5_Pos (5) /*!< EPWM_T::CNTCLR: CNTCLR5 Position */
  2326. #define EPWM_CNTCLR_CNTCLR5_Msk (0x1ul << EPWM_CNTCLR_CNTCLR5_Pos) /*!< EPWM_T::CNTCLR: CNTCLR5 Mask */
  2327. #define EPWM_LOAD_LOAD0_Pos (0) /*!< EPWM_T::LOAD: LOAD0 Position */
  2328. #define EPWM_LOAD_LOAD0_Msk (0x1ul << EPWM_LOAD_LOAD0_Pos) /*!< EPWM_T::LOAD: LOAD0 Mask */
  2329. #define EPWM_LOAD_LOAD1_Pos (1) /*!< EPWM_T::LOAD: LOAD1 Position */
  2330. #define EPWM_LOAD_LOAD1_Msk (0x1ul << EPWM_LOAD_LOAD1_Pos) /*!< EPWM_T::LOAD: LOAD1 Mask */
  2331. #define EPWM_LOAD_LOAD2_Pos (2) /*!< EPWM_T::LOAD: LOAD2 Position */
  2332. #define EPWM_LOAD_LOAD2_Msk (0x1ul << EPWM_LOAD_LOAD2_Pos) /*!< EPWM_T::LOAD: LOAD2 Mask */
  2333. #define EPWM_LOAD_LOAD3_Pos (3) /*!< EPWM_T::LOAD: LOAD3 Position */
  2334. #define EPWM_LOAD_LOAD3_Msk (0x1ul << EPWM_LOAD_LOAD3_Pos) /*!< EPWM_T::LOAD: LOAD3 Mask */
  2335. #define EPWM_LOAD_LOAD4_Pos (4) /*!< EPWM_T::LOAD: LOAD4 Position */
  2336. #define EPWM_LOAD_LOAD4_Msk (0x1ul << EPWM_LOAD_LOAD4_Pos) /*!< EPWM_T::LOAD: LOAD4 Mask */
  2337. #define EPWM_LOAD_LOAD5_Pos (5) /*!< EPWM_T::LOAD: LOAD5 Position */
  2338. #define EPWM_LOAD_LOAD5_Msk (0x1ul << EPWM_LOAD_LOAD5_Pos) /*!< EPWM_T::LOAD: LOAD5 Mask */
  2339. #define EPWM_PERIOD0_PERIOD_Pos (0) /*!< EPWM_T::PERIOD0: PERIOD Position */
  2340. #define EPWM_PERIOD0_PERIOD_Msk (0xfffful << EPWM_PERIOD0_PERIOD_Pos) /*!< EPWM_T::PERIOD0: PERIOD Mask */
  2341. #define EPWM_PERIOD1_PERIOD_Pos (0) /*!< EPWM_T::PERIOD1: PERIOD Position */
  2342. #define EPWM_PERIOD1_PERIOD_Msk (0xfffful << EPWM_PERIOD1_PERIOD_Pos) /*!< EPWM_T::PERIOD1: PERIOD Mask */
  2343. #define EPWM_PERIOD2_PERIOD_Pos (0) /*!< EPWM_T::PERIOD2: PERIOD Position */
  2344. #define EPWM_PERIOD2_PERIOD_Msk (0xfffful << EPWM_PERIOD2_PERIOD_Pos) /*!< EPWM_T::PERIOD2: PERIOD Mask */
  2345. #define EPWM_PERIOD3_PERIOD_Pos (0) /*!< EPWM_T::PERIOD3: PERIOD Position */
  2346. #define EPWM_PERIOD3_PERIOD_Msk (0xfffful << EPWM_PERIOD3_PERIOD_Pos) /*!< EPWM_T::PERIOD3: PERIOD Mask */
  2347. #define EPWM_PERIOD4_PERIOD_Pos (0) /*!< EPWM_T::PERIOD4: PERIOD Position */
  2348. #define EPWM_PERIOD4_PERIOD_Msk (0xfffful << EPWM_PERIOD4_PERIOD_Pos) /*!< EPWM_T::PERIOD4: PERIOD Mask */
  2349. #define EPWM_PERIOD5_PERIOD_Pos (0) /*!< EPWM_T::PERIOD5: PERIOD Position */
  2350. #define EPWM_PERIOD5_PERIOD_Msk (0xfffful << EPWM_PERIOD5_PERIOD_Pos) /*!< EPWM_T::PERIOD5: PERIOD Mask */
  2351. #define EPWM_CMPDAT0_CMP_Pos (0) /*!< EPWM_T::CMPDAT0: CMP Position */
  2352. #define EPWM_CMPDAT0_CMP_Msk (0xfffful << EPWM_CMPDAT0_CMP_Pos) /*!< EPWM_T::CMPDAT0: CMP Mask */
  2353. #define EPWM_CMPDAT1_CMP_Pos (0) /*!< EPWM_T::CMPDAT1: CMP Position */
  2354. #define EPWM_CMPDAT1_CMP_Msk (0xfffful << EPWM_CMPDAT1_CMP_Pos) /*!< EPWM_T::CMPDAT1: CMP Mask */
  2355. #define EPWM_CMPDAT2_CMP_Pos (0) /*!< EPWM_T::CMPDAT2: CMP Position */
  2356. #define EPWM_CMPDAT2_CMP_Msk (0xfffful << EPWM_CMPDAT2_CMP_Pos) /*!< EPWM_T::CMPDAT2: CMP Mask */
  2357. #define EPWM_CMPDAT3_CMP_Pos (0) /*!< EPWM_T::CMPDAT3: CMP Position */
  2358. #define EPWM_CMPDAT3_CMP_Msk (0xfffful << EPWM_CMPDAT3_CMP_Pos) /*!< EPWM_T::CMPDAT3: CMP Mask */
  2359. #define EPWM_CMPDAT4_CMP_Pos (0) /*!< EPWM_T::CMPDAT4: CMP Position */
  2360. #define EPWM_CMPDAT4_CMP_Msk (0xfffful << EPWM_CMPDAT4_CMP_Pos) /*!< EPWM_T::CMPDAT4: CMP Mask */
  2361. #define EPWM_CMPDAT5_CMP_Pos (0) /*!< EPWM_T::CMPDAT5: CMP Position */
  2362. #define EPWM_CMPDAT5_CMP_Msk (0xfffful << EPWM_CMPDAT5_CMP_Pos) /*!< EPWM_T::CMPDAT5: CMP Mask */
  2363. #define EPWM_DTCTL0_1_DTCNT_Pos (0) /*!< EPWM_T::DTCTL0_1: DTCNT Position */
  2364. #define EPWM_DTCTL0_1_DTCNT_Msk (0xffful << EPWM_DTCTL0_1_DTCNT_Pos) /*!< EPWM_T::DTCTL0_1: DTCNT Mask */
  2365. #define EPWM_DTCTL0_1_DTEN_Pos (16) /*!< EPWM_T::DTCTL0_1: DTEN Position */
  2366. #define EPWM_DTCTL0_1_DTEN_Msk (0x1ul << EPWM_DTCTL0_1_DTEN_Pos) /*!< EPWM_T::DTCTL0_1: DTEN Mask */
  2367. #define EPWM_DTCTL0_1_DTCKSEL_Pos (24) /*!< EPWM_T::DTCTL0_1: DTCKSEL Position */
  2368. #define EPWM_DTCTL0_1_DTCKSEL_Msk (0x1ul << EPWM_DTCTL0_1_DTCKSEL_Pos) /*!< EPWM_T::DTCTL0_1: DTCKSEL Mask */
  2369. #define EPWM_DTCTL2_3_DTCNT_Pos (0) /*!< EPWM_T::DTCTL2_3: DTCNT Position */
  2370. #define EPWM_DTCTL2_3_DTCNT_Msk (0xffful << EPWM_DTCTL2_3_DTCNT_Pos) /*!< EPWM_T::DTCTL2_3: DTCNT Mask */
  2371. #define EPWM_DTCTL2_3_DTEN_Pos (16) /*!< EPWM_T::DTCTL2_3: DTEN Position */
  2372. #define EPWM_DTCTL2_3_DTEN_Msk (0x1ul << EPWM_DTCTL2_3_DTEN_Pos) /*!< EPWM_T::DTCTL2_3: DTEN Mask */
  2373. #define EPWM_DTCTL2_3_DTCKSEL_Pos (24) /*!< EPWM_T::DTCTL2_3: DTCKSEL Position */
  2374. #define EPWM_DTCTL2_3_DTCKSEL_Msk (0x1ul << EPWM_DTCTL2_3_DTCKSEL_Pos) /*!< EPWM_T::DTCTL2_3: DTCKSEL Mask */
  2375. #define EPWM_DTCTL4_5_DTCNT_Pos (0) /*!< EPWM_T::DTCTL4_5: DTCNT Position */
  2376. #define EPWM_DTCTL4_5_DTCNT_Msk (0xffful << EPWM_DTCTL4_5_DTCNT_Pos) /*!< EPWM_T::DTCTL4_5: DTCNT Mask */
  2377. #define EPWM_DTCTL4_5_DTEN_Pos (16) /*!< EPWM_T::DTCTL4_5: DTEN Position */
  2378. #define EPWM_DTCTL4_5_DTEN_Msk (0x1ul << EPWM_DTCTL4_5_DTEN_Pos) /*!< EPWM_T::DTCTL4_5: DTEN Mask */
  2379. #define EPWM_DTCTL4_5_DTCKSEL_Pos (24) /*!< EPWM_T::DTCTL4_5: DTCKSEL Position */
  2380. #define EPWM_DTCTL4_5_DTCKSEL_Msk (0x1ul << EPWM_DTCTL4_5_DTCKSEL_Pos) /*!< EPWM_T::DTCTL4_5: DTCKSEL Mask */
  2381. #define EPWM_PHS0_1_PHS_Pos (0) /*!< EPWM_T::PHS0_1: PHS Position */
  2382. #define EPWM_PHS0_1_PHS_Msk (0xfffful << EPWM_PHS0_1_PHS_Pos) /*!< EPWM_T::PHS0_1: PHS Mask */
  2383. #define EPWM_PHS2_3_PHS_Pos (0) /*!< EPWM_T::PHS2_3: PHS Position */
  2384. #define EPWM_PHS2_3_PHS_Msk (0xfffful << EPWM_PHS2_3_PHS_Pos) /*!< EPWM_T::PHS2_3: PHS Mask */
  2385. #define EPWM_PHS4_5_PHS_Pos (0) /*!< EPWM_T::PHS4_5: PHS Position */
  2386. #define EPWM_PHS4_5_PHS_Msk (0xfffful << EPWM_PHS4_5_PHS_Pos) /*!< EPWM_T::PHS4_5: PHS Mask */
  2387. #define EPWM_CNT0_CNT_Pos (0) /*!< EPWM_T::CNT0: CNT Position */
  2388. #define EPWM_CNT0_CNT_Msk (0xfffful << EPWM_CNT0_CNT_Pos) /*!< EPWM_T::CNT0: CNT Mask */
  2389. #define EPWM_CNT0_DIRF_Pos (16) /*!< EPWM_T::CNT0: DIRF Position */
  2390. #define EPWM_CNT0_DIRF_Msk (0x1ul << EPWM_CNT0_DIRF_Pos) /*!< EPWM_T::CNT0: DIRF Mask */
  2391. #define EPWM_CNT1_CNT_Pos (0) /*!< EPWM_T::CNT1: CNT Position */
  2392. #define EPWM_CNT1_CNT_Msk (0xfffful << EPWM_CNT1_CNT_Pos) /*!< EPWM_T::CNT1: CNT Mask */
  2393. #define EPWM_CNT1_DIRF_Pos (16) /*!< EPWM_T::CNT1: DIRF Position */
  2394. #define EPWM_CNT1_DIRF_Msk (0x1ul << EPWM_CNT1_DIRF_Pos) /*!< EPWM_T::CNT1: DIRF Mask */
  2395. #define EPWM_CNT2_CNT_Pos (0) /*!< EPWM_T::CNT2: CNT Position */
  2396. #define EPWM_CNT2_CNT_Msk (0xfffful << EPWM_CNT2_CNT_Pos) /*!< EPWM_T::CNT2: CNT Mask */
  2397. #define EPWM_CNT2_DIRF_Pos (16) /*!< EPWM_T::CNT2: DIRF Position */
  2398. #define EPWM_CNT2_DIRF_Msk (0x1ul << EPWM_CNT2_DIRF_Pos) /*!< EPWM_T::CNT2: DIRF Mask */
  2399. #define EPWM_CNT3_CNT_Pos (0) /*!< EPWM_T::CNT3: CNT Position */
  2400. #define EPWM_CNT3_CNT_Msk (0xfffful << EPWM_CNT3_CNT_Pos) /*!< EPWM_T::CNT3: CNT Mask */
  2401. #define EPWM_CNT3_DIRF_Pos (16) /*!< EPWM_T::CNT3: DIRF Position */
  2402. #define EPWM_CNT3_DIRF_Msk (0x1ul << EPWM_CNT3_DIRF_Pos) /*!< EPWM_T::CNT3: DIRF Mask */
  2403. #define EPWM_CNT4_CNT_Pos (0) /*!< EPWM_T::CNT4: CNT Position */
  2404. #define EPWM_CNT4_CNT_Msk (0xfffful << EPWM_CNT4_CNT_Pos) /*!< EPWM_T::CNT4: CNT Mask */
  2405. #define EPWM_CNT4_DIRF_Pos (16) /*!< EPWM_T::CNT4: DIRF Position */
  2406. #define EPWM_CNT4_DIRF_Msk (0x1ul << EPWM_CNT4_DIRF_Pos) /*!< EPWM_T::CNT4: DIRF Mask */
  2407. #define EPWM_CNT5_CNT_Pos (0) /*!< EPWM_T::CNT5: CNT Position */
  2408. #define EPWM_CNT5_CNT_Msk (0xfffful << EPWM_CNT5_CNT_Pos) /*!< EPWM_T::CNT5: CNT Mask */
  2409. #define EPWM_CNT5_DIRF_Pos (16) /*!< EPWM_T::CNT5: DIRF Position */
  2410. #define EPWM_CNT5_DIRF_Msk (0x1ul << EPWM_CNT5_DIRF_Pos) /*!< EPWM_T::CNT5: DIRF Mask */
  2411. #define EPWM_WGCTL0_ZPCTL0_Pos (0) /*!< EPWM_T::WGCTL0: ZPCTL0 Position */
  2412. #define EPWM_WGCTL0_ZPCTL0_Msk (0x3ul << EPWM_WGCTL0_ZPCTL0_Pos) /*!< EPWM_T::WGCTL0: ZPCTL0 Mask */
  2413. #define EPWM_WGCTL0_ZPCTL1_Pos (2) /*!< EPWM_T::WGCTL0: ZPCTL1 Position */
  2414. #define EPWM_WGCTL0_ZPCTL1_Msk (0x3ul << EPWM_WGCTL0_ZPCTL1_Pos) /*!< EPWM_T::WGCTL0: ZPCTL1 Mask */
  2415. #define EPWM_WGCTL0_ZPCTL2_Pos (4) /*!< EPWM_T::WGCTL0: ZPCTL2 Position */
  2416. #define EPWM_WGCTL0_ZPCTL2_Msk (0x3ul << EPWM_WGCTL0_ZPCTL2_Pos) /*!< EPWM_T::WGCTL0: ZPCTL2 Mask */
  2417. #define EPWM_WGCTL0_ZPCTL3_Pos (6) /*!< EPWM_T::WGCTL0: ZPCTL3 Position */
  2418. #define EPWM_WGCTL0_ZPCTL3_Msk (0x3ul << EPWM_WGCTL0_ZPCTL3_Pos) /*!< EPWM_T::WGCTL0: ZPCTL3 Mask */
  2419. #define EPWM_WGCTL0_ZPCTL4_Pos (8) /*!< EPWM_T::WGCTL0: ZPCTL4 Position */
  2420. #define EPWM_WGCTL0_ZPCTL4_Msk (0x3ul << EPWM_WGCTL0_ZPCTL4_Pos) /*!< EPWM_T::WGCTL0: ZPCTL4 Mask */
  2421. #define EPWM_WGCTL0_ZPCTL5_Pos (10) /*!< EPWM_T::WGCTL0: ZPCTL5 Position */
  2422. #define EPWM_WGCTL0_ZPCTL5_Msk (0x3ul << EPWM_WGCTL0_ZPCTL5_Pos) /*!< EPWM_T::WGCTL0: ZPCTL5 Mask */
  2423. #define EPWM_WGCTL0_PRDPCTL0_Pos (16) /*!< EPWM_T::WGCTL0: PRDPCTL0 Position */
  2424. #define EPWM_WGCTL0_PRDPCTL0_Msk (0x3ul << EPWM_WGCTL0_PRDPCTL0_Pos) /*!< EPWM_T::WGCTL0: PRDPCTL0 Mask */
  2425. #define EPWM_WGCTL0_PRDPCTL1_Pos (18) /*!< EPWM_T::WGCTL0: PRDPCTL1 Position */
  2426. #define EPWM_WGCTL0_PRDPCTL1_Msk (0x3ul << EPWM_WGCTL0_PRDPCTL1_Pos) /*!< EPWM_T::WGCTL0: PRDPCTL1 Mask */
  2427. #define EPWM_WGCTL0_PRDPCTL2_Pos (20) /*!< EPWM_T::WGCTL0: PRDPCTL2 Position */
  2428. #define EPWM_WGCTL0_PRDPCTL2_Msk (0x3ul << EPWM_WGCTL0_PRDPCTL2_Pos) /*!< EPWM_T::WGCTL0: PRDPCTL2 Mask */
  2429. #define EPWM_WGCTL0_PRDPCTL3_Pos (22) /*!< EPWM_T::WGCTL0: PRDPCTL3 Position */
  2430. #define EPWM_WGCTL0_PRDPCTL3_Msk (0x3ul << EPWM_WGCTL0_PRDPCTL3_Pos) /*!< EPWM_T::WGCTL0: PRDPCTL3 Mask */
  2431. #define EPWM_WGCTL0_PRDPCTL4_Pos (24) /*!< EPWM_T::WGCTL0: PRDPCTL4 Position */
  2432. #define EPWM_WGCTL0_PRDPCTL4_Msk (0x3ul << EPWM_WGCTL0_PRDPCTL4_Pos) /*!< EPWM_T::WGCTL0: PRDPCTL4 Mask */
  2433. #define EPWM_WGCTL0_PRDPCTL5_Pos (26) /*!< EPWM_T::WGCTL0: PRDPCTL5 Position */
  2434. #define EPWM_WGCTL0_PRDPCTL5_Msk (0x3ul << EPWM_WGCTL0_PRDPCTL5_Pos) /*!< EPWM_T::WGCTL0: PRDPCTL5 Mask */
  2435. #define EPWM_WGCTL1_CMPUCTL0_Pos (0) /*!< EPWM_T::WGCTL1: CMPUCTL0 Position */
  2436. #define EPWM_WGCTL1_CMPUCTL0_Msk (0x3ul << EPWM_WGCTL1_CMPUCTL0_Pos) /*!< EPWM_T::WGCTL1: CMPUCTL0 Mask */
  2437. #define EPWM_WGCTL1_CMPUCTL1_Pos (2) /*!< EPWM_T::WGCTL1: CMPUCTL1 Position */
  2438. #define EPWM_WGCTL1_CMPUCTL1_Msk (0x3ul << EPWM_WGCTL1_CMPUCTL1_Pos) /*!< EPWM_T::WGCTL1: CMPUCTL1 Mask */
  2439. #define EPWM_WGCTL1_CMPUCTL2_Pos (4) /*!< EPWM_T::WGCTL1: CMPUCTL2 Position */
  2440. #define EPWM_WGCTL1_CMPUCTL2_Msk (0x3ul << EPWM_WGCTL1_CMPUCTL2_Pos) /*!< EPWM_T::WGCTL1: CMPUCTL2 Mask */
  2441. #define EPWM_WGCTL1_CMPUCTL3_Pos (6) /*!< EPWM_T::WGCTL1: CMPUCTL3 Position */
  2442. #define EPWM_WGCTL1_CMPUCTL3_Msk (0x3ul << EPWM_WGCTL1_CMPUCTL3_Pos) /*!< EPWM_T::WGCTL1: CMPUCTL3 Mask */
  2443. #define EPWM_WGCTL1_CMPUCTL4_Pos (8) /*!< EPWM_T::WGCTL1: CMPUCTL4 Position */
  2444. #define EPWM_WGCTL1_CMPUCTL4_Msk (0x3ul << EPWM_WGCTL1_CMPUCTL4_Pos) /*!< EPWM_T::WGCTL1: CMPUCTL4 Mask */
  2445. #define EPWM_WGCTL1_CMPUCTL5_Pos (10) /*!< EPWM_T::WGCTL1: CMPUCTL5 Position */
  2446. #define EPWM_WGCTL1_CMPUCTL5_Msk (0x3ul << EPWM_WGCTL1_CMPUCTL5_Pos) /*!< EPWM_T::WGCTL1: CMPUCTL5 Mask */
  2447. #define EPWM_WGCTL1_CMPDCTL0_Pos (16) /*!< EPWM_T::WGCTL1: CMPDCTL0 Position */
  2448. #define EPWM_WGCTL1_CMPDCTL0_Msk (0x3ul << EPWM_WGCTL1_CMPDCTL0_Pos) /*!< EPWM_T::WGCTL1: CMPDCTL0 Mask */
  2449. #define EPWM_WGCTL1_CMPDCTL1_Pos (18) /*!< EPWM_T::WGCTL1: CMPDCTL1 Position */
  2450. #define EPWM_WGCTL1_CMPDCTL1_Msk (0x3ul << EPWM_WGCTL1_CMPDCTL1_Pos) /*!< EPWM_T::WGCTL1: CMPDCTL1 Mask */
  2451. #define EPWM_WGCTL1_CMPDCTL2_Pos (20) /*!< EPWM_T::WGCTL1: CMPDCTL2 Position */
  2452. #define EPWM_WGCTL1_CMPDCTL2_Msk (0x3ul << EPWM_WGCTL1_CMPDCTL2_Pos) /*!< EPWM_T::WGCTL1: CMPDCTL2 Mask */
  2453. #define EPWM_WGCTL1_CMPDCTL3_Pos (22) /*!< EPWM_T::WGCTL1: CMPDCTL3 Position */
  2454. #define EPWM_WGCTL1_CMPDCTL3_Msk (0x3ul << EPWM_WGCTL1_CMPDCTL3_Pos) /*!< EPWM_T::WGCTL1: CMPDCTL3 Mask */
  2455. #define EPWM_WGCTL1_CMPDCTL4_Pos (24) /*!< EPWM_T::WGCTL1: CMPDCTL4 Position */
  2456. #define EPWM_WGCTL1_CMPDCTL4_Msk (0x3ul << EPWM_WGCTL1_CMPDCTL4_Pos) /*!< EPWM_T::WGCTL1: CMPDCTL4 Mask */
  2457. #define EPWM_WGCTL1_CMPDCTL5_Pos (26) /*!< EPWM_T::WGCTL1: CMPDCTL5 Position */
  2458. #define EPWM_WGCTL1_CMPDCTL5_Msk (0x3ul << EPWM_WGCTL1_CMPDCTL5_Pos) /*!< EPWM_T::WGCTL1: CMPDCTL5 Mask */
  2459. #define EPWM_MSKEN_MSKEN0_Pos (0) /*!< EPWM_T::MSKEN: MSKEN0 Position */
  2460. #define EPWM_MSKEN_MSKEN0_Msk (0x1ul << EPWM_MSKEN_MSKEN0_Pos) /*!< EPWM_T::MSKEN: MSKEN0 Mask */
  2461. #define EPWM_MSKEN_MSKEN1_Pos (1) /*!< EPWM_T::MSKEN: MSKEN1 Position */
  2462. #define EPWM_MSKEN_MSKEN1_Msk (0x1ul << EPWM_MSKEN_MSKEN1_Pos) /*!< EPWM_T::MSKEN: MSKEN1 Mask */
  2463. #define EPWM_MSKEN_MSKEN2_Pos (2) /*!< EPWM_T::MSKEN: MSKEN2 Position */
  2464. #define EPWM_MSKEN_MSKEN2_Msk (0x1ul << EPWM_MSKEN_MSKEN2_Pos) /*!< EPWM_T::MSKEN: MSKEN2 Mask */
  2465. #define EPWM_MSKEN_MSKEN3_Pos (3) /*!< EPWM_T::MSKEN: MSKEN3 Position */
  2466. #define EPWM_MSKEN_MSKEN3_Msk (0x1ul << EPWM_MSKEN_MSKEN3_Pos) /*!< EPWM_T::MSKEN: MSKEN3 Mask */
  2467. #define EPWM_MSKEN_MSKEN4_Pos (4) /*!< EPWM_T::MSKEN: MSKEN4 Position */
  2468. #define EPWM_MSKEN_MSKEN4_Msk (0x1ul << EPWM_MSKEN_MSKEN4_Pos) /*!< EPWM_T::MSKEN: MSKEN4 Mask */
  2469. #define EPWM_MSKEN_MSKEN5_Pos (5) /*!< EPWM_T::MSKEN: MSKEN5 Position */
  2470. #define EPWM_MSKEN_MSKEN5_Msk (0x1ul << EPWM_MSKEN_MSKEN5_Pos) /*!< EPWM_T::MSKEN: MSKEN5 Mask */
  2471. #define EPWM_MSK_MSKDAT0_Pos (0) /*!< EPWM_T::MSK: MSKDAT0 Position */
  2472. #define EPWM_MSK_MSKDAT0_Msk (0x1ul << EPWM_MSK_MSKDAT0_Pos) /*!< EPWM_T::MSK: MSKDAT0 Mask */
  2473. #define EPWM_MSK_MSKDAT1_Pos (1) /*!< EPWM_T::MSK: MSKDAT1 Position */
  2474. #define EPWM_MSK_MSKDAT1_Msk (0x1ul << EPWM_MSK_MSKDAT1_Pos) /*!< EPWM_T::MSK: MSKDAT1 Mask */
  2475. #define EPWM_MSK_MSKDAT2_Pos (2) /*!< EPWM_T::MSK: MSKDAT2 Position */
  2476. #define EPWM_MSK_MSKDAT2_Msk (0x1ul << EPWM_MSK_MSKDAT2_Pos) /*!< EPWM_T::MSK: MSKDAT2 Mask */
  2477. #define EPWM_MSK_MSKDAT3_Pos (3) /*!< EPWM_T::MSK: MSKDAT3 Position */
  2478. #define EPWM_MSK_MSKDAT3_Msk (0x1ul << EPWM_MSK_MSKDAT3_Pos) /*!< EPWM_T::MSK: MSKDAT3 Mask */
  2479. #define EPWM_MSK_MSKDAT4_Pos (4) /*!< EPWM_T::MSK: MSKDAT4 Position */
  2480. #define EPWM_MSK_MSKDAT4_Msk (0x1ul << EPWM_MSK_MSKDAT4_Pos) /*!< EPWM_T::MSK: MSKDAT4 Mask */
  2481. #define EPWM_MSK_MSKDAT5_Pos (5) /*!< EPWM_T::MSK: MSKDAT5 Position */
  2482. #define EPWM_MSK_MSKDAT5_Msk (0x1ul << EPWM_MSK_MSKDAT5_Pos) /*!< EPWM_T::MSK: MSKDAT5 Mask */
  2483. #define EPWM_BNF_BRK0NFEN_Pos (0) /*!< EPWM_T::BNF: BRK0NFEN Position */
  2484. #define EPWM_BNF_BRK0NFEN_Msk (0x1ul << EPWM_BNF_BRK0NFEN_Pos) /*!< EPWM_T::BNF: BRK0NFEN Mask */
  2485. #define EPWM_BNF_BRK0NFSEL_Pos (1) /*!< EPWM_T::BNF: BRK0NFSEL Position */
  2486. #define EPWM_BNF_BRK0NFSEL_Msk (0x7ul << EPWM_BNF_BRK0NFSEL_Pos) /*!< EPWM_T::BNF: BRK0NFSEL Mask */
  2487. #define EPWM_BNF_BRK0FCNT_Pos (4) /*!< EPWM_T::BNF: BRK0FCNT Position */
  2488. #define EPWM_BNF_BRK0FCNT_Msk (0x7ul << EPWM_BNF_BRK0FCNT_Pos) /*!< EPWM_T::BNF: BRK0FCNT Mask */
  2489. #define EPWM_BNF_BRK0PINV_Pos (7) /*!< EPWM_T::BNF: BRK0PINV Position */
  2490. #define EPWM_BNF_BRK0PINV_Msk (0x1ul << EPWM_BNF_BRK0PINV_Pos) /*!< EPWM_T::BNF: BRK0PINV Mask */
  2491. #define EPWM_BNF_BRK1NFEN_Pos (8) /*!< EPWM_T::BNF: BRK1NFEN Position */
  2492. #define EPWM_BNF_BRK1NFEN_Msk (0x1ul << EPWM_BNF_BRK1NFEN_Pos) /*!< EPWM_T::BNF: BRK1NFEN Mask */
  2493. #define EPWM_BNF_BRK1NFSEL_Pos (9) /*!< EPWM_T::BNF: BRK1NFSEL Position */
  2494. #define EPWM_BNF_BRK1NFSEL_Msk (0x7ul << EPWM_BNF_BRK1NFSEL_Pos) /*!< EPWM_T::BNF: BRK1NFSEL Mask */
  2495. #define EPWM_BNF_BRK1FCNT_Pos (12) /*!< EPWM_T::BNF: BRK1FCNT Position */
  2496. #define EPWM_BNF_BRK1FCNT_Msk (0x7ul << EPWM_BNF_BRK1FCNT_Pos) /*!< EPWM_T::BNF: BRK1FCNT Mask */
  2497. #define EPWM_BNF_BRK1PINV_Pos (15) /*!< EPWM_T::BNF: BRK1PINV Position */
  2498. #define EPWM_BNF_BRK1PINV_Msk (0x1ul << EPWM_BNF_BRK1PINV_Pos) /*!< EPWM_T::BNF: BRK1PINV Mask */
  2499. #define EPWM_BNF_BK0SRC_Pos (16) /*!< EPWM_T::BNF: BK0SRC Position */
  2500. #define EPWM_BNF_BK0SRC_Msk (0x1ul << EPWM_BNF_BK0SRC_Pos) /*!< EPWM_T::BNF: BK0SRC Mask */
  2501. #define EPWM_BNF_BK1SRC_Pos (24) /*!< EPWM_T::BNF: BK1SRC Position */
  2502. #define EPWM_BNF_BK1SRC_Msk (0x1ul << EPWM_BNF_BK1SRC_Pos) /*!< EPWM_T::BNF: BK1SRC Mask */
  2503. #define EPWM_FAILBRK_CSSBRKEN_Pos (0) /*!< EPWM_T::FAILBRK: CSSBRKEN Position */
  2504. #define EPWM_FAILBRK_CSSBRKEN_Msk (0x1ul << EPWM_FAILBRK_CSSBRKEN_Pos) /*!< EPWM_T::FAILBRK: CSSBRKEN Mask */
  2505. #define EPWM_FAILBRK_BODBRKEN_Pos (1) /*!< EPWM_T::FAILBRK: BODBRKEN Position */
  2506. #define EPWM_FAILBRK_BODBRKEN_Msk (0x1ul << EPWM_FAILBRK_BODBRKEN_Pos) /*!< EPWM_T::FAILBRK: BODBRKEN Mask */
  2507. #define EPWM_FAILBRK_RAMBRKEN_Pos (2) /*!< EPWM_T::FAILBRK: RAMBRKEN Position */
  2508. #define EPWM_FAILBRK_RAMBRKEN_Msk (0x1ul << EPWM_FAILBRK_RAMBRKEN_Pos) /*!< EPWM_T::FAILBRK: RAMBRKEN Mask */
  2509. #define EPWM_FAILBRK_CORBRKEN_Pos (3) /*!< EPWM_T::FAILBRK: CORBRKEN Position */
  2510. #define EPWM_FAILBRK_CORBRKEN_Msk (0x1ul << EPWM_FAILBRK_CORBRKEN_Pos) /*!< EPWM_T::FAILBRK: CORBRKEN Mask */
  2511. #define EPWM_BRKCTL0_1_CPO0EBEN_Pos (0) /*!< EPWM_T::BRKCTL0_1: CPO0EBEN Position */
  2512. #define EPWM_BRKCTL0_1_CPO0EBEN_Msk (0x1ul << EPWM_BRKCTL0_1_CPO0EBEN_Pos) /*!< EPWM_T::BRKCTL0_1: CPO0EBEN Mask */
  2513. #define EPWM_BRKCTL0_1_CPO1EBEN_Pos (1) /*!< EPWM_T::BRKCTL0_1: CPO1EBEN Position */
  2514. #define EPWM_BRKCTL0_1_CPO1EBEN_Msk (0x1ul << EPWM_BRKCTL0_1_CPO1EBEN_Pos) /*!< EPWM_T::BRKCTL0_1: CPO1EBEN Mask */
  2515. #define EPWM_BRKCTL0_1_BRKP0EEN_Pos (4) /*!< EPWM_T::BRKCTL0_1: BRKP0EEN Position */
  2516. #define EPWM_BRKCTL0_1_BRKP0EEN_Msk (0x1ul << EPWM_BRKCTL0_1_BRKP0EEN_Pos) /*!< EPWM_T::BRKCTL0_1: BRKP0EEN Mask */
  2517. #define EPWM_BRKCTL0_1_BRKP1EEN_Pos (5) /*!< EPWM_T::BRKCTL0_1: BRKP1EEN Position */
  2518. #define EPWM_BRKCTL0_1_BRKP1EEN_Msk (0x1ul << EPWM_BRKCTL0_1_BRKP1EEN_Pos) /*!< EPWM_T::BRKCTL0_1: BRKP1EEN Mask */
  2519. #define EPWM_BRKCTL0_1_SYSEBEN_Pos (7) /*!< EPWM_T::BRKCTL0_1: SYSEBEN Position */
  2520. #define EPWM_BRKCTL0_1_SYSEBEN_Msk (0x1ul << EPWM_BRKCTL0_1_SYSEBEN_Pos) /*!< EPWM_T::BRKCTL0_1: SYSEBEN Mask */
  2521. #define EPWM_BRKCTL0_1_CPO0LBEN_Pos (8) /*!< EPWM_T::BRKCTL0_1: CPO0LBEN Position */
  2522. #define EPWM_BRKCTL0_1_CPO0LBEN_Msk (0x1ul << EPWM_BRKCTL0_1_CPO0LBEN_Pos) /*!< EPWM_T::BRKCTL0_1: CPO0LBEN Mask */
  2523. #define EPWM_BRKCTL0_1_CPO1LBEN_Pos (9) /*!< EPWM_T::BRKCTL0_1: CPO1LBEN Position */
  2524. #define EPWM_BRKCTL0_1_CPO1LBEN_Msk (0x1ul << EPWM_BRKCTL0_1_CPO1LBEN_Pos) /*!< EPWM_T::BRKCTL0_1: CPO1LBEN Mask */
  2525. #define EPWM_BRKCTL0_1_BRKP0LEN_Pos (12) /*!< EPWM_T::BRKCTL0_1: BRKP0LEN Position */
  2526. #define EPWM_BRKCTL0_1_BRKP0LEN_Msk (0x1ul << EPWM_BRKCTL0_1_BRKP0LEN_Pos) /*!< EPWM_T::BRKCTL0_1: BRKP0LEN Mask */
  2527. #define EPWM_BRKCTL0_1_BRKP1LEN_Pos (13) /*!< EPWM_T::BRKCTL0_1: BRKP1LEN Position */
  2528. #define EPWM_BRKCTL0_1_BRKP1LEN_Msk (0x1ul << EPWM_BRKCTL0_1_BRKP1LEN_Pos) /*!< EPWM_T::BRKCTL0_1: BRKP1LEN Mask */
  2529. #define EPWM_BRKCTL0_1_SYSLBEN_Pos (15) /*!< EPWM_T::BRKCTL0_1: SYSLBEN Position */
  2530. #define EPWM_BRKCTL0_1_SYSLBEN_Msk (0x1ul << EPWM_BRKCTL0_1_SYSLBEN_Pos) /*!< EPWM_T::BRKCTL0_1: SYSLBEN Mask */
  2531. #define EPWM_BRKCTL0_1_BRKAEVEN_Pos (16) /*!< EPWM_T::BRKCTL0_1: BRKAEVEN Position */
  2532. #define EPWM_BRKCTL0_1_BRKAEVEN_Msk (0x3ul << EPWM_BRKCTL0_1_BRKAEVEN_Pos) /*!< EPWM_T::BRKCTL0_1: BRKAEVEN Mask */
  2533. #define EPWM_BRKCTL0_1_BRKAODD_Pos (18) /*!< EPWM_T::BRKCTL0_1: BRKAODD Position */
  2534. #define EPWM_BRKCTL0_1_BRKAODD_Msk (0x3ul << EPWM_BRKCTL0_1_BRKAODD_Pos) /*!< EPWM_T::BRKCTL0_1: BRKAODD Mask */
  2535. #define EPWM_BRKCTL0_1_EADCEBEN_Pos (20) /*!< EPWM_T::BRKCTL0_1: EADCEBEN Position */
  2536. #define EPWM_BRKCTL0_1_EADCEBEN_Msk (0x1ul << EPWM_BRKCTL0_1_EADCEBEN_Pos) /*!< EPWM_T::BRKCTL0_1: EADCEBEN Mask */
  2537. #define EPWM_BRKCTL0_1_EADCLBEN_Pos (28) /*!< EPWM_T::BRKCTL0_1: EADCLBEN Position */
  2538. #define EPWM_BRKCTL0_1_EADCLBEN_Msk (0x1ul << EPWM_BRKCTL0_1_EADCLBEN_Pos) /*!< EPWM_T::BRKCTL0_1: EADCLBEN Mask */
  2539. #define EPWM_BRKCTL2_3_CPO0EBEN_Pos (0) /*!< EPWM_T::BRKCTL2_3: CPO0EBEN Position */
  2540. #define EPWM_BRKCTL2_3_CPO0EBEN_Msk (0x1ul << EPWM_BRKCTL2_3_CPO0EBEN_Pos) /*!< EPWM_T::BRKCTL2_3: CPO0EBEN Mask */
  2541. #define EPWM_BRKCTL2_3_CPO1EBEN_Pos (1) /*!< EPWM_T::BRKCTL2_3: CPO1EBEN Position */
  2542. #define EPWM_BRKCTL2_3_CPO1EBEN_Msk (0x1ul << EPWM_BRKCTL2_3_CPO1EBEN_Pos) /*!< EPWM_T::BRKCTL2_3: CPO1EBEN Mask */
  2543. #define EPWM_BRKCTL2_3_BRKP0EEN_Pos (4) /*!< EPWM_T::BRKCTL2_3: BRKP0EEN Position */
  2544. #define EPWM_BRKCTL2_3_BRKP0EEN_Msk (0x1ul << EPWM_BRKCTL2_3_BRKP0EEN_Pos) /*!< EPWM_T::BRKCTL2_3: BRKP0EEN Mask */
  2545. #define EPWM_BRKCTL2_3_BRKP1EEN_Pos (5) /*!< EPWM_T::BRKCTL2_3: BRKP1EEN Position */
  2546. #define EPWM_BRKCTL2_3_BRKP1EEN_Msk (0x1ul << EPWM_BRKCTL2_3_BRKP1EEN_Pos) /*!< EPWM_T::BRKCTL2_3: BRKP1EEN Mask */
  2547. #define EPWM_BRKCTL2_3_SYSEBEN_Pos (7) /*!< EPWM_T::BRKCTL2_3: SYSEBEN Position */
  2548. #define EPWM_BRKCTL2_3_SYSEBEN_Msk (0x1ul << EPWM_BRKCTL2_3_SYSEBEN_Pos) /*!< EPWM_T::BRKCTL2_3: SYSEBEN Mask */
  2549. #define EPWM_BRKCTL2_3_CPO0LBEN_Pos (8) /*!< EPWM_T::BRKCTL2_3: CPO0LBEN Position */
  2550. #define EPWM_BRKCTL2_3_CPO0LBEN_Msk (0x1ul << EPWM_BRKCTL2_3_CPO0LBEN_Pos) /*!< EPWM_T::BRKCTL2_3: CPO0LBEN Mask */
  2551. #define EPWM_BRKCTL2_3_CPO1LBEN_Pos (9) /*!< EPWM_T::BRKCTL2_3: CPO1LBEN Position */
  2552. #define EPWM_BRKCTL2_3_CPO1LBEN_Msk (0x1ul << EPWM_BRKCTL2_3_CPO1LBEN_Pos) /*!< EPWM_T::BRKCTL2_3: CPO1LBEN Mask */
  2553. #define EPWM_BRKCTL2_3_BRKP0LEN_Pos (12) /*!< EPWM_T::BRKCTL2_3: BRKP0LEN Position */
  2554. #define EPWM_BRKCTL2_3_BRKP0LEN_Msk (0x1ul << EPWM_BRKCTL2_3_BRKP0LEN_Pos) /*!< EPWM_T::BRKCTL2_3: BRKP0LEN Mask */
  2555. #define EPWM_BRKCTL2_3_BRKP1LEN_Pos (13) /*!< EPWM_T::BRKCTL2_3: BRKP1LEN Position */
  2556. #define EPWM_BRKCTL2_3_BRKP1LEN_Msk (0x1ul << EPWM_BRKCTL2_3_BRKP1LEN_Pos) /*!< EPWM_T::BRKCTL2_3: BRKP1LEN Mask */
  2557. #define EPWM_BRKCTL2_3_SYSLBEN_Pos (15) /*!< EPWM_T::BRKCTL2_3: SYSLBEN Position */
  2558. #define EPWM_BRKCTL2_3_SYSLBEN_Msk (0x1ul << EPWM_BRKCTL2_3_SYSLBEN_Pos) /*!< EPWM_T::BRKCTL2_3: SYSLBEN Mask */
  2559. #define EPWM_BRKCTL2_3_BRKAEVEN_Pos (16) /*!< EPWM_T::BRKCTL2_3: BRKAEVEN Position */
  2560. #define EPWM_BRKCTL2_3_BRKAEVEN_Msk (0x3ul << EPWM_BRKCTL2_3_BRKAEVEN_Pos) /*!< EPWM_T::BRKCTL2_3: BRKAEVEN Mask */
  2561. #define EPWM_BRKCTL2_3_BRKAODD_Pos (18) /*!< EPWM_T::BRKCTL2_3: BRKAODD Position */
  2562. #define EPWM_BRKCTL2_3_BRKAODD_Msk (0x3ul << EPWM_BRKCTL2_3_BRKAODD_Pos) /*!< EPWM_T::BRKCTL2_3: BRKAODD Mask */
  2563. #define EPWM_BRKCTL2_3_EADCEBEN_Pos (20) /*!< EPWM_T::BRKCTL2_3: EADCEBEN Position */
  2564. #define EPWM_BRKCTL2_3_EADCEBEN_Msk (0x1ul << EPWM_BRKCTL2_3_EADCEBEN_Pos) /*!< EPWM_T::BRKCTL2_3: EADCEBEN Mask */
  2565. #define EPWM_BRKCTL2_3_EADCLBEN_Pos (28) /*!< EPWM_T::BRKCTL2_3: EADCLBEN Position */
  2566. #define EPWM_BRKCTL2_3_EADCLBEN_Msk (0x1ul << EPWM_BRKCTL2_3_EADCLBEN_Pos) /*!< EPWM_T::BRKCTL2_3: EADCLBEN Mask */
  2567. #define EPWM_BRKCTL4_5_CPO0EBEN_Pos (0) /*!< EPWM_T::BRKCTL4_5: CPO0EBEN Position */
  2568. #define EPWM_BRKCTL4_5_CPO0EBEN_Msk (0x1ul << EPWM_BRKCTL4_5_CPO0EBEN_Pos) /*!< EPWM_T::BRKCTL4_5: CPO0EBEN Mask */
  2569. #define EPWM_BRKCTL4_5_CPO1EBEN_Pos (1) /*!< EPWM_T::BRKCTL4_5: CPO1EBEN Position */
  2570. #define EPWM_BRKCTL4_5_CPO1EBEN_Msk (0x1ul << EPWM_BRKCTL4_5_CPO1EBEN_Pos) /*!< EPWM_T::BRKCTL4_5: CPO1EBEN Mask */
  2571. #define EPWM_BRKCTL4_5_BRKP0EEN_Pos (4) /*!< EPWM_T::BRKCTL4_5: BRKP0EEN Position */
  2572. #define EPWM_BRKCTL4_5_BRKP0EEN_Msk (0x1ul << EPWM_BRKCTL4_5_BRKP0EEN_Pos) /*!< EPWM_T::BRKCTL4_5: BRKP0EEN Mask */
  2573. #define EPWM_BRKCTL4_5_BRKP1EEN_Pos (5) /*!< EPWM_T::BRKCTL4_5: BRKP1EEN Position */
  2574. #define EPWM_BRKCTL4_5_BRKP1EEN_Msk (0x1ul << EPWM_BRKCTL4_5_BRKP1EEN_Pos) /*!< EPWM_T::BRKCTL4_5: BRKP1EEN Mask */
  2575. #define EPWM_BRKCTL4_5_SYSEBEN_Pos (7) /*!< EPWM_T::BRKCTL4_5: SYSEBEN Position */
  2576. #define EPWM_BRKCTL4_5_SYSEBEN_Msk (0x1ul << EPWM_BRKCTL4_5_SYSEBEN_Pos) /*!< EPWM_T::BRKCTL4_5: SYSEBEN Mask */
  2577. #define EPWM_BRKCTL4_5_CPO0LBEN_Pos (8) /*!< EPWM_T::BRKCTL4_5: CPO0LBEN Position */
  2578. #define EPWM_BRKCTL4_5_CPO0LBEN_Msk (0x1ul << EPWM_BRKCTL4_5_CPO0LBEN_Pos) /*!< EPWM_T::BRKCTL4_5: CPO0LBEN Mask */
  2579. #define EPWM_BRKCTL4_5_CPO1LBEN_Pos (9) /*!< EPWM_T::BRKCTL4_5: CPO1LBEN Position */
  2580. #define EPWM_BRKCTL4_5_CPO1LBEN_Msk (0x1ul << EPWM_BRKCTL4_5_CPO1LBEN_Pos) /*!< EPWM_T::BRKCTL4_5: CPO1LBEN Mask */
  2581. #define EPWM_BRKCTL4_5_BRKP0LEN_Pos (12) /*!< EPWM_T::BRKCTL4_5: BRKP0LEN Position */
  2582. #define EPWM_BRKCTL4_5_BRKP0LEN_Msk (0x1ul << EPWM_BRKCTL4_5_BRKP0LEN_Pos) /*!< EPWM_T::BRKCTL4_5: BRKP0LEN Mask */
  2583. #define EPWM_BRKCTL4_5_BRKP1LEN_Pos (13) /*!< EPWM_T::BRKCTL4_5: BRKP1LEN Position */
  2584. #define EPWM_BRKCTL4_5_BRKP1LEN_Msk (0x1ul << EPWM_BRKCTL4_5_BRKP1LEN_Pos) /*!< EPWM_T::BRKCTL4_5: BRKP1LEN Mask */
  2585. #define EPWM_BRKCTL4_5_SYSLBEN_Pos (15) /*!< EPWM_T::BRKCTL4_5: SYSLBEN Position */
  2586. #define EPWM_BRKCTL4_5_SYSLBEN_Msk (0x1ul << EPWM_BRKCTL4_5_SYSLBEN_Pos) /*!< EPWM_T::BRKCTL4_5: SYSLBEN Mask */
  2587. #define EPWM_BRKCTL4_5_BRKAEVEN_Pos (16) /*!< EPWM_T::BRKCTL4_5: BRKAEVEN Position */
  2588. #define EPWM_BRKCTL4_5_BRKAEVEN_Msk (0x3ul << EPWM_BRKCTL4_5_BRKAEVEN_Pos) /*!< EPWM_T::BRKCTL4_5: BRKAEVEN Mask */
  2589. #define EPWM_BRKCTL4_5_BRKAODD_Pos (18) /*!< EPWM_T::BRKCTL4_5: BRKAODD Position */
  2590. #define EPWM_BRKCTL4_5_BRKAODD_Msk (0x3ul << EPWM_BRKCTL4_5_BRKAODD_Pos) /*!< EPWM_T::BRKCTL4_5: BRKAODD Mask */
  2591. #define EPWM_BRKCTL4_5_EADCEBEN_Pos (20) /*!< EPWM_T::BRKCTL4_5: EADCEBEN Position */
  2592. #define EPWM_BRKCTL4_5_EADCEBEN_Msk (0x1ul << EPWM_BRKCTL4_5_EADCEBEN_Pos) /*!< EPWM_T::BRKCTL4_5: EADCEBEN Mask */
  2593. #define EPWM_BRKCTL4_5_EADCLBEN_Pos (28) /*!< EPWM_T::BRKCTL4_5: EADCLBEN Position */
  2594. #define EPWM_BRKCTL4_5_EADCLBEN_Msk (0x1ul << EPWM_BRKCTL4_5_EADCLBEN_Pos) /*!< EPWM_T::BRKCTL4_5: EADCLBEN Mask */
  2595. #define EPWM_POLCTL_PINV0_Pos (0) /*!< EPWM_T::POLCTL: PINV0 Position */
  2596. #define EPWM_POLCTL_PINV0_Msk (0x1ul << EPWM_POLCTL_PINV0_Pos) /*!< EPWM_T::POLCTL: PINV0 Mask */
  2597. #define EPWM_POLCTL_PINV1_Pos (1) /*!< EPWM_T::POLCTL: PINV1 Position */
  2598. #define EPWM_POLCTL_PINV1_Msk (0x1ul << EPWM_POLCTL_PINV1_Pos) /*!< EPWM_T::POLCTL: PINV1 Mask */
  2599. #define EPWM_POLCTL_PINV2_Pos (2) /*!< EPWM_T::POLCTL: PINV2 Position */
  2600. #define EPWM_POLCTL_PINV2_Msk (0x1ul << EPWM_POLCTL_PINV2_Pos) /*!< EPWM_T::POLCTL: PINV2 Mask */
  2601. #define EPWM_POLCTL_PINV3_Pos (3) /*!< EPWM_T::POLCTL: PINV3 Position */
  2602. #define EPWM_POLCTL_PINV3_Msk (0x1ul << EPWM_POLCTL_PINV3_Pos) /*!< EPWM_T::POLCTL: PINV3 Mask */
  2603. #define EPWM_POLCTL_PINV4_Pos (4) /*!< EPWM_T::POLCTL: PINV4 Position */
  2604. #define EPWM_POLCTL_PINV4_Msk (0x1ul << EPWM_POLCTL_PINV4_Pos) /*!< EPWM_T::POLCTL: PINV4 Mask */
  2605. #define EPWM_POLCTL_PINV5_Pos (5) /*!< EPWM_T::POLCTL: PINV5 Position */
  2606. #define EPWM_POLCTL_PINV5_Msk (0x1ul << EPWM_POLCTL_PINV5_Pos) /*!< EPWM_T::POLCTL: PINV5 Mask */
  2607. #define EPWM_POEN_POEN0_Pos (0) /*!< EPWM_T::POEN: POEN0 Position */
  2608. #define EPWM_POEN_POEN0_Msk (0x1ul << EPWM_POEN_POEN0_Pos) /*!< EPWM_T::POEN: POEN0 Mask */
  2609. #define EPWM_POEN_POEN1_Pos (1) /*!< EPWM_T::POEN: POEN1 Position */
  2610. #define EPWM_POEN_POEN1_Msk (0x1ul << EPWM_POEN_POEN1_Pos) /*!< EPWM_T::POEN: POEN1 Mask */
  2611. #define EPWM_POEN_POEN2_Pos (2) /*!< EPWM_T::POEN: POEN2 Position */
  2612. #define EPWM_POEN_POEN2_Msk (0x1ul << EPWM_POEN_POEN2_Pos) /*!< EPWM_T::POEN: POEN2 Mask */
  2613. #define EPWM_POEN_POEN3_Pos (3) /*!< EPWM_T::POEN: POEN3 Position */
  2614. #define EPWM_POEN_POEN3_Msk (0x1ul << EPWM_POEN_POEN3_Pos) /*!< EPWM_T::POEN: POEN3 Mask */
  2615. #define EPWM_POEN_POEN4_Pos (4) /*!< EPWM_T::POEN: POEN4 Position */
  2616. #define EPWM_POEN_POEN4_Msk (0x1ul << EPWM_POEN_POEN4_Pos) /*!< EPWM_T::POEN: POEN4 Mask */
  2617. #define EPWM_POEN_POEN5_Pos (5) /*!< EPWM_T::POEN: POEN5 Position */
  2618. #define EPWM_POEN_POEN5_Msk (0x1ul << EPWM_POEN_POEN5_Pos) /*!< EPWM_T::POEN: POEN5 Mask */
  2619. #define EPWM_SWBRK_BRKETRG0_Pos (0) /*!< EPWM_T::SWBRK: BRKETRG0 Position */
  2620. #define EPWM_SWBRK_BRKETRG0_Msk (0x1ul << EPWM_SWBRK_BRKETRG0_Pos) /*!< EPWM_T::SWBRK: BRKETRG0 Mask */
  2621. #define EPWM_SWBRK_BRKETRG2_Pos (1) /*!< EPWM_T::SWBRK: BRKETRG2 Position */
  2622. #define EPWM_SWBRK_BRKETRG2_Msk (0x1ul << EPWM_SWBRK_BRKETRG2_Pos) /*!< EPWM_T::SWBRK: BRKETRG2 Mask */
  2623. #define EPWM_SWBRK_BRKETRG4_Pos (2) /*!< EPWM_T::SWBRK: BRKETRG4 Position */
  2624. #define EPWM_SWBRK_BRKETRG4_Msk (0x1ul << EPWM_SWBRK_BRKETRG4_Pos) /*!< EPWM_T::SWBRK: BRKETRG4 Mask */
  2625. #define EPWM_SWBRK_BRKLTRG0_Pos (8) /*!< EPWM_T::SWBRK: BRKLTRG0 Position */
  2626. #define EPWM_SWBRK_BRKLTRG0_Msk (0x1ul << EPWM_SWBRK_BRKLTRG0_Pos) /*!< EPWM_T::SWBRK: BRKLTRG0 Mask */
  2627. #define EPWM_SWBRK_BRKLTRG2_Pos (9) /*!< EPWM_T::SWBRK: BRKLTRG2 Position */
  2628. #define EPWM_SWBRK_BRKLTRG2_Msk (0x1ul << EPWM_SWBRK_BRKLTRG2_Pos) /*!< EPWM_T::SWBRK: BRKLTRG2 Mask */
  2629. #define EPWM_SWBRK_BRKLTRG4_Pos (10) /*!< EPWM_T::SWBRK: BRKLTRG4 Position */
  2630. #define EPWM_SWBRK_BRKLTRG4_Msk (0x1ul << EPWM_SWBRK_BRKLTRG4_Pos) /*!< EPWM_T::SWBRK: BRKLTRG4 Mask */
  2631. #define EPWM_INTEN0_ZIEN0_Pos (0) /*!< EPWM_T::INTEN0: ZIEN0 Position */
  2632. #define EPWM_INTEN0_ZIEN0_Msk (0x1ul << EPWM_INTEN0_ZIEN0_Pos) /*!< EPWM_T::INTEN0: ZIEN0 Mask */
  2633. #define EPWM_INTEN0_ZIEN1_Pos (1) /*!< EPWM_T::INTEN0: ZIEN1 Position */
  2634. #define EPWM_INTEN0_ZIEN1_Msk (0x1ul << EPWM_INTEN0_ZIEN1_Pos) /*!< EPWM_T::INTEN0: ZIEN1 Mask */
  2635. #define EPWM_INTEN0_ZIEN2_Pos (2) /*!< EPWM_T::INTEN0: ZIEN2 Position */
  2636. #define EPWM_INTEN0_ZIEN2_Msk (0x1ul << EPWM_INTEN0_ZIEN2_Pos) /*!< EPWM_T::INTEN0: ZIEN2 Mask */
  2637. #define EPWM_INTEN0_ZIEN3_Pos (3) /*!< EPWM_T::INTEN0: ZIEN3 Position */
  2638. #define EPWM_INTEN0_ZIEN3_Msk (0x1ul << EPWM_INTEN0_ZIEN3_Pos) /*!< EPWM_T::INTEN0: ZIEN3 Mask */
  2639. #define EPWM_INTEN0_ZIEN4_Pos (4) /*!< EPWM_T::INTEN0: ZIEN4 Position */
  2640. #define EPWM_INTEN0_ZIEN4_Msk (0x1ul << EPWM_INTEN0_ZIEN4_Pos) /*!< EPWM_T::INTEN0: ZIEN4 Mask */
  2641. #define EPWM_INTEN0_ZIEN5_Pos (5) /*!< EPWM_T::INTEN0: ZIEN5 Position */
  2642. #define EPWM_INTEN0_ZIEN5_Msk (0x1ul << EPWM_INTEN0_ZIEN5_Pos) /*!< EPWM_T::INTEN0: ZIEN5 Mask */
  2643. #define EPWM_INTEN0_PIEN0_Pos (8) /*!< EPWM_T::INTEN0: PIEN0 Position */
  2644. #define EPWM_INTEN0_PIEN0_Msk (0x1ul << EPWM_INTEN0_PIEN0_Pos) /*!< EPWM_T::INTEN0: PIEN0 Mask */
  2645. #define EPWM_INTEN0_PIEN1_Pos (9) /*!< EPWM_T::INTEN0: PIEN1 Position */
  2646. #define EPWM_INTEN0_PIEN1_Msk (0x1ul << EPWM_INTEN0_PIEN1_Pos) /*!< EPWM_T::INTEN0: PIEN1 Mask */
  2647. #define EPWM_INTEN0_PIEN2_Pos (10) /*!< EPWM_T::INTEN0: PIEN2 Position */
  2648. #define EPWM_INTEN0_PIEN2_Msk (0x1ul << EPWM_INTEN0_PIEN2_Pos) /*!< EPWM_T::INTEN0: PIEN2 Mask */
  2649. #define EPWM_INTEN0_PIEN3_Pos (11) /*!< EPWM_T::INTEN0: PIEN3 Position */
  2650. #define EPWM_INTEN0_PIEN3_Msk (0x1ul << EPWM_INTEN0_PIEN3_Pos) /*!< EPWM_T::INTEN0: PIEN3 Mask */
  2651. #define EPWM_INTEN0_PIEN4_Pos (12) /*!< EPWM_T::INTEN0: PIEN4 Position */
  2652. #define EPWM_INTEN0_PIEN4_Msk (0x1ul << EPWM_INTEN0_PIEN4_Pos) /*!< EPWM_T::INTEN0: PIEN4 Mask */
  2653. #define EPWM_INTEN0_PIEN5_Pos (13) /*!< EPWM_T::INTEN0: PIEN5 Position */
  2654. #define EPWM_INTEN0_PIEN5_Msk (0x1ul << EPWM_INTEN0_PIEN5_Pos) /*!< EPWM_T::INTEN0: PIEN5 Mask */
  2655. #define EPWM_INTEN0_CMPUIEN0_Pos (16) /*!< EPWM_T::INTEN0: CMPUIEN0 Position */
  2656. #define EPWM_INTEN0_CMPUIEN0_Msk (0x1ul << EPWM_INTEN0_CMPUIEN0_Pos) /*!< EPWM_T::INTEN0: CMPUIEN0 Mask */
  2657. #define EPWM_INTEN0_CMPUIEN1_Pos (17) /*!< EPWM_T::INTEN0: CMPUIEN1 Position */
  2658. #define EPWM_INTEN0_CMPUIEN1_Msk (0x1ul << EPWM_INTEN0_CMPUIEN1_Pos) /*!< EPWM_T::INTEN0: CMPUIEN1 Mask */
  2659. #define EPWM_INTEN0_CMPUIEN2_Pos (18) /*!< EPWM_T::INTEN0: CMPUIEN2 Position */
  2660. #define EPWM_INTEN0_CMPUIEN2_Msk (0x1ul << EPWM_INTEN0_CMPUIEN2_Pos) /*!< EPWM_T::INTEN0: CMPUIEN2 Mask */
  2661. #define EPWM_INTEN0_CMPUIEN3_Pos (19) /*!< EPWM_T::INTEN0: CMPUIEN3 Position */
  2662. #define EPWM_INTEN0_CMPUIEN3_Msk (0x1ul << EPWM_INTEN0_CMPUIEN3_Pos) /*!< EPWM_T::INTEN0: CMPUIEN3 Mask */
  2663. #define EPWM_INTEN0_CMPUIEN4_Pos (20) /*!< EPWM_T::INTEN0: CMPUIEN4 Position */
  2664. #define EPWM_INTEN0_CMPUIEN4_Msk (0x1ul << EPWM_INTEN0_CMPUIEN4_Pos) /*!< EPWM_T::INTEN0: CMPUIEN4 Mask */
  2665. #define EPWM_INTEN0_CMPUIEN5_Pos (21) /*!< EPWM_T::INTEN0: CMPUIEN5 Position */
  2666. #define EPWM_INTEN0_CMPUIEN5_Msk (0x1ul << EPWM_INTEN0_CMPUIEN5_Pos) /*!< EPWM_T::INTEN0: CMPUIEN5 Mask */
  2667. #define EPWM_INTEN0_CMPDIEN0_Pos (24) /*!< EPWM_T::INTEN0: CMPDIEN0 Position */
  2668. #define EPWM_INTEN0_CMPDIEN0_Msk (0x1ul << EPWM_INTEN0_CMPDIEN0_Pos) /*!< EPWM_T::INTEN0: CMPDIEN0 Mask */
  2669. #define EPWM_INTEN0_CMPDIEN1_Pos (25) /*!< EPWM_T::INTEN0: CMPDIEN1 Position */
  2670. #define EPWM_INTEN0_CMPDIEN1_Msk (0x1ul << EPWM_INTEN0_CMPDIEN1_Pos) /*!< EPWM_T::INTEN0: CMPDIEN1 Mask */
  2671. #define EPWM_INTEN0_CMPDIEN2_Pos (26) /*!< EPWM_T::INTEN0: CMPDIEN2 Position */
  2672. #define EPWM_INTEN0_CMPDIEN2_Msk (0x1ul << EPWM_INTEN0_CMPDIEN2_Pos) /*!< EPWM_T::INTEN0: CMPDIEN2 Mask */
  2673. #define EPWM_INTEN0_CMPDIEN3_Pos (27) /*!< EPWM_T::INTEN0: CMPDIEN3 Position */
  2674. #define EPWM_INTEN0_CMPDIEN3_Msk (0x1ul << EPWM_INTEN0_CMPDIEN3_Pos) /*!< EPWM_T::INTEN0: CMPDIEN3 Mask */
  2675. #define EPWM_INTEN0_CMPDIEN4_Pos (28) /*!< EPWM_T::INTEN0: CMPDIEN4 Position */
  2676. #define EPWM_INTEN0_CMPDIEN4_Msk (0x1ul << EPWM_INTEN0_CMPDIEN4_Pos) /*!< EPWM_T::INTEN0: CMPDIEN4 Mask */
  2677. #define EPWM_INTEN0_CMPDIEN5_Pos (29) /*!< EPWM_T::INTEN0: CMPDIEN5 Position */
  2678. #define EPWM_INTEN0_CMPDIEN5_Msk (0x1ul << EPWM_INTEN0_CMPDIEN5_Pos) /*!< EPWM_T::INTEN0: CMPDIEN5 Mask */
  2679. #define EPWM_INTEN1_BRKEIEN0_1_Pos (0) /*!< EPWM_T::INTEN1: BRKEIEN0_1 Position */
  2680. #define EPWM_INTEN1_BRKEIEN0_1_Msk (0x1ul << EPWM_INTEN1_BRKEIEN0_1_Pos) /*!< EPWM_T::INTEN1: BRKEIEN0_1 Mask */
  2681. #define EPWM_INTEN1_BRKEIEN2_3_Pos (1) /*!< EPWM_T::INTEN1: BRKEIEN2_3 Position */
  2682. #define EPWM_INTEN1_BRKEIEN2_3_Msk (0x1ul << EPWM_INTEN1_BRKEIEN2_3_Pos) /*!< EPWM_T::INTEN1: BRKEIEN2_3 Mask */
  2683. #define EPWM_INTEN1_BRKEIEN4_5_Pos (2) /*!< EPWM_T::INTEN1: BRKEIEN4_5 Position */
  2684. #define EPWM_INTEN1_BRKEIEN4_5_Msk (0x1ul << EPWM_INTEN1_BRKEIEN4_5_Pos) /*!< EPWM_T::INTEN1: BRKEIEN4_5 Mask */
  2685. #define EPWM_INTEN1_BRKLIEN0_1_Pos (8) /*!< EPWM_T::INTEN1: BRKLIEN0_1 Position */
  2686. #define EPWM_INTEN1_BRKLIEN0_1_Msk (0x1ul << EPWM_INTEN1_BRKLIEN0_1_Pos) /*!< EPWM_T::INTEN1: BRKLIEN0_1 Mask */
  2687. #define EPWM_INTEN1_BRKLIEN2_3_Pos (9) /*!< EPWM_T::INTEN1: BRKLIEN2_3 Position */
  2688. #define EPWM_INTEN1_BRKLIEN2_3_Msk (0x1ul << EPWM_INTEN1_BRKLIEN2_3_Pos) /*!< EPWM_T::INTEN1: BRKLIEN2_3 Mask */
  2689. #define EPWM_INTEN1_BRKLIEN4_5_Pos (10) /*!< EPWM_T::INTEN1: BRKLIEN4_5 Position */
  2690. #define EPWM_INTEN1_BRKLIEN4_5_Msk (0x1ul << EPWM_INTEN1_BRKLIEN4_5_Pos) /*!< EPWM_T::INTEN1: BRKLIEN4_5 Mask */
  2691. #define EPWM_INTSTS0_ZIF0_Pos (0) /*!< EPWM_T::INTSTS0: ZIF0 Position */
  2692. #define EPWM_INTSTS0_ZIF0_Msk (0x1ul << EPWM_INTSTS0_ZIF0_Pos) /*!< EPWM_T::INTSTS0: ZIF0 Mask */
  2693. #define EPWM_INTSTS0_ZIF1_Pos (1) /*!< EPWM_T::INTSTS0: ZIF1 Position */
  2694. #define EPWM_INTSTS0_ZIF1_Msk (0x1ul << EPWM_INTSTS0_ZIF1_Pos) /*!< EPWM_T::INTSTS0: ZIF1 Mask */
  2695. #define EPWM_INTSTS0_ZIF2_Pos (2) /*!< EPWM_T::INTSTS0: ZIF2 Position */
  2696. #define EPWM_INTSTS0_ZIF2_Msk (0x1ul << EPWM_INTSTS0_ZIF2_Pos) /*!< EPWM_T::INTSTS0: ZIF2 Mask */
  2697. #define EPWM_INTSTS0_ZIF3_Pos (3) /*!< EPWM_T::INTSTS0: ZIF3 Position */
  2698. #define EPWM_INTSTS0_ZIF3_Msk (0x1ul << EPWM_INTSTS0_ZIF3_Pos) /*!< EPWM_T::INTSTS0: ZIF3 Mask */
  2699. #define EPWM_INTSTS0_ZIF4_Pos (4) /*!< EPWM_T::INTSTS0: ZIF4 Position */
  2700. #define EPWM_INTSTS0_ZIF4_Msk (0x1ul << EPWM_INTSTS0_ZIF4_Pos) /*!< EPWM_T::INTSTS0: ZIF4 Mask */
  2701. #define EPWM_INTSTS0_ZIF5_Pos (5) /*!< EPWM_T::INTSTS0: ZIF5 Position */
  2702. #define EPWM_INTSTS0_ZIF5_Msk (0x1ul << EPWM_INTSTS0_ZIF5_Pos) /*!< EPWM_T::INTSTS0: ZIF5 Mask */
  2703. #define EPWM_INTSTS0_PIF0_Pos (8) /*!< EPWM_T::INTSTS0: PIF0 Position */
  2704. #define EPWM_INTSTS0_PIF0_Msk (0x1ul << EPWM_INTSTS0_PIF0_Pos) /*!< EPWM_T::INTSTS0: PIF0 Mask */
  2705. #define EPWM_INTSTS0_PIF1_Pos (9) /*!< EPWM_T::INTSTS0: PIF1 Position */
  2706. #define EPWM_INTSTS0_PIF1_Msk (0x1ul << EPWM_INTSTS0_PIF1_Pos) /*!< EPWM_T::INTSTS0: PIF1 Mask */
  2707. #define EPWM_INTSTS0_PIF2_Pos (10) /*!< EPWM_T::INTSTS0: PIF2 Position */
  2708. #define EPWM_INTSTS0_PIF2_Msk (0x1ul << EPWM_INTSTS0_PIF2_Pos) /*!< EPWM_T::INTSTS0: PIF2 Mask */
  2709. #define EPWM_INTSTS0_PIF3_Pos (11) /*!< EPWM_T::INTSTS0: PIF3 Position */
  2710. #define EPWM_INTSTS0_PIF3_Msk (0x1ul << EPWM_INTSTS0_PIF3_Pos) /*!< EPWM_T::INTSTS0: PIF3 Mask */
  2711. #define EPWM_INTSTS0_PIF4_Pos (12) /*!< EPWM_T::INTSTS0: PIF4 Position */
  2712. #define EPWM_INTSTS0_PIF4_Msk (0x1ul << EPWM_INTSTS0_PIF4_Pos) /*!< EPWM_T::INTSTS0: PIF4 Mask */
  2713. #define EPWM_INTSTS0_PIF5_Pos (13) /*!< EPWM_T::INTSTS0: PIF5 Position */
  2714. #define EPWM_INTSTS0_PIF5_Msk (0x1ul << EPWM_INTSTS0_PIF5_Pos) /*!< EPWM_T::INTSTS0: PIF5 Mask */
  2715. #define EPWM_INTSTS0_CMPUIF0_Pos (16) /*!< EPWM_T::INTSTS0: CMPUIF0 Position */
  2716. #define EPWM_INTSTS0_CMPUIF0_Msk (0x1ul << EPWM_INTSTS0_CMPUIF0_Pos) /*!< EPWM_T::INTSTS0: CMPUIF0 Mask */
  2717. #define EPWM_INTSTS0_CMPUIF1_Pos (17) /*!< EPWM_T::INTSTS0: CMPUIF1 Position */
  2718. #define EPWM_INTSTS0_CMPUIF1_Msk (0x1ul << EPWM_INTSTS0_CMPUIF1_Pos) /*!< EPWM_T::INTSTS0: CMPUIF1 Mask */
  2719. #define EPWM_INTSTS0_CMPUIF2_Pos (18) /*!< EPWM_T::INTSTS0: CMPUIF2 Position */
  2720. #define EPWM_INTSTS0_CMPUIF2_Msk (0x1ul << EPWM_INTSTS0_CMPUIF2_Pos) /*!< EPWM_T::INTSTS0: CMPUIF2 Mask */
  2721. #define EPWM_INTSTS0_CMPUIF3_Pos (19) /*!< EPWM_T::INTSTS0: CMPUIF3 Position */
  2722. #define EPWM_INTSTS0_CMPUIF3_Msk (0x1ul << EPWM_INTSTS0_CMPUIF3_Pos) /*!< EPWM_T::INTSTS0: CMPUIF3 Mask */
  2723. #define EPWM_INTSTS0_CMPUIF4_Pos (20) /*!< EPWM_T::INTSTS0: CMPUIF4 Position */
  2724. #define EPWM_INTSTS0_CMPUIF4_Msk (0x1ul << EPWM_INTSTS0_CMPUIF4_Pos) /*!< EPWM_T::INTSTS0: CMPUIF4 Mask */
  2725. #define EPWM_INTSTS0_CMPUIF5_Pos (21) /*!< EPWM_T::INTSTS0: CMPUIF5 Position */
  2726. #define EPWM_INTSTS0_CMPUIF5_Msk (0x1ul << EPWM_INTSTS0_CMPUIF5_Pos) /*!< EPWM_T::INTSTS0: CMPUIF5 Mask */
  2727. #define EPWM_INTSTS0_CMPDIF0_Pos (24) /*!< EPWM_T::INTSTS0: CMPDIF0 Position */
  2728. #define EPWM_INTSTS0_CMPDIF0_Msk (0x1ul << EPWM_INTSTS0_CMPDIF0_Pos) /*!< EPWM_T::INTSTS0: CMPDIF0 Mask */
  2729. #define EPWM_INTSTS0_CMPDIF1_Pos (25) /*!< EPWM_T::INTSTS0: CMPDIF1 Position */
  2730. #define EPWM_INTSTS0_CMPDIF1_Msk (0x1ul << EPWM_INTSTS0_CMPDIF1_Pos) /*!< EPWM_T::INTSTS0: CMPDIF1 Mask */
  2731. #define EPWM_INTSTS0_CMPDIF2_Pos (26) /*!< EPWM_T::INTSTS0: CMPDIF2 Position */
  2732. #define EPWM_INTSTS0_CMPDIF2_Msk (0x1ul << EPWM_INTSTS0_CMPDIF2_Pos) /*!< EPWM_T::INTSTS0: CMPDIF2 Mask */
  2733. #define EPWM_INTSTS0_CMPDIF3_Pos (27) /*!< EPWM_T::INTSTS0: CMPDIF3 Position */
  2734. #define EPWM_INTSTS0_CMPDIF3_Msk (0x1ul << EPWM_INTSTS0_CMPDIF3_Pos) /*!< EPWM_T::INTSTS0: CMPDIF3 Mask */
  2735. #define EPWM_INTSTS0_CMPDIF4_Pos (28) /*!< EPWM_T::INTSTS0: CMPDIF4 Position */
  2736. #define EPWM_INTSTS0_CMPDIF4_Msk (0x1ul << EPWM_INTSTS0_CMPDIF4_Pos) /*!< EPWM_T::INTSTS0: CMPDIF4 Mask */
  2737. #define EPWM_INTSTS0_CMPDIF5_Pos (29) /*!< EPWM_T::INTSTS0: CMPDIF5 Position */
  2738. #define EPWM_INTSTS0_CMPDIF5_Msk (0x1ul << EPWM_INTSTS0_CMPDIF5_Pos) /*!< EPWM_T::INTSTS0: CMPDIF5 Mask */
  2739. #define EPWM_INTSTS1_BRKEIF0_Pos (0) /*!< EPWM_T::INTSTS1: BRKEIF0 Position */
  2740. #define EPWM_INTSTS1_BRKEIF0_Msk (0x1ul << EPWM_INTSTS1_BRKEIF0_Pos) /*!< EPWM_T::INTSTS1: BRKEIF0 Mask */
  2741. #define EPWM_INTSTS1_BRKEIF1_Pos (1) /*!< EPWM_T::INTSTS1: BRKEIF1 Position */
  2742. #define EPWM_INTSTS1_BRKEIF1_Msk (0x1ul << EPWM_INTSTS1_BRKEIF1_Pos) /*!< EPWM_T::INTSTS1: BRKEIF1 Mask */
  2743. #define EPWM_INTSTS1_BRKEIF2_Pos (2) /*!< EPWM_T::INTSTS1: BRKEIF2 Position */
  2744. #define EPWM_INTSTS1_BRKEIF2_Msk (0x1ul << EPWM_INTSTS1_BRKEIF2_Pos) /*!< EPWM_T::INTSTS1: BRKEIF2 Mask */
  2745. #define EPWM_INTSTS1_BRKEIF3_Pos (3) /*!< EPWM_T::INTSTS1: BRKEIF3 Position */
  2746. #define EPWM_INTSTS1_BRKEIF3_Msk (0x1ul << EPWM_INTSTS1_BRKEIF3_Pos) /*!< EPWM_T::INTSTS1: BRKEIF3 Mask */
  2747. #define EPWM_INTSTS1_BRKEIF4_Pos (4) /*!< EPWM_T::INTSTS1: BRKEIF4 Position */
  2748. #define EPWM_INTSTS1_BRKEIF4_Msk (0x1ul << EPWM_INTSTS1_BRKEIF4_Pos) /*!< EPWM_T::INTSTS1: BRKEIF4 Mask */
  2749. #define EPWM_INTSTS1_BRKEIF5_Pos (5) /*!< EPWM_T::INTSTS1: BRKEIF5 Position */
  2750. #define EPWM_INTSTS1_BRKEIF5_Msk (0x1ul << EPWM_INTSTS1_BRKEIF5_Pos) /*!< EPWM_T::INTSTS1: BRKEIF5 Mask */
  2751. #define EPWM_INTSTS1_BRKLIF0_Pos (8) /*!< EPWM_T::INTSTS1: BRKLIF0 Position */
  2752. #define EPWM_INTSTS1_BRKLIF0_Msk (0x1ul << EPWM_INTSTS1_BRKLIF0_Pos) /*!< EPWM_T::INTSTS1: BRKLIF0 Mask */
  2753. #define EPWM_INTSTS1_BRKLIF1_Pos (9) /*!< EPWM_T::INTSTS1: BRKLIF1 Position */
  2754. #define EPWM_INTSTS1_BRKLIF1_Msk (0x1ul << EPWM_INTSTS1_BRKLIF1_Pos) /*!< EPWM_T::INTSTS1: BRKLIF1 Mask */
  2755. #define EPWM_INTSTS1_BRKLIF2_Pos (10) /*!< EPWM_T::INTSTS1: BRKLIF2 Position */
  2756. #define EPWM_INTSTS1_BRKLIF2_Msk (0x1ul << EPWM_INTSTS1_BRKLIF2_Pos) /*!< EPWM_T::INTSTS1: BRKLIF2 Mask */
  2757. #define EPWM_INTSTS1_BRKLIF3_Pos (11) /*!< EPWM_T::INTSTS1: BRKLIF3 Position */
  2758. #define EPWM_INTSTS1_BRKLIF3_Msk (0x1ul << EPWM_INTSTS1_BRKLIF3_Pos) /*!< EPWM_T::INTSTS1: BRKLIF3 Mask */
  2759. #define EPWM_INTSTS1_BRKLIF4_Pos (12) /*!< EPWM_T::INTSTS1: BRKLIF4 Position */
  2760. #define EPWM_INTSTS1_BRKLIF4_Msk (0x1ul << EPWM_INTSTS1_BRKLIF4_Pos) /*!< EPWM_T::INTSTS1: BRKLIF4 Mask */
  2761. #define EPWM_INTSTS1_BRKLIF5_Pos (13) /*!< EPWM_T::INTSTS1: BRKLIF5 Position */
  2762. #define EPWM_INTSTS1_BRKLIF5_Msk (0x1ul << EPWM_INTSTS1_BRKLIF5_Pos) /*!< EPWM_T::INTSTS1: BRKLIF5 Mask */
  2763. #define EPWM_INTSTS1_BRKESTS0_Pos (16) /*!< EPWM_T::INTSTS1: BRKESTS0 Position */
  2764. #define EPWM_INTSTS1_BRKESTS0_Msk (0x1ul << EPWM_INTSTS1_BRKESTS0_Pos) /*!< EPWM_T::INTSTS1: BRKESTS0 Mask */
  2765. #define EPWM_INTSTS1_BRKESTS1_Pos (17) /*!< EPWM_T::INTSTS1: BRKESTS1 Position */
  2766. #define EPWM_INTSTS1_BRKESTS1_Msk (0x1ul << EPWM_INTSTS1_BRKESTS1_Pos) /*!< EPWM_T::INTSTS1: BRKESTS1 Mask */
  2767. #define EPWM_INTSTS1_BRKESTS2_Pos (18) /*!< EPWM_T::INTSTS1: BRKESTS2 Position */
  2768. #define EPWM_INTSTS1_BRKESTS2_Msk (0x1ul << EPWM_INTSTS1_BRKESTS2_Pos) /*!< EPWM_T::INTSTS1: BRKESTS2 Mask */
  2769. #define EPWM_INTSTS1_BRKESTS3_Pos (19) /*!< EPWM_T::INTSTS1: BRKESTS3 Position */
  2770. #define EPWM_INTSTS1_BRKESTS3_Msk (0x1ul << EPWM_INTSTS1_BRKESTS3_Pos) /*!< EPWM_T::INTSTS1: BRKESTS3 Mask */
  2771. #define EPWM_INTSTS1_BRKESTS4_Pos (20) /*!< EPWM_T::INTSTS1: BRKESTS4 Position */
  2772. #define EPWM_INTSTS1_BRKESTS4_Msk (0x1ul << EPWM_INTSTS1_BRKESTS4_Pos) /*!< EPWM_T::INTSTS1: BRKESTS4 Mask */
  2773. #define EPWM_INTSTS1_BRKESTS5_Pos (21) /*!< EPWM_T::INTSTS1: BRKESTS5 Position */
  2774. #define EPWM_INTSTS1_BRKESTS5_Msk (0x1ul << EPWM_INTSTS1_BRKESTS5_Pos) /*!< EPWM_T::INTSTS1: BRKESTS5 Mask */
  2775. #define EPWM_INTSTS1_BRKLSTS0_Pos (24) /*!< EPWM_T::INTSTS1: BRKLSTS0 Position */
  2776. #define EPWM_INTSTS1_BRKLSTS0_Msk (0x1ul << EPWM_INTSTS1_BRKLSTS0_Pos) /*!< EPWM_T::INTSTS1: BRKLSTS0 Mask */
  2777. #define EPWM_INTSTS1_BRKLSTS1_Pos (25) /*!< EPWM_T::INTSTS1: BRKLSTS1 Position */
  2778. #define EPWM_INTSTS1_BRKLSTS1_Msk (0x1ul << EPWM_INTSTS1_BRKLSTS1_Pos) /*!< EPWM_T::INTSTS1: BRKLSTS1 Mask */
  2779. #define EPWM_INTSTS1_BRKLSTS2_Pos (26) /*!< EPWM_T::INTSTS1: BRKLSTS2 Position */
  2780. #define EPWM_INTSTS1_BRKLSTS2_Msk (0x1ul << EPWM_INTSTS1_BRKLSTS2_Pos) /*!< EPWM_T::INTSTS1: BRKLSTS2 Mask */
  2781. #define EPWM_INTSTS1_BRKLSTS3_Pos (27) /*!< EPWM_T::INTSTS1: BRKLSTS3 Position */
  2782. #define EPWM_INTSTS1_BRKLSTS3_Msk (0x1ul << EPWM_INTSTS1_BRKLSTS3_Pos) /*!< EPWM_T::INTSTS1: BRKLSTS3 Mask */
  2783. #define EPWM_INTSTS1_BRKLSTS4_Pos (28) /*!< EPWM_T::INTSTS1: BRKLSTS4 Position */
  2784. #define EPWM_INTSTS1_BRKLSTS4_Msk (0x1ul << EPWM_INTSTS1_BRKLSTS4_Pos) /*!< EPWM_T::INTSTS1: BRKLSTS4 Mask */
  2785. #define EPWM_INTSTS1_BRKLSTS5_Pos (29) /*!< EPWM_T::INTSTS1: BRKLSTS5 Position */
  2786. #define EPWM_INTSTS1_BRKLSTS5_Msk (0x1ul << EPWM_INTSTS1_BRKLSTS5_Pos) /*!< EPWM_T::INTSTS1: BRKLSTS5 Mask */
  2787. #define EPWM_DACTRGEN_ZTE0_Pos (0) /*!< EPWM_T::DACTRGEN: ZTE0 Position */
  2788. #define EPWM_DACTRGEN_ZTE0_Msk (0x1ul << EPWM_DACTRGEN_ZTE0_Pos) /*!< EPWM_T::DACTRGEN: ZTE0 Mask */
  2789. #define EPWM_DACTRGEN_ZTE1_Pos (1) /*!< EPWM_T::DACTRGEN: ZTE1 Position */
  2790. #define EPWM_DACTRGEN_ZTE1_Msk (0x1ul << EPWM_DACTRGEN_ZTE1_Pos) /*!< EPWM_T::DACTRGEN: ZTE1 Mask */
  2791. #define EPWM_DACTRGEN_ZTE2_Pos (2) /*!< EPWM_T::DACTRGEN: ZTE2 Position */
  2792. #define EPWM_DACTRGEN_ZTE2_Msk (0x1ul << EPWM_DACTRGEN_ZTE2_Pos) /*!< EPWM_T::DACTRGEN: ZTE2 Mask */
  2793. #define EPWM_DACTRGEN_ZTE3_Pos (3) /*!< EPWM_T::DACTRGEN: ZTE3 Position */
  2794. #define EPWM_DACTRGEN_ZTE3_Msk (0x1ul << EPWM_DACTRGEN_ZTE3_Pos) /*!< EPWM_T::DACTRGEN: ZTE3 Mask */
  2795. #define EPWM_DACTRGEN_ZTE4_Pos (4) /*!< EPWM_T::DACTRGEN: ZTE4 Position */
  2796. #define EPWM_DACTRGEN_ZTE4_Msk (0x1ul << EPWM_DACTRGEN_ZTE4_Pos) /*!< EPWM_T::DACTRGEN: ZTE4 Mask */
  2797. #define EPWM_DACTRGEN_ZTE5_Pos (5) /*!< EPWM_T::DACTRGEN: ZTE5 Position */
  2798. #define EPWM_DACTRGEN_ZTE5_Msk (0x1ul << EPWM_DACTRGEN_ZTE5_Pos) /*!< EPWM_T::DACTRGEN: ZTE5 Mask */
  2799. #define EPWM_DACTRGEN_PTE0_Pos (8) /*!< EPWM_T::DACTRGEN: PTE0 Position */
  2800. #define EPWM_DACTRGEN_PTE0_Msk (0x1ul << EPWM_DACTRGEN_PTE0_Pos) /*!< EPWM_T::DACTRGEN: PTE0 Mask */
  2801. #define EPWM_DACTRGEN_PTE1_Pos (9) /*!< EPWM_T::DACTRGEN: PTE1 Position */
  2802. #define EPWM_DACTRGEN_PTE1_Msk (0x1ul << EPWM_DACTRGEN_PTE1_Pos) /*!< EPWM_T::DACTRGEN: PTE1 Mask */
  2803. #define EPWM_DACTRGEN_PTE2_Pos (10) /*!< EPWM_T::DACTRGEN: PTE2 Position */
  2804. #define EPWM_DACTRGEN_PTE2_Msk (0x1ul << EPWM_DACTRGEN_PTE2_Pos) /*!< EPWM_T::DACTRGEN: PTE2 Mask */
  2805. #define EPWM_DACTRGEN_PTE3_Pos (11) /*!< EPWM_T::DACTRGEN: PTE3 Position */
  2806. #define EPWM_DACTRGEN_PTE3_Msk (0x1ul << EPWM_DACTRGEN_PTE3_Pos) /*!< EPWM_T::DACTRGEN: PTE3 Mask */
  2807. #define EPWM_DACTRGEN_PTE4_Pos (12) /*!< EPWM_T::DACTRGEN: PTE4 Position */
  2808. #define EPWM_DACTRGEN_PTE4_Msk (0x1ul << EPWM_DACTRGEN_PTE4_Pos) /*!< EPWM_T::DACTRGEN: PTE4 Mask */
  2809. #define EPWM_DACTRGEN_PTE5_Pos (13) /*!< EPWM_T::DACTRGEN: PTE5 Position */
  2810. #define EPWM_DACTRGEN_PTE5_Msk (0x1ul << EPWM_DACTRGEN_PTE5_Pos) /*!< EPWM_T::DACTRGEN: PTE5 Mask */
  2811. #define EPWM_DACTRGEN_CUTRGE0_Pos (16) /*!< EPWM_T::DACTRGEN: CUTRGE0 Position */
  2812. #define EPWM_DACTRGEN_CUTRGE0_Msk (0x1ul << EPWM_DACTRGEN_CUTRGE0_Pos) /*!< EPWM_T::DACTRGEN: CUTRGE0 Mask */
  2813. #define EPWM_DACTRGEN_CUTRGE1_Pos (17) /*!< EPWM_T::DACTRGEN: CUTRGE1 Position */
  2814. #define EPWM_DACTRGEN_CUTRGE1_Msk (0x1ul << EPWM_DACTRGEN_CUTRGE1_Pos) /*!< EPWM_T::DACTRGEN: CUTRGE1 Mask */
  2815. #define EPWM_DACTRGEN_CUTRGE2_Pos (18) /*!< EPWM_T::DACTRGEN: CUTRGE2 Position */
  2816. #define EPWM_DACTRGEN_CUTRGE2_Msk (0x1ul << EPWM_DACTRGEN_CUTRGE2_Pos) /*!< EPWM_T::DACTRGEN: CUTRGE2 Mask */
  2817. #define EPWM_DACTRGEN_CUTRGE3_Pos (19) /*!< EPWM_T::DACTRGEN: CUTRGE3 Position */
  2818. #define EPWM_DACTRGEN_CUTRGE3_Msk (0x1ul << EPWM_DACTRGEN_CUTRGE3_Pos) /*!< EPWM_T::DACTRGEN: CUTRGE3 Mask */
  2819. #define EPWM_DACTRGEN_CUTRGE4_Pos (20) /*!< EPWM_T::DACTRGEN: CUTRGE4 Position */
  2820. #define EPWM_DACTRGEN_CUTRGE4_Msk (0x1ul << EPWM_DACTRGEN_CUTRGE4_Pos) /*!< EPWM_T::DACTRGEN: CUTRGE4 Mask */
  2821. #define EPWM_DACTRGEN_CUTRGE5_Pos (21) /*!< EPWM_T::DACTRGEN: CUTRGE5 Position */
  2822. #define EPWM_DACTRGEN_CUTRGE5_Msk (0x1ul << EPWM_DACTRGEN_CUTRGE5_Pos) /*!< EPWM_T::DACTRGEN: CUTRGE5 Mask */
  2823. #define EPWM_DACTRGEN_CDTRGE0_Pos (24) /*!< EPWM_T::DACTRGEN: CDTRGE0 Position */
  2824. #define EPWM_DACTRGEN_CDTRGE0_Msk (0x1ul << EPWM_DACTRGEN_CDTRGE0_Pos) /*!< EPWM_T::DACTRGEN: CDTRGE0 Mask */
  2825. #define EPWM_DACTRGEN_CDTRGE1_Pos (25) /*!< EPWM_T::DACTRGEN: CDTRGE1 Position */
  2826. #define EPWM_DACTRGEN_CDTRGE1_Msk (0x1ul << EPWM_DACTRGEN_CDTRGE1_Pos) /*!< EPWM_T::DACTRGEN: CDTRGE1 Mask */
  2827. #define EPWM_DACTRGEN_CDTRGE2_Pos (26) /*!< EPWM_T::DACTRGEN: CDTRGE2 Position */
  2828. #define EPWM_DACTRGEN_CDTRGE2_Msk (0x1ul << EPWM_DACTRGEN_CDTRGE2_Pos) /*!< EPWM_T::DACTRGEN: CDTRGE2 Mask */
  2829. #define EPWM_DACTRGEN_CDTRGE3_Pos (27) /*!< EPWM_T::DACTRGEN: CDTRGE3 Position */
  2830. #define EPWM_DACTRGEN_CDTRGE3_Msk (0x1ul << EPWM_DACTRGEN_CDTRGE3_Pos) /*!< EPWM_T::DACTRGEN: CDTRGE3 Mask */
  2831. #define EPWM_DACTRGEN_CDTRGE4_Pos (28) /*!< EPWM_T::DACTRGEN: CDTRGE4 Position */
  2832. #define EPWM_DACTRGEN_CDTRGE4_Msk (0x1ul << EPWM_DACTRGEN_CDTRGE4_Pos) /*!< EPWM_T::DACTRGEN: CDTRGE4 Mask */
  2833. #define EPWM_DACTRGEN_CDTRGE5_Pos (29) /*!< EPWM_T::DACTRGEN: CDTRGE5 Position */
  2834. #define EPWM_DACTRGEN_CDTRGE5_Msk (0x1ul << EPWM_DACTRGEN_CDTRGE5_Pos) /*!< EPWM_T::DACTRGEN: CDTRGE5 Mask */
  2835. #define EPWM_EADCTS0_TRGSEL0_Pos (0) /*!< EPWM_T::EADCTS0: TRGSEL0 Position */
  2836. #define EPWM_EADCTS0_TRGSEL0_Msk (0xful << EPWM_EADCTS0_TRGSEL0_Pos) /*!< EPWM_T::EADCTS0: TRGSEL0 Mask */
  2837. #define EPWM_EADCTS0_TRGEN0_Pos (7) /*!< EPWM_T::EADCTS0: TRGEN0 Position */
  2838. #define EPWM_EADCTS0_TRGEN0_Msk (0x1ul << EPWM_EADCTS0_TRGEN0_Pos) /*!< EPWM_T::EADCTS0: TRGEN0 Mask */
  2839. #define EPWM_EADCTS0_TRGSEL1_Pos (8) /*!< EPWM_T::EADCTS0: TRGSEL1 Position */
  2840. #define EPWM_EADCTS0_TRGSEL1_Msk (0xful << EPWM_EADCTS0_TRGSEL1_Pos) /*!< EPWM_T::EADCTS0: TRGSEL1 Mask */
  2841. #define EPWM_EADCTS0_TRGEN1_Pos (15) /*!< EPWM_T::EADCTS0: TRGEN1 Position */
  2842. #define EPWM_EADCTS0_TRGEN1_Msk (0x1ul << EPWM_EADCTS0_TRGEN1_Pos) /*!< EPWM_T::EADCTS0: TRGEN1 Mask */
  2843. #define EPWM_EADCTS0_TRGSEL2_Pos (16) /*!< EPWM_T::EADCTS0: TRGSEL2 Position */
  2844. #define EPWM_EADCTS0_TRGSEL2_Msk (0xful << EPWM_EADCTS0_TRGSEL2_Pos) /*!< EPWM_T::EADCTS0: TRGSEL2 Mask */
  2845. #define EPWM_EADCTS0_TRGEN2_Pos (23) /*!< EPWM_T::EADCTS0: TRGEN2 Position */
  2846. #define EPWM_EADCTS0_TRGEN2_Msk (0x1ul << EPWM_EADCTS0_TRGEN2_Pos) /*!< EPWM_T::EADCTS0: TRGEN2 Mask */
  2847. #define EPWM_EADCTS0_TRGSEL3_Pos (24) /*!< EPWM_T::EADCTS0: TRGSEL3 Position */
  2848. #define EPWM_EADCTS0_TRGSEL3_Msk (0xful << EPWM_EADCTS0_TRGSEL3_Pos) /*!< EPWM_T::EADCTS0: TRGSEL3 Mask */
  2849. #define EPWM_EADCTS0_TRGEN3_Pos (31) /*!< EPWM_T::EADCTS0: TRGEN3 Position */
  2850. #define EPWM_EADCTS0_TRGEN3_Msk (0x1ul << EPWM_EADCTS0_TRGEN3_Pos) /*!< EPWM_T::EADCTS0: TRGEN3 Mask */
  2851. #define EPWM_EADCTS1_TRGSEL4_Pos (0) /*!< EPWM_T::EADCTS1: TRGSEL4 Position */
  2852. #define EPWM_EADCTS1_TRGSEL4_Msk (0xful << EPWM_EADCTS1_TRGSEL4_Pos) /*!< EPWM_T::EADCTS1: TRGSEL4 Mask */
  2853. #define EPWM_EADCTS1_TRGEN4_Pos (7) /*!< EPWM_T::EADCTS1: TRGEN4 Position */
  2854. #define EPWM_EADCTS1_TRGEN4_Msk (0x1ul << EPWM_EADCTS1_TRGEN4_Pos) /*!< EPWM_T::EADCTS1: TRGEN4 Mask */
  2855. #define EPWM_EADCTS1_TRGSEL5_Pos (8) /*!< EPWM_T::EADCTS1: TRGSEL5 Position */
  2856. #define EPWM_EADCTS1_TRGSEL5_Msk (0xful << EPWM_EADCTS1_TRGSEL5_Pos) /*!< EPWM_T::EADCTS1: TRGSEL5 Mask */
  2857. #define EPWM_EADCTS1_TRGEN5_Pos (15) /*!< EPWM_T::EADCTS1: TRGEN5 Position */
  2858. #define EPWM_EADCTS1_TRGEN5_Msk (0x1ul << EPWM_EADCTS1_TRGEN5_Pos) /*!< EPWM_T::EADCTS1: TRGEN5 Mask */
  2859. #define EPWM_FTCMPDAT0_1_FTCMP_Pos (0) /*!< EPWM_T::FTCMPDAT0_1: FTCMP Position */
  2860. #define EPWM_FTCMPDAT0_1_FTCMP_Msk (0xfffful << EPWM_FTCMPDAT0_1_FTCMP_Pos) /*!< EPWM_T::FTCMPDAT0_1: FTCMP Mask */
  2861. #define EPWM_FTCMPDAT2_3_FTCMP_Pos (0) /*!< EPWM_T::FTCMPDAT2_3: FTCMP Position */
  2862. #define EPWM_FTCMPDAT2_3_FTCMP_Msk (0xfffful << EPWM_FTCMPDAT2_3_FTCMP_Pos) /*!< EPWM_T::FTCMPDAT2_3: FTCMP Mask */
  2863. #define EPWM_FTCMPDAT4_5_FTCMP_Pos (0) /*!< EPWM_T::FTCMPDAT4_5: FTCMP Position */
  2864. #define EPWM_FTCMPDAT4_5_FTCMP_Msk (0xfffful << EPWM_FTCMPDAT4_5_FTCMP_Pos) /*!< EPWM_T::FTCMPDAT4_5: FTCMP Mask */
  2865. #define EPWM_SSCTL_SSEN0_Pos (0) /*!< EPWM_T::SSCTL: SSEN0 Position */
  2866. #define EPWM_SSCTL_SSEN0_Msk (0x1ul << EPWM_SSCTL_SSEN0_Pos) /*!< EPWM_T::SSCTL: SSEN0 Mask */
  2867. #define EPWM_SSCTL_SSEN1_Pos (1) /*!< EPWM_T::SSCTL: SSEN1 Position */
  2868. #define EPWM_SSCTL_SSEN1_Msk (0x1ul << EPWM_SSCTL_SSEN1_Pos) /*!< EPWM_T::SSCTL: SSEN1 Mask */
  2869. #define EPWM_SSCTL_SSEN2_Pos (2) /*!< EPWM_T::SSCTL: SSEN2 Position */
  2870. #define EPWM_SSCTL_SSEN2_Msk (0x1ul << EPWM_SSCTL_SSEN2_Pos) /*!< EPWM_T::SSCTL: SSEN2 Mask */
  2871. #define EPWM_SSCTL_SSEN3_Pos (3) /*!< EPWM_T::SSCTL: SSEN3 Position */
  2872. #define EPWM_SSCTL_SSEN3_Msk (0x1ul << EPWM_SSCTL_SSEN3_Pos) /*!< EPWM_T::SSCTL: SSEN3 Mask */
  2873. #define EPWM_SSCTL_SSEN4_Pos (4) /*!< EPWM_T::SSCTL: SSEN4 Position */
  2874. #define EPWM_SSCTL_SSEN4_Msk (0x1ul << EPWM_SSCTL_SSEN4_Pos) /*!< EPWM_T::SSCTL: SSEN4 Mask */
  2875. #define EPWM_SSCTL_SSEN5_Pos (5) /*!< EPWM_T::SSCTL: SSEN5 Position */
  2876. #define EPWM_SSCTL_SSEN5_Msk (0x1ul << EPWM_SSCTL_SSEN5_Pos) /*!< EPWM_T::SSCTL: SSEN5 Mask */
  2877. #define EPWM_SSCTL_SSRC_Pos (8) /*!< EPWM_T::SSCTL: SSRC Position */
  2878. #define EPWM_SSCTL_SSRC_Msk (0x3ul << EPWM_SSCTL_SSRC_Pos) /*!< EPWM_T::SSCTL: SSRC Mask */
  2879. #define EPWM_SSTRG_CNTSEN_Pos (0) /*!< EPWM_T::SSTRG: CNTSEN Position */
  2880. #define EPWM_SSTRG_CNTSEN_Msk (0x1ul << EPWM_SSTRG_CNTSEN_Pos) /*!< EPWM_T::SSTRG: CNTSEN Mask */
  2881. #define EPWM_LEBCTL_LEBEN_Pos (0) /*!< EPWM_T::LEBCTL: LEBEN Position */
  2882. #define EPWM_LEBCTL_LEBEN_Msk (0x1ul << EPWM_LEBCTL_LEBEN_Pos) /*!< EPWM_T::LEBCTL: LEBEN Mask */
  2883. #define EPWM_LEBCTL_SRCEN0_Pos (8) /*!< EPWM_T::LEBCTL: SRCEN0 Position */
  2884. #define EPWM_LEBCTL_SRCEN0_Msk (0x1ul << EPWM_LEBCTL_SRCEN0_Pos) /*!< EPWM_T::LEBCTL: SRCEN0 Mask */
  2885. #define EPWM_LEBCTL_SRCEN2_Pos (9) /*!< EPWM_T::LEBCTL: SRCEN2 Position */
  2886. #define EPWM_LEBCTL_SRCEN2_Msk (0x1ul << EPWM_LEBCTL_SRCEN2_Pos) /*!< EPWM_T::LEBCTL: SRCEN2 Mask */
  2887. #define EPWM_LEBCTL_SRCEN4_Pos (10) /*!< EPWM_T::LEBCTL: SRCEN4 Position */
  2888. #define EPWM_LEBCTL_SRCEN4_Msk (0x1ul << EPWM_LEBCTL_SRCEN4_Pos) /*!< EPWM_T::LEBCTL: SRCEN4 Mask */
  2889. #define EPWM_LEBCTL_TRGTYPE_Pos (16) /*!< EPWM_T::LEBCTL: TRGTYPE Position */
  2890. #define EPWM_LEBCTL_TRGTYPE_Msk (0x3ul << EPWM_LEBCTL_TRGTYPE_Pos) /*!< EPWM_T::LEBCTL: TRGTYPE Mask */
  2891. #define EPWM_LEBCNT_LEBCNT_Pos (0) /*!< EPWM_T::LEBCNT: LEBCNT Position */
  2892. #define EPWM_LEBCNT_LEBCNT_Msk (0x1fful << EPWM_LEBCNT_LEBCNT_Pos) /*!< EPWM_T::LEBCNT: LEBCNT Mask */
  2893. #define EPWM_STATUS_CNTMAXF0_Pos (0) /*!< EPWM_T::STATUS: CNTMAXF0 Position */
  2894. #define EPWM_STATUS_CNTMAXF0_Msk (0x1ul << EPWM_STATUS_CNTMAXF0_Pos) /*!< EPWM_T::STATUS: CNTMAXF0 Mask */
  2895. #define EPWM_STATUS_CNTMAXF1_Pos (1) /*!< EPWM_T::STATUS: CNTMAXF1 Position */
  2896. #define EPWM_STATUS_CNTMAXF1_Msk (0x1ul << EPWM_STATUS_CNTMAXF1_Pos) /*!< EPWM_T::STATUS: CNTMAXF1 Mask */
  2897. #define EPWM_STATUS_CNTMAXF2_Pos (2) /*!< EPWM_T::STATUS: CNTMAXF2 Position */
  2898. #define EPWM_STATUS_CNTMAXF2_Msk (0x1ul << EPWM_STATUS_CNTMAXF2_Pos) /*!< EPWM_T::STATUS: CNTMAXF2 Mask */
  2899. #define EPWM_STATUS_CNTMAXF3_Pos (3) /*!< EPWM_T::STATUS: CNTMAXF3 Position */
  2900. #define EPWM_STATUS_CNTMAXF3_Msk (0x1ul << EPWM_STATUS_CNTMAXF3_Pos) /*!< EPWM_T::STATUS: CNTMAXF3 Mask */
  2901. #define EPWM_STATUS_CNTMAXF4_Pos (4) /*!< EPWM_T::STATUS: CNTMAXF4 Position */
  2902. #define EPWM_STATUS_CNTMAXF4_Msk (0x1ul << EPWM_STATUS_CNTMAXF4_Pos) /*!< EPWM_T::STATUS: CNTMAXF4 Mask */
  2903. #define EPWM_STATUS_CNTMAXF5_Pos (5) /*!< EPWM_T::STATUS: CNTMAXF5 Position */
  2904. #define EPWM_STATUS_CNTMAXF5_Msk (0x1ul << EPWM_STATUS_CNTMAXF5_Pos) /*!< EPWM_T::STATUS: CNTMAXF5 Mask */
  2905. #define EPWM_STATUS_SYNCINF0_Pos (8) /*!< EPWM_T::STATUS: SYNCINF0 Position */
  2906. #define EPWM_STATUS_SYNCINF0_Msk (0x1ul << EPWM_STATUS_SYNCINF0_Pos) /*!< EPWM_T::STATUS: SYNCINF0 Mask */
  2907. #define EPWM_STATUS_SYNCINF2_Pos (9) /*!< EPWM_T::STATUS: SYNCINF2 Position */
  2908. #define EPWM_STATUS_SYNCINF2_Msk (0x1ul << EPWM_STATUS_SYNCINF2_Pos) /*!< EPWM_T::STATUS: SYNCINF2 Mask */
  2909. #define EPWM_STATUS_SYNCINF4_Pos (10) /*!< EPWM_T::STATUS: SYNCINF4 Position */
  2910. #define EPWM_STATUS_SYNCINF4_Msk (0x1ul << EPWM_STATUS_SYNCINF4_Pos) /*!< EPWM_T::STATUS: SYNCINF4 Mask */
  2911. #define EPWM_STATUS_EADCTRGF0_Pos (16) /*!< EPWM_T::STATUS: EADCTRGF0 Position */
  2912. #define EPWM_STATUS_EADCTRGF0_Msk (0x1ul << EPWM_STATUS_EADCTRGF0_Pos) /*!< EPWM_T::STATUS: EADCTRGF0 Mask */
  2913. #define EPWM_STATUS_EADCTRGF1_Pos (17) /*!< EPWM_T::STATUS: EADCTRGF1 Position */
  2914. #define EPWM_STATUS_EADCTRGF1_Msk (0x1ul << EPWM_STATUS_EADCTRGF1_Pos) /*!< EPWM_T::STATUS: EADCTRGF1 Mask */
  2915. #define EPWM_STATUS_EADCTRGF2_Pos (18) /*!< EPWM_T::STATUS: EADCTRGF2 Position */
  2916. #define EPWM_STATUS_EADCTRGF2_Msk (0x1ul << EPWM_STATUS_EADCTRGF2_Pos) /*!< EPWM_T::STATUS: EADCTRGF2 Mask */
  2917. #define EPWM_STATUS_EADCTRGF3_Pos (19) /*!< EPWM_T::STATUS: EADCTRGF3 Position */
  2918. #define EPWM_STATUS_EADCTRGF3_Msk (0x1ul << EPWM_STATUS_EADCTRGF3_Pos) /*!< EPWM_T::STATUS: EADCTRGF3 Mask */
  2919. #define EPWM_STATUS_EADCTRGF4_Pos (20) /*!< EPWM_T::STATUS: EADCTRGF4 Position */
  2920. #define EPWM_STATUS_EADCTRGF4_Msk (0x1ul << EPWM_STATUS_EADCTRGF4_Pos) /*!< EPWM_T::STATUS: EADCTRGF4 Mask */
  2921. #define EPWM_STATUS_EADCTRGF5_Pos (21) /*!< EPWM_T::STATUS: EADCTRGF5 Position */
  2922. #define EPWM_STATUS_EADCTRGF5_Msk (0x1ul << EPWM_STATUS_EADCTRGF5_Pos) /*!< EPWM_T::STATUS: EADCTRGF5 Mask */
  2923. #define EPWM_STATUS_DACTRGF_Pos (24) /*!< EPWM_T::STATUS: DACTRGF Position */
  2924. #define EPWM_STATUS_DACTRGF_Msk (0x1ul << EPWM_STATUS_DACTRGF_Pos) /*!< EPWM_T::STATUS: DACTRGF Mask */
  2925. #define EPWM_IFA0_IFACNT_Pos (0) /*!< EPWM_T::IFA0: IFACNT Position */
  2926. #define EPWM_IFA0_IFACNT_Msk (0xfffful << EPWM_IFA0_IFACNT_Pos) /*!< EPWM_T::IFA0: IFACNT Mask */
  2927. #define EPWM_IFA0_STPMOD_Pos (24) /*!< EPWM_T::IFA0: STPMOD Position */
  2928. #define EPWM_IFA0_STPMOD_Msk (0x1ul << EPWM_IFA0_STPMOD_Pos) /*!< EPWM_T::IFA0: STPMOD Mask */
  2929. #define EPWM_IFA0_IFASEL_Pos (28) /*!< EPWM_T::IFA0: IFASEL Position */
  2930. #define EPWM_IFA0_IFASEL_Msk (0x3ul << EPWM_IFA0_IFASEL_Pos) /*!< EPWM_T::IFA0: IFASEL Mask */
  2931. #define EPWM_IFA0_IFAEN_Pos (31) /*!< EPWM_T::IFA0: IFAEN Position */
  2932. #define EPWM_IFA0_IFAEN_Msk (0x1ul << EPWM_IFA0_IFAEN_Pos) /*!< EPWM_T::IFA0: IFAEN Mask */
  2933. #define EPWM_IFA1_IFACNT_Pos (0) /*!< EPWM_T::IFA1: IFACNT Position */
  2934. #define EPWM_IFA1_IFACNT_Msk (0xfffful << EPWM_IFA1_IFACNT_Pos) /*!< EPWM_T::IFA1: IFACNT Mask */
  2935. #define EPWM_IFA1_STPMOD_Pos (24) /*!< EPWM_T::IFA1: STPMOD Position */
  2936. #define EPWM_IFA1_STPMOD_Msk (0x1ul << EPWM_IFA1_STPMOD_Pos) /*!< EPWM_T::IFA1: STPMOD Mask */
  2937. #define EPWM_IFA1_IFASEL_Pos (28) /*!< EPWM_T::IFA1: IFASEL Position */
  2938. #define EPWM_IFA1_IFASEL_Msk (0x3ul << EPWM_IFA1_IFASEL_Pos) /*!< EPWM_T::IFA1: IFASEL Mask */
  2939. #define EPWM_IFA1_IFAEN_Pos (31) /*!< EPWM_T::IFA1: IFAEN Position */
  2940. #define EPWM_IFA1_IFAEN_Msk (0x1ul << EPWM_IFA1_IFAEN_Pos) /*!< EPWM_T::IFA1: IFAEN Mask */
  2941. #define EPWM_IFA2_IFACNT_Pos (0) /*!< EPWM_T::IFA2: IFACNT Position */
  2942. #define EPWM_IFA2_IFACNT_Msk (0xfffful << EPWM_IFA2_IFACNT_Pos) /*!< EPWM_T::IFA2: IFACNT Mask */
  2943. #define EPWM_IFA2_STPMOD_Pos (24) /*!< EPWM_T::IFA2: STPMOD Position */
  2944. #define EPWM_IFA2_STPMOD_Msk (0x1ul << EPWM_IFA2_STPMOD_Pos) /*!< EPWM_T::IFA2: STPMOD Mask */
  2945. #define EPWM_IFA2_IFASEL_Pos (28) /*!< EPWM_T::IFA2: IFASEL Position */
  2946. #define EPWM_IFA2_IFASEL_Msk (0x3ul << EPWM_IFA2_IFASEL_Pos) /*!< EPWM_T::IFA2: IFASEL Mask */
  2947. #define EPWM_IFA2_IFAEN_Pos (31) /*!< EPWM_T::IFA2: IFAEN Position */
  2948. #define EPWM_IFA2_IFAEN_Msk (0x1ul << EPWM_IFA2_IFAEN_Pos) /*!< EPWM_T::IFA2: IFAEN Mask */
  2949. #define EPWM_IFA3_IFACNT_Pos (0) /*!< EPWM_T::IFA3: IFACNT Position */
  2950. #define EPWM_IFA3_IFACNT_Msk (0xfffful << EPWM_IFA3_IFACNT_Pos) /*!< EPWM_T::IFA3: IFACNT Mask */
  2951. #define EPWM_IFA3_STPMOD_Pos (24) /*!< EPWM_T::IFA3: STPMOD Position */
  2952. #define EPWM_IFA3_STPMOD_Msk (0x1ul << EPWM_IFA3_STPMOD_Pos) /*!< EPWM_T::IFA3: STPMOD Mask */
  2953. #define EPWM_IFA3_IFASEL_Pos (28) /*!< EPWM_T::IFA3: IFASEL Position */
  2954. #define EPWM_IFA3_IFASEL_Msk (0x3ul << EPWM_IFA3_IFASEL_Pos) /*!< EPWM_T::IFA3: IFASEL Mask */
  2955. #define EPWM_IFA3_IFAEN_Pos (31) /*!< EPWM_T::IFA3: IFAEN Position */
  2956. #define EPWM_IFA3_IFAEN_Msk (0x1ul << EPWM_IFA3_IFAEN_Pos) /*!< EPWM_T::IFA3: IFAEN Mask */
  2957. #define EPWM_IFA4_IFACNT_Pos (0) /*!< EPWM_T::IFA4: IFACNT Position */
  2958. #define EPWM_IFA4_IFACNT_Msk (0xfffful << EPWM_IFA4_IFACNT_Pos) /*!< EPWM_T::IFA4: IFACNT Mask */
  2959. #define EPWM_IFA4_STPMOD_Pos (24) /*!< EPWM_T::IFA4: STPMOD Position */
  2960. #define EPWM_IFA4_STPMOD_Msk (0x1ul << EPWM_IFA4_STPMOD_Pos) /*!< EPWM_T::IFA4: STPMOD Mask */
  2961. #define EPWM_IFA4_IFASEL_Pos (28) /*!< EPWM_T::IFA4: IFASEL Position */
  2962. #define EPWM_IFA4_IFASEL_Msk (0x3ul << EPWM_IFA4_IFASEL_Pos) /*!< EPWM_T::IFA4: IFASEL Mask */
  2963. #define EPWM_IFA4_IFAEN_Pos (31) /*!< EPWM_T::IFA4: IFAEN Position */
  2964. #define EPWM_IFA4_IFAEN_Msk (0x1ul << EPWM_IFA4_IFAEN_Pos) /*!< EPWM_T::IFA4: IFAEN Mask */
  2965. #define EPWM_IFA5_IFACNT_Pos (0) /*!< EPWM_T::IFA5: IFACNT Position */
  2966. #define EPWM_IFA5_IFACNT_Msk (0xfffful << EPWM_IFA5_IFACNT_Pos) /*!< EPWM_T::IFA5: IFACNT Mask */
  2967. #define EPWM_IFA5_STPMOD_Pos (24) /*!< EPWM_T::IFA5: STPMOD Position */
  2968. #define EPWM_IFA5_STPMOD_Msk (0x1ul << EPWM_IFA5_STPMOD_Pos) /*!< EPWM_T::IFA5: STPMOD Mask */
  2969. #define EPWM_IFA5_IFASEL_Pos (28) /*!< EPWM_T::IFA5: IFASEL Position */
  2970. #define EPWM_IFA5_IFASEL_Msk (0x3ul << EPWM_IFA5_IFASEL_Pos) /*!< EPWM_T::IFA5: IFASEL Mask */
  2971. #define EPWM_IFA5_IFAEN_Pos (31) /*!< EPWM_T::IFA5: IFAEN Position */
  2972. #define EPWM_IFA5_IFAEN_Msk (0x1ul << EPWM_IFA5_IFAEN_Pos) /*!< EPWM_T::IFA5: IFAEN Mask */
  2973. #define EPWM_AINTSTS_IFAIF0_Pos (0) /*!< EPWM_T::AINTSTS: IFAIF0 Position */
  2974. #define EPWM_AINTSTS_IFAIF0_Msk (0x1ul << EPWM_AINTSTS_IFAIF0_Pos) /*!< EPWM_T::AINTSTS: IFAIF0 Mask */
  2975. #define EPWM_AINTSTS_IFAIF1_Pos (1) /*!< EPWM_T::AINTSTS: IFAIF1 Position */
  2976. #define EPWM_AINTSTS_IFAIF1_Msk (0x1ul << EPWM_AINTSTS_IFAIF1_Pos) /*!< EPWM_T::AINTSTS: IFAIF1 Mask */
  2977. #define EPWM_AINTSTS_IFAIF2_Pos (2) /*!< EPWM_T::AINTSTS: IFAIF2 Position */
  2978. #define EPWM_AINTSTS_IFAIF2_Msk (0x1ul << EPWM_AINTSTS_IFAIF2_Pos) /*!< EPWM_T::AINTSTS: IFAIF2 Mask */
  2979. #define EPWM_AINTSTS_IFAIF3_Pos (3) /*!< EPWM_T::AINTSTS: IFAIF3 Position */
  2980. #define EPWM_AINTSTS_IFAIF3_Msk (0x1ul << EPWM_AINTSTS_IFAIF3_Pos) /*!< EPWM_T::AINTSTS: IFAIF3 Mask */
  2981. #define EPWM_AINTSTS_IFAIF4_Pos (4) /*!< EPWM_T::AINTSTS: IFAIF4 Position */
  2982. #define EPWM_AINTSTS_IFAIF4_Msk (0x1ul << EPWM_AINTSTS_IFAIF4_Pos) /*!< EPWM_T::AINTSTS: IFAIF4 Mask */
  2983. #define EPWM_AINTSTS_IFAIF5_Pos (5) /*!< EPWM_T::AINTSTS: IFAIF5 Position */
  2984. #define EPWM_AINTSTS_IFAIF5_Msk (0x1ul << EPWM_AINTSTS_IFAIF5_Pos) /*!< EPWM_T::AINTSTS: IFAIF5 Mask */
  2985. #define EPWM_AINTEN_IFAIEN0_Pos (0) /*!< EPWM_T::AINTEN: IFAIEN0 Position */
  2986. #define EPWM_AINTEN_IFAIEN0_Msk (0x1ul << EPWM_AINTEN_IFAIEN0_Pos) /*!< EPWM_T::AINTEN: IFAIEN0 Mask */
  2987. #define EPWM_AINTEN_IFAIEN1_Pos (1) /*!< EPWM_T::AINTEN: IFAIEN1 Position */
  2988. #define EPWM_AINTEN_IFAIEN1_Msk (0x1ul << EPWM_AINTEN_IFAIEN1_Pos) /*!< EPWM_T::AINTEN: IFAIEN1 Mask */
  2989. #define EPWM_AINTEN_IFAIEN2_Pos (2) /*!< EPWM_T::AINTEN: IFAIEN2 Position */
  2990. #define EPWM_AINTEN_IFAIEN2_Msk (0x1ul << EPWM_AINTEN_IFAIEN2_Pos) /*!< EPWM_T::AINTEN: IFAIEN2 Mask */
  2991. #define EPWM_AINTEN_IFAIEN3_Pos (3) /*!< EPWM_T::AINTEN: IFAIEN3 Position */
  2992. #define EPWM_AINTEN_IFAIEN3_Msk (0x1ul << EPWM_AINTEN_IFAIEN3_Pos) /*!< EPWM_T::AINTEN: IFAIEN3 Mask */
  2993. #define EPWM_AINTEN_IFAIEN4_Pos (4) /*!< EPWM_T::AINTEN: IFAIEN4 Position */
  2994. #define EPWM_AINTEN_IFAIEN4_Msk (0x1ul << EPWM_AINTEN_IFAIEN4_Pos) /*!< EPWM_T::AINTEN: IFAIEN4 Mask */
  2995. #define EPWM_AINTEN_IFAIEN5_Pos (5) /*!< EPWM_T::AINTEN: IFAIEN5 Position */
  2996. #define EPWM_AINTEN_IFAIEN5_Msk (0x1ul << EPWM_AINTEN_IFAIEN5_Pos) /*!< EPWM_T::AINTEN: IFAIEN5 Mask */
  2997. #define EPWM_APDMACTL_APDMAEN0_Pos (0) /*!< EPWM_T::APDMACTL: APDMAEN0 Position */
  2998. #define EPWM_APDMACTL_APDMAEN0_Msk (0x1ul << EPWM_APDMACTL_APDMAEN0_Pos) /*!< EPWM_T::APDMACTL: APDMAEN0 Mask */
  2999. #define EPWM_APDMACTL_APDMAEN1_Pos (1) /*!< EPWM_T::APDMACTL: APDMAEN1 Position */
  3000. #define EPWM_APDMACTL_APDMAEN1_Msk (0x1ul << EPWM_APDMACTL_APDMAEN1_Pos) /*!< EPWM_T::APDMACTL: APDMAEN1 Mask */
  3001. #define EPWM_APDMACTL_APDMAEN2_Pos (2) /*!< EPWM_T::APDMACTL: APDMAEN2 Position */
  3002. #define EPWM_APDMACTL_APDMAEN2_Msk (0x1ul << EPWM_APDMACTL_APDMAEN2_Pos) /*!< EPWM_T::APDMACTL: APDMAEN2 Mask */
  3003. #define EPWM_APDMACTL_APDMAEN3_Pos (3) /*!< EPWM_T::APDMACTL: APDMAEN3 Position */
  3004. #define EPWM_APDMACTL_APDMAEN3_Msk (0x1ul << EPWM_APDMACTL_APDMAEN3_Pos) /*!< EPWM_T::APDMACTL: APDMAEN3 Mask */
  3005. #define EPWM_APDMACTL_APDMAEN4_Pos (4) /*!< EPWM_T::APDMACTL: APDMAEN4 Position */
  3006. #define EPWM_APDMACTL_APDMAEN4_Msk (0x1ul << EPWM_APDMACTL_APDMAEN4_Pos) /*!< EPWM_T::APDMACTL: APDMAEN4 Mask */
  3007. #define EPWM_APDMACTL_APDMAEN5_Pos (5) /*!< EPWM_T::APDMACTL: APDMAEN5 Position */
  3008. #define EPWM_APDMACTL_APDMAEN5_Msk (0x1ul << EPWM_APDMACTL_APDMAEN5_Pos) /*!< EPWM_T::APDMACTL: APDMAEN5 Mask */
  3009. #define EPWM_FDEN_FDEN0_Pos (0) /*!< EPWM_T::FDEN: FDEN0 Position */
  3010. #define EPWM_FDEN_FDEN0_Msk (0x1ul << EPWM_FDEN_FDEN0_Pos) /*!< EPWM_T::FDEN: FDEN0 Mask */
  3011. #define EPWM_FDEN_FDEN1_Pos (1) /*!< EPWM_T::FDEN: FDEN1 Position */
  3012. #define EPWM_FDEN_FDEN1_Msk (0x1ul << EPWM_FDEN_FDEN1_Pos) /*!< EPWM_T::FDEN: FDEN1 Mask */
  3013. #define EPWM_FDEN_FDEN2_Pos (2) /*!< EPWM_T::FDEN: FDEN2 Position */
  3014. #define EPWM_FDEN_FDEN2_Msk (0x1ul << EPWM_FDEN_FDEN2_Pos) /*!< EPWM_T::FDEN: FDEN2 Mask */
  3015. #define EPWM_FDEN_FDEN3_Pos (3) /*!< EPWM_T::FDEN: FDEN3 Position */
  3016. #define EPWM_FDEN_FDEN3_Msk (0x1ul << EPWM_FDEN_FDEN3_Pos) /*!< EPWM_T::FDEN: FDEN3 Mask */
  3017. #define EPWM_FDEN_FDEN4_Pos (4) /*!< EPWM_T::FDEN: FDEN4 Position */
  3018. #define EPWM_FDEN_FDEN4_Msk (0x1ul << EPWM_FDEN_FDEN4_Pos) /*!< EPWM_T::FDEN: FDEN4 Mask */
  3019. #define EPWM_FDEN_FDEN5_Pos (5) /*!< EPWM_T::FDEN: FDEN5 Position */
  3020. #define EPWM_FDEN_FDEN5_Msk (0x1ul << EPWM_FDEN_FDEN5_Pos) /*!< EPWM_T::FDEN: FDEN5 Mask */
  3021. #define EPWM_FDEN_FDODIS0_Pos (8) /*!< EPWM_T::FDEN: FDODIS0 Position */
  3022. #define EPWM_FDEN_FDODIS0_Msk (0x1ul << EPWM_FDEN_FDODIS0_Pos) /*!< EPWM_T::FDEN: FDODIS0 Mask */
  3023. #define EPWM_FDEN_FDODIS1_Pos (9) /*!< EPWM_T::FDEN: FDODIS1 Position */
  3024. #define EPWM_FDEN_FDODIS1_Msk (0x1ul << EPWM_FDEN_FDODIS1_Pos) /*!< EPWM_T::FDEN: FDODIS1 Mask */
  3025. #define EPWM_FDEN_FDODIS2_Pos (10) /*!< EPWM_T::FDEN: FDODIS2 Position */
  3026. #define EPWM_FDEN_FDODIS2_Msk (0x1ul << EPWM_FDEN_FDODIS2_Pos) /*!< EPWM_T::FDEN: FDODIS2 Mask */
  3027. #define EPWM_FDEN_FDODIS3_Pos (11) /*!< EPWM_T::FDEN: FDODIS3 Position */
  3028. #define EPWM_FDEN_FDODIS3_Msk (0x1ul << EPWM_FDEN_FDODIS3_Pos) /*!< EPWM_T::FDEN: FDODIS3 Mask */
  3029. #define EPWM_FDEN_FDODIS4_Pos (12) /*!< EPWM_T::FDEN: FDODIS4 Position */
  3030. #define EPWM_FDEN_FDODIS4_Msk (0x1ul << EPWM_FDEN_FDODIS4_Pos) /*!< EPWM_T::FDEN: FDODIS4 Mask */
  3031. #define EPWM_FDEN_FDODIS5_Pos (13) /*!< EPWM_T::FDEN: FDODIS5 Position */
  3032. #define EPWM_FDEN_FDODIS5_Msk (0x1ul << EPWM_FDEN_FDODIS5_Pos) /*!< EPWM_T::FDEN: FDODIS5 Mask */
  3033. #define EPWM_FDEN_FDCKS0_Pos (16) /*!< EPWM_T::FDEN: FDCKS0 Position */
  3034. #define EPWM_FDEN_FDCKS0_Msk (0x1ul << EPWM_FDEN_FDCKS0_Pos) /*!< EPWM_T::FDEN: FDCKS0 Mask */
  3035. #define EPWM_FDEN_FDCKS1_Pos (17) /*!< EPWM_T::FDEN: FDCKS1 Position */
  3036. #define EPWM_FDEN_FDCKS1_Msk (0x1ul << EPWM_FDEN_FDCKS1_Pos) /*!< EPWM_T::FDEN: FDCKS1 Mask */
  3037. #define EPWM_FDEN_FDCKS2_Pos (18) /*!< EPWM_T::FDEN: FDCKS2 Position */
  3038. #define EPWM_FDEN_FDCKS2_Msk (0x1ul << EPWM_FDEN_FDCKS2_Pos) /*!< EPWM_T::FDEN: FDCKS2 Mask */
  3039. #define EPWM_FDEN_FDCKS3_Pos (19) /*!< EPWM_T::FDEN: FDCKS3 Position */
  3040. #define EPWM_FDEN_FDCKS3_Msk (0x1ul << EPWM_FDEN_FDCKS3_Pos) /*!< EPWM_T::FDEN: FDCKS3 Mask */
  3041. #define EPWM_FDEN_FDCKS4_Pos (20) /*!< EPWM_T::FDEN: FDCKS4 Position */
  3042. #define EPWM_FDEN_FDCKS4_Msk (0x1ul << EPWM_FDEN_FDCKS4_Pos) /*!< EPWM_T::FDEN: FDCKS4 Mask */
  3043. #define EPWM_FDEN_FDCKS5_Pos (21) /*!< EPWM_T::FDEN: FDCKS5 Position */
  3044. #define EPWM_FDEN_FDCKS5_Msk (0x1ul << EPWM_FDEN_FDCKS5_Pos) /*!< EPWM_T::FDEN: FDCKS5 Mask */
  3045. #define EPWM_FDCTL0_TRMSKCNT_Pos (0) /*!< EPWM_T::FDCTL0: TRMSKCNT Position */
  3046. #define EPWM_FDCTL0_TRMSKCNT_Msk (0x7ful << EPWM_FDCTL0_TRMSKCNT_Pos) /*!< EPWM_T::FDCTL0: TRMSKCNT Mask */
  3047. #define EPWM_FDCTL0_FDMSKEN_Pos (15) /*!< EPWM_T::FDCTL0: FDMSKEN Position */
  3048. #define EPWM_FDCTL0_FDMSKEN_Msk (0x1ul << EPWM_FDCTL0_FDMSKEN_Pos) /*!< EPWM_T::FDCTL0: FDMSKEN Mask */
  3049. #define EPWM_FDCTL0_DGSMPCYC_Pos (16) /*!< EPWM_T::FDCTL0: DGSMPCYC Position */
  3050. #define EPWM_FDCTL0_DGSMPCYC_Msk (0x7ul << EPWM_FDCTL0_DGSMPCYC_Pos) /*!< EPWM_T::FDCTL0: DGSMPCYC Mask */
  3051. #define EPWM_FDCTL0_FDCKSEL_Pos (28) /*!< EPWM_T::FDCTL0: FDCKSEL Position */
  3052. #define EPWM_FDCTL0_FDCKSEL_Msk (0x3ul << EPWM_FDCTL0_FDCKSEL_Pos) /*!< EPWM_T::FDCTL0: FDCKSEL Mask */
  3053. #define EPWM_FDCTL0_FDDGEN_Pos (31) /*!< EPWM_T::FDCTL0: FDDGEN Position */
  3054. #define EPWM_FDCTL0_FDDGEN_Msk (0x1ul << EPWM_FDCTL0_FDDGEN_Pos) /*!< EPWM_T::FDCTL0: FDDGEN Mask */
  3055. #define EPWM_FDCTL1_TRMSKCNT_Pos (0) /*!< EPWM_T::FDCTL1: TRMSKCNT Position */
  3056. #define EPWM_FDCTL1_TRMSKCNT_Msk (0x7ful << EPWM_FDCTL1_TRMSKCNT_Pos) /*!< EPWM_T::FDCTL1: TRMSKCNT Mask */
  3057. #define EPWM_FDCTL1_FDMSKEN_Pos (15) /*!< EPWM_T::FDCTL1: FDMSKEN Position */
  3058. #define EPWM_FDCTL1_FDMSKEN_Msk (0x1ul << EPWM_FDCTL1_FDMSKEN_Pos) /*!< EPWM_T::FDCTL1: FDMSKEN Mask */
  3059. #define EPWM_FDCTL1_DGSMPCYC_Pos (16) /*!< EPWM_T::FDCTL1: DGSMPCYC Position */
  3060. #define EPWM_FDCTL1_DGSMPCYC_Msk (0x7ul << EPWM_FDCTL1_DGSMPCYC_Pos) /*!< EPWM_T::FDCTL1: DGSMPCYC Mask */
  3061. #define EPWM_FDCTL1_FDCKSEL_Pos (28) /*!< EPWM_T::FDCTL1: FDCKSEL Position */
  3062. #define EPWM_FDCTL1_FDCKSEL_Msk (0x3ul << EPWM_FDCTL1_FDCKSEL_Pos) /*!< EPWM_T::FDCTL1: FDCKSEL Mask */
  3063. #define EPWM_FDCTL1_FDDGEN_Pos (31) /*!< EPWM_T::FDCTL1: FDDGEN Position */
  3064. #define EPWM_FDCTL1_FDDGEN_Msk (0x1ul << EPWM_FDCTL1_FDDGEN_Pos) /*!< EPWM_T::FDCTL1: FDDGEN Mask */
  3065. #define EPWM_FDCTL2_TRMSKCNT_Pos (0) /*!< EPWM_T::FDCTL2: TRMSKCNT Position */
  3066. #define EPWM_FDCTL2_TRMSKCNT_Msk (0x7ful << EPWM_FDCTL2_TRMSKCNT_Pos) /*!< EPWM_T::FDCTL2: TRMSKCNT Mask */
  3067. #define EPWM_FDCTL2_FDMSKEN_Pos (15) /*!< EPWM_T::FDCTL2: FDMSKEN Position */
  3068. #define EPWM_FDCTL2_FDMSKEN_Msk (0x1ul << EPWM_FDCTL2_FDMSKEN_Pos) /*!< EPWM_T::FDCTL2: FDMSKEN Mask */
  3069. #define EPWM_FDCTL2_DGSMPCYC_Pos (16) /*!< EPWM_T::FDCTL2: DGSMPCYC Position */
  3070. #define EPWM_FDCTL2_DGSMPCYC_Msk (0x7ul << EPWM_FDCTL2_DGSMPCYC_Pos) /*!< EPWM_T::FDCTL2: DGSMPCYC Mask */
  3071. #define EPWM_FDCTL2_FDCKSEL_Pos (28) /*!< EPWM_T::FDCTL2: FDCKSEL Position */
  3072. #define EPWM_FDCTL2_FDCKSEL_Msk (0x3ul << EPWM_FDCTL2_FDCKSEL_Pos) /*!< EPWM_T::FDCTL2: FDCKSEL Mask */
  3073. #define EPWM_FDCTL2_FDDGEN_Pos (31) /*!< EPWM_T::FDCTL2: FDDGEN Position */
  3074. #define EPWM_FDCTL2_FDDGEN_Msk (0x1ul << EPWM_FDCTL2_FDDGEN_Pos) /*!< EPWM_T::FDCTL2: FDDGEN Mask */
  3075. #define EPWM_FDCTL3_TRMSKCNT_Pos (0) /*!< EPWM_T::FDCTL3: TRMSKCNT Position */
  3076. #define EPWM_FDCTL3_TRMSKCNT_Msk (0x7ful << EPWM_FDCTL3_TRMSKCNT_Pos) /*!< EPWM_T::FDCTL3: TRMSKCNT Mask */
  3077. #define EPWM_FDCTL3_FDMSKEN_Pos (15) /*!< EPWM_T::FDCTL3: FDMSKEN Position */
  3078. #define EPWM_FDCTL3_FDMSKEN_Msk (0x1ul << EPWM_FDCTL3_FDMSKEN_Pos) /*!< EPWM_T::FDCTL3: FDMSKEN Mask */
  3079. #define EPWM_FDCTL3_DGSMPCYC_Pos (16) /*!< EPWM_T::FDCTL3: DGSMPCYC Position */
  3080. #define EPWM_FDCTL3_DGSMPCYC_Msk (0x7ul << EPWM_FDCTL3_DGSMPCYC_Pos) /*!< EPWM_T::FDCTL3: DGSMPCYC Mask */
  3081. #define EPWM_FDCTL3_FDCKSEL_Pos (28) /*!< EPWM_T::FDCTL3: FDCKSEL Position */
  3082. #define EPWM_FDCTL3_FDCKSEL_Msk (0x3ul << EPWM_FDCTL3_FDCKSEL_Pos) /*!< EPWM_T::FDCTL3: FDCKSEL Mask */
  3083. #define EPWM_FDCTL3_FDDGEN_Pos (31) /*!< EPWM_T::FDCTL3: FDDGEN Position */
  3084. #define EPWM_FDCTL3_FDDGEN_Msk (0x1ul << EPWM_FDCTL3_FDDGEN_Pos) /*!< EPWM_T::FDCTL3: FDDGEN Mask */
  3085. #define EPWM_FDCTL4_TRMSKCNT_Pos (0) /*!< EPWM_T::FDCTL4: TRMSKCNT Position */
  3086. #define EPWM_FDCTL4_TRMSKCNT_Msk (0x7ful << EPWM_FDCTL4_TRMSKCNT_Pos) /*!< EPWM_T::FDCTL4: TRMSKCNT Mask */
  3087. #define EPWM_FDCTL4_FDMSKEN_Pos (15) /*!< EPWM_T::FDCTL4: FDMSKEN Position */
  3088. #define EPWM_FDCTL4_FDMSKEN_Msk (0x1ul << EPWM_FDCTL4_FDMSKEN_Pos) /*!< EPWM_T::FDCTL4: FDMSKEN Mask */
  3089. #define EPWM_FDCTL4_DGSMPCYC_Pos (16) /*!< EPWM_T::FDCTL4: DGSMPCYC Position */
  3090. #define EPWM_FDCTL4_DGSMPCYC_Msk (0x7ul << EPWM_FDCTL4_DGSMPCYC_Pos) /*!< EPWM_T::FDCTL4: DGSMPCYC Mask */
  3091. #define EPWM_FDCTL4_FDCKSEL_Pos (28) /*!< EPWM_T::FDCTL4: FDCKSEL Position */
  3092. #define EPWM_FDCTL4_FDCKSEL_Msk (0x3ul << EPWM_FDCTL4_FDCKSEL_Pos) /*!< EPWM_T::FDCTL4: FDCKSEL Mask */
  3093. #define EPWM_FDCTL4_FDDGEN_Pos (31) /*!< EPWM_T::FDCTL4: FDDGEN Position */
  3094. #define EPWM_FDCTL4_FDDGEN_Msk (0x1ul << EPWM_FDCTL4_FDDGEN_Pos) /*!< EPWM_T::FDCTL4: FDDGEN Mask */
  3095. #define EPWM_FDCTL5_TRMSKCNT_Pos (0) /*!< EPWM_T::FDCTL5: TRMSKCNT Position */
  3096. #define EPWM_FDCTL5_TRMSKCNT_Msk (0x7ful << EPWM_FDCTL5_TRMSKCNT_Pos) /*!< EPWM_T::FDCTL5: TRMSKCNT Mask */
  3097. #define EPWM_FDCTL5_FDMSKEN_Pos (15) /*!< EPWM_T::FDCTL5: FDMSKEN Position */
  3098. #define EPWM_FDCTL5_FDMSKEN_Msk (0x1ul << EPWM_FDCTL5_FDMSKEN_Pos) /*!< EPWM_T::FDCTL5: FDMSKEN Mask */
  3099. #define EPWM_FDCTL5_DGSMPCYC_Pos (16) /*!< EPWM_T::FDCTL5: DGSMPCYC Position */
  3100. #define EPWM_FDCTL5_DGSMPCYC_Msk (0x7ul << EPWM_FDCTL5_DGSMPCYC_Pos) /*!< EPWM_T::FDCTL5: DGSMPCYC Mask */
  3101. #define EPWM_FDCTL5_FDCKSEL_Pos (28) /*!< EPWM_T::FDCTL5: FDCKSEL Position */
  3102. #define EPWM_FDCTL5_FDCKSEL_Msk (0x3ul << EPWM_FDCTL5_FDCKSEL_Pos) /*!< EPWM_T::FDCTL5: FDCKSEL Mask */
  3103. #define EPWM_FDCTL5_FDDGEN_Pos (31) /*!< EPWM_T::FDCTL5: FDDGEN Position */
  3104. #define EPWM_FDCTL5_FDDGEN_Msk (0x1ul << EPWM_FDCTL5_FDDGEN_Pos) /*!< EPWM_T::FDCTL5: FDDGEN Mask */
  3105. #define EPWM_FDIEN_FDIEN0_Pos (0) /*!< EPWM_T::FDIEN: FDIEN0 Position */
  3106. #define EPWM_FDIEN_FDIEN0_Msk (0x1ul << EPWM_FDIEN_FDIEN0_Pos) /*!< EPWM_T::FDIEN: FDIEN0 Mask */
  3107. #define EPWM_FDIEN_FDIEN1_Pos (1) /*!< EPWM_T::FDIEN: FDIEN1 Position */
  3108. #define EPWM_FDIEN_FDIEN1_Msk (0x1ul << EPWM_FDIEN_FDIEN1_Pos) /*!< EPWM_T::FDIEN: FDIEN1 Mask */
  3109. #define EPWM_FDIEN_FDIEN2_Pos (2) /*!< EPWM_T::FDIEN: FDIEN2 Position */
  3110. #define EPWM_FDIEN_FDIEN2_Msk (0x1ul << EPWM_FDIEN_FDIEN2_Pos) /*!< EPWM_T::FDIEN: FDIEN2 Mask */
  3111. #define EPWM_FDIEN_FDIEN3_Pos (3) /*!< EPWM_T::FDIEN: FDIEN3 Position */
  3112. #define EPWM_FDIEN_FDIEN3_Msk (0x1ul << EPWM_FDIEN_FDIEN3_Pos) /*!< EPWM_T::FDIEN: FDIEN3 Mask */
  3113. #define EPWM_FDIEN_FDIEN4_Pos (4) /*!< EPWM_T::FDIEN: FDIEN4 Position */
  3114. #define EPWM_FDIEN_FDIEN4_Msk (0x1ul << EPWM_FDIEN_FDIEN4_Pos) /*!< EPWM_T::FDIEN: FDIEN4 Mask */
  3115. #define EPWM_FDIEN_FDIEN5_Pos (5) /*!< EPWM_T::FDIEN: FDIEN5 Position */
  3116. #define EPWM_FDIEN_FDIEN5_Msk (0x1ul << EPWM_FDIEN_FDIEN5_Pos) /*!< EPWM_T::FDIEN: FDIEN5 Mask */
  3117. #define EPWM_FDSTS_FDIF0_Pos (0) /*!< EPWM_T::FDSTS: FDIF0 Position */
  3118. #define EPWM_FDSTS_FDIF0_Msk (0x1ul << EPWM_FDSTS_FDIF0_Pos) /*!< EPWM_T::FDSTS: FDIF0 Mask */
  3119. #define EPWM_FDSTS_FDIF1_Pos (1) /*!< EPWM_T::FDSTS: FDIF1 Position */
  3120. #define EPWM_FDSTS_FDIF1_Msk (0x1ul << EPWM_FDSTS_FDIF1_Pos) /*!< EPWM_T::FDSTS: FDIF1 Mask */
  3121. #define EPWM_FDSTS_FDIF2_Pos (2) /*!< EPWM_T::FDSTS: FDIF2 Position */
  3122. #define EPWM_FDSTS_FDIF2_Msk (0x1ul << EPWM_FDSTS_FDIF2_Pos) /*!< EPWM_T::FDSTS: FDIF2 Mask */
  3123. #define EPWM_FDSTS_FDIF3_Pos (3) /*!< EPWM_T::FDSTS: FDIF3 Position */
  3124. #define EPWM_FDSTS_FDIF3_Msk (0x1ul << EPWM_FDSTS_FDIF3_Pos) /*!< EPWM_T::FDSTS: FDIF3 Mask */
  3125. #define EPWM_FDSTS_FDIF4_Pos (4) /*!< EPWM_T::FDSTS: FDIF4 Position */
  3126. #define EPWM_FDSTS_FDIF4_Msk (0x1ul << EPWM_FDSTS_FDIF4_Pos) /*!< EPWM_T::FDSTS: FDIF4 Mask */
  3127. #define EPWM_FDSTS_FDIF5_Pos (5) /*!< EPWM_T::FDSTS: FDIF5 Position */
  3128. #define EPWM_FDSTS_FDIF5_Msk (0x1ul << EPWM_FDSTS_FDIF5_Pos) /*!< EPWM_T::FDSTS: FDIF5 Mask */
  3129. #define EPWM_EADCPSCCTL_PSCEN0_Pos (0) /*!< EPWM_T::EADCPSCCTL: PSCEN0 Position */
  3130. #define EPWM_EADCPSCCTL_PSCEN0_Msk (0x1ul << EPWM_EADCPSCCTL_PSCEN0_Pos) /*!< EPWM_T::EADCPSCCTL: PSCEN0 Mask */
  3131. #define EPWM_EADCPSCCTL_PSCEN1_Pos (1) /*!< EPWM_T::EADCPSCCTL: PSCEN1 Position */
  3132. #define EPWM_EADCPSCCTL_PSCEN1_Msk (0x1ul << EPWM_EADCPSCCTL_PSCEN1_Pos) /*!< EPWM_T::EADCPSCCTL: PSCEN1 Mask */
  3133. #define EPWM_EADCPSCCTL_PSCEN2_Pos (2) /*!< EPWM_T::EADCPSCCTL: PSCEN2 Position */
  3134. #define EPWM_EADCPSCCTL_PSCEN2_Msk (0x1ul << EPWM_EADCPSCCTL_PSCEN2_Pos) /*!< EPWM_T::EADCPSCCTL: PSCEN2 Mask */
  3135. #define EPWM_EADCPSCCTL_PSCEN3_Pos (3) /*!< EPWM_T::EADCPSCCTL: PSCEN3 Position */
  3136. #define EPWM_EADCPSCCTL_PSCEN3_Msk (0x1ul << EPWM_EADCPSCCTL_PSCEN3_Pos) /*!< EPWM_T::EADCPSCCTL: PSCEN3 Mask */
  3137. #define EPWM_EADCPSCCTL_PSCEN4_Pos (4) /*!< EPWM_T::EADCPSCCTL: PSCEN4 Position */
  3138. #define EPWM_EADCPSCCTL_PSCEN4_Msk (0x1ul << EPWM_EADCPSCCTL_PSCEN4_Pos) /*!< EPWM_T::EADCPSCCTL: PSCEN4 Mask */
  3139. #define EPWM_EADCPSCCTL_PSCEN5_Pos (5) /*!< EPWM_T::EADCPSCCTL: PSCEN5 Position */
  3140. #define EPWM_EADCPSCCTL_PSCEN5_Msk (0x1ul << EPWM_EADCPSCCTL_PSCEN5_Pos) /*!< EPWM_T::EADCPSCCTL: PSCEN5 Mask */
  3141. #define EPWM_EADCPSC0_EADCPSC0_Pos (0) /*!< EPWM_T::EADCPSC0: EADCPSC0 Position */
  3142. #define EPWM_EADCPSC0_EADCPSC0_Msk (0xful << EPWM_EADCPSC0_EADCPSC0_Pos) /*!< EPWM_T::EADCPSC0: EADCPSC0 Mask */
  3143. #define EPWM_EADCPSC0_EADCPSC1_Pos (8) /*!< EPWM_T::EADCPSC0: EADCPSC1 Position */
  3144. #define EPWM_EADCPSC0_EADCPSC1_Msk (0xful << EPWM_EADCPSC0_EADCPSC1_Pos) /*!< EPWM_T::EADCPSC0: EADCPSC1 Mask */
  3145. #define EPWM_EADCPSC0_EADCPSC2_Pos (16) /*!< EPWM_T::EADCPSC0: EADCPSC2 Position */
  3146. #define EPWM_EADCPSC0_EADCPSC2_Msk (0xful << EPWM_EADCPSC0_EADCPSC2_Pos) /*!< EPWM_T::EADCPSC0: EADCPSC2 Mask */
  3147. #define EPWM_EADCPSC0_EADCPSC3_Pos (24) /*!< EPWM_T::EADCPSC0: EADCPSC3 Position */
  3148. #define EPWM_EADCPSC0_EADCPSC3_Msk (0xful << EPWM_EADCPSC0_EADCPSC3_Pos) /*!< EPWM_T::EADCPSC0: EADCPSC3 Mask */
  3149. #define EPWM_EADCPSC1_EADCPSC4_Pos (0) /*!< EPWM_T::EADCPSC1: EADCPSC4 Position */
  3150. #define EPWM_EADCPSC1_EADCPSC4_Msk (0xful << EPWM_EADCPSC1_EADCPSC4_Pos) /*!< EPWM_T::EADCPSC1: EADCPSC4 Mask */
  3151. #define EPWM_EADCPSC1_EADCPSC5_Pos (8) /*!< EPWM_T::EADCPSC1: EADCPSC5 Position */
  3152. #define EPWM_EADCPSC1_EADCPSC5_Msk (0xful << EPWM_EADCPSC1_EADCPSC5_Pos) /*!< EPWM_T::EADCPSC1: EADCPSC5 Mask */
  3153. #define EPWM_EADCPSCNT0_PSCNT0_Pos (0) /*!< EPWM_T::EADCPSCNT0: PSCNT0 Position */
  3154. #define EPWM_EADCPSCNT0_PSCNT0_Msk (0xful << EPWM_EADCPSCNT0_PSCNT0_Pos) /*!< EPWM_T::EADCPSCNT0: PSCNT0 Mask */
  3155. #define EPWM_EADCPSCNT0_PSCNT1_Pos (8) /*!< EPWM_T::EADCPSCNT0: PSCNT1 Position */
  3156. #define EPWM_EADCPSCNT0_PSCNT1_Msk (0xful << EPWM_EADCPSCNT0_PSCNT1_Pos) /*!< EPWM_T::EADCPSCNT0: PSCNT1 Mask */
  3157. #define EPWM_EADCPSCNT0_PSCNT2_Pos (16) /*!< EPWM_T::EADCPSCNT0: PSCNT2 Position */
  3158. #define EPWM_EADCPSCNT0_PSCNT2_Msk (0xful << EPWM_EADCPSCNT0_PSCNT2_Pos) /*!< EPWM_T::EADCPSCNT0: PSCNT2 Mask */
  3159. #define EPWM_EADCPSCNT0_PSCNT3_Pos (24) /*!< EPWM_T::EADCPSCNT0: PSCNT3 Position */
  3160. #define EPWM_EADCPSCNT0_PSCNT3_Msk (0xful << EPWM_EADCPSCNT0_PSCNT3_Pos) /*!< EPWM_T::EADCPSCNT0: PSCNT3 Mask */
  3161. #define EPWM_EADCPSCNT1_PSCNT4_Pos (0) /*!< EPWM_T::EADCPSCNT1: PSCNT4 Position */
  3162. #define EPWM_EADCPSCNT1_PSCNT4_Msk (0xful << EPWM_EADCPSCNT1_PSCNT4_Pos) /*!< EPWM_T::EADCPSCNT1: PSCNT4 Mask */
  3163. #define EPWM_EADCPSCNT1_PSCNT5_Pos (8) /*!< EPWM_T::EADCPSCNT1: PSCNT5 Position */
  3164. #define EPWM_EADCPSCNT1_PSCNT5_Msk (0xful << EPWM_EADCPSCNT1_PSCNT5_Pos) /*!< EPWM_T::EADCPSCNT1: PSCNT5 Mask */
  3165. #define EPWM_CAPINEN_CAPINEN0_Pos (0) /*!< EPWM_T::CAPINEN: CAPINEN0 Position */
  3166. #define EPWM_CAPINEN_CAPINEN0_Msk (0x1ul << EPWM_CAPINEN_CAPINEN0_Pos) /*!< EPWM_T::CAPINEN: CAPINEN0 Mask */
  3167. #define EPWM_CAPINEN_CAPINEN1_Pos (1) /*!< EPWM_T::CAPINEN: CAPINEN1 Position */
  3168. #define EPWM_CAPINEN_CAPINEN1_Msk (0x1ul << EPWM_CAPINEN_CAPINEN1_Pos) /*!< EPWM_T::CAPINEN: CAPINEN1 Mask */
  3169. #define EPWM_CAPINEN_CAPINEN2_Pos (2) /*!< EPWM_T::CAPINEN: CAPINEN2 Position */
  3170. #define EPWM_CAPINEN_CAPINEN2_Msk (0x1ul << EPWM_CAPINEN_CAPINEN2_Pos) /*!< EPWM_T::CAPINEN: CAPINEN2 Mask */
  3171. #define EPWM_CAPINEN_CAPINEN3_Pos (3) /*!< EPWM_T::CAPINEN: CAPINEN3 Position */
  3172. #define EPWM_CAPINEN_CAPINEN3_Msk (0x1ul << EPWM_CAPINEN_CAPINEN3_Pos) /*!< EPWM_T::CAPINEN: CAPINEN3 Mask */
  3173. #define EPWM_CAPINEN_CAPINEN4_Pos (4) /*!< EPWM_T::CAPINEN: CAPINEN4 Position */
  3174. #define EPWM_CAPINEN_CAPINEN4_Msk (0x1ul << EPWM_CAPINEN_CAPINEN4_Pos) /*!< EPWM_T::CAPINEN: CAPINEN4 Mask */
  3175. #define EPWM_CAPINEN_CAPINEN5_Pos (5) /*!< EPWM_T::CAPINEN: CAPINEN5 Position */
  3176. #define EPWM_CAPINEN_CAPINEN5_Msk (0x1ul << EPWM_CAPINEN_CAPINEN5_Pos) /*!< EPWM_T::CAPINEN: CAPINEN5 Mask */
  3177. #define EPWM_CAPCTL_CAPEN0_Pos (0) /*!< EPWM_T::CAPCTL: CAPEN0 Position */
  3178. #define EPWM_CAPCTL_CAPEN0_Msk (0x1ul << EPWM_CAPCTL_CAPEN0_Pos) /*!< EPWM_T::CAPCTL: CAPEN0 Mask */
  3179. #define EPWM_CAPCTL_CAPEN1_Pos (1) /*!< EPWM_T::CAPCTL: CAPEN1 Position */
  3180. #define EPWM_CAPCTL_CAPEN1_Msk (0x1ul << EPWM_CAPCTL_CAPEN1_Pos) /*!< EPWM_T::CAPCTL: CAPEN1 Mask */
  3181. #define EPWM_CAPCTL_CAPEN2_Pos (2) /*!< EPWM_T::CAPCTL: CAPEN2 Position */
  3182. #define EPWM_CAPCTL_CAPEN2_Msk (0x1ul << EPWM_CAPCTL_CAPEN2_Pos) /*!< EPWM_T::CAPCTL: CAPEN2 Mask */
  3183. #define EPWM_CAPCTL_CAPEN3_Pos (3) /*!< EPWM_T::CAPCTL: CAPEN3 Position */
  3184. #define EPWM_CAPCTL_CAPEN3_Msk (0x1ul << EPWM_CAPCTL_CAPEN3_Pos) /*!< EPWM_T::CAPCTL: CAPEN3 Mask */
  3185. #define EPWM_CAPCTL_CAPEN4_Pos (4) /*!< EPWM_T::CAPCTL: CAPEN4 Position */
  3186. #define EPWM_CAPCTL_CAPEN4_Msk (0x1ul << EPWM_CAPCTL_CAPEN4_Pos) /*!< EPWM_T::CAPCTL: CAPEN4 Mask */
  3187. #define EPWM_CAPCTL_CAPEN5_Pos (5) /*!< EPWM_T::CAPCTL: CAPEN5 Position */
  3188. #define EPWM_CAPCTL_CAPEN5_Msk (0x1ul << EPWM_CAPCTL_CAPEN5_Pos) /*!< EPWM_T::CAPCTL: CAPEN5 Mask */
  3189. #define EPWM_CAPCTL_CAPINV0_Pos (8) /*!< EPWM_T::CAPCTL: CAPINV0 Position */
  3190. #define EPWM_CAPCTL_CAPINV0_Msk (0x1ul << EPWM_CAPCTL_CAPINV0_Pos) /*!< EPWM_T::CAPCTL: CAPINV0 Mask */
  3191. #define EPWM_CAPCTL_CAPINV1_Pos (9) /*!< EPWM_T::CAPCTL: CAPINV1 Position */
  3192. #define EPWM_CAPCTL_CAPINV1_Msk (0x1ul << EPWM_CAPCTL_CAPINV1_Pos) /*!< EPWM_T::CAPCTL: CAPINV1 Mask */
  3193. #define EPWM_CAPCTL_CAPINV2_Pos (10) /*!< EPWM_T::CAPCTL: CAPINV2 Position */
  3194. #define EPWM_CAPCTL_CAPINV2_Msk (0x1ul << EPWM_CAPCTL_CAPINV2_Pos) /*!< EPWM_T::CAPCTL: CAPINV2 Mask */
  3195. #define EPWM_CAPCTL_CAPINV3_Pos (11) /*!< EPWM_T::CAPCTL: CAPINV3 Position */
  3196. #define EPWM_CAPCTL_CAPINV3_Msk (0x1ul << EPWM_CAPCTL_CAPINV3_Pos) /*!< EPWM_T::CAPCTL: CAPINV3 Mask */
  3197. #define EPWM_CAPCTL_CAPINV4_Pos (12) /*!< EPWM_T::CAPCTL: CAPINV4 Position */
  3198. #define EPWM_CAPCTL_CAPINV4_Msk (0x1ul << EPWM_CAPCTL_CAPINV4_Pos) /*!< EPWM_T::CAPCTL: CAPINV4 Mask */
  3199. #define EPWM_CAPCTL_CAPINV5_Pos (13) /*!< EPWM_T::CAPCTL: CAPINV5 Position */
  3200. #define EPWM_CAPCTL_CAPINV5_Msk (0x1ul << EPWM_CAPCTL_CAPINV5_Pos) /*!< EPWM_T::CAPCTL: CAPINV5 Mask */
  3201. #define EPWM_CAPCTL_RCRLDEN0_Pos (16) /*!< EPWM_T::CAPCTL: RCRLDEN0 Position */
  3202. #define EPWM_CAPCTL_RCRLDEN0_Msk (0x1ul << EPWM_CAPCTL_RCRLDEN0_Pos) /*!< EPWM_T::CAPCTL: RCRLDEN0 Mask */
  3203. #define EPWM_CAPCTL_RCRLDEN1_Pos (17) /*!< EPWM_T::CAPCTL: RCRLDEN1 Position */
  3204. #define EPWM_CAPCTL_RCRLDEN1_Msk (0x1ul << EPWM_CAPCTL_RCRLDEN1_Pos) /*!< EPWM_T::CAPCTL: RCRLDEN1 Mask */
  3205. #define EPWM_CAPCTL_RCRLDEN2_Pos (18) /*!< EPWM_T::CAPCTL: RCRLDEN2 Position */
  3206. #define EPWM_CAPCTL_RCRLDEN2_Msk (0x1ul << EPWM_CAPCTL_RCRLDEN2_Pos) /*!< EPWM_T::CAPCTL: RCRLDEN2 Mask */
  3207. #define EPWM_CAPCTL_RCRLDEN3_Pos (19) /*!< EPWM_T::CAPCTL: RCRLDEN3 Position */
  3208. #define EPWM_CAPCTL_RCRLDEN3_Msk (0x1ul << EPWM_CAPCTL_RCRLDEN3_Pos) /*!< EPWM_T::CAPCTL: RCRLDEN3 Mask */
  3209. #define EPWM_CAPCTL_RCRLDEN4_Pos (20) /*!< EPWM_T::CAPCTL: RCRLDEN4 Position */
  3210. #define EPWM_CAPCTL_RCRLDEN4_Msk (0x1ul << EPWM_CAPCTL_RCRLDEN4_Pos) /*!< EPWM_T::CAPCTL: RCRLDEN4 Mask */
  3211. #define EPWM_CAPCTL_RCRLDEN5_Pos (21) /*!< EPWM_T::CAPCTL: RCRLDEN5 Position */
  3212. #define EPWM_CAPCTL_RCRLDEN5_Msk (0x1ul << EPWM_CAPCTL_RCRLDEN5_Pos) /*!< EPWM_T::CAPCTL: RCRLDEN5 Mask */
  3213. #define EPWM_CAPCTL_FCRLDEN0_Pos (24) /*!< EPWM_T::CAPCTL: FCRLDEN0 Position */
  3214. #define EPWM_CAPCTL_FCRLDEN0_Msk (0x1ul << EPWM_CAPCTL_FCRLDEN0_Pos) /*!< EPWM_T::CAPCTL: FCRLDEN0 Mask */
  3215. #define EPWM_CAPCTL_FCRLDEN1_Pos (25) /*!< EPWM_T::CAPCTL: FCRLDEN1 Position */
  3216. #define EPWM_CAPCTL_FCRLDEN1_Msk (0x1ul << EPWM_CAPCTL_FCRLDEN1_Pos) /*!< EPWM_T::CAPCTL: FCRLDEN1 Mask */
  3217. #define EPWM_CAPCTL_FCRLDEN2_Pos (26) /*!< EPWM_T::CAPCTL: FCRLDEN2 Position */
  3218. #define EPWM_CAPCTL_FCRLDEN2_Msk (0x1ul << EPWM_CAPCTL_FCRLDEN2_Pos) /*!< EPWM_T::CAPCTL: FCRLDEN2 Mask */
  3219. #define EPWM_CAPCTL_FCRLDEN3_Pos (27) /*!< EPWM_T::CAPCTL: FCRLDEN3 Position */
  3220. #define EPWM_CAPCTL_FCRLDEN3_Msk (0x1ul << EPWM_CAPCTL_FCRLDEN3_Pos) /*!< EPWM_T::CAPCTL: FCRLDEN3 Mask */
  3221. #define EPWM_CAPCTL_FCRLDEN4_Pos (28) /*!< EPWM_T::CAPCTL: FCRLDEN4 Position */
  3222. #define EPWM_CAPCTL_FCRLDEN4_Msk (0x1ul << EPWM_CAPCTL_FCRLDEN4_Pos) /*!< EPWM_T::CAPCTL: FCRLDEN4 Mask */
  3223. #define EPWM_CAPCTL_FCRLDEN5_Pos (29) /*!< EPWM_T::CAPCTL: FCRLDEN5 Position */
  3224. #define EPWM_CAPCTL_FCRLDEN5_Msk (0x1ul << EPWM_CAPCTL_FCRLDEN5_Pos) /*!< EPWM_T::CAPCTL: FCRLDEN5 Mask */
  3225. #define EPWM_CAPSTS_CRLIFOV0_Pos (0) /*!< EPWM_T::CAPSTS: CRLIFOV0 Position */
  3226. #define EPWM_CAPSTS_CRLIFOV0_Msk (0x1ul << EPWM_CAPSTS_CRLIFOV0_Pos) /*!< EPWM_T::CAPSTS: CRLIFOV0 Mask */
  3227. #define EPWM_CAPSTS_CRLIFOV1_Pos (1) /*!< EPWM_T::CAPSTS: CRLIFOV1 Position */
  3228. #define EPWM_CAPSTS_CRLIFOV1_Msk (0x1ul << EPWM_CAPSTS_CRLIFOV1_Pos) /*!< EPWM_T::CAPSTS: CRLIFOV1 Mask */
  3229. #define EPWM_CAPSTS_CRLIFOV2_Pos (2) /*!< EPWM_T::CAPSTS: CRLIFOV2 Position */
  3230. #define EPWM_CAPSTS_CRLIFOV2_Msk (0x1ul << EPWM_CAPSTS_CRLIFOV2_Pos) /*!< EPWM_T::CAPSTS: CRLIFOV2 Mask */
  3231. #define EPWM_CAPSTS_CRLIFOV3_Pos (3) /*!< EPWM_T::CAPSTS: CRLIFOV3 Position */
  3232. #define EPWM_CAPSTS_CRLIFOV3_Msk (0x1ul << EPWM_CAPSTS_CRLIFOV3_Pos) /*!< EPWM_T::CAPSTS: CRLIFOV3 Mask */
  3233. #define EPWM_CAPSTS_CRLIFOV4_Pos (4) /*!< EPWM_T::CAPSTS: CRLIFOV4 Position */
  3234. #define EPWM_CAPSTS_CRLIFOV4_Msk (0x1ul << EPWM_CAPSTS_CRLIFOV4_Pos) /*!< EPWM_T::CAPSTS: CRLIFOV4 Mask */
  3235. #define EPWM_CAPSTS_CRLIFOV5_Pos (5) /*!< EPWM_T::CAPSTS: CRLIFOV5 Position */
  3236. #define EPWM_CAPSTS_CRLIFOV5_Msk (0x1ul << EPWM_CAPSTS_CRLIFOV5_Pos) /*!< EPWM_T::CAPSTS: CRLIFOV5 Mask */
  3237. #define EPWM_CAPSTS_CFLIFOV0_Pos (8) /*!< EPWM_T::CAPSTS: CFLIFOV0 Position */
  3238. #define EPWM_CAPSTS_CFLIFOV0_Msk (0x1ul << EPWM_CAPSTS_CFLIFOV0_Pos) /*!< EPWM_T::CAPSTS: CFLIFOV0 Mask */
  3239. #define EPWM_CAPSTS_CFLIFOV1_Pos (9) /*!< EPWM_T::CAPSTS: CFLIFOV1 Position */
  3240. #define EPWM_CAPSTS_CFLIFOV1_Msk (0x1ul << EPWM_CAPSTS_CFLIFOV1_Pos) /*!< EPWM_T::CAPSTS: CFLIFOV1 Mask */
  3241. #define EPWM_CAPSTS_CFLIFOV2_Pos (10) /*!< EPWM_T::CAPSTS: CFLIFOV2 Position */
  3242. #define EPWM_CAPSTS_CFLIFOV2_Msk (0x1ul << EPWM_CAPSTS_CFLIFOV2_Pos) /*!< EPWM_T::CAPSTS: CFLIFOV2 Mask */
  3243. #define EPWM_CAPSTS_CFLIFOV3_Pos (11) /*!< EPWM_T::CAPSTS: CFLIFOV3 Position */
  3244. #define EPWM_CAPSTS_CFLIFOV3_Msk (0x1ul << EPWM_CAPSTS_CFLIFOV3_Pos) /*!< EPWM_T::CAPSTS: CFLIFOV3 Mask */
  3245. #define EPWM_CAPSTS_CFLIFOV4_Pos (12) /*!< EPWM_T::CAPSTS: CFLIFOV4 Position */
  3246. #define EPWM_CAPSTS_CFLIFOV4_Msk (0x1ul << EPWM_CAPSTS_CFLIFOV4_Pos) /*!< EPWM_T::CAPSTS: CFLIFOV4 Mask */
  3247. #define EPWM_CAPSTS_CFLIFOV5_Pos (13) /*!< EPWM_T::CAPSTS: CFLIFOV5 Position */
  3248. #define EPWM_CAPSTS_CFLIFOV5_Msk (0x1ul << EPWM_CAPSTS_CFLIFOV5_Pos) /*!< EPWM_T::CAPSTS: CFLIFOV5 Mask */
  3249. #define EPWM_RCAPDAT0_RCAPDAT_Pos (0) /*!< EPWM_T::RCAPDAT0: RCAPDAT Position */
  3250. #define EPWM_RCAPDAT0_RCAPDAT_Msk (0xfffful << EPWM_RCAPDAT0_RCAPDAT_Pos) /*!< EPWM_T::RCAPDAT0: RCAPDAT Mask */
  3251. #define EPWM_FCAPDAT0_FCAPDAT_Pos (0) /*!< EPWM_T::FCAPDAT0: FCAPDAT Position */
  3252. #define EPWM_FCAPDAT0_FCAPDAT_Msk (0xfffful << EPWM_FCAPDAT0_FCAPDAT_Pos) /*!< EPWM_T::FCAPDAT0: FCAPDAT Mask */
  3253. #define EPWM_RCAPDAT1_RCAPDAT_Pos (0) /*!< EPWM_T::RCAPDAT1: RCAPDAT Position */
  3254. #define EPWM_RCAPDAT1_RCAPDAT_Msk (0xfffful << EPWM_RCAPDAT1_RCAPDAT_Pos) /*!< EPWM_T::RCAPDAT1: RCAPDAT Mask */
  3255. #define EPWM_FCAPDAT1_FCAPDAT_Pos (0) /*!< EPWM_T::FCAPDAT1: FCAPDAT Position */
  3256. #define EPWM_FCAPDAT1_FCAPDAT_Msk (0xfffful << EPWM_FCAPDAT1_FCAPDAT_Pos) /*!< EPWM_T::FCAPDAT1: FCAPDAT Mask */
  3257. #define EPWM_RCAPDAT2_RCAPDAT_Pos (0) /*!< EPWM_T::RCAPDAT2: RCAPDAT Position */
  3258. #define EPWM_RCAPDAT2_RCAPDAT_Msk (0xfffful << EPWM_RCAPDAT2_RCAPDAT_Pos) /*!< EPWM_T::RCAPDAT2: RCAPDAT Mask */
  3259. #define EPWM_FCAPDAT2_FCAPDAT_Pos (0) /*!< EPWM_T::FCAPDAT2: FCAPDAT Position */
  3260. #define EPWM_FCAPDAT2_FCAPDAT_Msk (0xfffful << EPWM_FCAPDAT2_FCAPDAT_Pos) /*!< EPWM_T::FCAPDAT2: FCAPDAT Mask */
  3261. #define EPWM_RCAPDAT3_RCAPDAT_Pos (0) /*!< EPWM_T::RCAPDAT3: RCAPDAT Position */
  3262. #define EPWM_RCAPDAT3_RCAPDAT_Msk (0xfffful << EPWM_RCAPDAT3_RCAPDAT_Pos) /*!< EPWM_T::RCAPDAT3: RCAPDAT Mask */
  3263. #define EPWM_FCAPDAT3_FCAPDAT_Pos (0) /*!< EPWM_T::FCAPDAT3: FCAPDAT Position */
  3264. #define EPWM_FCAPDAT3_FCAPDAT_Msk (0xfffful << EPWM_FCAPDAT3_FCAPDAT_Pos) /*!< EPWM_T::FCAPDAT3: FCAPDAT Mask */
  3265. #define EPWM_RCAPDAT4_RCAPDAT_Pos (0) /*!< EPWM_T::RCAPDAT4: RCAPDAT Position */
  3266. #define EPWM_RCAPDAT4_RCAPDAT_Msk (0xfffful << EPWM_RCAPDAT4_RCAPDAT_Pos) /*!< EPWM_T::RCAPDAT4: RCAPDAT Mask */
  3267. #define EPWM_FCAPDAT4_FCAPDAT_Pos (0) /*!< EPWM_T::FCAPDAT4: FCAPDAT Position */
  3268. #define EPWM_FCAPDAT4_FCAPDAT_Msk (0xfffful << EPWM_FCAPDAT4_FCAPDAT_Pos) /*!< EPWM_T::FCAPDAT4: FCAPDAT Mask */
  3269. #define EPWM_RCAPDAT5_RCAPDAT_Pos (0) /*!< EPWM_T::RCAPDAT5: RCAPDAT Position */
  3270. #define EPWM_RCAPDAT5_RCAPDAT_Msk (0xfffful << EPWM_RCAPDAT5_RCAPDAT_Pos) /*!< EPWM_T::RCAPDAT5: RCAPDAT Mask */
  3271. #define EPWM_FCAPDAT5_FCAPDAT_Pos (0) /*!< EPWM_T::FCAPDAT5: FCAPDAT Position */
  3272. #define EPWM_FCAPDAT5_FCAPDAT_Msk (0xfffful << EPWM_FCAPDAT5_FCAPDAT_Pos) /*!< EPWM_T::FCAPDAT5: FCAPDAT Mask */
  3273. #define EPWM_PDMACTL_CHEN0_1_Pos (0) /*!< EPWM_T::PDMACTL: CHEN0_1 Position */
  3274. #define EPWM_PDMACTL_CHEN0_1_Msk (0x1ul << EPWM_PDMACTL_CHEN0_1_Pos) /*!< EPWM_T::PDMACTL: CHEN0_1 Mask */
  3275. #define EPWM_PDMACTL_CAPMOD0_1_Pos (1) /*!< EPWM_T::PDMACTL: CAPMOD0_1 Position */
  3276. #define EPWM_PDMACTL_CAPMOD0_1_Msk (0x3ul << EPWM_PDMACTL_CAPMOD0_1_Pos) /*!< EPWM_T::PDMACTL: CAPMOD0_1 Mask */
  3277. #define EPWM_PDMACTL_CAPORD0_1_Pos (3) /*!< EPWM_T::PDMACTL: CAPORD0_1 Position */
  3278. #define EPWM_PDMACTL_CAPORD0_1_Msk (0x1ul << EPWM_PDMACTL_CAPORD0_1_Pos) /*!< EPWM_T::PDMACTL: CAPORD0_1 Mask */
  3279. #define EPWM_PDMACTL_CHSEL0_1_Pos (4) /*!< EPWM_T::PDMACTL: CHSEL0_1 Position */
  3280. #define EPWM_PDMACTL_CHSEL0_1_Msk (0x1ul << EPWM_PDMACTL_CHSEL0_1_Pos) /*!< EPWM_T::PDMACTL: CHSEL0_1 Mask */
  3281. #define EPWM_PDMACTL_CHEN2_3_Pos (8) /*!< EPWM_T::PDMACTL: CHEN2_3 Position */
  3282. #define EPWM_PDMACTL_CHEN2_3_Msk (0x1ul << EPWM_PDMACTL_CHEN2_3_Pos) /*!< EPWM_T::PDMACTL: CHEN2_3 Mask */
  3283. #define EPWM_PDMACTL_CAPMOD2_3_Pos (9) /*!< EPWM_T::PDMACTL: CAPMOD2_3 Position */
  3284. #define EPWM_PDMACTL_CAPMOD2_3_Msk (0x3ul << EPWM_PDMACTL_CAPMOD2_3_Pos) /*!< EPWM_T::PDMACTL: CAPMOD2_3 Mask */
  3285. #define EPWM_PDMACTL_CAPORD2_3_Pos (11) /*!< EPWM_T::PDMACTL: CAPORD2_3 Position */
  3286. #define EPWM_PDMACTL_CAPORD2_3_Msk (0x1ul << EPWM_PDMACTL_CAPORD2_3_Pos) /*!< EPWM_T::PDMACTL: CAPORD2_3 Mask */
  3287. #define EPWM_PDMACTL_CHSEL2_3_Pos (12) /*!< EPWM_T::PDMACTL: CHSEL2_3 Position */
  3288. #define EPWM_PDMACTL_CHSEL2_3_Msk (0x1ul << EPWM_PDMACTL_CHSEL2_3_Pos) /*!< EPWM_T::PDMACTL: CHSEL2_3 Mask */
  3289. #define EPWM_PDMACTL_CHEN4_5_Pos (16) /*!< EPWM_T::PDMACTL: CHEN4_5 Position */
  3290. #define EPWM_PDMACTL_CHEN4_5_Msk (0x1ul << EPWM_PDMACTL_CHEN4_5_Pos) /*!< EPWM_T::PDMACTL: CHEN4_5 Mask */
  3291. #define EPWM_PDMACTL_CAPMOD4_5_Pos (17) /*!< EPWM_T::PDMACTL: CAPMOD4_5 Position */
  3292. #define EPWM_PDMACTL_CAPMOD4_5_Msk (0x3ul << EPWM_PDMACTL_CAPMOD4_5_Pos) /*!< EPWM_T::PDMACTL: CAPMOD4_5 Mask */
  3293. #define EPWM_PDMACTL_CAPORD4_5_Pos (19) /*!< EPWM_T::PDMACTL: CAPORD4_5 Position */
  3294. #define EPWM_PDMACTL_CAPORD4_5_Msk (0x1ul << EPWM_PDMACTL_CAPORD4_5_Pos) /*!< EPWM_T::PDMACTL: CAPORD4_5 Mask */
  3295. #define EPWM_PDMACTL_CHSEL4_5_Pos (20) /*!< EPWM_T::PDMACTL: CHSEL4_5 Position */
  3296. #define EPWM_PDMACTL_CHSEL4_5_Msk (0x1ul << EPWM_PDMACTL_CHSEL4_5_Pos) /*!< EPWM_T::PDMACTL: CHSEL4_5 Mask */
  3297. #define EPWM_PDMACAP0_1_CAPBUF_Pos (0) /*!< EPWM_T::PDMACAP0_1: CAPBUF Position */
  3298. #define EPWM_PDMACAP0_1_CAPBUF_Msk (0xfffful << EPWM_PDMACAP0_1_CAPBUF_Pos) /*!< EPWM_T::PDMACAP0_1: CAPBUF Mask */
  3299. #define EPWM_PDMACAP2_3_CAPBUF_Pos (0) /*!< EPWM_T::PDMACAP2_3: CAPBUF Position */
  3300. #define EPWM_PDMACAP2_3_CAPBUF_Msk (0xfffful << EPWM_PDMACAP2_3_CAPBUF_Pos) /*!< EPWM_T::PDMACAP2_3: CAPBUF Mask */
  3301. #define EPWM_PDMACAP4_5_CAPBUF_Pos (0) /*!< EPWM_T::PDMACAP4_5: CAPBUF Position */
  3302. #define EPWM_PDMACAP4_5_CAPBUF_Msk (0xfffful << EPWM_PDMACAP4_5_CAPBUF_Pos) /*!< EPWM_T::PDMACAP4_5: CAPBUF Mask */
  3303. #define EPWM_CAPIEN_CAPRIEN0_Pos (0) /*!< EPWM_T::CAPIEN: CAPRIEN0 Position */
  3304. #define EPWM_CAPIEN_CAPRIEN0_Msk (0x1ul << EPWM_CAPIEN_CAPRIEN0_Pos) /*!< EPWM_T::CAPIEN: CAPRIEN0 Mask */
  3305. #define EPWM_CAPIEN_CAPRIEN1_Pos (1) /*!< EPWM_T::CAPIEN: CAPRIEN1 Position */
  3306. #define EPWM_CAPIEN_CAPRIEN1_Msk (0x1ul << EPWM_CAPIEN_CAPRIEN1_Pos) /*!< EPWM_T::CAPIEN: CAPRIEN1 Mask */
  3307. #define EPWM_CAPIEN_CAPRIEN2_Pos (2) /*!< EPWM_T::CAPIEN: CAPRIEN2 Position */
  3308. #define EPWM_CAPIEN_CAPRIEN2_Msk (0x1ul << EPWM_CAPIEN_CAPRIEN2_Pos) /*!< EPWM_T::CAPIEN: CAPRIEN2 Mask */
  3309. #define EPWM_CAPIEN_CAPRIEN3_Pos (3) /*!< EPWM_T::CAPIEN: CAPRIEN3 Position */
  3310. #define EPWM_CAPIEN_CAPRIEN3_Msk (0x1ul << EPWM_CAPIEN_CAPRIEN3_Pos) /*!< EPWM_T::CAPIEN: CAPRIEN3 Mask */
  3311. #define EPWM_CAPIEN_CAPRIEN4_Pos (4) /*!< EPWM_T::CAPIEN: CAPRIEN4 Position */
  3312. #define EPWM_CAPIEN_CAPRIEN4_Msk (0x1ul << EPWM_CAPIEN_CAPRIEN4_Pos) /*!< EPWM_T::CAPIEN: CAPRIEN4 Mask */
  3313. #define EPWM_CAPIEN_CAPRIEN5_Pos (5) /*!< EPWM_T::CAPIEN: CAPRIEN5 Position */
  3314. #define EPWM_CAPIEN_CAPRIEN5_Msk (0x1ul << EPWM_CAPIEN_CAPRIEN5_Pos) /*!< EPWM_T::CAPIEN: CAPRIEN5 Mask */
  3315. #define EPWM_CAPIEN_CAPFIEN0_Pos (8) /*!< EPWM_T::CAPIEN: CAPFIEN0 Position */
  3316. #define EPWM_CAPIEN_CAPFIEN0_Msk (0x1ul << EPWM_CAPIEN_CAPFIEN0_Pos) /*!< EPWM_T::CAPIEN: CAPFIEN0 Mask */
  3317. #define EPWM_CAPIEN_CAPFIEN1_Pos (9) /*!< EPWM_T::CAPIEN: CAPFIEN1 Position */
  3318. #define EPWM_CAPIEN_CAPFIEN1_Msk (0x1ul << EPWM_CAPIEN_CAPFIEN1_Pos) /*!< EPWM_T::CAPIEN: CAPFIEN1 Mask */
  3319. #define EPWM_CAPIEN_CAPFIEN2_Pos (10) /*!< EPWM_T::CAPIEN: CAPFIEN2 Position */
  3320. #define EPWM_CAPIEN_CAPFIEN2_Msk (0x1ul << EPWM_CAPIEN_CAPFIEN2_Pos) /*!< EPWM_T::CAPIEN: CAPFIEN2 Mask */
  3321. #define EPWM_CAPIEN_CAPFIEN3_Pos (11) /*!< EPWM_T::CAPIEN: CAPFIEN3 Position */
  3322. #define EPWM_CAPIEN_CAPFIEN3_Msk (0x1ul << EPWM_CAPIEN_CAPFIEN3_Pos) /*!< EPWM_T::CAPIEN: CAPFIEN3 Mask */
  3323. #define EPWM_CAPIEN_CAPFIEN4_Pos (12) /*!< EPWM_T::CAPIEN: CAPFIEN4 Position */
  3324. #define EPWM_CAPIEN_CAPFIEN4_Msk (0x1ul << EPWM_CAPIEN_CAPFIEN4_Pos) /*!< EPWM_T::CAPIEN: CAPFIEN4 Mask */
  3325. #define EPWM_CAPIEN_CAPFIEN5_Pos (13) /*!< EPWM_T::CAPIEN: CAPFIEN5 Position */
  3326. #define EPWM_CAPIEN_CAPFIEN5_Msk (0x1ul << EPWM_CAPIEN_CAPFIEN5_Pos) /*!< EPWM_T::CAPIEN: CAPFIEN5 Mask */
  3327. #define EPWM_CAPIF_CRLIF0_Pos (0) /*!< EPWM_T::CAPIF: CRLIF0 Position */
  3328. #define EPWM_CAPIF_CRLIF0_Msk (0x1ul << EPWM_CAPIF_CRLIF0_Pos) /*!< EPWM_T::CAPIF: CRLIF0 Mask */
  3329. #define EPWM_CAPIF_CRLIF1_Pos (1) /*!< EPWM_T::CAPIF: CRLIF1 Position */
  3330. #define EPWM_CAPIF_CRLIF1_Msk (0x1ul << EPWM_CAPIF_CRLIF1_Pos) /*!< EPWM_T::CAPIF: CRLIF1 Mask */
  3331. #define EPWM_CAPIF_CRLIF2_Pos (2) /*!< EPWM_T::CAPIF: CRLIF2 Position */
  3332. #define EPWM_CAPIF_CRLIF2_Msk (0x1ul << EPWM_CAPIF_CRLIF2_Pos) /*!< EPWM_T::CAPIF: CRLIF2 Mask */
  3333. #define EPWM_CAPIF_CRLIF3_Pos (3) /*!< EPWM_T::CAPIF: CRLIF3 Position */
  3334. #define EPWM_CAPIF_CRLIF3_Msk (0x1ul << EPWM_CAPIF_CRLIF3_Pos) /*!< EPWM_T::CAPIF: CRLIF3 Mask */
  3335. #define EPWM_CAPIF_CRLIF4_Pos (4) /*!< EPWM_T::CAPIF: CRLIF4 Position */
  3336. #define EPWM_CAPIF_CRLIF4_Msk (0x1ul << EPWM_CAPIF_CRLIF4_Pos) /*!< EPWM_T::CAPIF: CRLIF4 Mask */
  3337. #define EPWM_CAPIF_CRLIF5_Pos (5) /*!< EPWM_T::CAPIF: CRLIF5 Position */
  3338. #define EPWM_CAPIF_CRLIF5_Msk (0x1ul << EPWM_CAPIF_CRLIF5_Pos) /*!< EPWM_T::CAPIF: CRLIF5 Mask */
  3339. #define EPWM_CAPIF_CFLIF0_Pos (8) /*!< EPWM_T::CAPIF: CFLIF0 Position */
  3340. #define EPWM_CAPIF_CFLIF0_Msk (0x1ul << EPWM_CAPIF_CFLIF0_Pos) /*!< EPWM_T::CAPIF: CFLIF0 Mask */
  3341. #define EPWM_CAPIF_CFLIF1_Pos (9) /*!< EPWM_T::CAPIF: CFLIF1 Position */
  3342. #define EPWM_CAPIF_CFLIF1_Msk (0x1ul << EPWM_CAPIF_CFLIF1_Pos) /*!< EPWM_T::CAPIF: CFLIF1 Mask */
  3343. #define EPWM_CAPIF_CFLIF2_Pos (10) /*!< EPWM_T::CAPIF: CFLIF2 Position */
  3344. #define EPWM_CAPIF_CFLIF2_Msk (0x1ul << EPWM_CAPIF_CFLIF2_Pos) /*!< EPWM_T::CAPIF: CFLIF2 Mask */
  3345. #define EPWM_CAPIF_CFLIF3_Pos (11) /*!< EPWM_T::CAPIF: CFLIF3 Position */
  3346. #define EPWM_CAPIF_CFLIF3_Msk (0x1ul << EPWM_CAPIF_CFLIF3_Pos) /*!< EPWM_T::CAPIF: CFLIF3 Mask */
  3347. #define EPWM_CAPIF_CFLIF4_Pos (12) /*!< EPWM_T::CAPIF: CFLIF4 Position */
  3348. #define EPWM_CAPIF_CFLIF4_Msk (0x1ul << EPWM_CAPIF_CFLIF4_Pos) /*!< EPWM_T::CAPIF: CFLIF4 Mask */
  3349. #define EPWM_CAPIF_CFLIF5_Pos (13) /*!< EPWM_T::CAPIF: CFLIF5 Position */
  3350. #define EPWM_CAPIF_CFLIF5_Msk (0x1ul << EPWM_CAPIF_CFLIF5_Pos) /*!< EPWM_T::CAPIF: CFLIF5 Mask */
  3351. #define EPWM_PBUF0_PBUF_Pos (0) /*!< EPWM_T::PBUF0: PBUF Position */
  3352. #define EPWM_PBUF0_PBUF_Msk (0xfffful << EPWM_PBUF0_PBUF_Pos) /*!< EPWM_T::PBUF0: PBUF Mask */
  3353. #define EPWM_PBUF1_PBUF_Pos (0) /*!< EPWM_T::PBUF1: PBUF Position */
  3354. #define EPWM_PBUF1_PBUF_Msk (0xfffful << EPWM_PBUF1_PBUF_Pos) /*!< EPWM_T::PBUF1: PBUF Mask */
  3355. #define EPWM_PBUF2_PBUF_Pos (0) /*!< EPWM_T::PBUF2: PBUF Position */
  3356. #define EPWM_PBUF2_PBUF_Msk (0xfffful << EPWM_PBUF2_PBUF_Pos) /*!< EPWM_T::PBUF2: PBUF Mask */
  3357. #define EPWM_PBUF3_PBUF_Pos (0) /*!< EPWM_T::PBUF3: PBUF Position */
  3358. #define EPWM_PBUF3_PBUF_Msk (0xfffful << EPWM_PBUF3_PBUF_Pos) /*!< EPWM_T::PBUF3: PBUF Mask */
  3359. #define EPWM_PBUF4_PBUF_Pos (0) /*!< EPWM_T::PBUF4: PBUF Position */
  3360. #define EPWM_PBUF4_PBUF_Msk (0xfffful << EPWM_PBUF4_PBUF_Pos) /*!< EPWM_T::PBUF4: PBUF Mask */
  3361. #define EPWM_PBUF5_PBUF_Pos (0) /*!< EPWM_T::PBUF5: PBUF Position */
  3362. #define EPWM_PBUF5_PBUF_Msk (0xfffful << EPWM_PBUF5_PBUF_Pos) /*!< EPWM_T::PBUF5: PBUF Mask */
  3363. #define EPWM_CMPBUF0_CMPBUF_Pos (0) /*!< EPWM_T::CMPBUF0: CMPBUF Position */
  3364. #define EPWM_CMPBUF0_CMPBUF_Msk (0xfffful << EPWM_CMPBUF0_CMPBUF_Pos) /*!< EPWM_T::CMPBUF0: CMPBUF Mask */
  3365. #define EPWM_CMPBUF1_CMPBUF_Pos (0) /*!< EPWM_T::CMPBUF1: CMPBUF Position */
  3366. #define EPWM_CMPBUF1_CMPBUF_Msk (0xfffful << EPWM_CMPBUF1_CMPBUF_Pos) /*!< EPWM_T::CMPBUF1: CMPBUF Mask */
  3367. #define EPWM_CMPBUF2_CMPBUF_Pos (0) /*!< EPWM_T::CMPBUF2: CMPBUF Position */
  3368. #define EPWM_CMPBUF2_CMPBUF_Msk (0xfffful << EPWM_CMPBUF2_CMPBUF_Pos) /*!< EPWM_T::CMPBUF2: CMPBUF Mask */
  3369. #define EPWM_CMPBUF3_CMPBUF_Pos (0) /*!< EPWM_T::CMPBUF3: CMPBUF Position */
  3370. #define EPWM_CMPBUF3_CMPBUF_Msk (0xfffful << EPWM_CMPBUF3_CMPBUF_Pos) /*!< EPWM_T::CMPBUF3: CMPBUF Mask */
  3371. #define EPWM_CMPBUF4_CMPBUF_Pos (0) /*!< EPWM_T::CMPBUF4: CMPBUF Position */
  3372. #define EPWM_CMPBUF4_CMPBUF_Msk (0xfffful << EPWM_CMPBUF4_CMPBUF_Pos) /*!< EPWM_T::CMPBUF4: CMPBUF Mask */
  3373. #define EPWM_CMPBUF5_CMPBUF_Pos (0) /*!< EPWM_T::CMPBUF5: CMPBUF Position */
  3374. #define EPWM_CMPBUF5_CMPBUF_Msk (0xfffful << EPWM_CMPBUF5_CMPBUF_Pos) /*!< EPWM_T::CMPBUF5: CMPBUF Mask */
  3375. #define EPWM_CPSCBUF0_1_CPSCBUF_Pos (0) /*!< EPWM_T::CPSCBUF0_1: CPSCBUF Position */
  3376. #define EPWM_CPSCBUF0_1_CPSCBUF_Msk (0xffful << EPWM_CPSCBUF0_1_CPSCBUF_Pos) /*!< EPWM_T::CPSCBUF0_1: CPSCBUF Mask */
  3377. #define EPWM_CPSCBUF2_3_CPSCBUF_Pos (0) /*!< EPWM_T::CPSCBUF2_3: CPSCBUF Position */
  3378. #define EPWM_CPSCBUF2_3_CPSCBUF_Msk (0xffful << EPWM_CPSCBUF2_3_CPSCBUF_Pos) /*!< EPWM_T::CPSCBUF2_3: CPSCBUF Mask */
  3379. #define EPWM_CPSCBUF4_5_CPSCBUF_Pos (0) /*!< EPWM_T::CPSCBUF4_5: CPSCBUF Position */
  3380. #define EPWM_CPSCBUF4_5_CPSCBUF_Msk (0xffful << EPWM_CPSCBUF4_5_CPSCBUF_Pos) /*!< EPWM_T::CPSCBUF4_5: CPSCBUF Mask */
  3381. #define EPWM_FTCBUF0_1_FTCMPBUF_Pos (0) /*!< EPWM_T::FTCBUF0_1: FTCMPBUF Position */
  3382. #define EPWM_FTCBUF0_1_FTCMPBUF_Msk (0xfffful << EPWM_FTCBUF0_1_FTCMPBUF_Pos) /*!< EPWM_T::FTCBUF0_1: FTCMPBUF Mask */
  3383. #define EPWM_FTCBUF2_3_FTCMPBUF_Pos (0) /*!< EPWM_T::FTCBUF2_3: FTCMPBUF Position */
  3384. #define EPWM_FTCBUF2_3_FTCMPBUF_Msk (0xfffful << EPWM_FTCBUF2_3_FTCMPBUF_Pos) /*!< EPWM_T::FTCBUF2_3: FTCMPBUF Mask */
  3385. #define EPWM_FTCBUF4_5_FTCMPBUF_Pos (0) /*!< EPWM_T::FTCBUF4_5: FTCMPBUF Position */
  3386. #define EPWM_FTCBUF4_5_FTCMPBUF_Msk (0xfffful << EPWM_FTCBUF4_5_FTCMPBUF_Pos) /*!< EPWM_T::FTCBUF4_5: FTCMPBUF Mask */
  3387. #define EPWM_FTCI_FTCMU0_Pos (0) /*!< EPWM_T::FTCI: FTCMU0 Position */
  3388. #define EPWM_FTCI_FTCMU0_Msk (0x1ul << EPWM_FTCI_FTCMU0_Pos) /*!< EPWM_T::FTCI: FTCMU0 Mask */
  3389. #define EPWM_FTCI_FTCMU2_Pos (1) /*!< EPWM_T::FTCI: FTCMU2 Position */
  3390. #define EPWM_FTCI_FTCMU2_Msk (0x1ul << EPWM_FTCI_FTCMU2_Pos) /*!< EPWM_T::FTCI: FTCMU2 Mask */
  3391. #define EPWM_FTCI_FTCMU4_Pos (2) /*!< EPWM_T::FTCI: FTCMU4 Position */
  3392. #define EPWM_FTCI_FTCMU4_Msk (0x1ul << EPWM_FTCI_FTCMU4_Pos) /*!< EPWM_T::FTCI: FTCMU4 Mask */
  3393. #define EPWM_FTCI_FTCMD0_Pos (8) /*!< EPWM_T::FTCI: FTCMD0 Position */
  3394. #define EPWM_FTCI_FTCMD0_Msk (0x1ul << EPWM_FTCI_FTCMD0_Pos) /*!< EPWM_T::FTCI: FTCMD0 Mask */
  3395. #define EPWM_FTCI_FTCMD2_Pos (9) /*!< EPWM_T::FTCI: FTCMD2 Position */
  3396. #define EPWM_FTCI_FTCMD2_Msk (0x1ul << EPWM_FTCI_FTCMD2_Pos) /*!< EPWM_T::FTCI: FTCMD2 Mask */
  3397. #define EPWM_FTCI_FTCMD4_Pos (10) /*!< EPWM_T::FTCI: FTCMD4 Position */
  3398. #define EPWM_FTCI_FTCMD4_Msk (0x1ul << EPWM_FTCI_FTCMD4_Pos) /*!< EPWM_T::FTCI: FTCMD4 Mask */
  3399. /**@}*/ /* EPWM_CONST */
  3400. /**@}*/ /* end of EPWM register group */
  3401. /**@}*/ /* end of REGISTER group */
  3402. #if defined ( __CC_ARM )
  3403. #pragma no_anon_unions
  3404. #endif
  3405. #endif /* __EPWM_REG_H__ */