hw_sysctl.h 212 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749
  1. //*****************************************************************************
  2. //
  3. // hw_sysctl.h - Macros used when accessing the system control hardware.
  4. //
  5. // Copyright (c) 2005-2020 Texas Instruments Incorporated. All rights reserved.
  6. // Software License Agreement
  7. //
  8. // Redistribution and use in source and binary forms, with or without
  9. // modification, are permitted provided that the following conditions
  10. // are met:
  11. //
  12. // Redistributions of source code must retain the above copyright
  13. // notice, this list of conditions and the following disclaimer.
  14. //
  15. // Redistributions in binary form must reproduce the above copyright
  16. // notice, this list of conditions and the following disclaimer in the
  17. // documentation and/or other materials provided with the
  18. // distribution.
  19. //
  20. // Neither the name of Texas Instruments Incorporated nor the names of
  21. // its contributors may be used to endorse or promote products derived
  22. // from this software without specific prior written permission.
  23. //
  24. // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  25. // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  26. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  27. // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  28. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  29. // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  30. // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  31. // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  32. // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  33. // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  34. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  35. //
  36. // This is part of revision 2.2.0.295 of the Tiva Firmware Development Package.
  37. //
  38. //*****************************************************************************
  39. #ifndef __HW_SYSCTL_H__
  40. #define __HW_SYSCTL_H__
  41. //*****************************************************************************
  42. //
  43. // The following are defines for the System Control register addresses.
  44. //
  45. //*****************************************************************************
  46. #define SYSCTL_DID0 0x400FE000 // Device Identification 0
  47. #define SYSCTL_DID1 0x400FE004 // Device Identification 1
  48. #define SYSCTL_DC0 0x400FE008 // Device Capabilities 0
  49. #define SYSCTL_DC1 0x400FE010 // Device Capabilities 1
  50. #define SYSCTL_DC2 0x400FE014 // Device Capabilities 2
  51. #define SYSCTL_DC3 0x400FE018 // Device Capabilities 3
  52. #define SYSCTL_DC4 0x400FE01C // Device Capabilities 4
  53. #define SYSCTL_DC5 0x400FE020 // Device Capabilities 5
  54. #define SYSCTL_DC6 0x400FE024 // Device Capabilities 6
  55. #define SYSCTL_DC7 0x400FE028 // Device Capabilities 7
  56. #define SYSCTL_DC8 0x400FE02C // Device Capabilities 8
  57. #define SYSCTL_PBORCTL 0x400FE030 // Brown-Out Reset Control
  58. #define SYSCTL_PTBOCTL 0x400FE038 // Power-Temp Brown Out Control
  59. #define SYSCTL_SRCR0 0x400FE040 // Software Reset Control 0
  60. #define SYSCTL_SRCR1 0x400FE044 // Software Reset Control 1
  61. #define SYSCTL_SRCR2 0x400FE048 // Software Reset Control 2
  62. #define SYSCTL_RIS 0x400FE050 // Raw Interrupt Status
  63. #define SYSCTL_IMC 0x400FE054 // Interrupt Mask Control
  64. #define SYSCTL_MISC 0x400FE058 // Masked Interrupt Status and
  65. // Clear
  66. #define SYSCTL_RESC 0x400FE05C // Reset Cause
  67. #define SYSCTL_PWRTC 0x400FE060 // Power-Temperature Cause
  68. #define SYSCTL_RCC 0x400FE060 // Run-Mode Clock Configuration
  69. #define SYSCTL_NMIC 0x400FE064 // NMI Cause Register
  70. #define SYSCTL_GPIOHBCTL 0x400FE06C // GPIO High-Performance Bus
  71. // Control
  72. #define SYSCTL_RCC2 0x400FE070 // Run-Mode Clock Configuration 2
  73. #define SYSCTL_MOSCCTL 0x400FE07C // Main Oscillator Control
  74. #define SYSCTL_RSCLKCFG 0x400FE0B0 // Run and Sleep Mode Configuration
  75. // Register
  76. #define SYSCTL_MEMTIM0 0x400FE0C0 // Memory Timing Parameter Register
  77. // 0 for Main Flash and EEPROM
  78. #define SYSCTL_RCGC0 0x400FE100 // Run Mode Clock Gating Control
  79. // Register 0
  80. #define SYSCTL_RCGC1 0x400FE104 // Run Mode Clock Gating Control
  81. // Register 1
  82. #define SYSCTL_RCGC2 0x400FE108 // Run Mode Clock Gating Control
  83. // Register 2
  84. #define SYSCTL_SCGC0 0x400FE110 // Sleep Mode Clock Gating Control
  85. // Register 0
  86. #define SYSCTL_SCGC1 0x400FE114 // Sleep Mode Clock Gating Control
  87. // Register 1
  88. #define SYSCTL_SCGC2 0x400FE118 // Sleep Mode Clock Gating Control
  89. // Register 2
  90. #define SYSCTL_DCGC0 0x400FE120 // Deep Sleep Mode Clock Gating
  91. // Control Register 0
  92. #define SYSCTL_DCGC1 0x400FE124 // Deep-Sleep Mode Clock Gating
  93. // Control Register 1
  94. #define SYSCTL_DCGC2 0x400FE128 // Deep Sleep Mode Clock Gating
  95. // Control Register 2
  96. #define SYSCTL_ALTCLKCFG 0x400FE138 // Alternate Clock Configuration
  97. #define SYSCTL_DSLPCLKCFG 0x400FE144 // Deep Sleep Clock Configuration
  98. #define SYSCTL_DSCLKCFG 0x400FE144 // Deep Sleep Clock Configuration
  99. // Register
  100. #define SYSCTL_DIVSCLK 0x400FE148 // Divisor and Source Clock
  101. // Configuration
  102. #define SYSCTL_SYSPROP 0x400FE14C // System Properties
  103. #define SYSCTL_PIOSCCAL 0x400FE150 // Precision Internal Oscillator
  104. // Calibration
  105. #define SYSCTL_PIOSCSTAT 0x400FE154 // Precision Internal Oscillator
  106. // Statistics
  107. #define SYSCTL_PLLFREQ0 0x400FE160 // PLL Frequency 0
  108. #define SYSCTL_PLLFREQ1 0x400FE164 // PLL Frequency 1
  109. #define SYSCTL_PLLSTAT 0x400FE168 // PLL Status
  110. #define SYSCTL_SLPPWRCFG 0x400FE188 // Sleep Power Configuration
  111. #define SYSCTL_DSLPPWRCFG 0x400FE18C // Deep-Sleep Power Configuration
  112. #define SYSCTL_DC9 0x400FE190 // Device Capabilities 9
  113. #define SYSCTL_NVMSTAT 0x400FE1A0 // Non-Volatile Memory Information
  114. #define SYSCTL_LDOSPCTL 0x400FE1B4 // LDO Sleep Power Control
  115. #define SYSCTL_LDODPCTL 0x400FE1BC // LDO Deep-Sleep Power Control
  116. #define SYSCTL_RESBEHAVCTL 0x400FE1D8 // Reset Behavior Control Register
  117. #define SYSCTL_HSSR 0x400FE1F4 // Hardware System Service Request
  118. #define SYSCTL_USBPDS 0x400FE280 // USB Power Domain Status
  119. #define SYSCTL_USBMPC 0x400FE284 // USB Memory Power Control
  120. #define SYSCTL_EMACPDS 0x400FE288 // Ethernet MAC Power Domain Status
  121. #define SYSCTL_EMACMPC 0x400FE28C // Ethernet MAC Memory Power
  122. // Control
  123. #define SYSCTL_LCDMPC 0x400FE294 // LCD Memory Power Control
  124. #define SYSCTL_PPWD 0x400FE300 // Watchdog Timer Peripheral
  125. // Present
  126. #define SYSCTL_PPTIMER 0x400FE304 // 16/32-Bit General-Purpose Timer
  127. // Peripheral Present
  128. #define SYSCTL_PPGPIO 0x400FE308 // General-Purpose Input/Output
  129. // Peripheral Present
  130. #define SYSCTL_PPDMA 0x400FE30C // Micro Direct Memory Access
  131. // Peripheral Present
  132. #define SYSCTL_PPEPI 0x400FE310 // EPI Peripheral Present
  133. #define SYSCTL_PPHIB 0x400FE314 // Hibernation Peripheral Present
  134. #define SYSCTL_PPUART 0x400FE318 // Universal Asynchronous
  135. // Receiver/Transmitter Peripheral
  136. // Present
  137. #define SYSCTL_PPSSI 0x400FE31C // Synchronous Serial Interface
  138. // Peripheral Present
  139. #define SYSCTL_PPI2C 0x400FE320 // Inter-Integrated Circuit
  140. // Peripheral Present
  141. #define SYSCTL_PPUSB 0x400FE328 // Universal Serial Bus Peripheral
  142. // Present
  143. #define SYSCTL_PPEPHY 0x400FE330 // Ethernet PHY Peripheral Present
  144. #define SYSCTL_PPCAN 0x400FE334 // Controller Area Network
  145. // Peripheral Present
  146. #define SYSCTL_PPADC 0x400FE338 // Analog-to-Digital Converter
  147. // Peripheral Present
  148. #define SYSCTL_PPACMP 0x400FE33C // Analog Comparator Peripheral
  149. // Present
  150. #define SYSCTL_PPPWM 0x400FE340 // Pulse Width Modulator Peripheral
  151. // Present
  152. #define SYSCTL_PPQEI 0x400FE344 // Quadrature Encoder Interface
  153. // Peripheral Present
  154. #define SYSCTL_PPLPC 0x400FE348 // Low Pin Count Interface
  155. // Peripheral Present
  156. #define SYSCTL_PPPECI 0x400FE350 // Platform Environment Control
  157. // Interface Peripheral Present
  158. #define SYSCTL_PPFAN 0x400FE354 // Fan Control Peripheral Present
  159. #define SYSCTL_PPEEPROM 0x400FE358 // EEPROM Peripheral Present
  160. #define SYSCTL_PPWTIMER 0x400FE35C // 32/64-Bit Wide General-Purpose
  161. // Timer Peripheral Present
  162. #define SYSCTL_PPRTS 0x400FE370 // Remote Temperature Sensor
  163. // Peripheral Present
  164. #define SYSCTL_PPCCM 0x400FE374 // CRC and Cryptographic Modules
  165. // Peripheral Present
  166. #define SYSCTL_PPLCD 0x400FE390 // LCD Peripheral Present
  167. #define SYSCTL_PPOWIRE 0x400FE398 // 1-Wire Peripheral Present
  168. #define SYSCTL_PPEMAC 0x400FE39C // Ethernet MAC Peripheral Present
  169. #define SYSCTL_PPHIM 0x400FE3A4 // Human Interface Master
  170. // Peripheral Present
  171. #define SYSCTL_SRWD 0x400FE500 // Watchdog Timer Software Reset
  172. #define SYSCTL_SRTIMER 0x400FE504 // 16/32-Bit General-Purpose Timer
  173. // Software Reset
  174. #define SYSCTL_SRGPIO 0x400FE508 // General-Purpose Input/Output
  175. // Software Reset
  176. #define SYSCTL_SRDMA 0x400FE50C // Micro Direct Memory Access
  177. // Software Reset
  178. #define SYSCTL_SREPI 0x400FE510 // EPI Software Reset
  179. #define SYSCTL_SRHIB 0x400FE514 // Hibernation Software Reset
  180. #define SYSCTL_SRUART 0x400FE518 // Universal Asynchronous
  181. // Receiver/Transmitter Software
  182. // Reset
  183. #define SYSCTL_SRSSI 0x400FE51C // Synchronous Serial Interface
  184. // Software Reset
  185. #define SYSCTL_SRI2C 0x400FE520 // Inter-Integrated Circuit
  186. // Software Reset
  187. #define SYSCTL_SRUSB 0x400FE528 // Universal Serial Bus Software
  188. // Reset
  189. #define SYSCTL_SREPHY 0x400FE530 // Ethernet PHY Software Reset
  190. #define SYSCTL_SRCAN 0x400FE534 // Controller Area Network Software
  191. // Reset
  192. #define SYSCTL_SRADC 0x400FE538 // Analog-to-Digital Converter
  193. // Software Reset
  194. #define SYSCTL_SRACMP 0x400FE53C // Analog Comparator Software Reset
  195. #define SYSCTL_SRPWM 0x400FE540 // Pulse Width Modulator Software
  196. // Reset
  197. #define SYSCTL_SRQEI 0x400FE544 // Quadrature Encoder Interface
  198. // Software Reset
  199. #define SYSCTL_SREEPROM 0x400FE558 // EEPROM Software Reset
  200. #define SYSCTL_SRWTIMER 0x400FE55C // 32/64-Bit Wide General-Purpose
  201. // Timer Software Reset
  202. #define SYSCTL_SRCCM 0x400FE574 // CRC and Cryptographic Modules
  203. // Software Reset
  204. #define SYSCTL_SRLCD 0x400FE590 // LCD Controller Software Reset
  205. #define SYSCTL_SROWIRE 0x400FE598 // 1-Wire Software Reset
  206. #define SYSCTL_SREMAC 0x400FE59C // Ethernet MAC Software Reset
  207. #define SYSCTL_RCGCWD 0x400FE600 // Watchdog Timer Run Mode Clock
  208. // Gating Control
  209. #define SYSCTL_RCGCTIMER 0x400FE604 // 16/32-Bit General-Purpose Timer
  210. // Run Mode Clock Gating Control
  211. #define SYSCTL_RCGCGPIO 0x400FE608 // General-Purpose Input/Output Run
  212. // Mode Clock Gating Control
  213. #define SYSCTL_RCGCDMA 0x400FE60C // Micro Direct Memory Access Run
  214. // Mode Clock Gating Control
  215. #define SYSCTL_RCGCEPI 0x400FE610 // EPI Run Mode Clock Gating
  216. // Control
  217. #define SYSCTL_RCGCHIB 0x400FE614 // Hibernation Run Mode Clock
  218. // Gating Control
  219. #define SYSCTL_RCGCUART 0x400FE618 // Universal Asynchronous
  220. // Receiver/Transmitter Run Mode
  221. // Clock Gating Control
  222. #define SYSCTL_RCGCSSI 0x400FE61C // Synchronous Serial Interface Run
  223. // Mode Clock Gating Control
  224. #define SYSCTL_RCGCI2C 0x400FE620 // Inter-Integrated Circuit Run
  225. // Mode Clock Gating Control
  226. #define SYSCTL_RCGCUSB 0x400FE628 // Universal Serial Bus Run Mode
  227. // Clock Gating Control
  228. #define SYSCTL_RCGCEPHY 0x400FE630 // Ethernet PHY Run Mode Clock
  229. // Gating Control
  230. #define SYSCTL_RCGCCAN 0x400FE634 // Controller Area Network Run Mode
  231. // Clock Gating Control
  232. #define SYSCTL_RCGCADC 0x400FE638 // Analog-to-Digital Converter Run
  233. // Mode Clock Gating Control
  234. #define SYSCTL_RCGCACMP 0x400FE63C // Analog Comparator Run Mode Clock
  235. // Gating Control
  236. #define SYSCTL_RCGCPWM 0x400FE640 // Pulse Width Modulator Run Mode
  237. // Clock Gating Control
  238. #define SYSCTL_RCGCQEI 0x400FE644 // Quadrature Encoder Interface Run
  239. // Mode Clock Gating Control
  240. #define SYSCTL_RCGCEEPROM 0x400FE658 // EEPROM Run Mode Clock Gating
  241. // Control
  242. #define SYSCTL_RCGCWTIMER 0x400FE65C // 32/64-Bit Wide General-Purpose
  243. // Timer Run Mode Clock Gating
  244. // Control
  245. #define SYSCTL_RCGCCCM 0x400FE674 // CRC and Cryptographic Modules
  246. // Run Mode Clock Gating Control
  247. #define SYSCTL_RCGCLCD 0x400FE690 // LCD Controller Run Mode Clock
  248. // Gating Control
  249. #define SYSCTL_RCGCOWIRE 0x400FE698 // 1-Wire Run Mode Clock Gating
  250. // Control
  251. #define SYSCTL_RCGCEMAC 0x400FE69C // Ethernet MAC Run Mode Clock
  252. // Gating Control
  253. #define SYSCTL_SCGCWD 0x400FE700 // Watchdog Timer Sleep Mode Clock
  254. // Gating Control
  255. #define SYSCTL_SCGCTIMER 0x400FE704 // 16/32-Bit General-Purpose Timer
  256. // Sleep Mode Clock Gating Control
  257. #define SYSCTL_SCGCGPIO 0x400FE708 // General-Purpose Input/Output
  258. // Sleep Mode Clock Gating Control
  259. #define SYSCTL_SCGCDMA 0x400FE70C // Micro Direct Memory Access Sleep
  260. // Mode Clock Gating Control
  261. #define SYSCTL_SCGCEPI 0x400FE710 // EPI Sleep Mode Clock Gating
  262. // Control
  263. #define SYSCTL_SCGCHIB 0x400FE714 // Hibernation Sleep Mode Clock
  264. // Gating Control
  265. #define SYSCTL_SCGCUART 0x400FE718 // Universal Asynchronous
  266. // Receiver/Transmitter Sleep Mode
  267. // Clock Gating Control
  268. #define SYSCTL_SCGCSSI 0x400FE71C // Synchronous Serial Interface
  269. // Sleep Mode Clock Gating Control
  270. #define SYSCTL_SCGCI2C 0x400FE720 // Inter-Integrated Circuit Sleep
  271. // Mode Clock Gating Control
  272. #define SYSCTL_SCGCUSB 0x400FE728 // Universal Serial Bus Sleep Mode
  273. // Clock Gating Control
  274. #define SYSCTL_SCGCEPHY 0x400FE730 // Ethernet PHY Sleep Mode Clock
  275. // Gating Control
  276. #define SYSCTL_SCGCCAN 0x400FE734 // Controller Area Network Sleep
  277. // Mode Clock Gating Control
  278. #define SYSCTL_SCGCADC 0x400FE738 // Analog-to-Digital Converter
  279. // Sleep Mode Clock Gating Control
  280. #define SYSCTL_SCGCACMP 0x400FE73C // Analog Comparator Sleep Mode
  281. // Clock Gating Control
  282. #define SYSCTL_SCGCPWM 0x400FE740 // Pulse Width Modulator Sleep Mode
  283. // Clock Gating Control
  284. #define SYSCTL_SCGCQEI 0x400FE744 // Quadrature Encoder Interface
  285. // Sleep Mode Clock Gating Control
  286. #define SYSCTL_SCGCEEPROM 0x400FE758 // EEPROM Sleep Mode Clock Gating
  287. // Control
  288. #define SYSCTL_SCGCWTIMER 0x400FE75C // 32/64-Bit Wide General-Purpose
  289. // Timer Sleep Mode Clock Gating
  290. // Control
  291. #define SYSCTL_SCGCCCM 0x400FE774 // CRC and Cryptographic Modules
  292. // Sleep Mode Clock Gating Control
  293. #define SYSCTL_SCGCLCD 0x400FE790 // LCD Controller Sleep Mode Clock
  294. // Gating Control
  295. #define SYSCTL_SCGCOWIRE 0x400FE798 // 1-Wire Sleep Mode Clock Gating
  296. // Control
  297. #define SYSCTL_SCGCEMAC 0x400FE79C // Ethernet MAC Sleep Mode Clock
  298. // Gating Control
  299. #define SYSCTL_DCGCWD 0x400FE800 // Watchdog Timer Deep-Sleep Mode
  300. // Clock Gating Control
  301. #define SYSCTL_DCGCTIMER 0x400FE804 // 16/32-Bit General-Purpose Timer
  302. // Deep-Sleep Mode Clock Gating
  303. // Control
  304. #define SYSCTL_DCGCGPIO 0x400FE808 // General-Purpose Input/Output
  305. // Deep-Sleep Mode Clock Gating
  306. // Control
  307. #define SYSCTL_DCGCDMA 0x400FE80C // Micro Direct Memory Access
  308. // Deep-Sleep Mode Clock Gating
  309. // Control
  310. #define SYSCTL_DCGCEPI 0x400FE810 // EPI Deep-Sleep Mode Clock Gating
  311. // Control
  312. #define SYSCTL_DCGCHIB 0x400FE814 // Hibernation Deep-Sleep Mode
  313. // Clock Gating Control
  314. #define SYSCTL_DCGCUART 0x400FE818 // Universal Asynchronous
  315. // Receiver/Transmitter Deep-Sleep
  316. // Mode Clock Gating Control
  317. #define SYSCTL_DCGCSSI 0x400FE81C // Synchronous Serial Interface
  318. // Deep-Sleep Mode Clock Gating
  319. // Control
  320. #define SYSCTL_DCGCI2C 0x400FE820 // Inter-Integrated Circuit
  321. // Deep-Sleep Mode Clock Gating
  322. // Control
  323. #define SYSCTL_DCGCUSB 0x400FE828 // Universal Serial Bus Deep-Sleep
  324. // Mode Clock Gating Control
  325. #define SYSCTL_DCGCEPHY 0x400FE830 // Ethernet PHY Deep-Sleep Mode
  326. // Clock Gating Control
  327. #define SYSCTL_DCGCCAN 0x400FE834 // Controller Area Network
  328. // Deep-Sleep Mode Clock Gating
  329. // Control
  330. #define SYSCTL_DCGCADC 0x400FE838 // Analog-to-Digital Converter
  331. // Deep-Sleep Mode Clock Gating
  332. // Control
  333. #define SYSCTL_DCGCACMP 0x400FE83C // Analog Comparator Deep-Sleep
  334. // Mode Clock Gating Control
  335. #define SYSCTL_DCGCPWM 0x400FE840 // Pulse Width Modulator Deep-Sleep
  336. // Mode Clock Gating Control
  337. #define SYSCTL_DCGCQEI 0x400FE844 // Quadrature Encoder Interface
  338. // Deep-Sleep Mode Clock Gating
  339. // Control
  340. #define SYSCTL_DCGCEEPROM 0x400FE858 // EEPROM Deep-Sleep Mode Clock
  341. // Gating Control
  342. #define SYSCTL_DCGCWTIMER 0x400FE85C // 32/64-Bit Wide General-Purpose
  343. // Timer Deep-Sleep Mode Clock
  344. // Gating Control
  345. #define SYSCTL_DCGCCCM 0x400FE874 // CRC and Cryptographic Modules
  346. // Deep-Sleep Mode Clock Gating
  347. // Control
  348. #define SYSCTL_DCGCLCD 0x400FE890 // LCD Controller Deep-Sleep Mode
  349. // Clock Gating Control
  350. #define SYSCTL_DCGCOWIRE 0x400FE898 // 1-Wire Deep-Sleep Mode Clock
  351. // Gating Control
  352. #define SYSCTL_DCGCEMAC 0x400FE89C // Ethernet MAC Deep-Sleep Mode
  353. // Clock Gating Control
  354. #define SYSCTL_PCWD 0x400FE900 // Watchdog Timer Power Control
  355. #define SYSCTL_PCTIMER 0x400FE904 // 16/32-Bit General-Purpose Timer
  356. // Power Control
  357. #define SYSCTL_PCGPIO 0x400FE908 // General-Purpose Input/Output
  358. // Power Control
  359. #define SYSCTL_PCDMA 0x400FE90C // Micro Direct Memory Access Power
  360. // Control
  361. #define SYSCTL_PCEPI 0x400FE910 // External Peripheral Interface
  362. // Power Control
  363. #define SYSCTL_PCHIB 0x400FE914 // Hibernation Power Control
  364. #define SYSCTL_PCUART 0x400FE918 // Universal Asynchronous
  365. // Receiver/Transmitter Power
  366. // Control
  367. #define SYSCTL_PCSSI 0x400FE91C // Synchronous Serial Interface
  368. // Power Control
  369. #define SYSCTL_PCI2C 0x400FE920 // Inter-Integrated Circuit Power
  370. // Control
  371. #define SYSCTL_PCUSB 0x400FE928 // Universal Serial Bus Power
  372. // Control
  373. #define SYSCTL_PCEPHY 0x400FE930 // Ethernet PHY Power Control
  374. #define SYSCTL_PCCAN 0x400FE934 // Controller Area Network Power
  375. // Control
  376. #define SYSCTL_PCADC 0x400FE938 // Analog-to-Digital Converter
  377. // Power Control
  378. #define SYSCTL_PCACMP 0x400FE93C // Analog Comparator Power Control
  379. #define SYSCTL_PCPWM 0x400FE940 // Pulse Width Modulator Power
  380. // Control
  381. #define SYSCTL_PCQEI 0x400FE944 // Quadrature Encoder Interface
  382. // Power Control
  383. #define SYSCTL_PCEEPROM 0x400FE958 // EEPROM Power Control
  384. #define SYSCTL_PCCCM 0x400FE974 // CRC and Cryptographic Modules
  385. // Power Control
  386. #define SYSCTL_PCLCD 0x400FE990 // LCD Controller Power Control
  387. #define SYSCTL_PCOWIRE 0x400FE998 // 1-Wire Power Control
  388. #define SYSCTL_PCEMAC 0x400FE99C // Ethernet MAC Power Control
  389. #define SYSCTL_PRWD 0x400FEA00 // Watchdog Timer Peripheral Ready
  390. #define SYSCTL_PRTIMER 0x400FEA04 // 16/32-Bit General-Purpose Timer
  391. // Peripheral Ready
  392. #define SYSCTL_PRGPIO 0x400FEA08 // General-Purpose Input/Output
  393. // Peripheral Ready
  394. #define SYSCTL_PRDMA 0x400FEA0C // Micro Direct Memory Access
  395. // Peripheral Ready
  396. #define SYSCTL_PREPI 0x400FEA10 // EPI Peripheral Ready
  397. #define SYSCTL_PRHIB 0x400FEA14 // Hibernation Peripheral Ready
  398. #define SYSCTL_PRUART 0x400FEA18 // Universal Asynchronous
  399. // Receiver/Transmitter Peripheral
  400. // Ready
  401. #define SYSCTL_PRSSI 0x400FEA1C // Synchronous Serial Interface
  402. // Peripheral Ready
  403. #define SYSCTL_PRI2C 0x400FEA20 // Inter-Integrated Circuit
  404. // Peripheral Ready
  405. #define SYSCTL_PRUSB 0x400FEA28 // Universal Serial Bus Peripheral
  406. // Ready
  407. #define SYSCTL_PREPHY 0x400FEA30 // Ethernet PHY Peripheral Ready
  408. #define SYSCTL_PRCAN 0x400FEA34 // Controller Area Network
  409. // Peripheral Ready
  410. #define SYSCTL_PRADC 0x400FEA38 // Analog-to-Digital Converter
  411. // Peripheral Ready
  412. #define SYSCTL_PRACMP 0x400FEA3C // Analog Comparator Peripheral
  413. // Ready
  414. #define SYSCTL_PRPWM 0x400FEA40 // Pulse Width Modulator Peripheral
  415. // Ready
  416. #define SYSCTL_PRQEI 0x400FEA44 // Quadrature Encoder Interface
  417. // Peripheral Ready
  418. #define SYSCTL_PREEPROM 0x400FEA58 // EEPROM Peripheral Ready
  419. #define SYSCTL_PRWTIMER 0x400FEA5C // 32/64-Bit Wide General-Purpose
  420. // Timer Peripheral Ready
  421. #define SYSCTL_PRCCM 0x400FEA74 // CRC and Cryptographic Modules
  422. // Peripheral Ready
  423. #define SYSCTL_PRLCD 0x400FEA90 // LCD Controller Peripheral Ready
  424. #define SYSCTL_PROWIRE 0x400FEA98 // 1-Wire Peripheral Ready
  425. #define SYSCTL_PREMAC 0x400FEA9C // Ethernet MAC Peripheral Ready
  426. #define SYSCTL_UNIQUEID0 0x400FEF20 // Unique ID 0
  427. #define SYSCTL_UNIQUEID1 0x400FEF24 // Unique ID 1
  428. #define SYSCTL_UNIQUEID2 0x400FEF28 // Unique ID 2
  429. #define SYSCTL_UNIQUEID3 0x400FEF2C // Unique ID 3
  430. #define SYSCTL_CCMCGREQ 0x44030204 // Cryptographic Modules Clock
  431. // Gating Request
  432. //*****************************************************************************
  433. //
  434. // The following are defines for the bit fields in the SYSCTL_DID0 register.
  435. //
  436. //*****************************************************************************
  437. #define SYSCTL_DID0_VER_M 0x70000000 // DID0 Version
  438. #define SYSCTL_DID0_VER_1 0x10000000 // Second version of the DID0
  439. // register format.
  440. #define SYSCTL_DID0_CLASS_M 0x00FF0000 // Device Class
  441. #define SYSCTL_DID0_CLASS_TM4C123 \
  442. 0x00050000 // Tiva TM4C123x and TM4E123x
  443. // microcontrollers
  444. #define SYSCTL_DID0_CLASS_TM4C129 \
  445. 0x000A0000 // Tiva(TM) TM4C129-class
  446. // microcontrollers
  447. #define SYSCTL_DID0_MAJ_M 0x0000FF00 // Major Revision
  448. #define SYSCTL_DID0_MAJ_REVA 0x00000000 // Revision A (initial device)
  449. #define SYSCTL_DID0_MAJ_REVB 0x00000100 // Revision B (first base layer
  450. // revision)
  451. #define SYSCTL_DID0_MAJ_REVC 0x00000200 // Revision C (second base layer
  452. // revision)
  453. #define SYSCTL_DID0_MIN_M 0x000000FF // Minor Revision
  454. #define SYSCTL_DID0_MIN_0 0x00000000 // Initial device, or a major
  455. // revision update
  456. #define SYSCTL_DID0_MIN_1 0x00000001 // First metal layer change
  457. #define SYSCTL_DID0_MIN_2 0x00000002 // Second metal layer change
  458. //*****************************************************************************
  459. //
  460. // The following are defines for the bit fields in the SYSCTL_DID1 register.
  461. //
  462. //*****************************************************************************
  463. #define SYSCTL_DID1_VER_M 0xF0000000 // DID1 Version
  464. #define SYSCTL_DID1_VER_1 0x10000000 // fury_ib
  465. #define SYSCTL_DID1_FAM_M 0x0F000000 // Family
  466. #define SYSCTL_DID1_FAM_TIVA 0x00000000 // Tiva family of microcontollers
  467. #define SYSCTL_DID1_PRTNO_M 0x00FF0000 // Part Number
  468. #define SYSCTL_DID1_PRTNO_TM4C1230C3PM \
  469. 0x00220000 // TM4C1230C3PM
  470. #define SYSCTL_DID1_PRTNO_TM4C1230D5PM \
  471. 0x00230000 // TM4C1230D5PM
  472. #define SYSCTL_DID1_PRTNO_TM4C1230E6PM \
  473. 0x00200000 // TM4C1230E6PM
  474. #define SYSCTL_DID1_PRTNO_TM4C1230H6PM \
  475. 0x00210000 // TM4C1230H6PM
  476. #define SYSCTL_DID1_PRTNO_TM4C1231C3PM \
  477. 0x00180000 // TM4C1231C3PM
  478. #define SYSCTL_DID1_PRTNO_TM4C1231D5PM \
  479. 0x00190000 // TM4C1231D5PM
  480. #define SYSCTL_DID1_PRTNO_TM4C1231D5PZ \
  481. 0x00360000 // TM4C1231D5PZ
  482. #define SYSCTL_DID1_PRTNO_TM4C1231E6PM \
  483. 0x00100000 // TM4C1231E6PM
  484. #define SYSCTL_DID1_PRTNO_TM4C1231E6PZ \
  485. 0x00300000 // TM4C1231E6PZ
  486. #define SYSCTL_DID1_PRTNO_TM4C1231H6PGE \
  487. 0x00350000 // TM4C1231H6PGE
  488. #define SYSCTL_DID1_PRTNO_TM4C1231H6PM \
  489. 0x00110000 // TM4C1231H6PM
  490. #define SYSCTL_DID1_PRTNO_TM4C1231H6PZ \
  491. 0x00310000 // TM4C1231H6PZ
  492. #define SYSCTL_DID1_PRTNO_TM4C1232C3PM \
  493. 0x00080000 // TM4C1232C3PM
  494. #define SYSCTL_DID1_PRTNO_TM4C1232D5PM \
  495. 0x00090000 // TM4C1232D5PM
  496. #define SYSCTL_DID1_PRTNO_TM4C1232E6PM \
  497. 0x000A0000 // TM4C1232E6PM
  498. #define SYSCTL_DID1_PRTNO_TM4C1232H6PM \
  499. 0x000B0000 // TM4C1232H6PM
  500. #define SYSCTL_DID1_PRTNO_TM4C1233C3PM \
  501. 0x00010000 // TM4C1233C3PM
  502. #define SYSCTL_DID1_PRTNO_TM4C1233D5PM \
  503. 0x00020000 // TM4C1233D5PM
  504. #define SYSCTL_DID1_PRTNO_TM4C1233D5PZ \
  505. 0x00D00000 // TM4C1233D5PZ
  506. #define SYSCTL_DID1_PRTNO_TM4C1233E6PM \
  507. 0x00030000 // TM4C1233E6PM
  508. #define SYSCTL_DID1_PRTNO_TM4C1233E6PZ \
  509. 0x00D10000 // TM4C1233E6PZ
  510. #define SYSCTL_DID1_PRTNO_TM4C1233H6PGE \
  511. 0x00D60000 // TM4C1233H6PGE
  512. #define SYSCTL_DID1_PRTNO_TM4C1233H6PM \
  513. 0x00040000 // TM4C1233H6PM
  514. #define SYSCTL_DID1_PRTNO_TM4C1233H6PZ \
  515. 0x00D20000 // TM4C1233H6PZ
  516. #define SYSCTL_DID1_PRTNO_TM4C1236D5PM \
  517. 0x00520000 // TM4C1236D5PM
  518. #define SYSCTL_DID1_PRTNO_TM4C1236E6PM \
  519. 0x00500000 // TM4C1236E6PM
  520. #define SYSCTL_DID1_PRTNO_TM4C1236H6PM \
  521. 0x00510000 // TM4C1236H6PM
  522. #define SYSCTL_DID1_PRTNO_TM4C1237D5PM \
  523. 0x00480000 // TM4C1237D5PM
  524. #define SYSCTL_DID1_PRTNO_TM4C1237D5PZ \
  525. 0x00660000 // TM4C1237D5PZ
  526. #define SYSCTL_DID1_PRTNO_TM4C1237E6PM \
  527. 0x00400000 // TM4C1237E6PM
  528. #define SYSCTL_DID1_PRTNO_TM4C1237E6PZ \
  529. 0x00600000 // TM4C1237E6PZ
  530. #define SYSCTL_DID1_PRTNO_TM4C1237H6PGE \
  531. 0x00650000 // TM4C1237H6PGE
  532. #define SYSCTL_DID1_PRTNO_TM4C1237H6PM \
  533. 0x00410000 // TM4C1237H6PM
  534. #define SYSCTL_DID1_PRTNO_TM4C1237H6PZ \
  535. 0x00610000 // TM4C1237H6PZ
  536. #define SYSCTL_DID1_PRTNO_TM4C123AE6PM \
  537. 0x00800000 // TM4C123AE6PM
  538. #define SYSCTL_DID1_PRTNO_TM4C123AH6PM \
  539. 0x00830000 // TM4C123AH6PM
  540. #define SYSCTL_DID1_PRTNO_TM4C123BE6PM \
  541. 0x00700000 // TM4C123BE6PM
  542. #define SYSCTL_DID1_PRTNO_TM4C123BE6PZ \
  543. 0x00C30000 // TM4C123BE6PZ
  544. #define SYSCTL_DID1_PRTNO_TM4C123BH6PGE \
  545. 0x00C60000 // TM4C123BH6PGE
  546. #define SYSCTL_DID1_PRTNO_TM4C123BH6PM \
  547. 0x00730000 // TM4C123BH6PM
  548. #define SYSCTL_DID1_PRTNO_TM4C123BH6PZ \
  549. 0x00C40000 // TM4C123BH6PZ
  550. #define SYSCTL_DID1_PRTNO_TM4C123BH6ZRB \
  551. 0x00E90000 // TM4C123BH6ZRB
  552. #define SYSCTL_DID1_PRTNO_TM4C123FE6PM \
  553. 0x00B00000 // TM4C123FE6PM
  554. #define SYSCTL_DID1_PRTNO_TM4C123FH6PM \
  555. 0x00B10000 // TM4C123FH6PM
  556. #define SYSCTL_DID1_PRTNO_TM4C123GE6PM \
  557. 0x00A00000 // TM4C123GE6PM
  558. #define SYSCTL_DID1_PRTNO_TM4C123GE6PZ \
  559. 0x00C00000 // TM4C123GE6PZ
  560. #define SYSCTL_DID1_PRTNO_TM4C123GH6PGE \
  561. 0x00C50000 // TM4C123GH6PGE
  562. #define SYSCTL_DID1_PRTNO_TM4C123GH6PM \
  563. 0x00A10000 // TM4C123GH6PM
  564. #define SYSCTL_DID1_PRTNO_TM4C123GH6PZ \
  565. 0x00C10000 // TM4C123GH6PZ
  566. #define SYSCTL_DID1_PRTNO_TM4C123GH6ZRB \
  567. 0x00E30000 // TM4C123GH6ZRB
  568. #define SYSCTL_DID1_PRTNO_TM4C1290NCPDT \
  569. 0x00190000 // TM4C1290NCPDT
  570. #define SYSCTL_DID1_PRTNO_TM4C1290NCZAD \
  571. 0x001B0000 // TM4C1290NCZAD
  572. #define SYSCTL_DID1_PRTNO_TM4C1292NCPDT \
  573. 0x001C0000 // TM4C1292NCPDT
  574. #define SYSCTL_DID1_PRTNO_TM4C1292NCZAD \
  575. 0x001E0000 // TM4C1292NCZAD
  576. #define SYSCTL_DID1_PRTNO_TM4C1294KCPDT \
  577. 0x00340000 // TM4C1294KCPDT
  578. #define SYSCTL_DID1_PRTNO_TM4C1294NCPDT \
  579. 0x001F0000 // TM4C1294NCPDT
  580. #define SYSCTL_DID1_PRTNO_TM4C1294NCZAD \
  581. 0x00210000 // TM4C1294NCZAD
  582. #define SYSCTL_DID1_PRTNO_TM4C1297NCZAD \
  583. 0x00220000 // TM4C1297NCZAD
  584. #define SYSCTL_DID1_PRTNO_TM4C1299KCZAD \
  585. 0x00360000 // TM4C1299KCZAD
  586. #define SYSCTL_DID1_PRTNO_TM4C1299NCZAD \
  587. 0x00230000 // TM4C1299NCZAD
  588. #define SYSCTL_DID1_PRTNO_TM4C129CNCPDT \
  589. 0x00240000 // TM4C129CNCPDT
  590. #define SYSCTL_DID1_PRTNO_TM4C129CNCZAD \
  591. 0x00260000 // TM4C129CNCZAD
  592. #define SYSCTL_DID1_PRTNO_TM4C129DNCPDT \
  593. 0x00270000 // TM4C129DNCPDT
  594. #define SYSCTL_DID1_PRTNO_TM4C129DNCZAD \
  595. 0x00290000 // TM4C129DNCZAD
  596. #define SYSCTL_DID1_PRTNO_TM4C129EKCPDT \
  597. 0x00350000 // TM4C129EKCPDT
  598. #define SYSCTL_DID1_PRTNO_TM4C129ENCPDT \
  599. 0x002D0000 // TM4C129ENCPDT
  600. #define SYSCTL_DID1_PRTNO_TM4C129ENCZAD \
  601. 0x002F0000 // TM4C129ENCZAD
  602. #define SYSCTL_DID1_PRTNO_TM4C129LNCZAD \
  603. 0x00300000 // TM4C129LNCZAD
  604. #define SYSCTL_DID1_PRTNO_TM4C129XKCZAD \
  605. 0x00370000 // TM4C129XKCZAD
  606. #define SYSCTL_DID1_PRTNO_TM4C129XNCZAD \
  607. 0x00320000 // TM4C129XNCZAD
  608. #define SYSCTL_DID1_PINCNT_M 0x0000E000 // Package Pin Count
  609. #define SYSCTL_DID1_PINCNT_100 0x00004000 // 100-pin LQFP package
  610. #define SYSCTL_DID1_PINCNT_64 0x00006000 // 64-pin LQFP package
  611. #define SYSCTL_DID1_PINCNT_144 0x00008000 // 144-pin LQFP package
  612. #define SYSCTL_DID1_PINCNT_157 0x0000A000 // 157-pin BGA package
  613. #define SYSCTL_DID1_PINCNT_128 0x0000C000 // 128-pin TQFP package
  614. #define SYSCTL_DID1_TEMP_M 0x000000E0 // Temperature Range
  615. #define SYSCTL_DID1_TEMP_C 0x00000000 // Commercial temperature range
  616. #define SYSCTL_DID1_TEMP_I 0x00000020 // Industrial temperature range
  617. #define SYSCTL_DID1_TEMP_E 0x00000040 // Extended temperature range
  618. #define SYSCTL_DID1_TEMP_IE 0x00000060 // Available in both industrial
  619. // temperature range (-40C to 85C)
  620. // and extended temperature range
  621. // (-40C to 105C) devices. See
  622. #define SYSCTL_DID1_PKG_M 0x00000018 // Package Type
  623. #define SYSCTL_DID1_PKG_QFP 0x00000008 // QFP package
  624. #define SYSCTL_DID1_PKG_BGA 0x00000010 // BGA package
  625. #define SYSCTL_DID1_ROHS 0x00000004 // RoHS-Compliance
  626. #define SYSCTL_DID1_QUAL_M 0x00000003 // Qualification Status
  627. #define SYSCTL_DID1_QUAL_ES 0x00000000 // Engineering Sample (unqualified)
  628. #define SYSCTL_DID1_QUAL_PP 0x00000001 // Pilot Production (unqualified)
  629. #define SYSCTL_DID1_QUAL_FQ 0x00000002 // Fully Qualified
  630. //*****************************************************************************
  631. //
  632. // The following are defines for the bit fields in the SYSCTL_DC0 register.
  633. //
  634. //*****************************************************************************
  635. #define SYSCTL_DC0_SRAMSZ_M 0xFFFF0000 // SRAM Size
  636. #define SYSCTL_DC0_SRAMSZ_2KB 0x00070000 // 2 KB of SRAM
  637. #define SYSCTL_DC0_SRAMSZ_4KB 0x000F0000 // 4 KB of SRAM
  638. #define SYSCTL_DC0_SRAMSZ_6KB 0x00170000 // 6 KB of SRAM
  639. #define SYSCTL_DC0_SRAMSZ_8KB 0x001F0000 // 8 KB of SRAM
  640. #define SYSCTL_DC0_SRAMSZ_12KB 0x002F0000 // 12 KB of SRAM
  641. #define SYSCTL_DC0_SRAMSZ_16KB 0x003F0000 // 16 KB of SRAM
  642. #define SYSCTL_DC0_SRAMSZ_20KB 0x004F0000 // 20 KB of SRAM
  643. #define SYSCTL_DC0_SRAMSZ_24KB 0x005F0000 // 24 KB of SRAM
  644. #define SYSCTL_DC0_SRAMSZ_32KB 0x007F0000 // 32 KB of SRAM
  645. #define SYSCTL_DC0_FLASHSZ_M 0x0000FFFF // Flash Size
  646. #define SYSCTL_DC0_FLASHSZ_8KB 0x00000003 // 8 KB of Flash
  647. #define SYSCTL_DC0_FLASHSZ_16KB 0x00000007 // 16 KB of Flash
  648. #define SYSCTL_DC0_FLASHSZ_32KB 0x0000000F // 32 KB of Flash
  649. #define SYSCTL_DC0_FLASHSZ_64KB 0x0000001F // 64 KB of Flash
  650. #define SYSCTL_DC0_FLASHSZ_96KB 0x0000002F // 96 KB of Flash
  651. #define SYSCTL_DC0_FLASHSZ_128K 0x0000003F // 128 KB of Flash
  652. #define SYSCTL_DC0_FLASHSZ_192K 0x0000005F // 192 KB of Flash
  653. #define SYSCTL_DC0_FLASHSZ_256K 0x0000007F // 256 KB of Flash
  654. //*****************************************************************************
  655. //
  656. // The following are defines for the bit fields in the SYSCTL_DC1 register.
  657. //
  658. //*****************************************************************************
  659. #define SYSCTL_DC1_WDT1 0x10000000 // Watchdog Timer1 Present
  660. #define SYSCTL_DC1_CAN1 0x02000000 // CAN Module 1 Present
  661. #define SYSCTL_DC1_CAN0 0x01000000 // CAN Module 0 Present
  662. #define SYSCTL_DC1_PWM1 0x00200000 // PWM Module 1 Present
  663. #define SYSCTL_DC1_PWM0 0x00100000 // PWM Module 0 Present
  664. #define SYSCTL_DC1_ADC1 0x00020000 // ADC Module 1 Present
  665. #define SYSCTL_DC1_ADC0 0x00010000 // ADC Module 0 Present
  666. #define SYSCTL_DC1_MINSYSDIV_M 0x0000F000 // System Clock Divider
  667. #define SYSCTL_DC1_MINSYSDIV_80 0x00002000 // Specifies an 80-MHz CPU clock
  668. // with a PLL divider of 2.5
  669. #define SYSCTL_DC1_MINSYSDIV_50 0x00003000 // Specifies a 50-MHz CPU clock
  670. // with a PLL divider of 4
  671. #define SYSCTL_DC1_MINSYSDIV_40 0x00004000 // Specifies a 40-MHz CPU clock
  672. // with a PLL divider of 5
  673. #define SYSCTL_DC1_MINSYSDIV_25 0x00007000 // Specifies a 25-MHz clock with a
  674. // PLL divider of 8
  675. #define SYSCTL_DC1_MINSYSDIV_20 0x00009000 // Specifies a 20-MHz clock with a
  676. // PLL divider of 10
  677. #define SYSCTL_DC1_ADC1SPD_M 0x00000C00 // Max ADC1 Speed
  678. #define SYSCTL_DC1_ADC1SPD_125K 0x00000000 // 125K samples/second
  679. #define SYSCTL_DC1_ADC1SPD_250K 0x00000400 // 250K samples/second
  680. #define SYSCTL_DC1_ADC1SPD_500K 0x00000800 // 500K samples/second
  681. #define SYSCTL_DC1_ADC1SPD_1M 0x00000C00 // 1M samples/second
  682. #define SYSCTL_DC1_ADC0SPD_M 0x00000300 // Max ADC0 Speed
  683. #define SYSCTL_DC1_ADC0SPD_125K 0x00000000 // 125K samples/second
  684. #define SYSCTL_DC1_ADC0SPD_250K 0x00000100 // 250K samples/second
  685. #define SYSCTL_DC1_ADC0SPD_500K 0x00000200 // 500K samples/second
  686. #define SYSCTL_DC1_ADC0SPD_1M 0x00000300 // 1M samples/second
  687. #define SYSCTL_DC1_MPU 0x00000080 // MPU Present
  688. #define SYSCTL_DC1_HIB 0x00000040 // Hibernation Module Present
  689. #define SYSCTL_DC1_TEMP 0x00000020 // Temp Sensor Present
  690. #define SYSCTL_DC1_PLL 0x00000010 // PLL Present
  691. #define SYSCTL_DC1_WDT0 0x00000008 // Watchdog Timer 0 Present
  692. #define SYSCTL_DC1_SWO 0x00000004 // SWO Trace Port Present
  693. #define SYSCTL_DC1_SWD 0x00000002 // SWD Present
  694. #define SYSCTL_DC1_JTAG 0x00000001 // JTAG Present
  695. //*****************************************************************************
  696. //
  697. // The following are defines for the bit fields in the SYSCTL_DC2 register.
  698. //
  699. //*****************************************************************************
  700. #define SYSCTL_DC2_EPI0 0x40000000 // EPI Module 0 Present
  701. #define SYSCTL_DC2_I2S0 0x10000000 // I2S Module 0 Present
  702. #define SYSCTL_DC2_COMP2 0x04000000 // Analog Comparator 2 Present
  703. #define SYSCTL_DC2_COMP1 0x02000000 // Analog Comparator 1 Present
  704. #define SYSCTL_DC2_COMP0 0x01000000 // Analog Comparator 0 Present
  705. #define SYSCTL_DC2_TIMER3 0x00080000 // Timer Module 3 Present
  706. #define SYSCTL_DC2_TIMER2 0x00040000 // Timer Module 2 Present
  707. #define SYSCTL_DC2_TIMER1 0x00020000 // Timer Module 1 Present
  708. #define SYSCTL_DC2_TIMER0 0x00010000 // Timer Module 0 Present
  709. #define SYSCTL_DC2_I2C1HS 0x00008000 // I2C Module 1 Speed
  710. #define SYSCTL_DC2_I2C1 0x00004000 // I2C Module 1 Present
  711. #define SYSCTL_DC2_I2C0HS 0x00002000 // I2C Module 0 Speed
  712. #define SYSCTL_DC2_I2C0 0x00001000 // I2C Module 0 Present
  713. #define SYSCTL_DC2_QEI1 0x00000200 // QEI Module 1 Present
  714. #define SYSCTL_DC2_QEI0 0x00000100 // QEI Module 0 Present
  715. #define SYSCTL_DC2_SSI1 0x00000020 // SSI Module 1 Present
  716. #define SYSCTL_DC2_SSI0 0x00000010 // SSI Module 0 Present
  717. #define SYSCTL_DC2_UART2 0x00000004 // UART Module 2 Present
  718. #define SYSCTL_DC2_UART1 0x00000002 // UART Module 1 Present
  719. #define SYSCTL_DC2_UART0 0x00000001 // UART Module 0 Present
  720. //*****************************************************************************
  721. //
  722. // The following are defines for the bit fields in the SYSCTL_DC3 register.
  723. //
  724. //*****************************************************************************
  725. #define SYSCTL_DC3_32KHZ 0x80000000 // 32KHz Input Clock Available
  726. #define SYSCTL_DC3_CCP5 0x20000000 // T2CCP1 Pin Present
  727. #define SYSCTL_DC3_CCP4 0x10000000 // T2CCP0 Pin Present
  728. #define SYSCTL_DC3_CCP3 0x08000000 // T1CCP1 Pin Present
  729. #define SYSCTL_DC3_CCP2 0x04000000 // T1CCP0 Pin Present
  730. #define SYSCTL_DC3_CCP1 0x02000000 // T0CCP1 Pin Present
  731. #define SYSCTL_DC3_CCP0 0x01000000 // T0CCP0 Pin Present
  732. #define SYSCTL_DC3_ADC0AIN7 0x00800000 // ADC Module 0 AIN7 Pin Present
  733. #define SYSCTL_DC3_ADC0AIN6 0x00400000 // ADC Module 0 AIN6 Pin Present
  734. #define SYSCTL_DC3_ADC0AIN5 0x00200000 // ADC Module 0 AIN5 Pin Present
  735. #define SYSCTL_DC3_ADC0AIN4 0x00100000 // ADC Module 0 AIN4 Pin Present
  736. #define SYSCTL_DC3_ADC0AIN3 0x00080000 // ADC Module 0 AIN3 Pin Present
  737. #define SYSCTL_DC3_ADC0AIN2 0x00040000 // ADC Module 0 AIN2 Pin Present
  738. #define SYSCTL_DC3_ADC0AIN1 0x00020000 // ADC Module 0 AIN1 Pin Present
  739. #define SYSCTL_DC3_ADC0AIN0 0x00010000 // ADC Module 0 AIN0 Pin Present
  740. #define SYSCTL_DC3_PWMFAULT 0x00008000 // PWM Fault Pin Present
  741. #define SYSCTL_DC3_C2O 0x00004000 // C2o Pin Present
  742. #define SYSCTL_DC3_C2PLUS 0x00002000 // C2+ Pin Present
  743. #define SYSCTL_DC3_C2MINUS 0x00001000 // C2- Pin Present
  744. #define SYSCTL_DC3_C1O 0x00000800 // C1o Pin Present
  745. #define SYSCTL_DC3_C1PLUS 0x00000400 // C1+ Pin Present
  746. #define SYSCTL_DC3_C1MINUS 0x00000200 // C1- Pin Present
  747. #define SYSCTL_DC3_C0O 0x00000100 // C0o Pin Present
  748. #define SYSCTL_DC3_C0PLUS 0x00000080 // C0+ Pin Present
  749. #define SYSCTL_DC3_C0MINUS 0x00000040 // C0- Pin Present
  750. #define SYSCTL_DC3_PWM5 0x00000020 // PWM5 Pin Present
  751. #define SYSCTL_DC3_PWM4 0x00000010 // PWM4 Pin Present
  752. #define SYSCTL_DC3_PWM3 0x00000008 // PWM3 Pin Present
  753. #define SYSCTL_DC3_PWM2 0x00000004 // PWM2 Pin Present
  754. #define SYSCTL_DC3_PWM1 0x00000002 // PWM1 Pin Present
  755. #define SYSCTL_DC3_PWM0 0x00000001 // PWM0 Pin Present
  756. //*****************************************************************************
  757. //
  758. // The following are defines for the bit fields in the SYSCTL_DC4 register.
  759. //
  760. //*****************************************************************************
  761. #define SYSCTL_DC4_EPHY0 0x40000000 // Ethernet PHY Layer 0 Present
  762. #define SYSCTL_DC4_EMAC0 0x10000000 // Ethernet MAC Layer 0 Present
  763. #define SYSCTL_DC4_E1588 0x01000000 // 1588 Capable
  764. #define SYSCTL_DC4_PICAL 0x00040000 // PIOSC Calibrate
  765. #define SYSCTL_DC4_CCP7 0x00008000 // T3CCP1 Pin Present
  766. #define SYSCTL_DC4_CCP6 0x00004000 // T3CCP0 Pin Present
  767. #define SYSCTL_DC4_UDMA 0x00002000 // Micro-DMA Module Present
  768. #define SYSCTL_DC4_ROM 0x00001000 // Internal Code ROM Present
  769. #define SYSCTL_DC4_GPIOJ 0x00000100 // GPIO Port J Present
  770. #define SYSCTL_DC4_GPIOH 0x00000080 // GPIO Port H Present
  771. #define SYSCTL_DC4_GPIOG 0x00000040 // GPIO Port G Present
  772. #define SYSCTL_DC4_GPIOF 0x00000020 // GPIO Port F Present
  773. #define SYSCTL_DC4_GPIOE 0x00000010 // GPIO Port E Present
  774. #define SYSCTL_DC4_GPIOD 0x00000008 // GPIO Port D Present
  775. #define SYSCTL_DC4_GPIOC 0x00000004 // GPIO Port C Present
  776. #define SYSCTL_DC4_GPIOB 0x00000002 // GPIO Port B Present
  777. #define SYSCTL_DC4_GPIOA 0x00000001 // GPIO Port A Present
  778. //*****************************************************************************
  779. //
  780. // The following are defines for the bit fields in the SYSCTL_DC5 register.
  781. //
  782. //*****************************************************************************
  783. #define SYSCTL_DC5_PWMFAULT3 0x08000000 // PWM Fault 3 Pin Present
  784. #define SYSCTL_DC5_PWMFAULT2 0x04000000 // PWM Fault 2 Pin Present
  785. #define SYSCTL_DC5_PWMFAULT1 0x02000000 // PWM Fault 1 Pin Present
  786. #define SYSCTL_DC5_PWMFAULT0 0x01000000 // PWM Fault 0 Pin Present
  787. #define SYSCTL_DC5_PWMEFLT 0x00200000 // PWM Extended Fault Active
  788. #define SYSCTL_DC5_PWMESYNC 0x00100000 // PWM Extended SYNC Active
  789. #define SYSCTL_DC5_PWM7 0x00000080 // PWM7 Pin Present
  790. #define SYSCTL_DC5_PWM6 0x00000040 // PWM6 Pin Present
  791. #define SYSCTL_DC5_PWM5 0x00000020 // PWM5 Pin Present
  792. #define SYSCTL_DC5_PWM4 0x00000010 // PWM4 Pin Present
  793. #define SYSCTL_DC5_PWM3 0x00000008 // PWM3 Pin Present
  794. #define SYSCTL_DC5_PWM2 0x00000004 // PWM2 Pin Present
  795. #define SYSCTL_DC5_PWM1 0x00000002 // PWM1 Pin Present
  796. #define SYSCTL_DC5_PWM0 0x00000001 // PWM0 Pin Present
  797. //*****************************************************************************
  798. //
  799. // The following are defines for the bit fields in the SYSCTL_DC6 register.
  800. //
  801. //*****************************************************************************
  802. #define SYSCTL_DC6_USB0PHY 0x00000010 // USB Module 0 PHY Present
  803. #define SYSCTL_DC6_USB0_M 0x00000003 // USB Module 0 Present
  804. #define SYSCTL_DC6_USB0_DEV 0x00000001 // USB0 is Device Only
  805. #define SYSCTL_DC6_USB0_HOSTDEV 0x00000002 // USB is Device or Host
  806. #define SYSCTL_DC6_USB0_OTG 0x00000003 // USB0 is OTG
  807. //*****************************************************************************
  808. //
  809. // The following are defines for the bit fields in the SYSCTL_DC7 register.
  810. //
  811. //*****************************************************************************
  812. #define SYSCTL_DC7_DMACH30 0x40000000 // DMA Channel 30
  813. #define SYSCTL_DC7_DMACH29 0x20000000 // DMA Channel 29
  814. #define SYSCTL_DC7_DMACH28 0x10000000 // DMA Channel 28
  815. #define SYSCTL_DC7_DMACH27 0x08000000 // DMA Channel 27
  816. #define SYSCTL_DC7_DMACH26 0x04000000 // DMA Channel 26
  817. #define SYSCTL_DC7_DMACH25 0x02000000 // DMA Channel 25
  818. #define SYSCTL_DC7_DMACH24 0x01000000 // DMA Channel 24
  819. #define SYSCTL_DC7_DMACH23 0x00800000 // DMA Channel 23
  820. #define SYSCTL_DC7_DMACH22 0x00400000 // DMA Channel 22
  821. #define SYSCTL_DC7_DMACH21 0x00200000 // DMA Channel 21
  822. #define SYSCTL_DC7_DMACH20 0x00100000 // DMA Channel 20
  823. #define SYSCTL_DC7_DMACH19 0x00080000 // DMA Channel 19
  824. #define SYSCTL_DC7_DMACH18 0x00040000 // DMA Channel 18
  825. #define SYSCTL_DC7_DMACH17 0x00020000 // DMA Channel 17
  826. #define SYSCTL_DC7_DMACH16 0x00010000 // DMA Channel 16
  827. #define SYSCTL_DC7_DMACH15 0x00008000 // DMA Channel 15
  828. #define SYSCTL_DC7_DMACH14 0x00004000 // DMA Channel 14
  829. #define SYSCTL_DC7_DMACH13 0x00002000 // DMA Channel 13
  830. #define SYSCTL_DC7_DMACH12 0x00001000 // DMA Channel 12
  831. #define SYSCTL_DC7_DMACH11 0x00000800 // DMA Channel 11
  832. #define SYSCTL_DC7_DMACH10 0x00000400 // DMA Channel 10
  833. #define SYSCTL_DC7_DMACH9 0x00000200 // DMA Channel 9
  834. #define SYSCTL_DC7_DMACH8 0x00000100 // DMA Channel 8
  835. #define SYSCTL_DC7_DMACH7 0x00000080 // DMA Channel 7
  836. #define SYSCTL_DC7_DMACH6 0x00000040 // DMA Channel 6
  837. #define SYSCTL_DC7_DMACH5 0x00000020 // DMA Channel 5
  838. #define SYSCTL_DC7_DMACH4 0x00000010 // DMA Channel 4
  839. #define SYSCTL_DC7_DMACH3 0x00000008 // DMA Channel 3
  840. #define SYSCTL_DC7_DMACH2 0x00000004 // DMA Channel 2
  841. #define SYSCTL_DC7_DMACH1 0x00000002 // DMA Channel 1
  842. #define SYSCTL_DC7_DMACH0 0x00000001 // DMA Channel 0
  843. //*****************************************************************************
  844. //
  845. // The following are defines for the bit fields in the SYSCTL_DC8 register.
  846. //
  847. //*****************************************************************************
  848. #define SYSCTL_DC8_ADC1AIN15 0x80000000 // ADC Module 1 AIN15 Pin Present
  849. #define SYSCTL_DC8_ADC1AIN14 0x40000000 // ADC Module 1 AIN14 Pin Present
  850. #define SYSCTL_DC8_ADC1AIN13 0x20000000 // ADC Module 1 AIN13 Pin Present
  851. #define SYSCTL_DC8_ADC1AIN12 0x10000000 // ADC Module 1 AIN12 Pin Present
  852. #define SYSCTL_DC8_ADC1AIN11 0x08000000 // ADC Module 1 AIN11 Pin Present
  853. #define SYSCTL_DC8_ADC1AIN10 0x04000000 // ADC Module 1 AIN10 Pin Present
  854. #define SYSCTL_DC8_ADC1AIN9 0x02000000 // ADC Module 1 AIN9 Pin Present
  855. #define SYSCTL_DC8_ADC1AIN8 0x01000000 // ADC Module 1 AIN8 Pin Present
  856. #define SYSCTL_DC8_ADC1AIN7 0x00800000 // ADC Module 1 AIN7 Pin Present
  857. #define SYSCTL_DC8_ADC1AIN6 0x00400000 // ADC Module 1 AIN6 Pin Present
  858. #define SYSCTL_DC8_ADC1AIN5 0x00200000 // ADC Module 1 AIN5 Pin Present
  859. #define SYSCTL_DC8_ADC1AIN4 0x00100000 // ADC Module 1 AIN4 Pin Present
  860. #define SYSCTL_DC8_ADC1AIN3 0x00080000 // ADC Module 1 AIN3 Pin Present
  861. #define SYSCTL_DC8_ADC1AIN2 0x00040000 // ADC Module 1 AIN2 Pin Present
  862. #define SYSCTL_DC8_ADC1AIN1 0x00020000 // ADC Module 1 AIN1 Pin Present
  863. #define SYSCTL_DC8_ADC1AIN0 0x00010000 // ADC Module 1 AIN0 Pin Present
  864. #define SYSCTL_DC8_ADC0AIN15 0x00008000 // ADC Module 0 AIN15 Pin Present
  865. #define SYSCTL_DC8_ADC0AIN14 0x00004000 // ADC Module 0 AIN14 Pin Present
  866. #define SYSCTL_DC8_ADC0AIN13 0x00002000 // ADC Module 0 AIN13 Pin Present
  867. #define SYSCTL_DC8_ADC0AIN12 0x00001000 // ADC Module 0 AIN12 Pin Present
  868. #define SYSCTL_DC8_ADC0AIN11 0x00000800 // ADC Module 0 AIN11 Pin Present
  869. #define SYSCTL_DC8_ADC0AIN10 0x00000400 // ADC Module 0 AIN10 Pin Present
  870. #define SYSCTL_DC8_ADC0AIN9 0x00000200 // ADC Module 0 AIN9 Pin Present
  871. #define SYSCTL_DC8_ADC0AIN8 0x00000100 // ADC Module 0 AIN8 Pin Present
  872. #define SYSCTL_DC8_ADC0AIN7 0x00000080 // ADC Module 0 AIN7 Pin Present
  873. #define SYSCTL_DC8_ADC0AIN6 0x00000040 // ADC Module 0 AIN6 Pin Present
  874. #define SYSCTL_DC8_ADC0AIN5 0x00000020 // ADC Module 0 AIN5 Pin Present
  875. #define SYSCTL_DC8_ADC0AIN4 0x00000010 // ADC Module 0 AIN4 Pin Present
  876. #define SYSCTL_DC8_ADC0AIN3 0x00000008 // ADC Module 0 AIN3 Pin Present
  877. #define SYSCTL_DC8_ADC0AIN2 0x00000004 // ADC Module 0 AIN2 Pin Present
  878. #define SYSCTL_DC8_ADC0AIN1 0x00000002 // ADC Module 0 AIN1 Pin Present
  879. #define SYSCTL_DC8_ADC0AIN0 0x00000001 // ADC Module 0 AIN0 Pin Present
  880. //*****************************************************************************
  881. //
  882. // The following are defines for the bit fields in the SYSCTL_PBORCTL register.
  883. //
  884. //*****************************************************************************
  885. #define SYSCTL_PBORCTL_BOR0 0x00000004 // VDD under BOR0 Event Action
  886. #define SYSCTL_PBORCTL_BOR1 0x00000002 // VDD under BOR1 Event Action
  887. //*****************************************************************************
  888. //
  889. // The following are defines for the bit fields in the SYSCTL_PTBOCTL register.
  890. //
  891. //*****************************************************************************
  892. #define SYSCTL_PTBOCTL_VDDA_UBOR_M \
  893. 0x00000300 // VDDA under BOR Event Action
  894. #define SYSCTL_PTBOCTL_VDDA_UBOR_NONE \
  895. 0x00000000 // No Action
  896. #define SYSCTL_PTBOCTL_VDDA_UBOR_SYSINT \
  897. 0x00000100 // System control interrupt
  898. #define SYSCTL_PTBOCTL_VDDA_UBOR_NMI \
  899. 0x00000200 // NMI
  900. #define SYSCTL_PTBOCTL_VDDA_UBOR_RST \
  901. 0x00000300 // Reset
  902. #define SYSCTL_PTBOCTL_VDD_UBOR_M \
  903. 0x00000003 // VDD (VDDS) under BOR Event
  904. // Action
  905. #define SYSCTL_PTBOCTL_VDD_UBOR_NONE \
  906. 0x00000000 // No Action
  907. #define SYSCTL_PTBOCTL_VDD_UBOR_SYSINT \
  908. 0x00000001 // System control interrupt
  909. #define SYSCTL_PTBOCTL_VDD_UBOR_NMI \
  910. 0x00000002 // NMI
  911. #define SYSCTL_PTBOCTL_VDD_UBOR_RST \
  912. 0x00000003 // Reset
  913. //*****************************************************************************
  914. //
  915. // The following are defines for the bit fields in the SYSCTL_SRCR0 register.
  916. //
  917. //*****************************************************************************
  918. #define SYSCTL_SRCR0_WDT1 0x10000000 // WDT1 Reset Control
  919. #define SYSCTL_SRCR0_CAN1 0x02000000 // CAN1 Reset Control
  920. #define SYSCTL_SRCR0_CAN0 0x01000000 // CAN0 Reset Control
  921. #define SYSCTL_SRCR0_PWM0 0x00100000 // PWM Reset Control
  922. #define SYSCTL_SRCR0_ADC1 0x00020000 // ADC1 Reset Control
  923. #define SYSCTL_SRCR0_ADC0 0x00010000 // ADC0 Reset Control
  924. #define SYSCTL_SRCR0_HIB 0x00000040 // HIB Reset Control
  925. #define SYSCTL_SRCR0_WDT0 0x00000008 // WDT0 Reset Control
  926. //*****************************************************************************
  927. //
  928. // The following are defines for the bit fields in the SYSCTL_SRCR1 register.
  929. //
  930. //*****************************************************************************
  931. #define SYSCTL_SRCR1_COMP2 0x04000000 // Analog Comp 2 Reset Control
  932. #define SYSCTL_SRCR1_COMP1 0x02000000 // Analog Comp 1 Reset Control
  933. #define SYSCTL_SRCR1_COMP0 0x01000000 // Analog Comp 0 Reset Control
  934. #define SYSCTL_SRCR1_TIMER3 0x00080000 // Timer 3 Reset Control
  935. #define SYSCTL_SRCR1_TIMER2 0x00040000 // Timer 2 Reset Control
  936. #define SYSCTL_SRCR1_TIMER1 0x00020000 // Timer 1 Reset Control
  937. #define SYSCTL_SRCR1_TIMER0 0x00010000 // Timer 0 Reset Control
  938. #define SYSCTL_SRCR1_I2C1 0x00004000 // I2C1 Reset Control
  939. #define SYSCTL_SRCR1_I2C0 0x00001000 // I2C0 Reset Control
  940. #define SYSCTL_SRCR1_QEI1 0x00000200 // QEI1 Reset Control
  941. #define SYSCTL_SRCR1_QEI0 0x00000100 // QEI0 Reset Control
  942. #define SYSCTL_SRCR1_SSI1 0x00000020 // SSI1 Reset Control
  943. #define SYSCTL_SRCR1_SSI0 0x00000010 // SSI0 Reset Control
  944. #define SYSCTL_SRCR1_UART2 0x00000004 // UART2 Reset Control
  945. #define SYSCTL_SRCR1_UART1 0x00000002 // UART1 Reset Control
  946. #define SYSCTL_SRCR1_UART0 0x00000001 // UART0 Reset Control
  947. //*****************************************************************************
  948. //
  949. // The following are defines for the bit fields in the SYSCTL_SRCR2 register.
  950. //
  951. //*****************************************************************************
  952. #define SYSCTL_SRCR2_USB0 0x00010000 // USB0 Reset Control
  953. #define SYSCTL_SRCR2_UDMA 0x00002000 // Micro-DMA Reset Control
  954. #define SYSCTL_SRCR2_GPIOJ 0x00000100 // Port J Reset Control
  955. #define SYSCTL_SRCR2_GPIOH 0x00000080 // Port H Reset Control
  956. #define SYSCTL_SRCR2_GPIOG 0x00000040 // Port G Reset Control
  957. #define SYSCTL_SRCR2_GPIOF 0x00000020 // Port F Reset Control
  958. #define SYSCTL_SRCR2_GPIOE 0x00000010 // Port E Reset Control
  959. #define SYSCTL_SRCR2_GPIOD 0x00000008 // Port D Reset Control
  960. #define SYSCTL_SRCR2_GPIOC 0x00000004 // Port C Reset Control
  961. #define SYSCTL_SRCR2_GPIOB 0x00000002 // Port B Reset Control
  962. #define SYSCTL_SRCR2_GPIOA 0x00000001 // Port A Reset Control
  963. //*****************************************************************************
  964. //
  965. // The following are defines for the bit fields in the SYSCTL_RIS register.
  966. //
  967. //*****************************************************************************
  968. #define SYSCTL_RIS_BOR0RIS 0x00000800 // VDD under BOR0 Raw Interrupt
  969. // Status
  970. #define SYSCTL_RIS_VDDARIS 0x00000400 // VDDA Power OK Event Raw
  971. // Interrupt Status
  972. #define SYSCTL_RIS_MOSCPUPRIS 0x00000100 // MOSC Power Up Raw Interrupt
  973. // Status
  974. #define SYSCTL_RIS_USBPLLLRIS 0x00000080 // USB PLL Lock Raw Interrupt
  975. // Status
  976. #define SYSCTL_RIS_PLLLRIS 0x00000040 // PLL Lock Raw Interrupt Status
  977. #define SYSCTL_RIS_MOFRIS 0x00000008 // Main Oscillator Failure Raw
  978. // Interrupt Status
  979. #define SYSCTL_RIS_BOR1RIS 0x00000002 // VDD under BOR1 Raw Interrupt
  980. // Status
  981. #define SYSCTL_RIS_BORRIS 0x00000002 // Brown-Out Reset Raw Interrupt
  982. // Status
  983. //*****************************************************************************
  984. //
  985. // The following are defines for the bit fields in the SYSCTL_IMC register.
  986. //
  987. //*****************************************************************************
  988. #define SYSCTL_IMC_BOR0IM 0x00000800 // VDD under BOR0 Interrupt Mask
  989. #define SYSCTL_IMC_VDDAIM 0x00000400 // VDDA Power OK Interrupt Mask
  990. #define SYSCTL_IMC_MOSCPUPIM 0x00000100 // MOSC Power Up Interrupt Mask
  991. #define SYSCTL_IMC_USBPLLLIM 0x00000080 // USB PLL Lock Interrupt Mask
  992. #define SYSCTL_IMC_PLLLIM 0x00000040 // PLL Lock Interrupt Mask
  993. #define SYSCTL_IMC_MOFIM 0x00000008 // Main Oscillator Failure
  994. // Interrupt Mask
  995. #define SYSCTL_IMC_BORIM 0x00000002 // Brown-Out Reset Interrupt Mask
  996. #define SYSCTL_IMC_BOR1IM 0x00000002 // VDD under BOR1 Interrupt Mask
  997. //*****************************************************************************
  998. //
  999. // The following are defines for the bit fields in the SYSCTL_MISC register.
  1000. //
  1001. //*****************************************************************************
  1002. #define SYSCTL_MISC_BOR0MIS 0x00000800 // VDD under BOR0 Masked Interrupt
  1003. // Status
  1004. #define SYSCTL_MISC_VDDAMIS 0x00000400 // VDDA Power OK Masked Interrupt
  1005. // Status
  1006. #define SYSCTL_MISC_MOSCPUPMIS 0x00000100 // MOSC Power Up Masked Interrupt
  1007. // Status
  1008. #define SYSCTL_MISC_USBPLLLMIS 0x00000080 // USB PLL Lock Masked Interrupt
  1009. // Status
  1010. #define SYSCTL_MISC_PLLLMIS 0x00000040 // PLL Lock Masked Interrupt Status
  1011. #define SYSCTL_MISC_MOFMIS 0x00000008 // Main Oscillator Failure Masked
  1012. // Interrupt Status
  1013. #define SYSCTL_MISC_BORMIS 0x00000002 // BOR Masked Interrupt Status
  1014. #define SYSCTL_MISC_BOR1MIS 0x00000002 // VDD under BOR1 Masked Interrupt
  1015. // Status
  1016. //*****************************************************************************
  1017. //
  1018. // The following are defines for the bit fields in the SYSCTL_RESC register.
  1019. //
  1020. //*****************************************************************************
  1021. #define SYSCTL_RESC_MOSCFAIL 0x00010000 // MOSC Failure Reset
  1022. #define SYSCTL_RESC_HSSR 0x00001000 // HSSR Reset
  1023. #define SYSCTL_RESC_WDT1 0x00000020 // Watchdog Timer 1 Reset
  1024. #define SYSCTL_RESC_SW 0x00000010 // Software Reset
  1025. #define SYSCTL_RESC_WDT0 0x00000008 // Watchdog Timer 0 Reset
  1026. #define SYSCTL_RESC_BOR 0x00000004 // Brown-Out Reset
  1027. #define SYSCTL_RESC_POR 0x00000002 // Power-On Reset
  1028. #define SYSCTL_RESC_EXT 0x00000001 // External Reset
  1029. //*****************************************************************************
  1030. //
  1031. // The following are defines for the bit fields in the SYSCTL_PWRTC register.
  1032. //
  1033. //*****************************************************************************
  1034. #define SYSCTL_PWRTC_VDDA_UBOR 0x00000010 // VDDA Under BOR Status
  1035. #define SYSCTL_PWRTC_VDD_UBOR 0x00000001 // VDD Under BOR Status
  1036. //*****************************************************************************
  1037. //
  1038. // The following are defines for the bit fields in the SYSCTL_RCC register.
  1039. //
  1040. //*****************************************************************************
  1041. #define SYSCTL_RCC_ACG 0x08000000 // Auto Clock Gating
  1042. #define SYSCTL_RCC_SYSDIV_M 0x07800000 // System Clock Divisor
  1043. #define SYSCTL_RCC_USESYSDIV 0x00400000 // Enable System Clock Divider
  1044. #define SYSCTL_RCC_USEPWMDIV 0x00100000 // Enable PWM Clock Divisor
  1045. #define SYSCTL_RCC_PWMDIV_M 0x000E0000 // PWM Unit Clock Divisor
  1046. #define SYSCTL_RCC_PWMDIV_2 0x00000000 // PWM clock /2
  1047. #define SYSCTL_RCC_PWMDIV_4 0x00020000 // PWM clock /4
  1048. #define SYSCTL_RCC_PWMDIV_8 0x00040000 // PWM clock /8
  1049. #define SYSCTL_RCC_PWMDIV_16 0x00060000 // PWM clock /16
  1050. #define SYSCTL_RCC_PWMDIV_32 0x00080000 // PWM clock /32
  1051. #define SYSCTL_RCC_PWMDIV_64 0x000A0000 // PWM clock /64
  1052. #define SYSCTL_RCC_PWRDN 0x00002000 // PLL Power Down
  1053. #define SYSCTL_RCC_BYPASS 0x00000800 // PLL Bypass
  1054. #define SYSCTL_RCC_XTAL_M 0x000007C0 // Crystal Value
  1055. #define SYSCTL_RCC_XTAL_4MHZ 0x00000180 // 4 MHz
  1056. #define SYSCTL_RCC_XTAL_4_09MHZ 0x000001C0 // 4.096 MHz
  1057. #define SYSCTL_RCC_XTAL_4_91MHZ 0x00000200 // 4.9152 MHz
  1058. #define SYSCTL_RCC_XTAL_5MHZ 0x00000240 // 5 MHz
  1059. #define SYSCTL_RCC_XTAL_5_12MHZ 0x00000280 // 5.12 MHz
  1060. #define SYSCTL_RCC_XTAL_6MHZ 0x000002C0 // 6 MHz
  1061. #define SYSCTL_RCC_XTAL_6_14MHZ 0x00000300 // 6.144 MHz
  1062. #define SYSCTL_RCC_XTAL_7_37MHZ 0x00000340 // 7.3728 MHz
  1063. #define SYSCTL_RCC_XTAL_8MHZ 0x00000380 // 8 MHz
  1064. #define SYSCTL_RCC_XTAL_8_19MHZ 0x000003C0 // 8.192 MHz
  1065. #define SYSCTL_RCC_XTAL_10MHZ 0x00000400 // 10 MHz
  1066. #define SYSCTL_RCC_XTAL_12MHZ 0x00000440 // 12 MHz
  1067. #define SYSCTL_RCC_XTAL_12_2MHZ 0x00000480 // 12.288 MHz
  1068. #define SYSCTL_RCC_XTAL_13_5MHZ 0x000004C0 // 13.56 MHz
  1069. #define SYSCTL_RCC_XTAL_14_3MHZ 0x00000500 // 14.31818 MHz
  1070. #define SYSCTL_RCC_XTAL_16MHZ 0x00000540 // 16 MHz
  1071. #define SYSCTL_RCC_XTAL_16_3MHZ 0x00000580 // 16.384 MHz
  1072. #define SYSCTL_RCC_XTAL_18MHZ 0x000005C0 // 18.0 MHz (USB)
  1073. #define SYSCTL_RCC_XTAL_20MHZ 0x00000600 // 20.0 MHz (USB)
  1074. #define SYSCTL_RCC_XTAL_24MHZ 0x00000640 // 24.0 MHz (USB)
  1075. #define SYSCTL_RCC_XTAL_25MHZ 0x00000680 // 25.0 MHz (USB)
  1076. #define SYSCTL_RCC_OSCSRC_M 0x00000030 // Oscillator Source
  1077. #define SYSCTL_RCC_OSCSRC_MAIN 0x00000000 // MOSC
  1078. #define SYSCTL_RCC_OSCSRC_INT 0x00000010 // IOSC
  1079. #define SYSCTL_RCC_OSCSRC_INT4 0x00000020 // IOSC/4
  1080. #define SYSCTL_RCC_OSCSRC_30 0x00000030 // LFIOSC
  1081. #define SYSCTL_RCC_MOSCDIS 0x00000001 // Main Oscillator Disable
  1082. #define SYSCTL_RCC_SYSDIV_S 23
  1083. #define SYSCTL_RCC_XTAL_S 6 // Shift to the XTAL field
  1084. //*****************************************************************************
  1085. //
  1086. // The following are defines for the bit fields in the SYSCTL_NMIC register.
  1087. //
  1088. //*****************************************************************************
  1089. #define SYSCTL_NMIC_MOSCFAIL 0x00010000 // MOSC Failure NMI
  1090. #define SYSCTL_NMIC_TAMPER 0x00000200 // Tamper Event NMI
  1091. #define SYSCTL_NMIC_WDT1 0x00000020 // Watch Dog Timer (WDT) 1 NMI
  1092. #define SYSCTL_NMIC_WDT0 0x00000008 // Watch Dog Timer (WDT) 0 NMI
  1093. #define SYSCTL_NMIC_POWER 0x00000004 // Power/Brown Out Event NMI
  1094. #define SYSCTL_NMIC_EXTERNAL 0x00000001 // External Pin NMI
  1095. //*****************************************************************************
  1096. //
  1097. // The following are defines for the bit fields in the SYSCTL_GPIOHBCTL
  1098. // register.
  1099. //
  1100. //*****************************************************************************
  1101. #define SYSCTL_GPIOHBCTL_PORTJ 0x00000100 // Port J Advanced High-Performance
  1102. // Bus
  1103. #define SYSCTL_GPIOHBCTL_PORTH 0x00000080 // Port H Advanced High-Performance
  1104. // Bus
  1105. #define SYSCTL_GPIOHBCTL_PORTG 0x00000040 // Port G Advanced High-Performance
  1106. // Bus
  1107. #define SYSCTL_GPIOHBCTL_PORTF 0x00000020 // Port F Advanced High-Performance
  1108. // Bus
  1109. #define SYSCTL_GPIOHBCTL_PORTE 0x00000010 // Port E Advanced High-Performance
  1110. // Bus
  1111. #define SYSCTL_GPIOHBCTL_PORTD 0x00000008 // Port D Advanced High-Performance
  1112. // Bus
  1113. #define SYSCTL_GPIOHBCTL_PORTC 0x00000004 // Port C Advanced High-Performance
  1114. // Bus
  1115. #define SYSCTL_GPIOHBCTL_PORTB 0x00000002 // Port B Advanced High-Performance
  1116. // Bus
  1117. #define SYSCTL_GPIOHBCTL_PORTA 0x00000001 // Port A Advanced High-Performance
  1118. // Bus
  1119. //*****************************************************************************
  1120. //
  1121. // The following are defines for the bit fields in the SYSCTL_RCC2 register.
  1122. //
  1123. //*****************************************************************************
  1124. #define SYSCTL_RCC2_USERCC2 0x80000000 // Use RCC2
  1125. #define SYSCTL_RCC2_DIV400 0x40000000 // Divide PLL as 400 MHz vs. 200
  1126. // MHz
  1127. #define SYSCTL_RCC2_SYSDIV2_M 0x1F800000 // System Clock Divisor 2
  1128. #define SYSCTL_RCC2_SYSDIV2LSB 0x00400000 // Additional LSB for SYSDIV2
  1129. #define SYSCTL_RCC2_USBPWRDN 0x00004000 // Power-Down USB PLL
  1130. #define SYSCTL_RCC2_PWRDN2 0x00002000 // Power-Down PLL 2
  1131. #define SYSCTL_RCC2_BYPASS2 0x00000800 // PLL Bypass 2
  1132. #define SYSCTL_RCC2_OSCSRC2_M 0x00000070 // Oscillator Source 2
  1133. #define SYSCTL_RCC2_OSCSRC2_MO 0x00000000 // MOSC
  1134. #define SYSCTL_RCC2_OSCSRC2_IO 0x00000010 // PIOSC
  1135. #define SYSCTL_RCC2_OSCSRC2_IO4 0x00000020 // PIOSC/4
  1136. #define SYSCTL_RCC2_OSCSRC2_30 0x00000030 // LFIOSC
  1137. #define SYSCTL_RCC2_OSCSRC2_32 0x00000070 // 32.768 kHz
  1138. #define SYSCTL_RCC2_SYSDIV2_S 23
  1139. //*****************************************************************************
  1140. //
  1141. // The following are defines for the bit fields in the SYSCTL_MOSCCTL register.
  1142. //
  1143. //*****************************************************************************
  1144. #define SYSCTL_MOSCCTL_OSCRNG 0x00000010 // Oscillator Range
  1145. #define SYSCTL_MOSCCTL_PWRDN 0x00000008 // Power Down
  1146. #define SYSCTL_MOSCCTL_NOXTAL 0x00000004 // No Crystal Connected
  1147. #define SYSCTL_MOSCCTL_MOSCIM 0x00000002 // MOSC Failure Action
  1148. #define SYSCTL_MOSCCTL_CVAL 0x00000001 // Clock Validation for MOSC
  1149. //*****************************************************************************
  1150. //
  1151. // The following are defines for the bit fields in the SYSCTL_RSCLKCFG
  1152. // register.
  1153. //
  1154. //*****************************************************************************
  1155. #define SYSCTL_RSCLKCFG_MEMTIMU 0x80000000 // Memory Timing Register Update
  1156. #define SYSCTL_RSCLKCFG_NEWFREQ 0x40000000 // New PLLFREQ Accept
  1157. #define SYSCTL_RSCLKCFG_ACG 0x20000000 // Auto Clock Gating
  1158. #define SYSCTL_RSCLKCFG_USEPLL 0x10000000 // Use PLL
  1159. #define SYSCTL_RSCLKCFG_PLLSRC_M \
  1160. 0x0F000000 // PLL Source
  1161. #define SYSCTL_RSCLKCFG_PLLSRC_PIOSC \
  1162. 0x00000000 // PIOSC is PLL input clock source
  1163. #define SYSCTL_RSCLKCFG_PLLSRC_MOSC \
  1164. 0x03000000 // MOSC is the PLL input clock
  1165. // source
  1166. #define SYSCTL_RSCLKCFG_OSCSRC_M \
  1167. 0x00F00000 // Oscillator Source
  1168. #define SYSCTL_RSCLKCFG_OSCSRC_PIOSC \
  1169. 0x00000000 // PIOSC is oscillator source
  1170. #define SYSCTL_RSCLKCFG_OSCSRC_LFIOSC \
  1171. 0x00200000 // LFIOSC is oscillator source
  1172. #define SYSCTL_RSCLKCFG_OSCSRC_MOSC \
  1173. 0x00300000 // MOSC is oscillator source
  1174. #define SYSCTL_RSCLKCFG_OSCSRC_RTC \
  1175. 0x00400000 // Hibernation Module RTC
  1176. // Oscillator (RTCOSC)
  1177. #define SYSCTL_RSCLKCFG_OSYSDIV_M \
  1178. 0x000FFC00 // Oscillator System Clock Divisor
  1179. #define SYSCTL_RSCLKCFG_PSYSDIV_M \
  1180. 0x000003FF // PLL System Clock Divisor
  1181. #define SYSCTL_RSCLKCFG_OSYSDIV_S \
  1182. 10
  1183. #define SYSCTL_RSCLKCFG_PSYSDIV_S \
  1184. 0
  1185. //*****************************************************************************
  1186. //
  1187. // The following are defines for the bit fields in the SYSCTL_MEMTIM0 register.
  1188. //
  1189. //*****************************************************************************
  1190. #define SYSCTL_MEMTIM0_EBCHT_M 0x03C00000 // EEPROM Clock High Time
  1191. #define SYSCTL_MEMTIM0_EBCHT_0_5 \
  1192. 0x00000000 // 1/2 system clock period
  1193. #define SYSCTL_MEMTIM0_EBCHT_1 0x00400000 // 1 system clock period
  1194. #define SYSCTL_MEMTIM0_EBCHT_1_5 \
  1195. 0x00800000 // 1.5 system clock periods
  1196. #define SYSCTL_MEMTIM0_EBCHT_2 0x00C00000 // 2 system clock periods
  1197. #define SYSCTL_MEMTIM0_EBCHT_2_5 \
  1198. 0x01000000 // 2.5 system clock periods
  1199. #define SYSCTL_MEMTIM0_EBCHT_3 0x01400000 // 3 system clock periods
  1200. #define SYSCTL_MEMTIM0_EBCHT_3_5 \
  1201. 0x01800000 // 3.5 system clock periods
  1202. #define SYSCTL_MEMTIM0_EBCHT_4 0x01C00000 // 4 system clock periods
  1203. #define SYSCTL_MEMTIM0_EBCHT_4_5 \
  1204. 0x02000000 // 4.5 system clock periods
  1205. #define SYSCTL_MEMTIM0_EBCE 0x00200000 // EEPROM Bank Clock Edge
  1206. #define SYSCTL_MEMTIM0_MB1 0x00100010 // Must be one
  1207. #define SYSCTL_MEMTIM0_EWS_M 0x000F0000 // EEPROM Wait States
  1208. #define SYSCTL_MEMTIM0_FBCHT_M 0x000003C0 // Flash Bank Clock High Time
  1209. #define SYSCTL_MEMTIM0_FBCHT_0_5 \
  1210. 0x00000000 // 1/2 system clock period
  1211. #define SYSCTL_MEMTIM0_FBCHT_1 0x00000040 // 1 system clock period
  1212. #define SYSCTL_MEMTIM0_FBCHT_1_5 \
  1213. 0x00000080 // 1.5 system clock periods
  1214. #define SYSCTL_MEMTIM0_FBCHT_2 0x000000C0 // 2 system clock periods
  1215. #define SYSCTL_MEMTIM0_FBCHT_2_5 \
  1216. 0x00000100 // 2.5 system clock periods
  1217. #define SYSCTL_MEMTIM0_FBCHT_3 0x00000140 // 3 system clock periods
  1218. #define SYSCTL_MEMTIM0_FBCHT_3_5 \
  1219. 0x00000180 // 3.5 system clock periods
  1220. #define SYSCTL_MEMTIM0_FBCHT_4 0x000001C0 // 4 system clock periods
  1221. #define SYSCTL_MEMTIM0_FBCHT_4_5 \
  1222. 0x00000200 // 4.5 system clock periods
  1223. #define SYSCTL_MEMTIM0_FBCE 0x00000020 // Flash Bank Clock Edge
  1224. #define SYSCTL_MEMTIM0_FWS_M 0x0000000F // Flash Wait State
  1225. #define SYSCTL_MEMTIM0_EWS_S 16
  1226. #define SYSCTL_MEMTIM0_FWS_S 0
  1227. //*****************************************************************************
  1228. //
  1229. // The following are defines for the bit fields in the SYSCTL_RCGC0 register.
  1230. //
  1231. //*****************************************************************************
  1232. #define SYSCTL_RCGC0_WDT1 0x10000000 // WDT1 Clock Gating Control
  1233. #define SYSCTL_RCGC0_CAN1 0x02000000 // CAN1 Clock Gating Control
  1234. #define SYSCTL_RCGC0_CAN0 0x01000000 // CAN0 Clock Gating Control
  1235. #define SYSCTL_RCGC0_PWM0 0x00100000 // PWM Clock Gating Control
  1236. #define SYSCTL_RCGC0_ADC1 0x00020000 // ADC1 Clock Gating Control
  1237. #define SYSCTL_RCGC0_ADC0 0x00010000 // ADC0 Clock Gating Control
  1238. #define SYSCTL_RCGC0_ADC1SPD_M 0x00000C00 // ADC1 Sample Speed
  1239. #define SYSCTL_RCGC0_ADC1SPD_125K \
  1240. 0x00000000 // 125K samples/second
  1241. #define SYSCTL_RCGC0_ADC1SPD_250K \
  1242. 0x00000400 // 250K samples/second
  1243. #define SYSCTL_RCGC0_ADC1SPD_500K \
  1244. 0x00000800 // 500K samples/second
  1245. #define SYSCTL_RCGC0_ADC1SPD_1M 0x00000C00 // 1M samples/second
  1246. #define SYSCTL_RCGC0_ADC0SPD_M 0x00000300 // ADC0 Sample Speed
  1247. #define SYSCTL_RCGC0_ADC0SPD_125K \
  1248. 0x00000000 // 125K samples/second
  1249. #define SYSCTL_RCGC0_ADC0SPD_250K \
  1250. 0x00000100 // 250K samples/second
  1251. #define SYSCTL_RCGC0_ADC0SPD_500K \
  1252. 0x00000200 // 500K samples/second
  1253. #define SYSCTL_RCGC0_ADC0SPD_1M 0x00000300 // 1M samples/second
  1254. #define SYSCTL_RCGC0_HIB 0x00000040 // HIB Clock Gating Control
  1255. #define SYSCTL_RCGC0_WDT0 0x00000008 // WDT0 Clock Gating Control
  1256. //*****************************************************************************
  1257. //
  1258. // The following are defines for the bit fields in the SYSCTL_RCGC1 register.
  1259. //
  1260. //*****************************************************************************
  1261. #define SYSCTL_RCGC1_COMP2 0x04000000 // Analog Comparator 2 Clock Gating
  1262. #define SYSCTL_RCGC1_COMP1 0x02000000 // Analog Comparator 1 Clock Gating
  1263. #define SYSCTL_RCGC1_COMP0 0x01000000 // Analog Comparator 0 Clock Gating
  1264. #define SYSCTL_RCGC1_TIMER3 0x00080000 // Timer 3 Clock Gating Control
  1265. #define SYSCTL_RCGC1_TIMER2 0x00040000 // Timer 2 Clock Gating Control
  1266. #define SYSCTL_RCGC1_TIMER1 0x00020000 // Timer 1 Clock Gating Control
  1267. #define SYSCTL_RCGC1_TIMER0 0x00010000 // Timer 0 Clock Gating Control
  1268. #define SYSCTL_RCGC1_I2C1 0x00004000 // I2C1 Clock Gating Control
  1269. #define SYSCTL_RCGC1_I2C0 0x00001000 // I2C0 Clock Gating Control
  1270. #define SYSCTL_RCGC1_QEI1 0x00000200 // QEI1 Clock Gating Control
  1271. #define SYSCTL_RCGC1_QEI0 0x00000100 // QEI0 Clock Gating Control
  1272. #define SYSCTL_RCGC1_SSI1 0x00000020 // SSI1 Clock Gating Control
  1273. #define SYSCTL_RCGC1_SSI0 0x00000010 // SSI0 Clock Gating Control
  1274. #define SYSCTL_RCGC1_UART2 0x00000004 // UART2 Clock Gating Control
  1275. #define SYSCTL_RCGC1_UART1 0x00000002 // UART1 Clock Gating Control
  1276. #define SYSCTL_RCGC1_UART0 0x00000001 // UART0 Clock Gating Control
  1277. //*****************************************************************************
  1278. //
  1279. // The following are defines for the bit fields in the SYSCTL_RCGC2 register.
  1280. //
  1281. //*****************************************************************************
  1282. #define SYSCTL_RCGC2_USB0 0x00010000 // USB0 Clock Gating Control
  1283. #define SYSCTL_RCGC2_UDMA 0x00002000 // Micro-DMA Clock Gating Control
  1284. #define SYSCTL_RCGC2_GPIOJ 0x00000100 // Port J Clock Gating Control
  1285. #define SYSCTL_RCGC2_GPIOH 0x00000080 // Port H Clock Gating Control
  1286. #define SYSCTL_RCGC2_GPIOG 0x00000040 // Port G Clock Gating Control
  1287. #define SYSCTL_RCGC2_GPIOF 0x00000020 // Port F Clock Gating Control
  1288. #define SYSCTL_RCGC2_GPIOE 0x00000010 // Port E Clock Gating Control
  1289. #define SYSCTL_RCGC2_GPIOD 0x00000008 // Port D Clock Gating Control
  1290. #define SYSCTL_RCGC2_GPIOC 0x00000004 // Port C Clock Gating Control
  1291. #define SYSCTL_RCGC2_GPIOB 0x00000002 // Port B Clock Gating Control
  1292. #define SYSCTL_RCGC2_GPIOA 0x00000001 // Port A Clock Gating Control
  1293. //*****************************************************************************
  1294. //
  1295. // The following are defines for the bit fields in the SYSCTL_SCGC0 register.
  1296. //
  1297. //*****************************************************************************
  1298. #define SYSCTL_SCGC0_WDT1 0x10000000 // WDT1 Clock Gating Control
  1299. #define SYSCTL_SCGC0_CAN1 0x02000000 // CAN1 Clock Gating Control
  1300. #define SYSCTL_SCGC0_CAN0 0x01000000 // CAN0 Clock Gating Control
  1301. #define SYSCTL_SCGC0_PWM0 0x00100000 // PWM Clock Gating Control
  1302. #define SYSCTL_SCGC0_ADC1 0x00020000 // ADC1 Clock Gating Control
  1303. #define SYSCTL_SCGC0_ADC0 0x00010000 // ADC0 Clock Gating Control
  1304. #define SYSCTL_SCGC0_ADCSPD_M 0x00000F00 // ADC Sample Speed
  1305. #define SYSCTL_SCGC0_HIB 0x00000040 // HIB Clock Gating Control
  1306. #define SYSCTL_SCGC0_WDT0 0x00000008 // WDT0 Clock Gating Control
  1307. //*****************************************************************************
  1308. //
  1309. // The following are defines for the bit fields in the SYSCTL_SCGC1 register.
  1310. //
  1311. //*****************************************************************************
  1312. #define SYSCTL_SCGC1_COMP2 0x04000000 // Analog Comparator 2 Clock Gating
  1313. #define SYSCTL_SCGC1_COMP1 0x02000000 // Analog Comparator 1 Clock Gating
  1314. #define SYSCTL_SCGC1_COMP0 0x01000000 // Analog Comparator 0 Clock Gating
  1315. #define SYSCTL_SCGC1_TIMER3 0x00080000 // Timer 3 Clock Gating Control
  1316. #define SYSCTL_SCGC1_TIMER2 0x00040000 // Timer 2 Clock Gating Control
  1317. #define SYSCTL_SCGC1_TIMER1 0x00020000 // Timer 1 Clock Gating Control
  1318. #define SYSCTL_SCGC1_TIMER0 0x00010000 // Timer 0 Clock Gating Control
  1319. #define SYSCTL_SCGC1_I2C1 0x00004000 // I2C1 Clock Gating Control
  1320. #define SYSCTL_SCGC1_I2C0 0x00001000 // I2C0 Clock Gating Control
  1321. #define SYSCTL_SCGC1_QEI1 0x00000200 // QEI1 Clock Gating Control
  1322. #define SYSCTL_SCGC1_QEI0 0x00000100 // QEI0 Clock Gating Control
  1323. #define SYSCTL_SCGC1_SSI1 0x00000020 // SSI1 Clock Gating Control
  1324. #define SYSCTL_SCGC1_SSI0 0x00000010 // SSI0 Clock Gating Control
  1325. #define SYSCTL_SCGC1_UART2 0x00000004 // UART2 Clock Gating Control
  1326. #define SYSCTL_SCGC1_UART1 0x00000002 // UART1 Clock Gating Control
  1327. #define SYSCTL_SCGC1_UART0 0x00000001 // UART0 Clock Gating Control
  1328. //*****************************************************************************
  1329. //
  1330. // The following are defines for the bit fields in the SYSCTL_SCGC2 register.
  1331. //
  1332. //*****************************************************************************
  1333. #define SYSCTL_SCGC2_USB0 0x00010000 // USB0 Clock Gating Control
  1334. #define SYSCTL_SCGC2_UDMA 0x00002000 // Micro-DMA Clock Gating Control
  1335. #define SYSCTL_SCGC2_GPIOJ 0x00000100 // Port J Clock Gating Control
  1336. #define SYSCTL_SCGC2_GPIOH 0x00000080 // Port H Clock Gating Control
  1337. #define SYSCTL_SCGC2_GPIOG 0x00000040 // Port G Clock Gating Control
  1338. #define SYSCTL_SCGC2_GPIOF 0x00000020 // Port F Clock Gating Control
  1339. #define SYSCTL_SCGC2_GPIOE 0x00000010 // Port E Clock Gating Control
  1340. #define SYSCTL_SCGC2_GPIOD 0x00000008 // Port D Clock Gating Control
  1341. #define SYSCTL_SCGC2_GPIOC 0x00000004 // Port C Clock Gating Control
  1342. #define SYSCTL_SCGC2_GPIOB 0x00000002 // Port B Clock Gating Control
  1343. #define SYSCTL_SCGC2_GPIOA 0x00000001 // Port A Clock Gating Control
  1344. //*****************************************************************************
  1345. //
  1346. // The following are defines for the bit fields in the SYSCTL_DCGC0 register.
  1347. //
  1348. //*****************************************************************************
  1349. #define SYSCTL_DCGC0_WDT1 0x10000000 // WDT1 Clock Gating Control
  1350. #define SYSCTL_DCGC0_CAN1 0x02000000 // CAN1 Clock Gating Control
  1351. #define SYSCTL_DCGC0_CAN0 0x01000000 // CAN0 Clock Gating Control
  1352. #define SYSCTL_DCGC0_PWM0 0x00100000 // PWM Clock Gating Control
  1353. #define SYSCTL_DCGC0_ADC1 0x00020000 // ADC1 Clock Gating Control
  1354. #define SYSCTL_DCGC0_ADC0 0x00010000 // ADC0 Clock Gating Control
  1355. #define SYSCTL_DCGC0_HIB 0x00000040 // HIB Clock Gating Control
  1356. #define SYSCTL_DCGC0_WDT0 0x00000008 // WDT0 Clock Gating Control
  1357. //*****************************************************************************
  1358. //
  1359. // The following are defines for the bit fields in the SYSCTL_DCGC1 register.
  1360. //
  1361. //*****************************************************************************
  1362. #define SYSCTL_DCGC1_COMP2 0x04000000 // Analog Comparator 2 Clock Gating
  1363. #define SYSCTL_DCGC1_COMP1 0x02000000 // Analog Comparator 1 Clock Gating
  1364. #define SYSCTL_DCGC1_COMP0 0x01000000 // Analog Comparator 0 Clock Gating
  1365. #define SYSCTL_DCGC1_TIMER3 0x00080000 // Timer 3 Clock Gating Control
  1366. #define SYSCTL_DCGC1_TIMER2 0x00040000 // Timer 2 Clock Gating Control
  1367. #define SYSCTL_DCGC1_TIMER1 0x00020000 // Timer 1 Clock Gating Control
  1368. #define SYSCTL_DCGC1_TIMER0 0x00010000 // Timer 0 Clock Gating Control
  1369. #define SYSCTL_DCGC1_I2C1 0x00004000 // I2C1 Clock Gating Control
  1370. #define SYSCTL_DCGC1_I2C0 0x00001000 // I2C0 Clock Gating Control
  1371. #define SYSCTL_DCGC1_QEI1 0x00000200 // QEI1 Clock Gating Control
  1372. #define SYSCTL_DCGC1_QEI0 0x00000100 // QEI0 Clock Gating Control
  1373. #define SYSCTL_DCGC1_SSI1 0x00000020 // SSI1 Clock Gating Control
  1374. #define SYSCTL_DCGC1_SSI0 0x00000010 // SSI0 Clock Gating Control
  1375. #define SYSCTL_DCGC1_UART2 0x00000004 // UART2 Clock Gating Control
  1376. #define SYSCTL_DCGC1_UART1 0x00000002 // UART1 Clock Gating Control
  1377. #define SYSCTL_DCGC1_UART0 0x00000001 // UART0 Clock Gating Control
  1378. //*****************************************************************************
  1379. //
  1380. // The following are defines for the bit fields in the SYSCTL_DCGC2 register.
  1381. //
  1382. //*****************************************************************************
  1383. #define SYSCTL_DCGC2_USB0 0x00010000 // USB0 Clock Gating Control
  1384. #define SYSCTL_DCGC2_UDMA 0x00002000 // Micro-DMA Clock Gating Control
  1385. #define SYSCTL_DCGC2_GPIOJ 0x00000100 // Port J Clock Gating Control
  1386. #define SYSCTL_DCGC2_GPIOH 0x00000080 // Port H Clock Gating Control
  1387. #define SYSCTL_DCGC2_GPIOG 0x00000040 // Port G Clock Gating Control
  1388. #define SYSCTL_DCGC2_GPIOF 0x00000020 // Port F Clock Gating Control
  1389. #define SYSCTL_DCGC2_GPIOE 0x00000010 // Port E Clock Gating Control
  1390. #define SYSCTL_DCGC2_GPIOD 0x00000008 // Port D Clock Gating Control
  1391. #define SYSCTL_DCGC2_GPIOC 0x00000004 // Port C Clock Gating Control
  1392. #define SYSCTL_DCGC2_GPIOB 0x00000002 // Port B Clock Gating Control
  1393. #define SYSCTL_DCGC2_GPIOA 0x00000001 // Port A Clock Gating Control
  1394. //*****************************************************************************
  1395. //
  1396. // The following are defines for the bit fields in the SYSCTL_ALTCLKCFG
  1397. // register.
  1398. //
  1399. //*****************************************************************************
  1400. #define SYSCTL_ALTCLKCFG_ALTCLK_M \
  1401. 0x0000000F // Alternate Clock Source
  1402. #define SYSCTL_ALTCLKCFG_ALTCLK_PIOSC \
  1403. 0x00000000 // PIOSC
  1404. #define SYSCTL_ALTCLKCFG_ALTCLK_RTCOSC \
  1405. 0x00000003 // Hibernation Module Real-time
  1406. // clock output (RTCOSC)
  1407. #define SYSCTL_ALTCLKCFG_ALTCLK_LFIOSC \
  1408. 0x00000004 // Low-frequency internal
  1409. // oscillator (LFIOSC)
  1410. //*****************************************************************************
  1411. //
  1412. // The following are defines for the bit fields in the SYSCTL_DSLPCLKCFG
  1413. // register.
  1414. //
  1415. //*****************************************************************************
  1416. #define SYSCTL_DSLPCLKCFG_D_M 0x1F800000 // Divider Field Override
  1417. #define SYSCTL_DSLPCLKCFG_O_M 0x00000070 // Clock Source
  1418. #define SYSCTL_DSLPCLKCFG_O_IGN 0x00000000 // MOSC
  1419. #define SYSCTL_DSLPCLKCFG_O_IO 0x00000010 // PIOSC
  1420. #define SYSCTL_DSLPCLKCFG_O_30 0x00000030 // LFIOSC
  1421. #define SYSCTL_DSLPCLKCFG_O_32 0x00000070 // 32.768 kHz
  1422. #define SYSCTL_DSLPCLKCFG_PIOSCPD \
  1423. 0x00000002 // PIOSC Power Down Request
  1424. #define SYSCTL_DSLPCLKCFG_D_S 23
  1425. //*****************************************************************************
  1426. //
  1427. // The following are defines for the bit fields in the SYSCTL_DSCLKCFG
  1428. // register.
  1429. //
  1430. //*****************************************************************************
  1431. #define SYSCTL_DSCLKCFG_PIOSCPD 0x80000000 // PIOSC Power Down
  1432. #define SYSCTL_DSCLKCFG_MOSCDPD 0x40000000 // MOSC Disable Power Down
  1433. #define SYSCTL_DSCLKCFG_DSOSCSRC_M \
  1434. 0x00F00000 // Deep Sleep Oscillator Source
  1435. #define SYSCTL_DSCLKCFG_DSOSCSRC_PIOSC \
  1436. 0x00000000 // PIOSC
  1437. #define SYSCTL_DSCLKCFG_DSOSCSRC_LFIOSC \
  1438. 0x00200000 // LFIOSC
  1439. #define SYSCTL_DSCLKCFG_DSOSCSRC_MOSC \
  1440. 0x00300000 // MOSC
  1441. #define SYSCTL_DSCLKCFG_DSOSCSRC_RTC \
  1442. 0x00400000 // Hibernation Module RTCOSC
  1443. #define SYSCTL_DSCLKCFG_DSSYSDIV_M \
  1444. 0x000003FF // Deep Sleep Clock Divisor
  1445. #define SYSCTL_DSCLKCFG_DSSYSDIV_S \
  1446. 0
  1447. //*****************************************************************************
  1448. //
  1449. // The following are defines for the bit fields in the SYSCTL_DIVSCLK register.
  1450. //
  1451. //*****************************************************************************
  1452. #define SYSCTL_DIVSCLK_EN 0x80000000 // DIVSCLK Enable
  1453. #define SYSCTL_DIVSCLK_SRC_M 0x00030000 // Clock Source
  1454. #define SYSCTL_DIVSCLK_SRC_SYSCLK \
  1455. 0x00000000 // System Clock
  1456. #define SYSCTL_DIVSCLK_SRC_PIOSC \
  1457. 0x00010000 // PIOSC
  1458. #define SYSCTL_DIVSCLK_SRC_MOSC 0x00020000 // MOSC
  1459. #define SYSCTL_DIVSCLK_DIV_M 0x000000FF // Divisor Value
  1460. #define SYSCTL_DIVSCLK_DIV_S 0
  1461. //*****************************************************************************
  1462. //
  1463. // The following are defines for the bit fields in the SYSCTL_SYSPROP register.
  1464. //
  1465. //*****************************************************************************
  1466. #define SYSCTL_SYSPROP_FPU 0x00000001 // FPU Present
  1467. //*****************************************************************************
  1468. //
  1469. // The following are defines for the bit fields in the SYSCTL_PIOSCCAL
  1470. // register.
  1471. //
  1472. //*****************************************************************************
  1473. #define SYSCTL_PIOSCCAL_UTEN 0x80000000 // Use User Trim Value
  1474. #define SYSCTL_PIOSCCAL_CAL 0x00000200 // Start Calibration
  1475. #define SYSCTL_PIOSCCAL_UPDATE 0x00000100 // Update Trim
  1476. #define SYSCTL_PIOSCCAL_UT_M 0x0000007F // User Trim Value
  1477. #define SYSCTL_PIOSCCAL_UT_S 0
  1478. //*****************************************************************************
  1479. //
  1480. // The following are defines for the bit fields in the SYSCTL_PIOSCSTAT
  1481. // register.
  1482. //
  1483. //*****************************************************************************
  1484. #define SYSCTL_PIOSCSTAT_DT_M 0x007F0000 // Default Trim Value
  1485. #define SYSCTL_PIOSCSTAT_CR_M 0x00000300 // Calibration Result
  1486. #define SYSCTL_PIOSCSTAT_CRNONE 0x00000000 // Calibration has not been
  1487. // attempted
  1488. #define SYSCTL_PIOSCSTAT_CRPASS 0x00000100 // The last calibration operation
  1489. // completed to meet 1% accuracy
  1490. #define SYSCTL_PIOSCSTAT_CRFAIL 0x00000200 // The last calibration operation
  1491. // failed to meet 1% accuracy
  1492. #define SYSCTL_PIOSCSTAT_CT_M 0x0000007F // Calibration Trim Value
  1493. #define SYSCTL_PIOSCSTAT_DT_S 16
  1494. #define SYSCTL_PIOSCSTAT_CT_S 0
  1495. //*****************************************************************************
  1496. //
  1497. // The following are defines for the bit fields in the SYSCTL_PLLFREQ0
  1498. // register.
  1499. //
  1500. //*****************************************************************************
  1501. #define SYSCTL_PLLFREQ0_PLLPWR 0x00800000 // PLL Power
  1502. #define SYSCTL_PLLFREQ0_MFRAC_M 0x000FFC00 // PLL M Fractional Value
  1503. #define SYSCTL_PLLFREQ0_MINT_M 0x000003FF // PLL M Integer Value
  1504. #define SYSCTL_PLLFREQ0_MFRAC_S 10
  1505. #define SYSCTL_PLLFREQ0_MINT_S 0
  1506. //*****************************************************************************
  1507. //
  1508. // The following are defines for the bit fields in the SYSCTL_PLLFREQ1
  1509. // register.
  1510. //
  1511. //*****************************************************************************
  1512. #define SYSCTL_PLLFREQ1_Q_M 0x00001F00 // PLL Q Value
  1513. #define SYSCTL_PLLFREQ1_N_M 0x0000001F // PLL N Value
  1514. #define SYSCTL_PLLFREQ1_Q_S 8
  1515. #define SYSCTL_PLLFREQ1_N_S 0
  1516. //*****************************************************************************
  1517. //
  1518. // The following are defines for the bit fields in the SYSCTL_PLLSTAT register.
  1519. //
  1520. //*****************************************************************************
  1521. #define SYSCTL_PLLSTAT_LOCK 0x00000001 // PLL Lock
  1522. //*****************************************************************************
  1523. //
  1524. // The following are defines for the bit fields in the SYSCTL_SLPPWRCFG
  1525. // register.
  1526. //
  1527. //*****************************************************************************
  1528. #define SYSCTL_SLPPWRCFG_FLASHPM_M \
  1529. 0x00000030 // Flash Power Modes
  1530. #define SYSCTL_SLPPWRCFG_FLASHPM_NRM \
  1531. 0x00000000 // Active Mode
  1532. #define SYSCTL_SLPPWRCFG_FLASHPM_SLP \
  1533. 0x00000020 // Low Power Mode
  1534. #define SYSCTL_SLPPWRCFG_SRAMPM_M \
  1535. 0x00000003 // SRAM Power Modes
  1536. #define SYSCTL_SLPPWRCFG_SRAMPM_NRM \
  1537. 0x00000000 // Active Mode
  1538. #define SYSCTL_SLPPWRCFG_SRAMPM_SBY \
  1539. 0x00000001 // Standby Mode
  1540. #define SYSCTL_SLPPWRCFG_SRAMPM_LP \
  1541. 0x00000003 // Low Power Mode
  1542. //*****************************************************************************
  1543. //
  1544. // The following are defines for the bit fields in the SYSCTL_DSLPPWRCFG
  1545. // register.
  1546. //
  1547. //*****************************************************************************
  1548. #define SYSCTL_DSLPPWRCFG_LDOSM 0x00000200 // LDO Sleep Mode
  1549. #define SYSCTL_DSLPPWRCFG_TSPD 0x00000100 // Temperature Sense Power Down
  1550. #define SYSCTL_DSLPPWRCFG_FLASHPM_M \
  1551. 0x00000030 // Flash Power Modes
  1552. #define SYSCTL_DSLPPWRCFG_FLASHPM_NRM \
  1553. 0x00000000 // Active Mode
  1554. #define SYSCTL_DSLPPWRCFG_FLASHPM_SLP \
  1555. 0x00000020 // Low Power Mode
  1556. #define SYSCTL_DSLPPWRCFG_SRAMPM_M \
  1557. 0x00000003 // SRAM Power Modes
  1558. #define SYSCTL_DSLPPWRCFG_SRAMPM_NRM \
  1559. 0x00000000 // Active Mode
  1560. #define SYSCTL_DSLPPWRCFG_SRAMPM_SBY \
  1561. 0x00000001 // Standby Mode
  1562. #define SYSCTL_DSLPPWRCFG_SRAMPM_LP \
  1563. 0x00000003 // Low Power Mode
  1564. //*****************************************************************************
  1565. //
  1566. // The following are defines for the bit fields in the SYSCTL_DC9 register.
  1567. //
  1568. //*****************************************************************************
  1569. #define SYSCTL_DC9_ADC1DC7 0x00800000 // ADC1 DC7 Present
  1570. #define SYSCTL_DC9_ADC1DC6 0x00400000 // ADC1 DC6 Present
  1571. #define SYSCTL_DC9_ADC1DC5 0x00200000 // ADC1 DC5 Present
  1572. #define SYSCTL_DC9_ADC1DC4 0x00100000 // ADC1 DC4 Present
  1573. #define SYSCTL_DC9_ADC1DC3 0x00080000 // ADC1 DC3 Present
  1574. #define SYSCTL_DC9_ADC1DC2 0x00040000 // ADC1 DC2 Present
  1575. #define SYSCTL_DC9_ADC1DC1 0x00020000 // ADC1 DC1 Present
  1576. #define SYSCTL_DC9_ADC1DC0 0x00010000 // ADC1 DC0 Present
  1577. #define SYSCTL_DC9_ADC0DC7 0x00000080 // ADC0 DC7 Present
  1578. #define SYSCTL_DC9_ADC0DC6 0x00000040 // ADC0 DC6 Present
  1579. #define SYSCTL_DC9_ADC0DC5 0x00000020 // ADC0 DC5 Present
  1580. #define SYSCTL_DC9_ADC0DC4 0x00000010 // ADC0 DC4 Present
  1581. #define SYSCTL_DC9_ADC0DC3 0x00000008 // ADC0 DC3 Present
  1582. #define SYSCTL_DC9_ADC0DC2 0x00000004 // ADC0 DC2 Present
  1583. #define SYSCTL_DC9_ADC0DC1 0x00000002 // ADC0 DC1 Present
  1584. #define SYSCTL_DC9_ADC0DC0 0x00000001 // ADC0 DC0 Present
  1585. //*****************************************************************************
  1586. //
  1587. // The following are defines for the bit fields in the SYSCTL_NVMSTAT register.
  1588. //
  1589. //*****************************************************************************
  1590. #define SYSCTL_NVMSTAT_FWB 0x00000001 // 32 Word Flash Write Buffer
  1591. // Available
  1592. //*****************************************************************************
  1593. //
  1594. // The following are defines for the bit fields in the SYSCTL_LDOSPCTL
  1595. // register.
  1596. //
  1597. //*****************************************************************************
  1598. #define SYSCTL_LDOSPCTL_VADJEN 0x80000000 // Voltage Adjust Enable
  1599. #define SYSCTL_LDOSPCTL_VLDO_M 0x000000FF // LDO Output Voltage
  1600. #define SYSCTL_LDOSPCTL_VLDO_0_90V \
  1601. 0x00000012 // 0.90 V
  1602. #define SYSCTL_LDOSPCTL_VLDO_0_95V \
  1603. 0x00000013 // 0.95 V
  1604. #define SYSCTL_LDOSPCTL_VLDO_1_00V \
  1605. 0x00000014 // 1.00 V
  1606. #define SYSCTL_LDOSPCTL_VLDO_1_05V \
  1607. 0x00000015 // 1.05 V
  1608. #define SYSCTL_LDOSPCTL_VLDO_1_10V \
  1609. 0x00000016 // 1.10 V
  1610. #define SYSCTL_LDOSPCTL_VLDO_1_15V \
  1611. 0x00000017 // 1.15 V
  1612. #define SYSCTL_LDOSPCTL_VLDO_1_20V \
  1613. 0x00000018 // 1.20 V
  1614. //*****************************************************************************
  1615. //
  1616. // The following are defines for the bit fields in the SYSCTL_LDODPCTL
  1617. // register.
  1618. //
  1619. //*****************************************************************************
  1620. #define SYSCTL_LDODPCTL_VADJEN 0x80000000 // Voltage Adjust Enable
  1621. #define SYSCTL_LDODPCTL_VLDO_M 0x000000FF // LDO Output Voltage
  1622. #define SYSCTL_LDODPCTL_VLDO_0_90V \
  1623. 0x00000012 // 0.90 V
  1624. #define SYSCTL_LDODPCTL_VLDO_0_95V \
  1625. 0x00000013 // 0.95 V
  1626. #define SYSCTL_LDODPCTL_VLDO_1_00V \
  1627. 0x00000014 // 1.00 V
  1628. #define SYSCTL_LDODPCTL_VLDO_1_05V \
  1629. 0x00000015 // 1.05 V
  1630. #define SYSCTL_LDODPCTL_VLDO_1_10V \
  1631. 0x00000016 // 1.10 V
  1632. #define SYSCTL_LDODPCTL_VLDO_1_15V \
  1633. 0x00000017 // 1.15 V
  1634. #define SYSCTL_LDODPCTL_VLDO_1_20V \
  1635. 0x00000018 // 1.20 V
  1636. #define SYSCTL_LDODPCTL_VLDO_1_25V \
  1637. 0x00000019 // 1.25 V
  1638. #define SYSCTL_LDODPCTL_VLDO_1_30V \
  1639. 0x0000001A // 1.30 V
  1640. #define SYSCTL_LDODPCTL_VLDO_1_35V \
  1641. 0x0000001B // 1.35 V
  1642. //*****************************************************************************
  1643. //
  1644. // The following are defines for the bit fields in the SYSCTL_RESBEHAVCTL
  1645. // register.
  1646. //
  1647. //*****************************************************************************
  1648. #define SYSCTL_RESBEHAVCTL_WDOG1_M \
  1649. 0x000000C0 // Watchdog 1 Reset Operation
  1650. #define SYSCTL_RESBEHAVCTL_WDOG1_SYSRST \
  1651. 0x00000080 // Watchdog 1 issues a system
  1652. // reset. The application starts
  1653. // within 10 us
  1654. #define SYSCTL_RESBEHAVCTL_WDOG1_POR \
  1655. 0x000000C0 // Watchdog 1 issues a simulated
  1656. // POR sequence. Application starts
  1657. // less than 500 us after
  1658. // deassertion (Default)
  1659. #define SYSCTL_RESBEHAVCTL_WDOG0_M \
  1660. 0x00000030 // Watchdog 0 Reset Operation
  1661. #define SYSCTL_RESBEHAVCTL_WDOG0_SYSRST \
  1662. 0x00000020 // Watchdog 0 issues a system
  1663. // reset. The application starts
  1664. // within 10 us
  1665. #define SYSCTL_RESBEHAVCTL_WDOG0_POR \
  1666. 0x00000030 // Watchdog 0 issues a simulated
  1667. // POR sequence. Application starts
  1668. // less than 500 us after
  1669. // deassertion (Default)
  1670. #define SYSCTL_RESBEHAVCTL_BOR_M \
  1671. 0x0000000C // BOR Reset operation
  1672. #define SYSCTL_RESBEHAVCTL_BOR_SYSRST \
  1673. 0x00000008 // Brown Out Reset issues system
  1674. // reset. The application starts
  1675. // within 10 us
  1676. #define SYSCTL_RESBEHAVCTL_BOR_POR \
  1677. 0x0000000C // Brown Out Reset issues a
  1678. // simulated POR sequence. The
  1679. // application starts less than 500
  1680. // us after deassertion (Default)
  1681. #define SYSCTL_RESBEHAVCTL_EXTRES_M \
  1682. 0x00000003 // External RST Pin Operation
  1683. #define SYSCTL_RESBEHAVCTL_EXTRES_SYSRST \
  1684. 0x00000002 // External RST assertion issues a
  1685. // system reset. The application
  1686. // starts within 10 us
  1687. #define SYSCTL_RESBEHAVCTL_EXTRES_POR \
  1688. 0x00000003 // External RST assertion issues a
  1689. // simulated POR sequence.
  1690. // Application starts less than 500
  1691. // us after deassertion (Default)
  1692. //*****************************************************************************
  1693. //
  1694. // The following are defines for the bit fields in the SYSCTL_HSSR register.
  1695. //
  1696. //*****************************************************************************
  1697. #define SYSCTL_HSSR_KEY_M 0xFF000000 // Write Key
  1698. #define SYSCTL_HSSR_CDOFF_M 0x00FFFFFF // Command Descriptor Pointer
  1699. #define SYSCTL_HSSR_KEY_S 24
  1700. #define SYSCTL_HSSR_CDOFF_S 0
  1701. //*****************************************************************************
  1702. //
  1703. // The following are defines for the bit fields in the SYSCTL_USBPDS register.
  1704. //
  1705. //*****************************************************************************
  1706. #define SYSCTL_USBPDS_MEMSTAT_M 0x0000000C // Memory Array Power Status
  1707. #define SYSCTL_USBPDS_MEMSTAT_OFF \
  1708. 0x00000000 // Array OFF
  1709. #define SYSCTL_USBPDS_MEMSTAT_RETAIN \
  1710. 0x00000004 // SRAM Retention
  1711. #define SYSCTL_USBPDS_MEMSTAT_ON \
  1712. 0x0000000C // Array On
  1713. #define SYSCTL_USBPDS_PWRSTAT_M 0x00000003 // Power Domain Status
  1714. #define SYSCTL_USBPDS_PWRSTAT_OFF \
  1715. 0x00000000 // OFF
  1716. #define SYSCTL_USBPDS_PWRSTAT_ON \
  1717. 0x00000003 // ON
  1718. //*****************************************************************************
  1719. //
  1720. // The following are defines for the bit fields in the SYSCTL_USBMPC register.
  1721. //
  1722. //*****************************************************************************
  1723. #define SYSCTL_USBMPC_PWRCTL_M 0x00000003 // Memory Array Power Control
  1724. #define SYSCTL_USBMPC_PWRCTL_OFF \
  1725. 0x00000000 // Array OFF
  1726. #define SYSCTL_USBMPC_PWRCTL_RETAIN \
  1727. 0x00000001 // SRAM Retention
  1728. #define SYSCTL_USBMPC_PWRCTL_ON 0x00000003 // Array On
  1729. //*****************************************************************************
  1730. //
  1731. // The following are defines for the bit fields in the SYSCTL_EMACPDS register.
  1732. //
  1733. //*****************************************************************************
  1734. #define SYSCTL_EMACPDS_MEMSTAT_M \
  1735. 0x0000000C // Memory Array Power Status
  1736. #define SYSCTL_EMACPDS_MEMSTAT_OFF \
  1737. 0x00000000 // Array OFF
  1738. #define SYSCTL_EMACPDS_MEMSTAT_ON \
  1739. 0x0000000C // Array On
  1740. #define SYSCTL_EMACPDS_PWRSTAT_M \
  1741. 0x00000003 // Power Domain Status
  1742. #define SYSCTL_EMACPDS_PWRSTAT_OFF \
  1743. 0x00000000 // OFF
  1744. #define SYSCTL_EMACPDS_PWRSTAT_ON \
  1745. 0x00000003 // ON
  1746. //*****************************************************************************
  1747. //
  1748. // The following are defines for the bit fields in the SYSCTL_EMACMPC register.
  1749. //
  1750. //*****************************************************************************
  1751. #define SYSCTL_EMACMPC_PWRCTL_M 0x00000003 // Memory Array Power Control
  1752. #define SYSCTL_EMACMPC_PWRCTL_OFF \
  1753. 0x00000000 // Array OFF
  1754. #define SYSCTL_EMACMPC_PWRCTL_ON \
  1755. 0x00000003 // Array On
  1756. //*****************************************************************************
  1757. //
  1758. // The following are defines for the bit fields in the SYSCTL_LCDMPC register.
  1759. //
  1760. //*****************************************************************************
  1761. #define SYSCTL_LCDMPC_PWRCTL_M 0x00000003 // Memory Array Power Control
  1762. #define SYSCTL_LCDMPC_PWRCTL_OFF \
  1763. 0x00000000 // Array OFF
  1764. #define SYSCTL_LCDMPC_PWRCTL_ON 0x00000003 // Array On
  1765. //*****************************************************************************
  1766. //
  1767. // The following are defines for the bit fields in the SYSCTL_PPWD register.
  1768. //
  1769. //*****************************************************************************
  1770. #define SYSCTL_PPWD_P1 0x00000002 // Watchdog Timer 1 Present
  1771. #define SYSCTL_PPWD_P0 0x00000001 // Watchdog Timer 0 Present
  1772. //*****************************************************************************
  1773. //
  1774. // The following are defines for the bit fields in the SYSCTL_PPTIMER register.
  1775. //
  1776. //*****************************************************************************
  1777. #define SYSCTL_PPTIMER_P7 0x00000080 // 16/32-Bit General-Purpose Timer
  1778. // 7 Present
  1779. #define SYSCTL_PPTIMER_P6 0x00000040 // 16/32-Bit General-Purpose Timer
  1780. // 6 Present
  1781. #define SYSCTL_PPTIMER_P5 0x00000020 // 16/32-Bit General-Purpose Timer
  1782. // 5 Present
  1783. #define SYSCTL_PPTIMER_P4 0x00000010 // 16/32-Bit General-Purpose Timer
  1784. // 4 Present
  1785. #define SYSCTL_PPTIMER_P3 0x00000008 // 16/32-Bit General-Purpose Timer
  1786. // 3 Present
  1787. #define SYSCTL_PPTIMER_P2 0x00000004 // 16/32-Bit General-Purpose Timer
  1788. // 2 Present
  1789. #define SYSCTL_PPTIMER_P1 0x00000002 // 16/32-Bit General-Purpose Timer
  1790. // 1 Present
  1791. #define SYSCTL_PPTIMER_P0 0x00000001 // 16/32-Bit General-Purpose Timer
  1792. // 0 Present
  1793. //*****************************************************************************
  1794. //
  1795. // The following are defines for the bit fields in the SYSCTL_PPGPIO register.
  1796. //
  1797. //*****************************************************************************
  1798. #define SYSCTL_PPGPIO_P17 0x00020000 // GPIO Port T Present
  1799. #define SYSCTL_PPGPIO_P16 0x00010000 // GPIO Port S Present
  1800. #define SYSCTL_PPGPIO_P15 0x00008000 // GPIO Port R Present
  1801. #define SYSCTL_PPGPIO_P14 0x00004000 // GPIO Port Q Present
  1802. #define SYSCTL_PPGPIO_P13 0x00002000 // GPIO Port P Present
  1803. #define SYSCTL_PPGPIO_P12 0x00001000 // GPIO Port N Present
  1804. #define SYSCTL_PPGPIO_P11 0x00000800 // GPIO Port M Present
  1805. #define SYSCTL_PPGPIO_P10 0x00000400 // GPIO Port L Present
  1806. #define SYSCTL_PPGPIO_P9 0x00000200 // GPIO Port K Present
  1807. #define SYSCTL_PPGPIO_P8 0x00000100 // GPIO Port J Present
  1808. #define SYSCTL_PPGPIO_P7 0x00000080 // GPIO Port H Present
  1809. #define SYSCTL_PPGPIO_P6 0x00000040 // GPIO Port G Present
  1810. #define SYSCTL_PPGPIO_P5 0x00000020 // GPIO Port F Present
  1811. #define SYSCTL_PPGPIO_P4 0x00000010 // GPIO Port E Present
  1812. #define SYSCTL_PPGPIO_P3 0x00000008 // GPIO Port D Present
  1813. #define SYSCTL_PPGPIO_P2 0x00000004 // GPIO Port C Present
  1814. #define SYSCTL_PPGPIO_P1 0x00000002 // GPIO Port B Present
  1815. #define SYSCTL_PPGPIO_P0 0x00000001 // GPIO Port A Present
  1816. //*****************************************************************************
  1817. //
  1818. // The following are defines for the bit fields in the SYSCTL_PPDMA register.
  1819. //
  1820. //*****************************************************************************
  1821. #define SYSCTL_PPDMA_P0 0x00000001 // uDMA Module Present
  1822. //*****************************************************************************
  1823. //
  1824. // The following are defines for the bit fields in the SYSCTL_PPEPI register.
  1825. //
  1826. //*****************************************************************************
  1827. #define SYSCTL_PPEPI_P0 0x00000001 // EPI Module Present
  1828. //*****************************************************************************
  1829. //
  1830. // The following are defines for the bit fields in the SYSCTL_PPHIB register.
  1831. //
  1832. //*****************************************************************************
  1833. #define SYSCTL_PPHIB_P0 0x00000001 // Hibernation Module Present
  1834. //*****************************************************************************
  1835. //
  1836. // The following are defines for the bit fields in the SYSCTL_PPUART register.
  1837. //
  1838. //*****************************************************************************
  1839. #define SYSCTL_PPUART_P7 0x00000080 // UART Module 7 Present
  1840. #define SYSCTL_PPUART_P6 0x00000040 // UART Module 6 Present
  1841. #define SYSCTL_PPUART_P5 0x00000020 // UART Module 5 Present
  1842. #define SYSCTL_PPUART_P4 0x00000010 // UART Module 4 Present
  1843. #define SYSCTL_PPUART_P3 0x00000008 // UART Module 3 Present
  1844. #define SYSCTL_PPUART_P2 0x00000004 // UART Module 2 Present
  1845. #define SYSCTL_PPUART_P1 0x00000002 // UART Module 1 Present
  1846. #define SYSCTL_PPUART_P0 0x00000001 // UART Module 0 Present
  1847. //*****************************************************************************
  1848. //
  1849. // The following are defines for the bit fields in the SYSCTL_PPSSI register.
  1850. //
  1851. //*****************************************************************************
  1852. #define SYSCTL_PPSSI_P3 0x00000008 // SSI Module 3 Present
  1853. #define SYSCTL_PPSSI_P2 0x00000004 // SSI Module 2 Present
  1854. #define SYSCTL_PPSSI_P1 0x00000002 // SSI Module 1 Present
  1855. #define SYSCTL_PPSSI_P0 0x00000001 // SSI Module 0 Present
  1856. //*****************************************************************************
  1857. //
  1858. // The following are defines for the bit fields in the SYSCTL_PPI2C register.
  1859. //
  1860. //*****************************************************************************
  1861. #define SYSCTL_PPI2C_P9 0x00000200 // I2C Module 9 Present
  1862. #define SYSCTL_PPI2C_P8 0x00000100 // I2C Module 8 Present
  1863. #define SYSCTL_PPI2C_P7 0x00000080 // I2C Module 7 Present
  1864. #define SYSCTL_PPI2C_P6 0x00000040 // I2C Module 6 Present
  1865. #define SYSCTL_PPI2C_P5 0x00000020 // I2C Module 5 Present
  1866. #define SYSCTL_PPI2C_P4 0x00000010 // I2C Module 4 Present
  1867. #define SYSCTL_PPI2C_P3 0x00000008 // I2C Module 3 Present
  1868. #define SYSCTL_PPI2C_P2 0x00000004 // I2C Module 2 Present
  1869. #define SYSCTL_PPI2C_P1 0x00000002 // I2C Module 1 Present
  1870. #define SYSCTL_PPI2C_P0 0x00000001 // I2C Module 0 Present
  1871. //*****************************************************************************
  1872. //
  1873. // The following are defines for the bit fields in the SYSCTL_PPUSB register.
  1874. //
  1875. //*****************************************************************************
  1876. #define SYSCTL_PPUSB_P0 0x00000001 // USB Module Present
  1877. //*****************************************************************************
  1878. //
  1879. // The following are defines for the bit fields in the SYSCTL_PPEPHY register.
  1880. //
  1881. //*****************************************************************************
  1882. #define SYSCTL_PPEPHY_P0 0x00000001 // Ethernet PHY Module Present
  1883. //*****************************************************************************
  1884. //
  1885. // The following are defines for the bit fields in the SYSCTL_PPCAN register.
  1886. //
  1887. //*****************************************************************************
  1888. #define SYSCTL_PPCAN_P1 0x00000002 // CAN Module 1 Present
  1889. #define SYSCTL_PPCAN_P0 0x00000001 // CAN Module 0 Present
  1890. //*****************************************************************************
  1891. //
  1892. // The following are defines for the bit fields in the SYSCTL_PPADC register.
  1893. //
  1894. //*****************************************************************************
  1895. #define SYSCTL_PPADC_P1 0x00000002 // ADC Module 1 Present
  1896. #define SYSCTL_PPADC_P0 0x00000001 // ADC Module 0 Present
  1897. //*****************************************************************************
  1898. //
  1899. // The following are defines for the bit fields in the SYSCTL_PPACMP register.
  1900. //
  1901. //*****************************************************************************
  1902. #define SYSCTL_PPACMP_P0 0x00000001 // Analog Comparator Module Present
  1903. //*****************************************************************************
  1904. //
  1905. // The following are defines for the bit fields in the SYSCTL_PPPWM register.
  1906. //
  1907. //*****************************************************************************
  1908. #define SYSCTL_PPPWM_P1 0x00000002 // PWM Module 1 Present
  1909. #define SYSCTL_PPPWM_P0 0x00000001 // PWM Module 0 Present
  1910. //*****************************************************************************
  1911. //
  1912. // The following are defines for the bit fields in the SYSCTL_PPQEI register.
  1913. //
  1914. //*****************************************************************************
  1915. #define SYSCTL_PPQEI_P1 0x00000002 // QEI Module 1 Present
  1916. #define SYSCTL_PPQEI_P0 0x00000001 // QEI Module 0 Present
  1917. //*****************************************************************************
  1918. //
  1919. // The following are defines for the bit fields in the SYSCTL_PPLPC register.
  1920. //
  1921. //*****************************************************************************
  1922. #define SYSCTL_PPLPC_P0 0x00000001 // LPC Module Present
  1923. //*****************************************************************************
  1924. //
  1925. // The following are defines for the bit fields in the SYSCTL_PPPECI register.
  1926. //
  1927. //*****************************************************************************
  1928. #define SYSCTL_PPPECI_P0 0x00000001 // PECI Module Present
  1929. //*****************************************************************************
  1930. //
  1931. // The following are defines for the bit fields in the SYSCTL_PPFAN register.
  1932. //
  1933. //*****************************************************************************
  1934. #define SYSCTL_PPFAN_P0 0x00000001 // FAN Module 0 Present
  1935. //*****************************************************************************
  1936. //
  1937. // The following are defines for the bit fields in the SYSCTL_PPEEPROM
  1938. // register.
  1939. //
  1940. //*****************************************************************************
  1941. #define SYSCTL_PPEEPROM_P0 0x00000001 // EEPROM Module Present
  1942. //*****************************************************************************
  1943. //
  1944. // The following are defines for the bit fields in the SYSCTL_PPWTIMER
  1945. // register.
  1946. //
  1947. //*****************************************************************************
  1948. #define SYSCTL_PPWTIMER_P5 0x00000020 // 32/64-Bit Wide General-Purpose
  1949. // Timer 5 Present
  1950. #define SYSCTL_PPWTIMER_P4 0x00000010 // 32/64-Bit Wide General-Purpose
  1951. // Timer 4 Present
  1952. #define SYSCTL_PPWTIMER_P3 0x00000008 // 32/64-Bit Wide General-Purpose
  1953. // Timer 3 Present
  1954. #define SYSCTL_PPWTIMER_P2 0x00000004 // 32/64-Bit Wide General-Purpose
  1955. // Timer 2 Present
  1956. #define SYSCTL_PPWTIMER_P1 0x00000002 // 32/64-Bit Wide General-Purpose
  1957. // Timer 1 Present
  1958. #define SYSCTL_PPWTIMER_P0 0x00000001 // 32/64-Bit Wide General-Purpose
  1959. // Timer 0 Present
  1960. //*****************************************************************************
  1961. //
  1962. // The following are defines for the bit fields in the SYSCTL_PPRTS register.
  1963. //
  1964. //*****************************************************************************
  1965. #define SYSCTL_PPRTS_P0 0x00000001 // RTS Module Present
  1966. //*****************************************************************************
  1967. //
  1968. // The following are defines for the bit fields in the SYSCTL_PPCCM register.
  1969. //
  1970. //*****************************************************************************
  1971. #define SYSCTL_PPCCM_P0 0x00000001 // CRC and Cryptographic Modules
  1972. // Present
  1973. //*****************************************************************************
  1974. //
  1975. // The following are defines for the bit fields in the SYSCTL_PPLCD register.
  1976. //
  1977. //*****************************************************************************
  1978. #define SYSCTL_PPLCD_P0 0x00000001 // LCD Module Present
  1979. //*****************************************************************************
  1980. //
  1981. // The following are defines for the bit fields in the SYSCTL_PPOWIRE register.
  1982. //
  1983. //*****************************************************************************
  1984. #define SYSCTL_PPOWIRE_P0 0x00000001 // 1-Wire Module Present
  1985. //*****************************************************************************
  1986. //
  1987. // The following are defines for the bit fields in the SYSCTL_PPEMAC register.
  1988. //
  1989. //*****************************************************************************
  1990. #define SYSCTL_PPEMAC_P0 0x00000001 // Ethernet Controller Module
  1991. // Present
  1992. //*****************************************************************************
  1993. //
  1994. // The following are defines for the bit fields in the SYSCTL_PPHIM register.
  1995. //
  1996. //*****************************************************************************
  1997. #define SYSCTL_PPHIM_P0 0x00000001 // HIM Module Present
  1998. //*****************************************************************************
  1999. //
  2000. // The following are defines for the bit fields in the SYSCTL_SRWD register.
  2001. //
  2002. //*****************************************************************************
  2003. #define SYSCTL_SRWD_R1 0x00000002 // Watchdog Timer 1 Software Reset
  2004. #define SYSCTL_SRWD_R0 0x00000001 // Watchdog Timer 0 Software Reset
  2005. //*****************************************************************************
  2006. //
  2007. // The following are defines for the bit fields in the SYSCTL_SRTIMER register.
  2008. //
  2009. //*****************************************************************************
  2010. #define SYSCTL_SRTIMER_R7 0x00000080 // 16/32-Bit General-Purpose Timer
  2011. // 7 Software Reset
  2012. #define SYSCTL_SRTIMER_R6 0x00000040 // 16/32-Bit General-Purpose Timer
  2013. // 6 Software Reset
  2014. #define SYSCTL_SRTIMER_R5 0x00000020 // 16/32-Bit General-Purpose Timer
  2015. // 5 Software Reset
  2016. #define SYSCTL_SRTIMER_R4 0x00000010 // 16/32-Bit General-Purpose Timer
  2017. // 4 Software Reset
  2018. #define SYSCTL_SRTIMER_R3 0x00000008 // 16/32-Bit General-Purpose Timer
  2019. // 3 Software Reset
  2020. #define SYSCTL_SRTIMER_R2 0x00000004 // 16/32-Bit General-Purpose Timer
  2021. // 2 Software Reset
  2022. #define SYSCTL_SRTIMER_R1 0x00000002 // 16/32-Bit General-Purpose Timer
  2023. // 1 Software Reset
  2024. #define SYSCTL_SRTIMER_R0 0x00000001 // 16/32-Bit General-Purpose Timer
  2025. // 0 Software Reset
  2026. //*****************************************************************************
  2027. //
  2028. // The following are defines for the bit fields in the SYSCTL_SRGPIO register.
  2029. //
  2030. //*****************************************************************************
  2031. #define SYSCTL_SRGPIO_R17 0x00020000 // GPIO Port T Software Reset
  2032. #define SYSCTL_SRGPIO_R16 0x00010000 // GPIO Port S Software Reset
  2033. #define SYSCTL_SRGPIO_R15 0x00008000 // GPIO Port R Software Reset
  2034. #define SYSCTL_SRGPIO_R14 0x00004000 // GPIO Port Q Software Reset
  2035. #define SYSCTL_SRGPIO_R13 0x00002000 // GPIO Port P Software Reset
  2036. #define SYSCTL_SRGPIO_R12 0x00001000 // GPIO Port N Software Reset
  2037. #define SYSCTL_SRGPIO_R11 0x00000800 // GPIO Port M Software Reset
  2038. #define SYSCTL_SRGPIO_R10 0x00000400 // GPIO Port L Software Reset
  2039. #define SYSCTL_SRGPIO_R9 0x00000200 // GPIO Port K Software Reset
  2040. #define SYSCTL_SRGPIO_R8 0x00000100 // GPIO Port J Software Reset
  2041. #define SYSCTL_SRGPIO_R7 0x00000080 // GPIO Port H Software Reset
  2042. #define SYSCTL_SRGPIO_R6 0x00000040 // GPIO Port G Software Reset
  2043. #define SYSCTL_SRGPIO_R5 0x00000020 // GPIO Port F Software Reset
  2044. #define SYSCTL_SRGPIO_R4 0x00000010 // GPIO Port E Software Reset
  2045. #define SYSCTL_SRGPIO_R3 0x00000008 // GPIO Port D Software Reset
  2046. #define SYSCTL_SRGPIO_R2 0x00000004 // GPIO Port C Software Reset
  2047. #define SYSCTL_SRGPIO_R1 0x00000002 // GPIO Port B Software Reset
  2048. #define SYSCTL_SRGPIO_R0 0x00000001 // GPIO Port A Software Reset
  2049. //*****************************************************************************
  2050. //
  2051. // The following are defines for the bit fields in the SYSCTL_SRDMA register.
  2052. //
  2053. //*****************************************************************************
  2054. #define SYSCTL_SRDMA_R0 0x00000001 // uDMA Module Software Reset
  2055. //*****************************************************************************
  2056. //
  2057. // The following are defines for the bit fields in the SYSCTL_SREPI register.
  2058. //
  2059. //*****************************************************************************
  2060. #define SYSCTL_SREPI_R0 0x00000001 // EPI Module Software Reset
  2061. //*****************************************************************************
  2062. //
  2063. // The following are defines for the bit fields in the SYSCTL_SRHIB register.
  2064. //
  2065. //*****************************************************************************
  2066. #define SYSCTL_SRHIB_R0 0x00000001 // Hibernation Module Software
  2067. // Reset
  2068. //*****************************************************************************
  2069. //
  2070. // The following are defines for the bit fields in the SYSCTL_SRUART register.
  2071. //
  2072. //*****************************************************************************
  2073. #define SYSCTL_SRUART_R7 0x00000080 // UART Module 7 Software Reset
  2074. #define SYSCTL_SRUART_R6 0x00000040 // UART Module 6 Software Reset
  2075. #define SYSCTL_SRUART_R5 0x00000020 // UART Module 5 Software Reset
  2076. #define SYSCTL_SRUART_R4 0x00000010 // UART Module 4 Software Reset
  2077. #define SYSCTL_SRUART_R3 0x00000008 // UART Module 3 Software Reset
  2078. #define SYSCTL_SRUART_R2 0x00000004 // UART Module 2 Software Reset
  2079. #define SYSCTL_SRUART_R1 0x00000002 // UART Module 1 Software Reset
  2080. #define SYSCTL_SRUART_R0 0x00000001 // UART Module 0 Software Reset
  2081. //*****************************************************************************
  2082. //
  2083. // The following are defines for the bit fields in the SYSCTL_SRSSI register.
  2084. //
  2085. //*****************************************************************************
  2086. #define SYSCTL_SRSSI_R3 0x00000008 // SSI Module 3 Software Reset
  2087. #define SYSCTL_SRSSI_R2 0x00000004 // SSI Module 2 Software Reset
  2088. #define SYSCTL_SRSSI_R1 0x00000002 // SSI Module 1 Software Reset
  2089. #define SYSCTL_SRSSI_R0 0x00000001 // SSI Module 0 Software Reset
  2090. //*****************************************************************************
  2091. //
  2092. // The following are defines for the bit fields in the SYSCTL_SRI2C register.
  2093. //
  2094. //*****************************************************************************
  2095. #define SYSCTL_SRI2C_R9 0x00000200 // I2C Module 9 Software Reset
  2096. #define SYSCTL_SRI2C_R8 0x00000100 // I2C Module 8 Software Reset
  2097. #define SYSCTL_SRI2C_R7 0x00000080 // I2C Module 7 Software Reset
  2098. #define SYSCTL_SRI2C_R6 0x00000040 // I2C Module 6 Software Reset
  2099. #define SYSCTL_SRI2C_R5 0x00000020 // I2C Module 5 Software Reset
  2100. #define SYSCTL_SRI2C_R4 0x00000010 // I2C Module 4 Software Reset
  2101. #define SYSCTL_SRI2C_R3 0x00000008 // I2C Module 3 Software Reset
  2102. #define SYSCTL_SRI2C_R2 0x00000004 // I2C Module 2 Software Reset
  2103. #define SYSCTL_SRI2C_R1 0x00000002 // I2C Module 1 Software Reset
  2104. #define SYSCTL_SRI2C_R0 0x00000001 // I2C Module 0 Software Reset
  2105. //*****************************************************************************
  2106. //
  2107. // The following are defines for the bit fields in the SYSCTL_SRUSB register.
  2108. //
  2109. //*****************************************************************************
  2110. #define SYSCTL_SRUSB_R0 0x00000001 // USB Module Software Reset
  2111. //*****************************************************************************
  2112. //
  2113. // The following are defines for the bit fields in the SYSCTL_SREPHY register.
  2114. //
  2115. //*****************************************************************************
  2116. #define SYSCTL_SREPHY_R0 0x00000001 // Ethernet PHY Module Software
  2117. // Reset
  2118. //*****************************************************************************
  2119. //
  2120. // The following are defines for the bit fields in the SYSCTL_SRCAN register.
  2121. //
  2122. //*****************************************************************************
  2123. #define SYSCTL_SRCAN_R1 0x00000002 // CAN Module 1 Software Reset
  2124. #define SYSCTL_SRCAN_R0 0x00000001 // CAN Module 0 Software Reset
  2125. //*****************************************************************************
  2126. //
  2127. // The following are defines for the bit fields in the SYSCTL_SRADC register.
  2128. //
  2129. //*****************************************************************************
  2130. #define SYSCTL_SRADC_R1 0x00000002 // ADC Module 1 Software Reset
  2131. #define SYSCTL_SRADC_R0 0x00000001 // ADC Module 0 Software Reset
  2132. //*****************************************************************************
  2133. //
  2134. // The following are defines for the bit fields in the SYSCTL_SRACMP register.
  2135. //
  2136. //*****************************************************************************
  2137. #define SYSCTL_SRACMP_R0 0x00000001 // Analog Comparator Module 0
  2138. // Software Reset
  2139. //*****************************************************************************
  2140. //
  2141. // The following are defines for the bit fields in the SYSCTL_SRPWM register.
  2142. //
  2143. //*****************************************************************************
  2144. #define SYSCTL_SRPWM_R1 0x00000002 // PWM Module 1 Software Reset
  2145. #define SYSCTL_SRPWM_R0 0x00000001 // PWM Module 0 Software Reset
  2146. //*****************************************************************************
  2147. //
  2148. // The following are defines for the bit fields in the SYSCTL_SRQEI register.
  2149. //
  2150. //*****************************************************************************
  2151. #define SYSCTL_SRQEI_R1 0x00000002 // QEI Module 1 Software Reset
  2152. #define SYSCTL_SRQEI_R0 0x00000001 // QEI Module 0 Software Reset
  2153. //*****************************************************************************
  2154. //
  2155. // The following are defines for the bit fields in the SYSCTL_SREEPROM
  2156. // register.
  2157. //
  2158. //*****************************************************************************
  2159. #define SYSCTL_SREEPROM_R0 0x00000001 // EEPROM Module Software Reset
  2160. //*****************************************************************************
  2161. //
  2162. // The following are defines for the bit fields in the SYSCTL_SRWTIMER
  2163. // register.
  2164. //
  2165. //*****************************************************************************
  2166. #define SYSCTL_SRWTIMER_R5 0x00000020 // 32/64-Bit Wide General-Purpose
  2167. // Timer 5 Software Reset
  2168. #define SYSCTL_SRWTIMER_R4 0x00000010 // 32/64-Bit Wide General-Purpose
  2169. // Timer 4 Software Reset
  2170. #define SYSCTL_SRWTIMER_R3 0x00000008 // 32/64-Bit Wide General-Purpose
  2171. // Timer 3 Software Reset
  2172. #define SYSCTL_SRWTIMER_R2 0x00000004 // 32/64-Bit Wide General-Purpose
  2173. // Timer 2 Software Reset
  2174. #define SYSCTL_SRWTIMER_R1 0x00000002 // 32/64-Bit Wide General-Purpose
  2175. // Timer 1 Software Reset
  2176. #define SYSCTL_SRWTIMER_R0 0x00000001 // 32/64-Bit Wide General-Purpose
  2177. // Timer 0 Software Reset
  2178. //*****************************************************************************
  2179. //
  2180. // The following are defines for the bit fields in the SYSCTL_SRCCM register.
  2181. //
  2182. //*****************************************************************************
  2183. #define SYSCTL_SRCCM_R0 0x00000001 // CRC and Cryptographic Modules
  2184. // Software Reset
  2185. //*****************************************************************************
  2186. //
  2187. // The following are defines for the bit fields in the SYSCTL_SRLCD register.
  2188. //
  2189. //*****************************************************************************
  2190. #define SYSCTL_SRLCD_R0 0x00000001 // LCD Module 0 Software Reset
  2191. //*****************************************************************************
  2192. //
  2193. // The following are defines for the bit fields in the SYSCTL_SROWIRE register.
  2194. //
  2195. //*****************************************************************************
  2196. #define SYSCTL_SROWIRE_R0 0x00000001 // 1-Wire Module Software Reset
  2197. //*****************************************************************************
  2198. //
  2199. // The following are defines for the bit fields in the SYSCTL_SREMAC register.
  2200. //
  2201. //*****************************************************************************
  2202. #define SYSCTL_SREMAC_R0 0x00000001 // Ethernet Controller MAC Module 0
  2203. // Software Reset
  2204. //*****************************************************************************
  2205. //
  2206. // The following are defines for the bit fields in the SYSCTL_RCGCWD register.
  2207. //
  2208. //*****************************************************************************
  2209. #define SYSCTL_RCGCWD_R1 0x00000002 // Watchdog Timer 1 Run Mode Clock
  2210. // Gating Control
  2211. #define SYSCTL_RCGCWD_R0 0x00000001 // Watchdog Timer 0 Run Mode Clock
  2212. // Gating Control
  2213. //*****************************************************************************
  2214. //
  2215. // The following are defines for the bit fields in the SYSCTL_RCGCTIMER
  2216. // register.
  2217. //
  2218. //*****************************************************************************
  2219. #define SYSCTL_RCGCTIMER_R7 0x00000080 // 16/32-Bit General-Purpose Timer
  2220. // 7 Run Mode Clock Gating Control
  2221. #define SYSCTL_RCGCTIMER_R6 0x00000040 // 16/32-Bit General-Purpose Timer
  2222. // 6 Run Mode Clock Gating Control
  2223. #define SYSCTL_RCGCTIMER_R5 0x00000020 // 16/32-Bit General-Purpose Timer
  2224. // 5 Run Mode Clock Gating Control
  2225. #define SYSCTL_RCGCTIMER_R4 0x00000010 // 16/32-Bit General-Purpose Timer
  2226. // 4 Run Mode Clock Gating Control
  2227. #define SYSCTL_RCGCTIMER_R3 0x00000008 // 16/32-Bit General-Purpose Timer
  2228. // 3 Run Mode Clock Gating Control
  2229. #define SYSCTL_RCGCTIMER_R2 0x00000004 // 16/32-Bit General-Purpose Timer
  2230. // 2 Run Mode Clock Gating Control
  2231. #define SYSCTL_RCGCTIMER_R1 0x00000002 // 16/32-Bit General-Purpose Timer
  2232. // 1 Run Mode Clock Gating Control
  2233. #define SYSCTL_RCGCTIMER_R0 0x00000001 // 16/32-Bit General-Purpose Timer
  2234. // 0 Run Mode Clock Gating Control
  2235. //*****************************************************************************
  2236. //
  2237. // The following are defines for the bit fields in the SYSCTL_RCGCGPIO
  2238. // register.
  2239. //
  2240. //*****************************************************************************
  2241. #define SYSCTL_RCGCGPIO_R17 0x00020000 // GPIO Port T Run Mode Clock
  2242. // Gating Control
  2243. #define SYSCTL_RCGCGPIO_R16 0x00010000 // GPIO Port S Run Mode Clock
  2244. // Gating Control
  2245. #define SYSCTL_RCGCGPIO_R15 0x00008000 // GPIO Port R Run Mode Clock
  2246. // Gating Control
  2247. #define SYSCTL_RCGCGPIO_R14 0x00004000 // GPIO Port Q Run Mode Clock
  2248. // Gating Control
  2249. #define SYSCTL_RCGCGPIO_R13 0x00002000 // GPIO Port P Run Mode Clock
  2250. // Gating Control
  2251. #define SYSCTL_RCGCGPIO_R12 0x00001000 // GPIO Port N Run Mode Clock
  2252. // Gating Control
  2253. #define SYSCTL_RCGCGPIO_R11 0x00000800 // GPIO Port M Run Mode Clock
  2254. // Gating Control
  2255. #define SYSCTL_RCGCGPIO_R10 0x00000400 // GPIO Port L Run Mode Clock
  2256. // Gating Control
  2257. #define SYSCTL_RCGCGPIO_R9 0x00000200 // GPIO Port K Run Mode Clock
  2258. // Gating Control
  2259. #define SYSCTL_RCGCGPIO_R8 0x00000100 // GPIO Port J Run Mode Clock
  2260. // Gating Control
  2261. #define SYSCTL_RCGCGPIO_R7 0x00000080 // GPIO Port H Run Mode Clock
  2262. // Gating Control
  2263. #define SYSCTL_RCGCGPIO_R6 0x00000040 // GPIO Port G Run Mode Clock
  2264. // Gating Control
  2265. #define SYSCTL_RCGCGPIO_R5 0x00000020 // GPIO Port F Run Mode Clock
  2266. // Gating Control
  2267. #define SYSCTL_RCGCGPIO_R4 0x00000010 // GPIO Port E Run Mode Clock
  2268. // Gating Control
  2269. #define SYSCTL_RCGCGPIO_R3 0x00000008 // GPIO Port D Run Mode Clock
  2270. // Gating Control
  2271. #define SYSCTL_RCGCGPIO_R2 0x00000004 // GPIO Port C Run Mode Clock
  2272. // Gating Control
  2273. #define SYSCTL_RCGCGPIO_R1 0x00000002 // GPIO Port B Run Mode Clock
  2274. // Gating Control
  2275. #define SYSCTL_RCGCGPIO_R0 0x00000001 // GPIO Port A Run Mode Clock
  2276. // Gating Control
  2277. //*****************************************************************************
  2278. //
  2279. // The following are defines for the bit fields in the SYSCTL_RCGCDMA register.
  2280. //
  2281. //*****************************************************************************
  2282. #define SYSCTL_RCGCDMA_R0 0x00000001 // uDMA Module Run Mode Clock
  2283. // Gating Control
  2284. //*****************************************************************************
  2285. //
  2286. // The following are defines for the bit fields in the SYSCTL_RCGCEPI register.
  2287. //
  2288. //*****************************************************************************
  2289. #define SYSCTL_RCGCEPI_R0 0x00000001 // EPI Module Run Mode Clock Gating
  2290. // Control
  2291. //*****************************************************************************
  2292. //
  2293. // The following are defines for the bit fields in the SYSCTL_RCGCHIB register.
  2294. //
  2295. //*****************************************************************************
  2296. #define SYSCTL_RCGCHIB_R0 0x00000001 // Hibernation Module Run Mode
  2297. // Clock Gating Control
  2298. //*****************************************************************************
  2299. //
  2300. // The following are defines for the bit fields in the SYSCTL_RCGCUART
  2301. // register.
  2302. //
  2303. //*****************************************************************************
  2304. #define SYSCTL_RCGCUART_R7 0x00000080 // UART Module 7 Run Mode Clock
  2305. // Gating Control
  2306. #define SYSCTL_RCGCUART_R6 0x00000040 // UART Module 6 Run Mode Clock
  2307. // Gating Control
  2308. #define SYSCTL_RCGCUART_R5 0x00000020 // UART Module 5 Run Mode Clock
  2309. // Gating Control
  2310. #define SYSCTL_RCGCUART_R4 0x00000010 // UART Module 4 Run Mode Clock
  2311. // Gating Control
  2312. #define SYSCTL_RCGCUART_R3 0x00000008 // UART Module 3 Run Mode Clock
  2313. // Gating Control
  2314. #define SYSCTL_RCGCUART_R2 0x00000004 // UART Module 2 Run Mode Clock
  2315. // Gating Control
  2316. #define SYSCTL_RCGCUART_R1 0x00000002 // UART Module 1 Run Mode Clock
  2317. // Gating Control
  2318. #define SYSCTL_RCGCUART_R0 0x00000001 // UART Module 0 Run Mode Clock
  2319. // Gating Control
  2320. //*****************************************************************************
  2321. //
  2322. // The following are defines for the bit fields in the SYSCTL_RCGCSSI register.
  2323. //
  2324. //*****************************************************************************
  2325. #define SYSCTL_RCGCSSI_R3 0x00000008 // SSI Module 3 Run Mode Clock
  2326. // Gating Control
  2327. #define SYSCTL_RCGCSSI_R2 0x00000004 // SSI Module 2 Run Mode Clock
  2328. // Gating Control
  2329. #define SYSCTL_RCGCSSI_R1 0x00000002 // SSI Module 1 Run Mode Clock
  2330. // Gating Control
  2331. #define SYSCTL_RCGCSSI_R0 0x00000001 // SSI Module 0 Run Mode Clock
  2332. // Gating Control
  2333. //*****************************************************************************
  2334. //
  2335. // The following are defines for the bit fields in the SYSCTL_RCGCI2C register.
  2336. //
  2337. //*****************************************************************************
  2338. #define SYSCTL_RCGCI2C_R9 0x00000200 // I2C Module 9 Run Mode Clock
  2339. // Gating Control
  2340. #define SYSCTL_RCGCI2C_R8 0x00000100 // I2C Module 8 Run Mode Clock
  2341. // Gating Control
  2342. #define SYSCTL_RCGCI2C_R7 0x00000080 // I2C Module 7 Run Mode Clock
  2343. // Gating Control
  2344. #define SYSCTL_RCGCI2C_R6 0x00000040 // I2C Module 6 Run Mode Clock
  2345. // Gating Control
  2346. #define SYSCTL_RCGCI2C_R5 0x00000020 // I2C Module 5 Run Mode Clock
  2347. // Gating Control
  2348. #define SYSCTL_RCGCI2C_R4 0x00000010 // I2C Module 4 Run Mode Clock
  2349. // Gating Control
  2350. #define SYSCTL_RCGCI2C_R3 0x00000008 // I2C Module 3 Run Mode Clock
  2351. // Gating Control
  2352. #define SYSCTL_RCGCI2C_R2 0x00000004 // I2C Module 2 Run Mode Clock
  2353. // Gating Control
  2354. #define SYSCTL_RCGCI2C_R1 0x00000002 // I2C Module 1 Run Mode Clock
  2355. // Gating Control
  2356. #define SYSCTL_RCGCI2C_R0 0x00000001 // I2C Module 0 Run Mode Clock
  2357. // Gating Control
  2358. //*****************************************************************************
  2359. //
  2360. // The following are defines for the bit fields in the SYSCTL_RCGCUSB register.
  2361. //
  2362. //*****************************************************************************
  2363. #define SYSCTL_RCGCUSB_R0 0x00000001 // USB Module Run Mode Clock Gating
  2364. // Control
  2365. //*****************************************************************************
  2366. //
  2367. // The following are defines for the bit fields in the SYSCTL_RCGCEPHY
  2368. // register.
  2369. //
  2370. //*****************************************************************************
  2371. #define SYSCTL_RCGCEPHY_R0 0x00000001 // Ethernet PHY Module Run Mode
  2372. // Clock Gating Control
  2373. //*****************************************************************************
  2374. //
  2375. // The following are defines for the bit fields in the SYSCTL_RCGCCAN register.
  2376. //
  2377. //*****************************************************************************
  2378. #define SYSCTL_RCGCCAN_R1 0x00000002 // CAN Module 1 Run Mode Clock
  2379. // Gating Control
  2380. #define SYSCTL_RCGCCAN_R0 0x00000001 // CAN Module 0 Run Mode Clock
  2381. // Gating Control
  2382. //*****************************************************************************
  2383. //
  2384. // The following are defines for the bit fields in the SYSCTL_RCGCADC register.
  2385. //
  2386. //*****************************************************************************
  2387. #define SYSCTL_RCGCADC_R1 0x00000002 // ADC Module 1 Run Mode Clock
  2388. // Gating Control
  2389. #define SYSCTL_RCGCADC_R0 0x00000001 // ADC Module 0 Run Mode Clock
  2390. // Gating Control
  2391. //*****************************************************************************
  2392. //
  2393. // The following are defines for the bit fields in the SYSCTL_RCGCACMP
  2394. // register.
  2395. //
  2396. //*****************************************************************************
  2397. #define SYSCTL_RCGCACMP_R0 0x00000001 // Analog Comparator Module 0 Run
  2398. // Mode Clock Gating Control
  2399. //*****************************************************************************
  2400. //
  2401. // The following are defines for the bit fields in the SYSCTL_RCGCPWM register.
  2402. //
  2403. //*****************************************************************************
  2404. #define SYSCTL_RCGCPWM_R1 0x00000002 // PWM Module 1 Run Mode Clock
  2405. // Gating Control
  2406. #define SYSCTL_RCGCPWM_R0 0x00000001 // PWM Module 0 Run Mode Clock
  2407. // Gating Control
  2408. //*****************************************************************************
  2409. //
  2410. // The following are defines for the bit fields in the SYSCTL_RCGCQEI register.
  2411. //
  2412. //*****************************************************************************
  2413. #define SYSCTL_RCGCQEI_R1 0x00000002 // QEI Module 1 Run Mode Clock
  2414. // Gating Control
  2415. #define SYSCTL_RCGCQEI_R0 0x00000001 // QEI Module 0 Run Mode Clock
  2416. // Gating Control
  2417. //*****************************************************************************
  2418. //
  2419. // The following are defines for the bit fields in the SYSCTL_RCGCEEPROM
  2420. // register.
  2421. //
  2422. //*****************************************************************************
  2423. #define SYSCTL_RCGCEEPROM_R0 0x00000001 // EEPROM Module Run Mode Clock
  2424. // Gating Control
  2425. //*****************************************************************************
  2426. //
  2427. // The following are defines for the bit fields in the SYSCTL_RCGCWTIMER
  2428. // register.
  2429. //
  2430. //*****************************************************************************
  2431. #define SYSCTL_RCGCWTIMER_R5 0x00000020 // 32/64-Bit Wide General-Purpose
  2432. // Timer 5 Run Mode Clock Gating
  2433. // Control
  2434. #define SYSCTL_RCGCWTIMER_R4 0x00000010 // 32/64-Bit Wide General-Purpose
  2435. // Timer 4 Run Mode Clock Gating
  2436. // Control
  2437. #define SYSCTL_RCGCWTIMER_R3 0x00000008 // 32/64-Bit Wide General-Purpose
  2438. // Timer 3 Run Mode Clock Gating
  2439. // Control
  2440. #define SYSCTL_RCGCWTIMER_R2 0x00000004 // 32/64-Bit Wide General-Purpose
  2441. // Timer 2 Run Mode Clock Gating
  2442. // Control
  2443. #define SYSCTL_RCGCWTIMER_R1 0x00000002 // 32/64-Bit Wide General-Purpose
  2444. // Timer 1 Run Mode Clock Gating
  2445. // Control
  2446. #define SYSCTL_RCGCWTIMER_R0 0x00000001 // 32/64-Bit Wide General-Purpose
  2447. // Timer 0 Run Mode Clock Gating
  2448. // Control
  2449. //*****************************************************************************
  2450. //
  2451. // The following are defines for the bit fields in the SYSCTL_RCGCCCM register.
  2452. //
  2453. //*****************************************************************************
  2454. #define SYSCTL_RCGCCCM_R0 0x00000001 // CRC and Cryptographic Modules
  2455. // Run Mode Clock Gating Control
  2456. //*****************************************************************************
  2457. //
  2458. // The following are defines for the bit fields in the SYSCTL_RCGCLCD register.
  2459. //
  2460. //*****************************************************************************
  2461. #define SYSCTL_RCGCLCD_R0 0x00000001 // LCD Controller Module 0 Run Mode
  2462. // Clock Gating Control
  2463. //*****************************************************************************
  2464. //
  2465. // The following are defines for the bit fields in the SYSCTL_RCGCOWIRE
  2466. // register.
  2467. //
  2468. //*****************************************************************************
  2469. #define SYSCTL_RCGCOWIRE_R0 0x00000001 // 1-Wire Module 0 Run Mode Clock
  2470. // Gating Control
  2471. //*****************************************************************************
  2472. //
  2473. // The following are defines for the bit fields in the SYSCTL_RCGCEMAC
  2474. // register.
  2475. //
  2476. //*****************************************************************************
  2477. #define SYSCTL_RCGCEMAC_R0 0x00000001 // Ethernet MAC Module 0 Run Mode
  2478. // Clock Gating Control
  2479. //*****************************************************************************
  2480. //
  2481. // The following are defines for the bit fields in the SYSCTL_SCGCWD register.
  2482. //
  2483. //*****************************************************************************
  2484. #define SYSCTL_SCGCWD_S1 0x00000002 // Watchdog Timer 1 Sleep Mode
  2485. // Clock Gating Control
  2486. #define SYSCTL_SCGCWD_S0 0x00000001 // Watchdog Timer 0 Sleep Mode
  2487. // Clock Gating Control
  2488. //*****************************************************************************
  2489. //
  2490. // The following are defines for the bit fields in the SYSCTL_SCGCTIMER
  2491. // register.
  2492. //
  2493. //*****************************************************************************
  2494. #define SYSCTL_SCGCTIMER_S7 0x00000080 // 16/32-Bit General-Purpose Timer
  2495. // 7 Sleep Mode Clock Gating
  2496. // Control
  2497. #define SYSCTL_SCGCTIMER_S6 0x00000040 // 16/32-Bit General-Purpose Timer
  2498. // 6 Sleep Mode Clock Gating
  2499. // Control
  2500. #define SYSCTL_SCGCTIMER_S5 0x00000020 // 16/32-Bit General-Purpose Timer
  2501. // 5 Sleep Mode Clock Gating
  2502. // Control
  2503. #define SYSCTL_SCGCTIMER_S4 0x00000010 // 16/32-Bit General-Purpose Timer
  2504. // 4 Sleep Mode Clock Gating
  2505. // Control
  2506. #define SYSCTL_SCGCTIMER_S3 0x00000008 // 16/32-Bit General-Purpose Timer
  2507. // 3 Sleep Mode Clock Gating
  2508. // Control
  2509. #define SYSCTL_SCGCTIMER_S2 0x00000004 // 16/32-Bit General-Purpose Timer
  2510. // 2 Sleep Mode Clock Gating
  2511. // Control
  2512. #define SYSCTL_SCGCTIMER_S1 0x00000002 // 16/32-Bit General-Purpose Timer
  2513. // 1 Sleep Mode Clock Gating
  2514. // Control
  2515. #define SYSCTL_SCGCTIMER_S0 0x00000001 // 16/32-Bit General-Purpose Timer
  2516. // 0 Sleep Mode Clock Gating
  2517. // Control
  2518. //*****************************************************************************
  2519. //
  2520. // The following are defines for the bit fields in the SYSCTL_SCGCGPIO
  2521. // register.
  2522. //
  2523. //*****************************************************************************
  2524. #define SYSCTL_SCGCGPIO_S17 0x00020000 // GPIO Port T Sleep Mode Clock
  2525. // Gating Control
  2526. #define SYSCTL_SCGCGPIO_S16 0x00010000 // GPIO Port S Sleep Mode Clock
  2527. // Gating Control
  2528. #define SYSCTL_SCGCGPIO_S15 0x00008000 // GPIO Port R Sleep Mode Clock
  2529. // Gating Control
  2530. #define SYSCTL_SCGCGPIO_S14 0x00004000 // GPIO Port Q Sleep Mode Clock
  2531. // Gating Control
  2532. #define SYSCTL_SCGCGPIO_S13 0x00002000 // GPIO Port P Sleep Mode Clock
  2533. // Gating Control
  2534. #define SYSCTL_SCGCGPIO_S12 0x00001000 // GPIO Port N Sleep Mode Clock
  2535. // Gating Control
  2536. #define SYSCTL_SCGCGPIO_S11 0x00000800 // GPIO Port M Sleep Mode Clock
  2537. // Gating Control
  2538. #define SYSCTL_SCGCGPIO_S10 0x00000400 // GPIO Port L Sleep Mode Clock
  2539. // Gating Control
  2540. #define SYSCTL_SCGCGPIO_S9 0x00000200 // GPIO Port K Sleep Mode Clock
  2541. // Gating Control
  2542. #define SYSCTL_SCGCGPIO_S8 0x00000100 // GPIO Port J Sleep Mode Clock
  2543. // Gating Control
  2544. #define SYSCTL_SCGCGPIO_S7 0x00000080 // GPIO Port H Sleep Mode Clock
  2545. // Gating Control
  2546. #define SYSCTL_SCGCGPIO_S6 0x00000040 // GPIO Port G Sleep Mode Clock
  2547. // Gating Control
  2548. #define SYSCTL_SCGCGPIO_S5 0x00000020 // GPIO Port F Sleep Mode Clock
  2549. // Gating Control
  2550. #define SYSCTL_SCGCGPIO_S4 0x00000010 // GPIO Port E Sleep Mode Clock
  2551. // Gating Control
  2552. #define SYSCTL_SCGCGPIO_S3 0x00000008 // GPIO Port D Sleep Mode Clock
  2553. // Gating Control
  2554. #define SYSCTL_SCGCGPIO_S2 0x00000004 // GPIO Port C Sleep Mode Clock
  2555. // Gating Control
  2556. #define SYSCTL_SCGCGPIO_S1 0x00000002 // GPIO Port B Sleep Mode Clock
  2557. // Gating Control
  2558. #define SYSCTL_SCGCGPIO_S0 0x00000001 // GPIO Port A Sleep Mode Clock
  2559. // Gating Control
  2560. //*****************************************************************************
  2561. //
  2562. // The following are defines for the bit fields in the SYSCTL_SCGCDMA register.
  2563. //
  2564. //*****************************************************************************
  2565. #define SYSCTL_SCGCDMA_S0 0x00000001 // uDMA Module Sleep Mode Clock
  2566. // Gating Control
  2567. //*****************************************************************************
  2568. //
  2569. // The following are defines for the bit fields in the SYSCTL_SCGCEPI register.
  2570. //
  2571. //*****************************************************************************
  2572. #define SYSCTL_SCGCEPI_S0 0x00000001 // EPI Module Sleep Mode Clock
  2573. // Gating Control
  2574. //*****************************************************************************
  2575. //
  2576. // The following are defines for the bit fields in the SYSCTL_SCGCHIB register.
  2577. //
  2578. //*****************************************************************************
  2579. #define SYSCTL_SCGCHIB_S0 0x00000001 // Hibernation Module Sleep Mode
  2580. // Clock Gating Control
  2581. //*****************************************************************************
  2582. //
  2583. // The following are defines for the bit fields in the SYSCTL_SCGCUART
  2584. // register.
  2585. //
  2586. //*****************************************************************************
  2587. #define SYSCTL_SCGCUART_S7 0x00000080 // UART Module 7 Sleep Mode Clock
  2588. // Gating Control
  2589. #define SYSCTL_SCGCUART_S6 0x00000040 // UART Module 6 Sleep Mode Clock
  2590. // Gating Control
  2591. #define SYSCTL_SCGCUART_S5 0x00000020 // UART Module 5 Sleep Mode Clock
  2592. // Gating Control
  2593. #define SYSCTL_SCGCUART_S4 0x00000010 // UART Module 4 Sleep Mode Clock
  2594. // Gating Control
  2595. #define SYSCTL_SCGCUART_S3 0x00000008 // UART Module 3 Sleep Mode Clock
  2596. // Gating Control
  2597. #define SYSCTL_SCGCUART_S2 0x00000004 // UART Module 2 Sleep Mode Clock
  2598. // Gating Control
  2599. #define SYSCTL_SCGCUART_S1 0x00000002 // UART Module 1 Sleep Mode Clock
  2600. // Gating Control
  2601. #define SYSCTL_SCGCUART_S0 0x00000001 // UART Module 0 Sleep Mode Clock
  2602. // Gating Control
  2603. //*****************************************************************************
  2604. //
  2605. // The following are defines for the bit fields in the SYSCTL_SCGCSSI register.
  2606. //
  2607. //*****************************************************************************
  2608. #define SYSCTL_SCGCSSI_S3 0x00000008 // SSI Module 3 Sleep Mode Clock
  2609. // Gating Control
  2610. #define SYSCTL_SCGCSSI_S2 0x00000004 // SSI Module 2 Sleep Mode Clock
  2611. // Gating Control
  2612. #define SYSCTL_SCGCSSI_S1 0x00000002 // SSI Module 1 Sleep Mode Clock
  2613. // Gating Control
  2614. #define SYSCTL_SCGCSSI_S0 0x00000001 // SSI Module 0 Sleep Mode Clock
  2615. // Gating Control
  2616. //*****************************************************************************
  2617. //
  2618. // The following are defines for the bit fields in the SYSCTL_SCGCI2C register.
  2619. //
  2620. //*****************************************************************************
  2621. #define SYSCTL_SCGCI2C_S9 0x00000200 // I2C Module 9 Sleep Mode Clock
  2622. // Gating Control
  2623. #define SYSCTL_SCGCI2C_S8 0x00000100 // I2C Module 8 Sleep Mode Clock
  2624. // Gating Control
  2625. #define SYSCTL_SCGCI2C_S7 0x00000080 // I2C Module 7 Sleep Mode Clock
  2626. // Gating Control
  2627. #define SYSCTL_SCGCI2C_S6 0x00000040 // I2C Module 6 Sleep Mode Clock
  2628. // Gating Control
  2629. #define SYSCTL_SCGCI2C_S5 0x00000020 // I2C Module 5 Sleep Mode Clock
  2630. // Gating Control
  2631. #define SYSCTL_SCGCI2C_S4 0x00000010 // I2C Module 4 Sleep Mode Clock
  2632. // Gating Control
  2633. #define SYSCTL_SCGCI2C_S3 0x00000008 // I2C Module 3 Sleep Mode Clock
  2634. // Gating Control
  2635. #define SYSCTL_SCGCI2C_S2 0x00000004 // I2C Module 2 Sleep Mode Clock
  2636. // Gating Control
  2637. #define SYSCTL_SCGCI2C_S1 0x00000002 // I2C Module 1 Sleep Mode Clock
  2638. // Gating Control
  2639. #define SYSCTL_SCGCI2C_S0 0x00000001 // I2C Module 0 Sleep Mode Clock
  2640. // Gating Control
  2641. //*****************************************************************************
  2642. //
  2643. // The following are defines for the bit fields in the SYSCTL_SCGCUSB register.
  2644. //
  2645. //*****************************************************************************
  2646. #define SYSCTL_SCGCUSB_S0 0x00000001 // USB Module Sleep Mode Clock
  2647. // Gating Control
  2648. //*****************************************************************************
  2649. //
  2650. // The following are defines for the bit fields in the SYSCTL_SCGCEPHY
  2651. // register.
  2652. //
  2653. //*****************************************************************************
  2654. #define SYSCTL_SCGCEPHY_S0 0x00000001 // PHY Module Sleep Mode Clock
  2655. // Gating Control
  2656. //*****************************************************************************
  2657. //
  2658. // The following are defines for the bit fields in the SYSCTL_SCGCCAN register.
  2659. //
  2660. //*****************************************************************************
  2661. #define SYSCTL_SCGCCAN_S1 0x00000002 // CAN Module 1 Sleep Mode Clock
  2662. // Gating Control
  2663. #define SYSCTL_SCGCCAN_S0 0x00000001 // CAN Module 0 Sleep Mode Clock
  2664. // Gating Control
  2665. //*****************************************************************************
  2666. //
  2667. // The following are defines for the bit fields in the SYSCTL_SCGCADC register.
  2668. //
  2669. //*****************************************************************************
  2670. #define SYSCTL_SCGCADC_S1 0x00000002 // ADC Module 1 Sleep Mode Clock
  2671. // Gating Control
  2672. #define SYSCTL_SCGCADC_S0 0x00000001 // ADC Module 0 Sleep Mode Clock
  2673. // Gating Control
  2674. //*****************************************************************************
  2675. //
  2676. // The following are defines for the bit fields in the SYSCTL_SCGCACMP
  2677. // register.
  2678. //
  2679. //*****************************************************************************
  2680. #define SYSCTL_SCGCACMP_S0 0x00000001 // Analog Comparator Module 0 Sleep
  2681. // Mode Clock Gating Control
  2682. //*****************************************************************************
  2683. //
  2684. // The following are defines for the bit fields in the SYSCTL_SCGCPWM register.
  2685. //
  2686. //*****************************************************************************
  2687. #define SYSCTL_SCGCPWM_S1 0x00000002 // PWM Module 1 Sleep Mode Clock
  2688. // Gating Control
  2689. #define SYSCTL_SCGCPWM_S0 0x00000001 // PWM Module 0 Sleep Mode Clock
  2690. // Gating Control
  2691. //*****************************************************************************
  2692. //
  2693. // The following are defines for the bit fields in the SYSCTL_SCGCQEI register.
  2694. //
  2695. //*****************************************************************************
  2696. #define SYSCTL_SCGCQEI_S1 0x00000002 // QEI Module 1 Sleep Mode Clock
  2697. // Gating Control
  2698. #define SYSCTL_SCGCQEI_S0 0x00000001 // QEI Module 0 Sleep Mode Clock
  2699. // Gating Control
  2700. //*****************************************************************************
  2701. //
  2702. // The following are defines for the bit fields in the SYSCTL_SCGCEEPROM
  2703. // register.
  2704. //
  2705. //*****************************************************************************
  2706. #define SYSCTL_SCGCEEPROM_S0 0x00000001 // EEPROM Module Sleep Mode Clock
  2707. // Gating Control
  2708. //*****************************************************************************
  2709. //
  2710. // The following are defines for the bit fields in the SYSCTL_SCGCWTIMER
  2711. // register.
  2712. //
  2713. //*****************************************************************************
  2714. #define SYSCTL_SCGCWTIMER_S5 0x00000020 // 32/64-Bit Wide General-Purpose
  2715. // Timer 5 Sleep Mode Clock Gating
  2716. // Control
  2717. #define SYSCTL_SCGCWTIMER_S4 0x00000010 // 32/64-Bit Wide General-Purpose
  2718. // Timer 4 Sleep Mode Clock Gating
  2719. // Control
  2720. #define SYSCTL_SCGCWTIMER_S3 0x00000008 // 32/64-Bit Wide General-Purpose
  2721. // Timer 3 Sleep Mode Clock Gating
  2722. // Control
  2723. #define SYSCTL_SCGCWTIMER_S2 0x00000004 // 32/64-Bit Wide General-Purpose
  2724. // Timer 2 Sleep Mode Clock Gating
  2725. // Control
  2726. #define SYSCTL_SCGCWTIMER_S1 0x00000002 // 32/64-Bit Wide General-Purpose
  2727. // Timer 1 Sleep Mode Clock Gating
  2728. // Control
  2729. #define SYSCTL_SCGCWTIMER_S0 0x00000001 // 32/64-Bit Wide General-Purpose
  2730. // Timer 0 Sleep Mode Clock Gating
  2731. // Control
  2732. //*****************************************************************************
  2733. //
  2734. // The following are defines for the bit fields in the SYSCTL_SCGCCCM register.
  2735. //
  2736. //*****************************************************************************
  2737. #define SYSCTL_SCGCCCM_S0 0x00000001 // CRC and Cryptographic Modules
  2738. // Sleep Mode Clock Gating Control
  2739. //*****************************************************************************
  2740. //
  2741. // The following are defines for the bit fields in the SYSCTL_SCGCLCD register.
  2742. //
  2743. //*****************************************************************************
  2744. #define SYSCTL_SCGCLCD_S0 0x00000001 // LCD Controller Module 0 Sleep
  2745. // Mode Clock Gating Control
  2746. //*****************************************************************************
  2747. //
  2748. // The following are defines for the bit fields in the SYSCTL_SCGCOWIRE
  2749. // register.
  2750. //
  2751. //*****************************************************************************
  2752. #define SYSCTL_SCGCOWIRE_S0 0x00000001 // 1-Wire Module 0 Sleep Mode Clock
  2753. // Gating Control
  2754. //*****************************************************************************
  2755. //
  2756. // The following are defines for the bit fields in the SYSCTL_SCGCEMAC
  2757. // register.
  2758. //
  2759. //*****************************************************************************
  2760. #define SYSCTL_SCGCEMAC_S0 0x00000001 // Ethernet MAC Module 0 Sleep Mode
  2761. // Clock Gating Control
  2762. //*****************************************************************************
  2763. //
  2764. // The following are defines for the bit fields in the SYSCTL_DCGCWD register.
  2765. //
  2766. //*****************************************************************************
  2767. #define SYSCTL_DCGCWD_D1 0x00000002 // Watchdog Timer 1 Deep-Sleep Mode
  2768. // Clock Gating Control
  2769. #define SYSCTL_DCGCWD_D0 0x00000001 // Watchdog Timer 0 Deep-Sleep Mode
  2770. // Clock Gating Control
  2771. //*****************************************************************************
  2772. //
  2773. // The following are defines for the bit fields in the SYSCTL_DCGCTIMER
  2774. // register.
  2775. //
  2776. //*****************************************************************************
  2777. #define SYSCTL_DCGCTIMER_D7 0x00000080 // 16/32-Bit General-Purpose Timer
  2778. // 7 Deep-Sleep Mode Clock Gating
  2779. // Control
  2780. #define SYSCTL_DCGCTIMER_D6 0x00000040 // 16/32-Bit General-Purpose Timer
  2781. // 6 Deep-Sleep Mode Clock Gating
  2782. // Control
  2783. #define SYSCTL_DCGCTIMER_D5 0x00000020 // 16/32-Bit General-Purpose Timer
  2784. // 5 Deep-Sleep Mode Clock Gating
  2785. // Control
  2786. #define SYSCTL_DCGCTIMER_D4 0x00000010 // 16/32-Bit General-Purpose Timer
  2787. // 4 Deep-Sleep Mode Clock Gating
  2788. // Control
  2789. #define SYSCTL_DCGCTIMER_D3 0x00000008 // 16/32-Bit General-Purpose Timer
  2790. // 3 Deep-Sleep Mode Clock Gating
  2791. // Control
  2792. #define SYSCTL_DCGCTIMER_D2 0x00000004 // 16/32-Bit General-Purpose Timer
  2793. // 2 Deep-Sleep Mode Clock Gating
  2794. // Control
  2795. #define SYSCTL_DCGCTIMER_D1 0x00000002 // 16/32-Bit General-Purpose Timer
  2796. // 1 Deep-Sleep Mode Clock Gating
  2797. // Control
  2798. #define SYSCTL_DCGCTIMER_D0 0x00000001 // 16/32-Bit General-Purpose Timer
  2799. // 0 Deep-Sleep Mode Clock Gating
  2800. // Control
  2801. //*****************************************************************************
  2802. //
  2803. // The following are defines for the bit fields in the SYSCTL_DCGCGPIO
  2804. // register.
  2805. //
  2806. //*****************************************************************************
  2807. #define SYSCTL_DCGCGPIO_D17 0x00020000 // GPIO Port T Deep-Sleep Mode
  2808. // Clock Gating Control
  2809. #define SYSCTL_DCGCGPIO_D16 0x00010000 // GPIO Port S Deep-Sleep Mode
  2810. // Clock Gating Control
  2811. #define SYSCTL_DCGCGPIO_D15 0x00008000 // GPIO Port R Deep-Sleep Mode
  2812. // Clock Gating Control
  2813. #define SYSCTL_DCGCGPIO_D14 0x00004000 // GPIO Port Q Deep-Sleep Mode
  2814. // Clock Gating Control
  2815. #define SYSCTL_DCGCGPIO_D13 0x00002000 // GPIO Port P Deep-Sleep Mode
  2816. // Clock Gating Control
  2817. #define SYSCTL_DCGCGPIO_D12 0x00001000 // GPIO Port N Deep-Sleep Mode
  2818. // Clock Gating Control
  2819. #define SYSCTL_DCGCGPIO_D11 0x00000800 // GPIO Port M Deep-Sleep Mode
  2820. // Clock Gating Control
  2821. #define SYSCTL_DCGCGPIO_D10 0x00000400 // GPIO Port L Deep-Sleep Mode
  2822. // Clock Gating Control
  2823. #define SYSCTL_DCGCGPIO_D9 0x00000200 // GPIO Port K Deep-Sleep Mode
  2824. // Clock Gating Control
  2825. #define SYSCTL_DCGCGPIO_D8 0x00000100 // GPIO Port J Deep-Sleep Mode
  2826. // Clock Gating Control
  2827. #define SYSCTL_DCGCGPIO_D7 0x00000080 // GPIO Port H Deep-Sleep Mode
  2828. // Clock Gating Control
  2829. #define SYSCTL_DCGCGPIO_D6 0x00000040 // GPIO Port G Deep-Sleep Mode
  2830. // Clock Gating Control
  2831. #define SYSCTL_DCGCGPIO_D5 0x00000020 // GPIO Port F Deep-Sleep Mode
  2832. // Clock Gating Control
  2833. #define SYSCTL_DCGCGPIO_D4 0x00000010 // GPIO Port E Deep-Sleep Mode
  2834. // Clock Gating Control
  2835. #define SYSCTL_DCGCGPIO_D3 0x00000008 // GPIO Port D Deep-Sleep Mode
  2836. // Clock Gating Control
  2837. #define SYSCTL_DCGCGPIO_D2 0x00000004 // GPIO Port C Deep-Sleep Mode
  2838. // Clock Gating Control
  2839. #define SYSCTL_DCGCGPIO_D1 0x00000002 // GPIO Port B Deep-Sleep Mode
  2840. // Clock Gating Control
  2841. #define SYSCTL_DCGCGPIO_D0 0x00000001 // GPIO Port A Deep-Sleep Mode
  2842. // Clock Gating Control
  2843. //*****************************************************************************
  2844. //
  2845. // The following are defines for the bit fields in the SYSCTL_DCGCDMA register.
  2846. //
  2847. //*****************************************************************************
  2848. #define SYSCTL_DCGCDMA_D0 0x00000001 // uDMA Module Deep-Sleep Mode
  2849. // Clock Gating Control
  2850. //*****************************************************************************
  2851. //
  2852. // The following are defines for the bit fields in the SYSCTL_DCGCEPI register.
  2853. //
  2854. //*****************************************************************************
  2855. #define SYSCTL_DCGCEPI_D0 0x00000001 // EPI Module Deep-Sleep Mode Clock
  2856. // Gating Control
  2857. //*****************************************************************************
  2858. //
  2859. // The following are defines for the bit fields in the SYSCTL_DCGCHIB register.
  2860. //
  2861. //*****************************************************************************
  2862. #define SYSCTL_DCGCHIB_D0 0x00000001 // Hibernation Module Deep-Sleep
  2863. // Mode Clock Gating Control
  2864. //*****************************************************************************
  2865. //
  2866. // The following are defines for the bit fields in the SYSCTL_DCGCUART
  2867. // register.
  2868. //
  2869. //*****************************************************************************
  2870. #define SYSCTL_DCGCUART_D7 0x00000080 // UART Module 7 Deep-Sleep Mode
  2871. // Clock Gating Control
  2872. #define SYSCTL_DCGCUART_D6 0x00000040 // UART Module 6 Deep-Sleep Mode
  2873. // Clock Gating Control
  2874. #define SYSCTL_DCGCUART_D5 0x00000020 // UART Module 5 Deep-Sleep Mode
  2875. // Clock Gating Control
  2876. #define SYSCTL_DCGCUART_D4 0x00000010 // UART Module 4 Deep-Sleep Mode
  2877. // Clock Gating Control
  2878. #define SYSCTL_DCGCUART_D3 0x00000008 // UART Module 3 Deep-Sleep Mode
  2879. // Clock Gating Control
  2880. #define SYSCTL_DCGCUART_D2 0x00000004 // UART Module 2 Deep-Sleep Mode
  2881. // Clock Gating Control
  2882. #define SYSCTL_DCGCUART_D1 0x00000002 // UART Module 1 Deep-Sleep Mode
  2883. // Clock Gating Control
  2884. #define SYSCTL_DCGCUART_D0 0x00000001 // UART Module 0 Deep-Sleep Mode
  2885. // Clock Gating Control
  2886. //*****************************************************************************
  2887. //
  2888. // The following are defines for the bit fields in the SYSCTL_DCGCSSI register.
  2889. //
  2890. //*****************************************************************************
  2891. #define SYSCTL_DCGCSSI_D3 0x00000008 // SSI Module 3 Deep-Sleep Mode
  2892. // Clock Gating Control
  2893. #define SYSCTL_DCGCSSI_D2 0x00000004 // SSI Module 2 Deep-Sleep Mode
  2894. // Clock Gating Control
  2895. #define SYSCTL_DCGCSSI_D1 0x00000002 // SSI Module 1 Deep-Sleep Mode
  2896. // Clock Gating Control
  2897. #define SYSCTL_DCGCSSI_D0 0x00000001 // SSI Module 0 Deep-Sleep Mode
  2898. // Clock Gating Control
  2899. //*****************************************************************************
  2900. //
  2901. // The following are defines for the bit fields in the SYSCTL_DCGCI2C register.
  2902. //
  2903. //*****************************************************************************
  2904. #define SYSCTL_DCGCI2C_D9 0x00000200 // I2C Module 9 Deep-Sleep Mode
  2905. // Clock Gating Control
  2906. #define SYSCTL_DCGCI2C_D8 0x00000100 // I2C Module 8 Deep-Sleep Mode
  2907. // Clock Gating Control
  2908. #define SYSCTL_DCGCI2C_D7 0x00000080 // I2C Module 7 Deep-Sleep Mode
  2909. // Clock Gating Control
  2910. #define SYSCTL_DCGCI2C_D6 0x00000040 // I2C Module 6 Deep-Sleep Mode
  2911. // Clock Gating Control
  2912. #define SYSCTL_DCGCI2C_D5 0x00000020 // I2C Module 5 Deep-Sleep Mode
  2913. // Clock Gating Control
  2914. #define SYSCTL_DCGCI2C_D4 0x00000010 // I2C Module 4 Deep-Sleep Mode
  2915. // Clock Gating Control
  2916. #define SYSCTL_DCGCI2C_D3 0x00000008 // I2C Module 3 Deep-Sleep Mode
  2917. // Clock Gating Control
  2918. #define SYSCTL_DCGCI2C_D2 0x00000004 // I2C Module 2 Deep-Sleep Mode
  2919. // Clock Gating Control
  2920. #define SYSCTL_DCGCI2C_D1 0x00000002 // I2C Module 1 Deep-Sleep Mode
  2921. // Clock Gating Control
  2922. #define SYSCTL_DCGCI2C_D0 0x00000001 // I2C Module 0 Deep-Sleep Mode
  2923. // Clock Gating Control
  2924. //*****************************************************************************
  2925. //
  2926. // The following are defines for the bit fields in the SYSCTL_DCGCUSB register.
  2927. //
  2928. //*****************************************************************************
  2929. #define SYSCTL_DCGCUSB_D0 0x00000001 // USB Module Deep-Sleep Mode Clock
  2930. // Gating Control
  2931. //*****************************************************************************
  2932. //
  2933. // The following are defines for the bit fields in the SYSCTL_DCGCEPHY
  2934. // register.
  2935. //
  2936. //*****************************************************************************
  2937. #define SYSCTL_DCGCEPHY_D0 0x00000001 // PHY Module Deep-Sleep Mode Clock
  2938. // Gating Control
  2939. //*****************************************************************************
  2940. //
  2941. // The following are defines for the bit fields in the SYSCTL_DCGCCAN register.
  2942. //
  2943. //*****************************************************************************
  2944. #define SYSCTL_DCGCCAN_D1 0x00000002 // CAN Module 1 Deep-Sleep Mode
  2945. // Clock Gating Control
  2946. #define SYSCTL_DCGCCAN_D0 0x00000001 // CAN Module 0 Deep-Sleep Mode
  2947. // Clock Gating Control
  2948. //*****************************************************************************
  2949. //
  2950. // The following are defines for the bit fields in the SYSCTL_DCGCADC register.
  2951. //
  2952. //*****************************************************************************
  2953. #define SYSCTL_DCGCADC_D1 0x00000002 // ADC Module 1 Deep-Sleep Mode
  2954. // Clock Gating Control
  2955. #define SYSCTL_DCGCADC_D0 0x00000001 // ADC Module 0 Deep-Sleep Mode
  2956. // Clock Gating Control
  2957. //*****************************************************************************
  2958. //
  2959. // The following are defines for the bit fields in the SYSCTL_DCGCACMP
  2960. // register.
  2961. //
  2962. //*****************************************************************************
  2963. #define SYSCTL_DCGCACMP_D0 0x00000001 // Analog Comparator Module 0
  2964. // Deep-Sleep Mode Clock Gating
  2965. // Control
  2966. //*****************************************************************************
  2967. //
  2968. // The following are defines for the bit fields in the SYSCTL_DCGCPWM register.
  2969. //
  2970. //*****************************************************************************
  2971. #define SYSCTL_DCGCPWM_D1 0x00000002 // PWM Module 1 Deep-Sleep Mode
  2972. // Clock Gating Control
  2973. #define SYSCTL_DCGCPWM_D0 0x00000001 // PWM Module 0 Deep-Sleep Mode
  2974. // Clock Gating Control
  2975. //*****************************************************************************
  2976. //
  2977. // The following are defines for the bit fields in the SYSCTL_DCGCQEI register.
  2978. //
  2979. //*****************************************************************************
  2980. #define SYSCTL_DCGCQEI_D1 0x00000002 // QEI Module 1 Deep-Sleep Mode
  2981. // Clock Gating Control
  2982. #define SYSCTL_DCGCQEI_D0 0x00000001 // QEI Module 0 Deep-Sleep Mode
  2983. // Clock Gating Control
  2984. //*****************************************************************************
  2985. //
  2986. // The following are defines for the bit fields in the SYSCTL_DCGCEEPROM
  2987. // register.
  2988. //
  2989. //*****************************************************************************
  2990. #define SYSCTL_DCGCEEPROM_D0 0x00000001 // EEPROM Module Deep-Sleep Mode
  2991. // Clock Gating Control
  2992. //*****************************************************************************
  2993. //
  2994. // The following are defines for the bit fields in the SYSCTL_DCGCWTIMER
  2995. // register.
  2996. //
  2997. //*****************************************************************************
  2998. #define SYSCTL_DCGCWTIMER_D5 0x00000020 // 32/64-Bit Wide General-Purpose
  2999. // Timer 5 Deep-Sleep Mode Clock
  3000. // Gating Control
  3001. #define SYSCTL_DCGCWTIMER_D4 0x00000010 // 32/64-Bit Wide General-Purpose
  3002. // Timer 4 Deep-Sleep Mode Clock
  3003. // Gating Control
  3004. #define SYSCTL_DCGCWTIMER_D3 0x00000008 // 32/64-Bit Wide General-Purpose
  3005. // Timer 3 Deep-Sleep Mode Clock
  3006. // Gating Control
  3007. #define SYSCTL_DCGCWTIMER_D2 0x00000004 // 32/64-Bit Wide General-Purpose
  3008. // Timer 2 Deep-Sleep Mode Clock
  3009. // Gating Control
  3010. #define SYSCTL_DCGCWTIMER_D1 0x00000002 // 32/64-Bit Wide General-Purpose
  3011. // Timer 1 Deep-Sleep Mode Clock
  3012. // Gating Control
  3013. #define SYSCTL_DCGCWTIMER_D0 0x00000001 // 32/64-Bit Wide General-Purpose
  3014. // Timer 0 Deep-Sleep Mode Clock
  3015. // Gating Control
  3016. //*****************************************************************************
  3017. //
  3018. // The following are defines for the bit fields in the SYSCTL_DCGCCCM register.
  3019. //
  3020. //*****************************************************************************
  3021. #define SYSCTL_DCGCCCM_D0 0x00000001 // CRC and Cryptographic Modules
  3022. // Deep-Sleep Mode Clock Gating
  3023. // Control
  3024. //*****************************************************************************
  3025. //
  3026. // The following are defines for the bit fields in the SYSCTL_DCGCLCD register.
  3027. //
  3028. //*****************************************************************************
  3029. #define SYSCTL_DCGCLCD_D0 0x00000001 // LCD Controller Module 0
  3030. // Deep-Sleep Mode Clock Gating
  3031. // Control
  3032. //*****************************************************************************
  3033. //
  3034. // The following are defines for the bit fields in the SYSCTL_DCGCOWIRE
  3035. // register.
  3036. //
  3037. //*****************************************************************************
  3038. #define SYSCTL_DCGCOWIRE_D0 0x00000001 // 1-Wire Module 0 Deep-Sleep Mode
  3039. // Clock Gating Control
  3040. //*****************************************************************************
  3041. //
  3042. // The following are defines for the bit fields in the SYSCTL_DCGCEMAC
  3043. // register.
  3044. //
  3045. //*****************************************************************************
  3046. #define SYSCTL_DCGCEMAC_D0 0x00000001 // Ethernet MAC Module 0 Deep-Sleep
  3047. // Mode Clock Gating Control
  3048. //*****************************************************************************
  3049. //
  3050. // The following are defines for the bit fields in the SYSCTL_PCWD register.
  3051. //
  3052. //*****************************************************************************
  3053. #define SYSCTL_PCWD_P1 0x00000002 // Watchdog Timer 1 Power Control
  3054. #define SYSCTL_PCWD_P0 0x00000001 // Watchdog Timer 0 Power Control
  3055. //*****************************************************************************
  3056. //
  3057. // The following are defines for the bit fields in the SYSCTL_PCTIMER register.
  3058. //
  3059. //*****************************************************************************
  3060. #define SYSCTL_PCTIMER_P7 0x00000080 // General-Purpose Timer 7 Power
  3061. // Control
  3062. #define SYSCTL_PCTIMER_P6 0x00000040 // General-Purpose Timer 6 Power
  3063. // Control
  3064. #define SYSCTL_PCTIMER_P5 0x00000020 // General-Purpose Timer 5 Power
  3065. // Control
  3066. #define SYSCTL_PCTIMER_P4 0x00000010 // General-Purpose Timer 4 Power
  3067. // Control
  3068. #define SYSCTL_PCTIMER_P3 0x00000008 // General-Purpose Timer 3 Power
  3069. // Control
  3070. #define SYSCTL_PCTIMER_P2 0x00000004 // General-Purpose Timer 2 Power
  3071. // Control
  3072. #define SYSCTL_PCTIMER_P1 0x00000002 // General-Purpose Timer 1 Power
  3073. // Control
  3074. #define SYSCTL_PCTIMER_P0 0x00000001 // General-Purpose Timer 0 Power
  3075. // Control
  3076. //*****************************************************************************
  3077. //
  3078. // The following are defines for the bit fields in the SYSCTL_PCGPIO register.
  3079. //
  3080. //*****************************************************************************
  3081. #define SYSCTL_PCGPIO_P17 0x00020000 // GPIO Port T Power Control
  3082. #define SYSCTL_PCGPIO_P16 0x00010000 // GPIO Port S Power Control
  3083. #define SYSCTL_PCGPIO_P15 0x00008000 // GPIO Port R Power Control
  3084. #define SYSCTL_PCGPIO_P14 0x00004000 // GPIO Port Q Power Control
  3085. #define SYSCTL_PCGPIO_P13 0x00002000 // GPIO Port P Power Control
  3086. #define SYSCTL_PCGPIO_P12 0x00001000 // GPIO Port N Power Control
  3087. #define SYSCTL_PCGPIO_P11 0x00000800 // GPIO Port M Power Control
  3088. #define SYSCTL_PCGPIO_P10 0x00000400 // GPIO Port L Power Control
  3089. #define SYSCTL_PCGPIO_P9 0x00000200 // GPIO Port K Power Control
  3090. #define SYSCTL_PCGPIO_P8 0x00000100 // GPIO Port J Power Control
  3091. #define SYSCTL_PCGPIO_P7 0x00000080 // GPIO Port H Power Control
  3092. #define SYSCTL_PCGPIO_P6 0x00000040 // GPIO Port G Power Control
  3093. #define SYSCTL_PCGPIO_P5 0x00000020 // GPIO Port F Power Control
  3094. #define SYSCTL_PCGPIO_P4 0x00000010 // GPIO Port E Power Control
  3095. #define SYSCTL_PCGPIO_P3 0x00000008 // GPIO Port D Power Control
  3096. #define SYSCTL_PCGPIO_P2 0x00000004 // GPIO Port C Power Control
  3097. #define SYSCTL_PCGPIO_P1 0x00000002 // GPIO Port B Power Control
  3098. #define SYSCTL_PCGPIO_P0 0x00000001 // GPIO Port A Power Control
  3099. //*****************************************************************************
  3100. //
  3101. // The following are defines for the bit fields in the SYSCTL_PCDMA register.
  3102. //
  3103. //*****************************************************************************
  3104. #define SYSCTL_PCDMA_P0 0x00000001 // uDMA Module Power Control
  3105. //*****************************************************************************
  3106. //
  3107. // The following are defines for the bit fields in the SYSCTL_PCEPI register.
  3108. //
  3109. //*****************************************************************************
  3110. #define SYSCTL_PCEPI_P0 0x00000001 // EPI Module Power Control
  3111. //*****************************************************************************
  3112. //
  3113. // The following are defines for the bit fields in the SYSCTL_PCHIB register.
  3114. //
  3115. //*****************************************************************************
  3116. #define SYSCTL_PCHIB_P0 0x00000001 // Hibernation Module Power Control
  3117. //*****************************************************************************
  3118. //
  3119. // The following are defines for the bit fields in the SYSCTL_PCUART register.
  3120. //
  3121. //*****************************************************************************
  3122. #define SYSCTL_PCUART_P7 0x00000080 // UART Module 7 Power Control
  3123. #define SYSCTL_PCUART_P6 0x00000040 // UART Module 6 Power Control
  3124. #define SYSCTL_PCUART_P5 0x00000020 // UART Module 5 Power Control
  3125. #define SYSCTL_PCUART_P4 0x00000010 // UART Module 4 Power Control
  3126. #define SYSCTL_PCUART_P3 0x00000008 // UART Module 3 Power Control
  3127. #define SYSCTL_PCUART_P2 0x00000004 // UART Module 2 Power Control
  3128. #define SYSCTL_PCUART_P1 0x00000002 // UART Module 1 Power Control
  3129. #define SYSCTL_PCUART_P0 0x00000001 // UART Module 0 Power Control
  3130. //*****************************************************************************
  3131. //
  3132. // The following are defines for the bit fields in the SYSCTL_PCSSI register.
  3133. //
  3134. //*****************************************************************************
  3135. #define SYSCTL_PCSSI_P3 0x00000008 // SSI Module 3 Power Control
  3136. #define SYSCTL_PCSSI_P2 0x00000004 // SSI Module 2 Power Control
  3137. #define SYSCTL_PCSSI_P1 0x00000002 // SSI Module 1 Power Control
  3138. #define SYSCTL_PCSSI_P0 0x00000001 // SSI Module 0 Power Control
  3139. //*****************************************************************************
  3140. //
  3141. // The following are defines for the bit fields in the SYSCTL_PCI2C register.
  3142. //
  3143. //*****************************************************************************
  3144. #define SYSCTL_PCI2C_P9 0x00000200 // I2C Module 9 Power Control
  3145. #define SYSCTL_PCI2C_P8 0x00000100 // I2C Module 8 Power Control
  3146. #define SYSCTL_PCI2C_P7 0x00000080 // I2C Module 7 Power Control
  3147. #define SYSCTL_PCI2C_P6 0x00000040 // I2C Module 6 Power Control
  3148. #define SYSCTL_PCI2C_P5 0x00000020 // I2C Module 5 Power Control
  3149. #define SYSCTL_PCI2C_P4 0x00000010 // I2C Module 4 Power Control
  3150. #define SYSCTL_PCI2C_P3 0x00000008 // I2C Module 3 Power Control
  3151. #define SYSCTL_PCI2C_P2 0x00000004 // I2C Module 2 Power Control
  3152. #define SYSCTL_PCI2C_P1 0x00000002 // I2C Module 1 Power Control
  3153. #define SYSCTL_PCI2C_P0 0x00000001 // I2C Module 0 Power Control
  3154. //*****************************************************************************
  3155. //
  3156. // The following are defines for the bit fields in the SYSCTL_PCUSB register.
  3157. //
  3158. //*****************************************************************************
  3159. #define SYSCTL_PCUSB_P0 0x00000001 // USB Module Power Control
  3160. //*****************************************************************************
  3161. //
  3162. // The following are defines for the bit fields in the SYSCTL_PCEPHY register.
  3163. //
  3164. //*****************************************************************************
  3165. #define SYSCTL_PCEPHY_P0 0x00000001 // Ethernet PHY Module Power
  3166. // Control
  3167. //*****************************************************************************
  3168. //
  3169. // The following are defines for the bit fields in the SYSCTL_PCCAN register.
  3170. //
  3171. //*****************************************************************************
  3172. #define SYSCTL_PCCAN_P1 0x00000002 // CAN Module 1 Power Control
  3173. #define SYSCTL_PCCAN_P0 0x00000001 // CAN Module 0 Power Control
  3174. //*****************************************************************************
  3175. //
  3176. // The following are defines for the bit fields in the SYSCTL_PCADC register.
  3177. //
  3178. //*****************************************************************************
  3179. #define SYSCTL_PCADC_P1 0x00000002 // ADC Module 1 Power Control
  3180. #define SYSCTL_PCADC_P0 0x00000001 // ADC Module 0 Power Control
  3181. //*****************************************************************************
  3182. //
  3183. // The following are defines for the bit fields in the SYSCTL_PCACMP register.
  3184. //
  3185. //*****************************************************************************
  3186. #define SYSCTL_PCACMP_P0 0x00000001 // Analog Comparator Module 0 Power
  3187. // Control
  3188. //*****************************************************************************
  3189. //
  3190. // The following are defines for the bit fields in the SYSCTL_PCPWM register.
  3191. //
  3192. //*****************************************************************************
  3193. #define SYSCTL_PCPWM_P0 0x00000001 // PWM Module 0 Power Control
  3194. //*****************************************************************************
  3195. //
  3196. // The following are defines for the bit fields in the SYSCTL_PCQEI register.
  3197. //
  3198. //*****************************************************************************
  3199. #define SYSCTL_PCQEI_P0 0x00000001 // QEI Module 0 Power Control
  3200. //*****************************************************************************
  3201. //
  3202. // The following are defines for the bit fields in the SYSCTL_PCEEPROM
  3203. // register.
  3204. //
  3205. //*****************************************************************************
  3206. #define SYSCTL_PCEEPROM_P0 0x00000001 // EEPROM Module 0 Power Control
  3207. //*****************************************************************************
  3208. //
  3209. // The following are defines for the bit fields in the SYSCTL_PCCCM register.
  3210. //
  3211. //*****************************************************************************
  3212. #define SYSCTL_PCCCM_P0 0x00000001 // CRC and Cryptographic Modules
  3213. // Power Control
  3214. //*****************************************************************************
  3215. //
  3216. // The following are defines for the bit fields in the SYSCTL_PCLCD register.
  3217. //
  3218. //*****************************************************************************
  3219. #define SYSCTL_PCLCD_P0 0x00000001 // LCD Controller Module 0 Power
  3220. // Control
  3221. //*****************************************************************************
  3222. //
  3223. // The following are defines for the bit fields in the SYSCTL_PCOWIRE register.
  3224. //
  3225. //*****************************************************************************
  3226. #define SYSCTL_PCOWIRE_P0 0x00000001 // 1-Wire Module 0 Power Control
  3227. //*****************************************************************************
  3228. //
  3229. // The following are defines for the bit fields in the SYSCTL_PCEMAC register.
  3230. //
  3231. //*****************************************************************************
  3232. #define SYSCTL_PCEMAC_P0 0x00000001 // Ethernet MAC Module 0 Power
  3233. // Control
  3234. //*****************************************************************************
  3235. //
  3236. // The following are defines for the bit fields in the SYSCTL_PRWD register.
  3237. //
  3238. //*****************************************************************************
  3239. #define SYSCTL_PRWD_R1 0x00000002 // Watchdog Timer 1 Peripheral
  3240. // Ready
  3241. #define SYSCTL_PRWD_R0 0x00000001 // Watchdog Timer 0 Peripheral
  3242. // Ready
  3243. //*****************************************************************************
  3244. //
  3245. // The following are defines for the bit fields in the SYSCTL_PRTIMER register.
  3246. //
  3247. //*****************************************************************************
  3248. #define SYSCTL_PRTIMER_R7 0x00000080 // 16/32-Bit General-Purpose Timer
  3249. // 7 Peripheral Ready
  3250. #define SYSCTL_PRTIMER_R6 0x00000040 // 16/32-Bit General-Purpose Timer
  3251. // 6 Peripheral Ready
  3252. #define SYSCTL_PRTIMER_R5 0x00000020 // 16/32-Bit General-Purpose Timer
  3253. // 5 Peripheral Ready
  3254. #define SYSCTL_PRTIMER_R4 0x00000010 // 16/32-Bit General-Purpose Timer
  3255. // 4 Peripheral Ready
  3256. #define SYSCTL_PRTIMER_R3 0x00000008 // 16/32-Bit General-Purpose Timer
  3257. // 3 Peripheral Ready
  3258. #define SYSCTL_PRTIMER_R2 0x00000004 // 16/32-Bit General-Purpose Timer
  3259. // 2 Peripheral Ready
  3260. #define SYSCTL_PRTIMER_R1 0x00000002 // 16/32-Bit General-Purpose Timer
  3261. // 1 Peripheral Ready
  3262. #define SYSCTL_PRTIMER_R0 0x00000001 // 16/32-Bit General-Purpose Timer
  3263. // 0 Peripheral Ready
  3264. //*****************************************************************************
  3265. //
  3266. // The following are defines for the bit fields in the SYSCTL_PRGPIO register.
  3267. //
  3268. //*****************************************************************************
  3269. #define SYSCTL_PRGPIO_R17 0x00020000 // GPIO Port T Peripheral Ready
  3270. #define SYSCTL_PRGPIO_R16 0x00010000 // GPIO Port S Peripheral Ready
  3271. #define SYSCTL_PRGPIO_R15 0x00008000 // GPIO Port R Peripheral Ready
  3272. #define SYSCTL_PRGPIO_R14 0x00004000 // GPIO Port Q Peripheral Ready
  3273. #define SYSCTL_PRGPIO_R13 0x00002000 // GPIO Port P Peripheral Ready
  3274. #define SYSCTL_PRGPIO_R12 0x00001000 // GPIO Port N Peripheral Ready
  3275. #define SYSCTL_PRGPIO_R11 0x00000800 // GPIO Port M Peripheral Ready
  3276. #define SYSCTL_PRGPIO_R10 0x00000400 // GPIO Port L Peripheral Ready
  3277. #define SYSCTL_PRGPIO_R9 0x00000200 // GPIO Port K Peripheral Ready
  3278. #define SYSCTL_PRGPIO_R8 0x00000100 // GPIO Port J Peripheral Ready
  3279. #define SYSCTL_PRGPIO_R7 0x00000080 // GPIO Port H Peripheral Ready
  3280. #define SYSCTL_PRGPIO_R6 0x00000040 // GPIO Port G Peripheral Ready
  3281. #define SYSCTL_PRGPIO_R5 0x00000020 // GPIO Port F Peripheral Ready
  3282. #define SYSCTL_PRGPIO_R4 0x00000010 // GPIO Port E Peripheral Ready
  3283. #define SYSCTL_PRGPIO_R3 0x00000008 // GPIO Port D Peripheral Ready
  3284. #define SYSCTL_PRGPIO_R2 0x00000004 // GPIO Port C Peripheral Ready
  3285. #define SYSCTL_PRGPIO_R1 0x00000002 // GPIO Port B Peripheral Ready
  3286. #define SYSCTL_PRGPIO_R0 0x00000001 // GPIO Port A Peripheral Ready
  3287. //*****************************************************************************
  3288. //
  3289. // The following are defines for the bit fields in the SYSCTL_PRDMA register.
  3290. //
  3291. //*****************************************************************************
  3292. #define SYSCTL_PRDMA_R0 0x00000001 // uDMA Module Peripheral Ready
  3293. //*****************************************************************************
  3294. //
  3295. // The following are defines for the bit fields in the SYSCTL_PREPI register.
  3296. //
  3297. //*****************************************************************************
  3298. #define SYSCTL_PREPI_R0 0x00000001 // EPI Module Peripheral Ready
  3299. //*****************************************************************************
  3300. //
  3301. // The following are defines for the bit fields in the SYSCTL_PRHIB register.
  3302. //
  3303. //*****************************************************************************
  3304. #define SYSCTL_PRHIB_R0 0x00000001 // Hibernation Module Peripheral
  3305. // Ready
  3306. //*****************************************************************************
  3307. //
  3308. // The following are defines for the bit fields in the SYSCTL_PRUART register.
  3309. //
  3310. //*****************************************************************************
  3311. #define SYSCTL_PRUART_R7 0x00000080 // UART Module 7 Peripheral Ready
  3312. #define SYSCTL_PRUART_R6 0x00000040 // UART Module 6 Peripheral Ready
  3313. #define SYSCTL_PRUART_R5 0x00000020 // UART Module 5 Peripheral Ready
  3314. #define SYSCTL_PRUART_R4 0x00000010 // UART Module 4 Peripheral Ready
  3315. #define SYSCTL_PRUART_R3 0x00000008 // UART Module 3 Peripheral Ready
  3316. #define SYSCTL_PRUART_R2 0x00000004 // UART Module 2 Peripheral Ready
  3317. #define SYSCTL_PRUART_R1 0x00000002 // UART Module 1 Peripheral Ready
  3318. #define SYSCTL_PRUART_R0 0x00000001 // UART Module 0 Peripheral Ready
  3319. //*****************************************************************************
  3320. //
  3321. // The following are defines for the bit fields in the SYSCTL_PRSSI register.
  3322. //
  3323. //*****************************************************************************
  3324. #define SYSCTL_PRSSI_R3 0x00000008 // SSI Module 3 Peripheral Ready
  3325. #define SYSCTL_PRSSI_R2 0x00000004 // SSI Module 2 Peripheral Ready
  3326. #define SYSCTL_PRSSI_R1 0x00000002 // SSI Module 1 Peripheral Ready
  3327. #define SYSCTL_PRSSI_R0 0x00000001 // SSI Module 0 Peripheral Ready
  3328. //*****************************************************************************
  3329. //
  3330. // The following are defines for the bit fields in the SYSCTL_PRI2C register.
  3331. //
  3332. //*****************************************************************************
  3333. #define SYSCTL_PRI2C_R9 0x00000200 // I2C Module 9 Peripheral Ready
  3334. #define SYSCTL_PRI2C_R8 0x00000100 // I2C Module 8 Peripheral Ready
  3335. #define SYSCTL_PRI2C_R7 0x00000080 // I2C Module 7 Peripheral Ready
  3336. #define SYSCTL_PRI2C_R6 0x00000040 // I2C Module 6 Peripheral Ready
  3337. #define SYSCTL_PRI2C_R5 0x00000020 // I2C Module 5 Peripheral Ready
  3338. #define SYSCTL_PRI2C_R4 0x00000010 // I2C Module 4 Peripheral Ready
  3339. #define SYSCTL_PRI2C_R3 0x00000008 // I2C Module 3 Peripheral Ready
  3340. #define SYSCTL_PRI2C_R2 0x00000004 // I2C Module 2 Peripheral Ready
  3341. #define SYSCTL_PRI2C_R1 0x00000002 // I2C Module 1 Peripheral Ready
  3342. #define SYSCTL_PRI2C_R0 0x00000001 // I2C Module 0 Peripheral Ready
  3343. //*****************************************************************************
  3344. //
  3345. // The following are defines for the bit fields in the SYSCTL_PRUSB register.
  3346. //
  3347. //*****************************************************************************
  3348. #define SYSCTL_PRUSB_R0 0x00000001 // USB Module Peripheral Ready
  3349. //*****************************************************************************
  3350. //
  3351. // The following are defines for the bit fields in the SYSCTL_PREPHY register.
  3352. //
  3353. //*****************************************************************************
  3354. #define SYSCTL_PREPHY_R0 0x00000001 // Ethernet PHY Module Peripheral
  3355. // Ready
  3356. //*****************************************************************************
  3357. //
  3358. // The following are defines for the bit fields in the SYSCTL_PRCAN register.
  3359. //
  3360. //*****************************************************************************
  3361. #define SYSCTL_PRCAN_R1 0x00000002 // CAN Module 1 Peripheral Ready
  3362. #define SYSCTL_PRCAN_R0 0x00000001 // CAN Module 0 Peripheral Ready
  3363. //*****************************************************************************
  3364. //
  3365. // The following are defines for the bit fields in the SYSCTL_PRADC register.
  3366. //
  3367. //*****************************************************************************
  3368. #define SYSCTL_PRADC_R1 0x00000002 // ADC Module 1 Peripheral Ready
  3369. #define SYSCTL_PRADC_R0 0x00000001 // ADC Module 0 Peripheral Ready
  3370. //*****************************************************************************
  3371. //
  3372. // The following are defines for the bit fields in the SYSCTL_PRACMP register.
  3373. //
  3374. //*****************************************************************************
  3375. #define SYSCTL_PRACMP_R0 0x00000001 // Analog Comparator Module 0
  3376. // Peripheral Ready
  3377. //*****************************************************************************
  3378. //
  3379. // The following are defines for the bit fields in the SYSCTL_PRPWM register.
  3380. //
  3381. //*****************************************************************************
  3382. #define SYSCTL_PRPWM_R1 0x00000002 // PWM Module 1 Peripheral Ready
  3383. #define SYSCTL_PRPWM_R0 0x00000001 // PWM Module 0 Peripheral Ready
  3384. //*****************************************************************************
  3385. //
  3386. // The following are defines for the bit fields in the SYSCTL_PRQEI register.
  3387. //
  3388. //*****************************************************************************
  3389. #define SYSCTL_PRQEI_R1 0x00000002 // QEI Module 1 Peripheral Ready
  3390. #define SYSCTL_PRQEI_R0 0x00000001 // QEI Module 0 Peripheral Ready
  3391. //*****************************************************************************
  3392. //
  3393. // The following are defines for the bit fields in the SYSCTL_PREEPROM
  3394. // register.
  3395. //
  3396. //*****************************************************************************
  3397. #define SYSCTL_PREEPROM_R0 0x00000001 // EEPROM Module Peripheral Ready
  3398. //*****************************************************************************
  3399. //
  3400. // The following are defines for the bit fields in the SYSCTL_PRWTIMER
  3401. // register.
  3402. //
  3403. //*****************************************************************************
  3404. #define SYSCTL_PRWTIMER_R5 0x00000020 // 32/64-Bit Wide General-Purpose
  3405. // Timer 5 Peripheral Ready
  3406. #define SYSCTL_PRWTIMER_R4 0x00000010 // 32/64-Bit Wide General-Purpose
  3407. // Timer 4 Peripheral Ready
  3408. #define SYSCTL_PRWTIMER_R3 0x00000008 // 32/64-Bit Wide General-Purpose
  3409. // Timer 3 Peripheral Ready
  3410. #define SYSCTL_PRWTIMER_R2 0x00000004 // 32/64-Bit Wide General-Purpose
  3411. // Timer 2 Peripheral Ready
  3412. #define SYSCTL_PRWTIMER_R1 0x00000002 // 32/64-Bit Wide General-Purpose
  3413. // Timer 1 Peripheral Ready
  3414. #define SYSCTL_PRWTIMER_R0 0x00000001 // 32/64-Bit Wide General-Purpose
  3415. // Timer 0 Peripheral Ready
  3416. //*****************************************************************************
  3417. //
  3418. // The following are defines for the bit fields in the SYSCTL_PRCCM register.
  3419. //
  3420. //*****************************************************************************
  3421. #define SYSCTL_PRCCM_R0 0x00000001 // CRC and Cryptographic Modules
  3422. // Peripheral Ready
  3423. //*****************************************************************************
  3424. //
  3425. // The following are defines for the bit fields in the SYSCTL_PRLCD register.
  3426. //
  3427. //*****************************************************************************
  3428. #define SYSCTL_PRLCD_R0 0x00000001 // LCD Controller Module 0
  3429. // Peripheral Ready
  3430. //*****************************************************************************
  3431. //
  3432. // The following are defines for the bit fields in the SYSCTL_PROWIRE register.
  3433. //
  3434. //*****************************************************************************
  3435. #define SYSCTL_PROWIRE_R0 0x00000001 // 1-Wire Module 0 Peripheral Ready
  3436. //*****************************************************************************
  3437. //
  3438. // The following are defines for the bit fields in the SYSCTL_PREMAC register.
  3439. //
  3440. //*****************************************************************************
  3441. #define SYSCTL_PREMAC_R0 0x00000001 // Ethernet MAC Module 0 Peripheral
  3442. // Ready
  3443. //*****************************************************************************
  3444. //
  3445. // The following are defines for the bit fields in the SYSCTL_UNIQUEID0
  3446. // register.
  3447. //
  3448. //*****************************************************************************
  3449. #define SYSCTL_UNIQUEID0_ID_M 0xFFFFFFFF // Unique ID
  3450. #define SYSCTL_UNIQUEID0_ID_S 0
  3451. //*****************************************************************************
  3452. //
  3453. // The following are defines for the bit fields in the SYSCTL_UNIQUEID1
  3454. // register.
  3455. //
  3456. //*****************************************************************************
  3457. #define SYSCTL_UNIQUEID1_ID_M 0xFFFFFFFF // Unique ID
  3458. #define SYSCTL_UNIQUEID1_ID_S 0
  3459. //*****************************************************************************
  3460. //
  3461. // The following are defines for the bit fields in the SYSCTL_UNIQUEID2
  3462. // register.
  3463. //
  3464. //*****************************************************************************
  3465. #define SYSCTL_UNIQUEID2_ID_M 0xFFFFFFFF // Unique ID
  3466. #define SYSCTL_UNIQUEID2_ID_S 0
  3467. //*****************************************************************************
  3468. //
  3469. // The following are defines for the bit fields in the SYSCTL_UNIQUEID3
  3470. // register.
  3471. //
  3472. //*****************************************************************************
  3473. #define SYSCTL_UNIQUEID3_ID_M 0xFFFFFFFF // Unique ID
  3474. #define SYSCTL_UNIQUEID3_ID_S 0
  3475. //*****************************************************************************
  3476. //
  3477. // The following are defines for the bit fields in the SYSCTL_CCMCGREQ
  3478. // register.
  3479. //
  3480. //*****************************************************************************
  3481. #define SYSCTL_CCMCGREQ_DESCFG 0x00000004 // DES Clock Gating Request
  3482. #define SYSCTL_CCMCGREQ_AESCFG 0x00000002 // AES Clock Gating Request
  3483. #define SYSCTL_CCMCGREQ_SHACFG 0x00000001 // SHA/MD5 Clock Gating Request
  3484. //*****************************************************************************
  3485. //
  3486. // The following definitions are deprecated.
  3487. //
  3488. //*****************************************************************************
  3489. #ifndef DEPRECATED
  3490. //*****************************************************************************
  3491. //
  3492. // The following are deprecated defines for the bit fields in the SYSCTL_DID0
  3493. // register.
  3494. //
  3495. //*****************************************************************************
  3496. #define SYSCTL_DID0_CLASS_BLIZZARD \
  3497. 0x00050000 // Tiva(TM) C Series TM4C123-class
  3498. // microcontrollers
  3499. #define SYSCTL_DID0_CLASS_SNOWFLAKE \
  3500. 0x000A0000 // Tiva(TM) C Series TM4C129-class
  3501. // microcontrollers
  3502. //*****************************************************************************
  3503. //
  3504. // The following are deprecated defines for the bit fields in the SYSCTL_RESC
  3505. // register.
  3506. //
  3507. //*****************************************************************************
  3508. #define SYSCTL_RESC_HIB 0x00000040 // HIB Reset
  3509. //*****************************************************************************
  3510. //
  3511. // The following are deprecated defines for the bit fields in the SYSCTL_PWRTC
  3512. // register.
  3513. //
  3514. //*****************************************************************************
  3515. #define SYSCTL_PWRTC_VDDA_UBOR0 0x00000010 // VDDA Under BOR0 Status
  3516. #define SYSCTL_PWRTC_VDD_UBOR0 0x00000001 // VDD Under BOR0 Status
  3517. #endif
  3518. #endif // __HW_SYSCTL_H__