hw_sysctl.h 211 KB

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