nrf5340_application.h 265 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467
  1. /*
  2. * Copyright (c) 2010 - 2020, Nordic Semiconductor ASAAll rights reserved.Redistribution and use in sou
  3. * rce and binary forms, with or without modification,are permitted provided that the following conditi
  4. * ons are met:1. Redistributions of source code must retain the above copyright notice, this list of c
  5. * onditions and the following disclaimer.2. Redistributions in binary form, except as embedded into a
  6. * Nordic Semiconductor ASA integrated circuit in a product or a software update for such product, must
  7. * reproduce the above copyright notice, this list of conditions and the following disclaimer in the d
  8. * ocumentation and/or other materials provided with the distribution.3. Neither the name of Nordic Sem
  9. * iconductor ASA nor the names of its contributors may be used to endorse or promote products derived
  10. * from this software without specific prior written permission.4. This software, with or without modif
  11. * ication, must only be used with a Nordic Semiconductor ASA integrated circuit.5. Any software provid
  12. * ed in binary form under this license must not be reverse engineered, decompiled, modified and/or dis
  13. * assembled.THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESSOR IMPLIED WA
  14. * RRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIESOF MERCHANTABILITY, NONINFRINGEMENT,
  15. * AND FITNESS FOR A PARTICULAR PURPOSE AREDISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CO
  16. * NTRIBUTORS BELIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, ORCONSEQUENTIAL DAMAGE
  17. * S (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTEGOODS OR SERVICES; LOSS OF USE, DATA, OR
  18. * PROFITS; OR BUSINESS INTERRUPTION)HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT
  19. * , STRICTLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUTOF THE USE OF T
  20. * HIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  21. *
  22. * @file nrf5340_application.h
  23. * @brief CMSIS HeaderFile
  24. * @version 1
  25. * @date 14. August 2020
  26. * @note Generated by SVDConv V3.3.35 on Friday, 14.08.2020 15:04:40
  27. * from File 'nrf5340_application.svd',
  28. * last modified on Friday, 14.08.2020 13:04:33
  29. */
  30. /** @addtogroup Nordic Semiconductor
  31. * @{
  32. */
  33. /** @addtogroup nrf5340_application
  34. * @{
  35. */
  36. #ifndef NRF5340_APPLICATION_H
  37. #define NRF5340_APPLICATION_H
  38. #ifdef __cplusplus
  39. extern "C" {
  40. #endif
  41. /** @addtogroup Configuration_of_CMSIS
  42. * @{
  43. */
  44. /* =========================================================================================================================== */
  45. /* ================ Interrupt Number Definition ================ */
  46. /* =========================================================================================================================== */
  47. typedef enum {
  48. /* ======================================= ARM Cortex-M33 Specific Interrupt Numbers ======================================= */
  49. Reset_IRQn = -15, /*!< -15 Reset Vector, invoked on Power up and warm reset */
  50. NonMaskableInt_IRQn = -14, /*!< -14 Non maskable Interrupt, cannot be stopped or preempted */
  51. HardFault_IRQn = -13, /*!< -13 Hard Fault, all classes of Fault */
  52. MemoryManagement_IRQn = -12, /*!< -12 Memory Management, MPU mismatch, including Access Violation
  53. and No Match */
  54. BusFault_IRQn = -11, /*!< -11 Bus Fault, Pre-Fetch-, Memory Access Fault, other address/memory
  55. related Fault */
  56. UsageFault_IRQn = -10, /*!< -10 Usage Fault, i.e. Undef Instruction, Illegal State Transition */
  57. SecureFault_IRQn = -9, /*!< -9 Secure Fault Handler */
  58. SVCall_IRQn = -5, /*!< -5 System Service Call via SVC instruction */
  59. DebugMonitor_IRQn = -4, /*!< -4 Debug Monitor */
  60. PendSV_IRQn = -2, /*!< -2 Pendable request for system service */
  61. SysTick_IRQn = -1, /*!< -1 System Tick Timer */
  62. /* ==================================== nrf5340_application Specific Interrupt Numbers ===================================== */
  63. FPU_IRQn = 0, /*!< 0 FPU */
  64. CACHE_IRQn = 1, /*!< 1 CACHE */
  65. SPU_IRQn = 3, /*!< 3 SPU */
  66. CLOCK_POWER_IRQn = 5, /*!< 5 CLOCK_POWER */
  67. SPIM0_SPIS0_TWIM0_TWIS0_UARTE0_IRQn= 8, /*!< 8 SPIM0_SPIS0_TWIM0_TWIS0_UARTE0 */
  68. SPIM1_SPIS1_TWIM1_TWIS1_UARTE1_IRQn= 9, /*!< 9 SPIM1_SPIS1_TWIM1_TWIS1_UARTE1 */
  69. SPIM4_IRQn = 10, /*!< 10 SPIM4 */
  70. SPIM2_SPIS2_TWIM2_TWIS2_UARTE2_IRQn= 11, /*!< 11 SPIM2_SPIS2_TWIM2_TWIS2_UARTE2 */
  71. SPIM3_SPIS3_TWIM3_TWIS3_UARTE3_IRQn= 12, /*!< 12 SPIM3_SPIS3_TWIM3_TWIS3_UARTE3 */
  72. GPIOTE0_IRQn = 13, /*!< 13 GPIOTE0 */
  73. SAADC_IRQn = 14, /*!< 14 SAADC */
  74. TIMER0_IRQn = 15, /*!< 15 TIMER0 */
  75. TIMER1_IRQn = 16, /*!< 16 TIMER1 */
  76. TIMER2_IRQn = 17, /*!< 17 TIMER2 */
  77. RTC0_IRQn = 20, /*!< 20 RTC0 */
  78. RTC1_IRQn = 21, /*!< 21 RTC1 */
  79. WDT0_IRQn = 24, /*!< 24 WDT0 */
  80. WDT1_IRQn = 25, /*!< 25 WDT1 */
  81. COMP_LPCOMP_IRQn = 26, /*!< 26 COMP_LPCOMP */
  82. EGU0_IRQn = 27, /*!< 27 EGU0 */
  83. EGU1_IRQn = 28, /*!< 28 EGU1 */
  84. EGU2_IRQn = 29, /*!< 29 EGU2 */
  85. EGU3_IRQn = 30, /*!< 30 EGU3 */
  86. EGU4_IRQn = 31, /*!< 31 EGU4 */
  87. EGU5_IRQn = 32, /*!< 32 EGU5 */
  88. PWM0_IRQn = 33, /*!< 33 PWM0 */
  89. PWM1_IRQn = 34, /*!< 34 PWM1 */
  90. PWM2_IRQn = 35, /*!< 35 PWM2 */
  91. PWM3_IRQn = 36, /*!< 36 PWM3 */
  92. PDM0_IRQn = 38, /*!< 38 PDM0 */
  93. I2S0_IRQn = 40, /*!< 40 I2S0 */
  94. IPC_IRQn = 42, /*!< 42 IPC */
  95. QSPI_IRQn = 43, /*!< 43 QSPI */
  96. NFCT_IRQn = 45, /*!< 45 NFCT */
  97. GPIOTE1_IRQn = 47, /*!< 47 GPIOTE1 */
  98. QDEC0_IRQn = 51, /*!< 51 QDEC0 */
  99. QDEC1_IRQn = 52, /*!< 52 QDEC1 */
  100. USBD_IRQn = 54, /*!< 54 USBD */
  101. USBREGULATOR_IRQn = 55, /*!< 55 USBREGULATOR */
  102. KMU_IRQn = 57, /*!< 57 KMU */
  103. CRYPTOCELL_IRQn = 68 /*!< 68 CRYPTOCELL */
  104. } IRQn_Type;
  105. /* =========================================================================================================================== */
  106. /* ================ Processor and Core Peripheral Section ================ */
  107. /* =========================================================================================================================== */
  108. /* ========================== Configuration of the ARM Cortex-M33 Processor and Core Peripherals =========================== */
  109. #define __CM33_REV 0x0004U /*!< CM33 Core Revision */
  110. #define __DSP_PRESENT 1 /*!< DSP present or not */
  111. #define __NVIC_PRIO_BITS 3 /*!< Number of Bits used for Priority Levels */
  112. #define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */
  113. #define __VTOR_PRESENT 1 /*!< Set to 1 if CPU supports Vector Table Offset Register */
  114. #define __MPU_PRESENT 1 /*!< MPU present */
  115. #define __FPU_PRESENT 1 /*!< FPU present */
  116. #define __FPU_DP 0 /*!< Double Precision FPU */
  117. #define __SAUREGION_PRESENT 0 /*!< SAU region present */
  118. /** @} */ /* End of group Configuration_of_CMSIS */
  119. #include "core_cm33.h" /*!< ARM Cortex-M33 processor and core peripherals */
  120. #include "system_nrf5340_application.h" /*!< nrf5340_application System */
  121. #ifndef __IM /*!< Fallback for older CMSIS versions */
  122. #define __IM __I
  123. #endif
  124. #ifndef __OM /*!< Fallback for older CMSIS versions */
  125. #define __OM __O
  126. #endif
  127. #ifndef __IOM /*!< Fallback for older CMSIS versions */
  128. #define __IOM __IO
  129. #endif
  130. /* =========================================================================================================================== */
  131. /* ================ Device Specific Cluster Section ================ */
  132. /* =========================================================================================================================== */
  133. /** @addtogroup Device_Peripheral_clusters
  134. * @{
  135. */
  136. /**
  137. * @brief CACHEDATA_SET_WAY [WAY] (Unspecified)
  138. */
  139. typedef struct {
  140. __IOM uint32_t DATA0; /*!< (@ 0x00000000) Description cluster: Cache data bits [31:0] of
  141. SET[n], WAY[o]. */
  142. __IOM uint32_t DATA1; /*!< (@ 0x00000004) Description cluster: Cache data bits [63:32]
  143. of SET[n], WAY[o]. */
  144. __IOM uint32_t DATA2; /*!< (@ 0x00000008) Description cluster: Cache data bits [95:64]
  145. of SET[n], WAY[o]. */
  146. __IOM uint32_t DATA3; /*!< (@ 0x0000000C) Description cluster: Cache data bits [127:96]
  147. of SET[n], WAY[o]. */
  148. } CACHEDATA_SET_WAY_Type; /*!< Size = 16 (0x10) */
  149. /**
  150. * @brief CACHEDATA_SET [SET] (Unspecified)
  151. */
  152. typedef struct {
  153. __IOM CACHEDATA_SET_WAY_Type WAY[2]; /*!< (@ 0x00000000) Unspecified */
  154. } CACHEDATA_SET_Type; /*!< Size = 32 (0x20) */
  155. /**
  156. * @brief CACHEINFO_SET [SET] (Unspecified)
  157. */
  158. typedef struct {
  159. __IOM uint32_t WAY[2]; /*!< (@ 0x00000000) Description collection: Cache information for
  160. SET[n], WAY[o]. */
  161. } CACHEINFO_SET_Type; /*!< Size = 8 (0x8) */
  162. /**
  163. * @brief FICR_INFO [INFO] (Device info)
  164. */
  165. typedef struct {
  166. __IM uint32_t CONFIGID; /*!< (@ 0x00000000) Configuration identifier */
  167. __IM uint32_t DEVICEID[2]; /*!< (@ 0x00000004) Description collection: Device identifier */
  168. __IM uint32_t PART; /*!< (@ 0x0000000C) Part code */
  169. __IM uint32_t VARIANT; /*!< (@ 0x00000010) Part Variant, Hardware version and Production
  170. configuration */
  171. __IM uint32_t PACKAGE; /*!< (@ 0x00000014) Package option */
  172. __IM uint32_t RAM; /*!< (@ 0x00000018) RAM variant */
  173. __IM uint32_t FLASH; /*!< (@ 0x0000001C) Flash variant */
  174. __IM uint32_t CODEPAGESIZE; /*!< (@ 0x00000020) Code memory page size in bytes */
  175. __IM uint32_t CODESIZE; /*!< (@ 0x00000024) Code memory size */
  176. __IM uint32_t DEVICETYPE; /*!< (@ 0x00000028) Device type */
  177. } FICR_INFO_Type; /*!< Size = 44 (0x2c) */
  178. /**
  179. * @brief FICR_TRIMCNF [TRIMCNF] (Unspecified)
  180. */
  181. typedef struct {
  182. __IOM uint32_t* ADDR; /*!< (@ 0x00000000) Description cluster: Address of the PAR register
  183. which will be written */
  184. __IM uint32_t DATA; /*!< (@ 0x00000004) Description cluster: Data */
  185. } FICR_TRIMCNF_Type; /*!< Size = 8 (0x8) */
  186. /**
  187. * @brief FICR_NFC [NFC] (Unspecified)
  188. */
  189. typedef struct {
  190. __IM uint32_t TAGHEADER0; /*!< (@ 0x00000000) Default header for NFC Tag. Software can read
  191. these values to populate NFCID1_3RD_LAST,
  192. NFCID1_2ND_LAST and NFCID1_LAST. */
  193. __IM uint32_t TAGHEADER1; /*!< (@ 0x00000004) Default header for NFC Tag. Software can read
  194. these values to populate NFCID1_3RD_LAST,
  195. NFCID1_2ND_LAST and NFCID1_LAST. */
  196. __IM uint32_t TAGHEADER2; /*!< (@ 0x00000008) Default header for NFC Tag. Software can read
  197. these values to populate NFCID1_3RD_LAST,
  198. NFCID1_2ND_LAST and NFCID1_LAST. */
  199. __IM uint32_t TAGHEADER3; /*!< (@ 0x0000000C) Default header for NFC Tag. Software can read
  200. these values to populate NFCID1_3RD_LAST,
  201. NFCID1_2ND_LAST and NFCID1_LAST. */
  202. } FICR_NFC_Type; /*!< Size = 16 (0x10) */
  203. /**
  204. * @brief FICR_TRNG90B [TRNG90B] (NIST800-90B RNG calibration data)
  205. */
  206. typedef struct {
  207. __IM uint32_t BYTES; /*!< (@ 0x00000000) Amount of bytes for the required entropy bits */
  208. __IM uint32_t RCCUTOFF; /*!< (@ 0x00000004) Repetition counter cutoff */
  209. __IM uint32_t APCUTOFF; /*!< (@ 0x00000008) Adaptive proportion cutoff */
  210. __IM uint32_t STARTUP; /*!< (@ 0x0000000C) Amount of bytes for the startup tests */
  211. __IM uint32_t ROSC1; /*!< (@ 0x00000010) Sample count for ring oscillator 1 */
  212. __IM uint32_t ROSC2; /*!< (@ 0x00000014) Sample count for ring oscillator 2 */
  213. __IM uint32_t ROSC3; /*!< (@ 0x00000018) Sample count for ring oscillator 3 */
  214. __IM uint32_t ROSC4; /*!< (@ 0x0000001C) Sample count for ring oscillator 4 */
  215. } FICR_TRNG90B_Type; /*!< Size = 32 (0x20) */
  216. /**
  217. * @brief UICR_KEYSLOT_CONFIG [CONFIG] (Unspecified)
  218. */
  219. typedef struct {
  220. __IOM uint32_t DEST; /*!< (@ 0x00000000) Description cluster: Destination address where
  221. content of the key value registers (KEYSLOT.KEYn.VALUE[0-3
  222. ) will be pushed by KMU. Note that this
  223. address must match that of a peripherals
  224. APB mapped write-only key registers, else
  225. the KMU can push this key value into an
  226. address range which the CPU can potentially
  227. read. */
  228. __IOM uint32_t PERM; /*!< (@ 0x00000004) Description cluster: Define permissions for the
  229. key slot. Bits 0-15 and 16-31 can only be
  230. written when equal to 0xFFFF. */
  231. } UICR_KEYSLOT_CONFIG_Type; /*!< Size = 8 (0x8) */
  232. /**
  233. * @brief UICR_KEYSLOT_KEY [KEY] (Unspecified)
  234. */
  235. typedef struct {
  236. __IOM uint32_t VALUE[4]; /*!< (@ 0x00000000) Description collection: Define bits [31+o*32:0+o*32]
  237. of value assigned to KMU key slot. */
  238. } UICR_KEYSLOT_KEY_Type; /*!< Size = 16 (0x10) */
  239. /**
  240. * @brief UICR_KEYSLOT [KEYSLOT] (Unspecified)
  241. */
  242. typedef struct {
  243. __IOM UICR_KEYSLOT_CONFIG_Type CONFIG[128]; /*!< (@ 0x00000000) Unspecified */
  244. __IOM UICR_KEYSLOT_KEY_Type KEY[128]; /*!< (@ 0x00000400) Unspecified */
  245. } UICR_KEYSLOT_Type; /*!< Size = 3072 (0xc00) */
  246. /**
  247. * @brief TAD_PSEL [PSEL] (Unspecified)
  248. */
  249. typedef struct {
  250. __IOM uint32_t TRACECLK; /*!< (@ 0x00000000) Pin configuration for TRACECLK */
  251. __IOM uint32_t TRACEDATA0; /*!< (@ 0x00000004) Pin configuration for TRACEDATA[0] and SWO */
  252. __IOM uint32_t TRACEDATA1; /*!< (@ 0x00000008) Pin configuration for TRACEDATA[1] */
  253. __IOM uint32_t TRACEDATA2; /*!< (@ 0x0000000C) Pin configuration for TRACEDATA[2] */
  254. __IOM uint32_t TRACEDATA3; /*!< (@ 0x00000010) Pin configuration for TRACEDATA[3] */
  255. } TAD_PSEL_Type; /*!< Size = 20 (0x14) */
  256. /**
  257. * @brief DCNF_EXTPERI [EXTPERI] (Unspecified)
  258. */
  259. typedef struct {
  260. __IOM uint32_t PROTECT; /*!< (@ 0x00000000) Description cluster: Control access for master
  261. connected to AMLI master port EXTPERI[n] */
  262. } DCNF_EXTPERI_Type; /*!< Size = 4 (0x4) */
  263. /**
  264. * @brief DCNF_EXTRAM [EXTRAM] (Unspecified)
  265. */
  266. typedef struct {
  267. __IOM uint32_t PROTECT; /*!< (@ 0x00000000) Description cluster: Control access from master
  268. connected to AMLI master port EXTRAM[n] */
  269. } DCNF_EXTRAM_Type; /*!< Size = 4 (0x4) */
  270. /**
  271. * @brief DCNF_EXTCODE [EXTCODE] (Unspecified)
  272. */
  273. typedef struct {
  274. __IOM uint32_t PROTECT; /*!< (@ 0x00000000) Description cluster: Control access from master
  275. connected to AMLI master port EXTCODE[n] */
  276. } DCNF_EXTCODE_Type; /*!< Size = 4 (0x4) */
  277. /**
  278. * @brief CACHE_PROFILING [PROFILING] (Unspecified)
  279. */
  280. typedef struct {
  281. __IM uint32_t IHIT; /*!< (@ 0x00000000) Description cluster: Instruction fetch cache
  282. hit counter for cache region n, where n=0
  283. means Flash and n=1 means XIP. */
  284. __IM uint32_t IMISS; /*!< (@ 0x00000004) Description cluster: Instruction fetch cache
  285. miss counter for cache region n, where n=0
  286. means Flash and n=1 means XIP. */
  287. __IM uint32_t DHIT; /*!< (@ 0x00000008) Description cluster: Data fetch cache hit counter
  288. for cache region n, where n=0 means Flash
  289. and n=1 means XIP. */
  290. __IM uint32_t DMISS; /*!< (@ 0x0000000C) Description cluster: Data fetch cache miss counter
  291. for cache region n, where n=0 means Flash
  292. and n=1 means XIP. */
  293. __IM uint32_t RESERVED[4];
  294. } CACHE_PROFILING_Type; /*!< Size = 32 (0x20) */
  295. /**
  296. * @brief SPU_EXTDOMAIN [EXTDOMAIN] (Unspecified)
  297. */
  298. typedef struct {
  299. __IOM uint32_t PERM; /*!< (@ 0x00000000) Description cluster: Access for bus access generated
  300. from the external domain n List capabilities
  301. of the external domain n */
  302. } SPU_EXTDOMAIN_Type; /*!< Size = 4 (0x4) */
  303. /**
  304. * @brief SPU_DPPI [DPPI] (Unspecified)
  305. */
  306. typedef struct {
  307. __IOM uint32_t PERM; /*!< (@ 0x00000000) Description cluster: Select between secure and
  308. non-secure attribute for the DPPI channels. */
  309. __IOM uint32_t LOCK; /*!< (@ 0x00000004) Description cluster: Prevent further modification
  310. of the corresponding PERM register */
  311. } SPU_DPPI_Type; /*!< Size = 8 (0x8) */
  312. /**
  313. * @brief SPU_GPIOPORT [GPIOPORT] (Unspecified)
  314. */
  315. typedef struct {
  316. __IOM uint32_t PERM; /*!< (@ 0x00000000) Description cluster: Select between secure and
  317. non-secure attribute for pins 0 to 31 of
  318. port n. */
  319. __IOM uint32_t LOCK; /*!< (@ 0x00000004) Description cluster: Prevent further modification
  320. of the corresponding PERM register */
  321. } SPU_GPIOPORT_Type; /*!< Size = 8 (0x8) */
  322. /**
  323. * @brief SPU_FLASHNSC [FLASHNSC] (Unspecified)
  324. */
  325. typedef struct {
  326. __IOM uint32_t REGION; /*!< (@ 0x00000000) Description cluster: Define which flash region
  327. can contain the non-secure callable (NSC)
  328. region n */
  329. __IOM uint32_t SIZE; /*!< (@ 0x00000004) Description cluster: Define the size of the non-secure
  330. callable (NSC) region n */
  331. } SPU_FLASHNSC_Type; /*!< Size = 8 (0x8) */
  332. /**
  333. * @brief SPU_RAMNSC [RAMNSC] (Unspecified)
  334. */
  335. typedef struct {
  336. __IOM uint32_t REGION; /*!< (@ 0x00000000) Description cluster: Define which RAM region
  337. can contain the non-secure callable (NSC)
  338. region n */
  339. __IOM uint32_t SIZE; /*!< (@ 0x00000004) Description cluster: Define the size of the non-secure
  340. callable (NSC) region n */
  341. } SPU_RAMNSC_Type; /*!< Size = 8 (0x8) */
  342. /**
  343. * @brief SPU_FLASHREGION [FLASHREGION] (Unspecified)
  344. */
  345. typedef struct {
  346. __IOM uint32_t PERM; /*!< (@ 0x00000000) Description cluster: Access permissions for flash
  347. region n */
  348. } SPU_FLASHREGION_Type; /*!< Size = 4 (0x4) */
  349. /**
  350. * @brief SPU_RAMREGION [RAMREGION] (Unspecified)
  351. */
  352. typedef struct {
  353. __IOM uint32_t PERM; /*!< (@ 0x00000000) Description cluster: Access permissions for RAM
  354. region n */
  355. } SPU_RAMREGION_Type; /*!< Size = 4 (0x4) */
  356. /**
  357. * @brief SPU_PERIPHID [PERIPHID] (Unspecified)
  358. */
  359. typedef struct {
  360. __IOM uint32_t PERM; /*!< (@ 0x00000000) Description cluster: List capabilities and access
  361. permissions for the peripheral with ID n */
  362. } SPU_PERIPHID_Type; /*!< Size = 4 (0x4) */
  363. /**
  364. * @brief OSCILLATORS_XOSC32KI [XOSC32KI] (Unspecified)
  365. */
  366. typedef struct {
  367. __IOM uint32_t BYPASS; /*!< (@ 0x00000000) Enable or disable bypass of LFCLK crystal oscillator
  368. with external clock source */
  369. __IM uint32_t RESERVED[3];
  370. __IOM uint32_t INTCAP; /*!< (@ 0x00000010) Control usage of internal load capacitors */
  371. } OSCILLATORS_XOSC32KI_Type; /*!< Size = 20 (0x14) */
  372. /**
  373. * @brief REGULATORS_VREGMAIN [VREGMAIN] (Unspecified)
  374. */
  375. typedef struct {
  376. __IOM uint32_t DCDCEN; /*!< (@ 0x00000000) DC/DC enable register for VREGMAIN */
  377. } REGULATORS_VREGMAIN_Type; /*!< Size = 4 (0x4) */
  378. /**
  379. * @brief REGULATORS_VREGRADIO [VREGRADIO] (Unspecified)
  380. */
  381. typedef struct {
  382. __IM uint32_t RESERVED;
  383. __IOM uint32_t DCDCEN; /*!< (@ 0x00000004) DC/DC enable register for VREGRADIO */
  384. } REGULATORS_VREGRADIO_Type; /*!< Size = 8 (0x8) */
  385. /**
  386. * @brief REGULATORS_VREGH [VREGH] (Unspecified)
  387. */
  388. typedef struct {
  389. __IOM uint32_t DCDCEN; /*!< (@ 0x00000000) DC/DC enable register for VREGH */
  390. } REGULATORS_VREGH_Type; /*!< Size = 4 (0x4) */
  391. /**
  392. * @brief CLOCK_HFCLKAUDIO [HFCLKAUDIO] (Unspecified)
  393. */
  394. typedef struct {
  395. __IOM uint32_t FREQUENCY; /*!< (@ 0x00000000) Audio PLL frequency in 11.176 MHz - 11.402 MHz
  396. or 12.165 MHz - 12.411 MHz frequency bands */
  397. } CLOCK_HFCLKAUDIO_Type; /*!< Size = 4 (0x4) */
  398. /**
  399. * @brief RESET_NETWORK [NETWORK] (ULP network core control)
  400. */
  401. typedef struct {
  402. __IM uint32_t RESERVED;
  403. __IOM uint32_t FORCEOFF; /*!< (@ 0x00000004) Force network core off */
  404. } RESET_NETWORK_Type; /*!< Size = 8 (0x8) */
  405. /**
  406. * @brief CTRLAPPERI_MAILBOX [MAILBOX] (Unspecified)
  407. */
  408. typedef struct {
  409. __IM uint32_t RXDATA; /*!< (@ 0x00000000) Data sent from the debugger to the CPU. */
  410. __IM uint32_t RXSTATUS; /*!< (@ 0x00000004) This register shows a status that indicates if
  411. data sent from the debugger to the CPU has
  412. been read. */
  413. __IM uint32_t RESERVED[30];
  414. __IOM uint32_t TXDATA; /*!< (@ 0x00000080) Data sent from the CPU to the debugger. */
  415. __IM uint32_t TXSTATUS; /*!< (@ 0x00000084) This register shows a status that indicates if
  416. the data sent from the CPU to the debugger
  417. has been read. */
  418. } CTRLAPPERI_MAILBOX_Type; /*!< Size = 136 (0x88) */
  419. /**
  420. * @brief CTRLAPPERI_ERASEPROTECT [ERASEPROTECT] (Unspecified)
  421. */
  422. typedef struct {
  423. __IOM uint32_t LOCK; /*!< (@ 0x00000000) This register locks the ERASEPROTECT.DISABLE
  424. register from being written until next reset. */
  425. __IOM uint32_t DISABLE; /*!< (@ 0x00000004) This register disables the ERASEPROTECT register
  426. and performs an ERASEALL operation. */
  427. } CTRLAPPERI_ERASEPROTECT_Type; /*!< Size = 8 (0x8) */
  428. /**
  429. * @brief CTRLAPPERI_APPROTECT [APPROTECT] (Unspecified)
  430. */
  431. typedef struct {
  432. __IOM uint32_t LOCK; /*!< (@ 0x00000000) This register locks the APPROTECT.DISABLE register
  433. from being written to until next reset. */
  434. __IOM uint32_t DISABLE; /*!< (@ 0x00000004) This register disables the APPROTECT register
  435. and enables debug access to non-secure mode. */
  436. } CTRLAPPERI_APPROTECT_Type; /*!< Size = 8 (0x8) */
  437. /**
  438. * @brief CTRLAPPERI_SECUREAPPROTECT [SECUREAPPROTECT] (Unspecified)
  439. */
  440. typedef struct {
  441. __IOM uint32_t LOCK; /*!< (@ 0x00000000) This register locks the SECUREAPPROTECT.DISABLE
  442. register from being written until next reset. */
  443. __IOM uint32_t DISABLE; /*!< (@ 0x00000004) This register disables the SECUREAPPROTECT register
  444. and enables debug access to secure mode. */
  445. } CTRLAPPERI_SECUREAPPROTECT_Type; /*!< Size = 8 (0x8) */
  446. /**
  447. * @brief SPIM_PSEL [PSEL] (Unspecified)
  448. */
  449. typedef struct {
  450. __IOM uint32_t SCK; /*!< (@ 0x00000000) Pin select for SCK */
  451. __IOM uint32_t MOSI; /*!< (@ 0x00000004) Pin select for MOSI signal */
  452. __IOM uint32_t MISO; /*!< (@ 0x00000008) Pin select for MISO signal */
  453. __IOM uint32_t CSN; /*!< (@ 0x0000000C) Pin select for CSN */
  454. } SPIM_PSEL_Type; /*!< Size = 16 (0x10) */
  455. /**
  456. * @brief SPIM_RXD [RXD] (RXD EasyDMA channel)
  457. */
  458. typedef struct {
  459. __IOM uint32_t PTR; /*!< (@ 0x00000000) Data pointer */
  460. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Maximum number of bytes in receive buffer */
  461. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Number of bytes transferred in the last transaction */
  462. __IOM uint32_t LIST; /*!< (@ 0x0000000C) EasyDMA list type */
  463. } SPIM_RXD_Type; /*!< Size = 16 (0x10) */
  464. /**
  465. * @brief SPIM_TXD [TXD] (TXD EasyDMA channel)
  466. */
  467. typedef struct {
  468. __IOM uint32_t PTR; /*!< (@ 0x00000000) Data pointer */
  469. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Number of bytes in transmit buffer */
  470. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Number of bytes transferred in the last transaction */
  471. __IOM uint32_t LIST; /*!< (@ 0x0000000C) EasyDMA list type */
  472. } SPIM_TXD_Type; /*!< Size = 16 (0x10) */
  473. /**
  474. * @brief SPIM_IFTIMING [IFTIMING] (Unspecified)
  475. */
  476. typedef struct {
  477. __IOM uint32_t RXDELAY; /*!< (@ 0x00000000) Sample delay for input serial data on MISO */
  478. __IOM uint32_t CSNDUR; /*!< (@ 0x00000004) Minimum duration between edge of CSN and edge
  479. of SCK and minimum duration CSN must stay
  480. high between transactions */
  481. } SPIM_IFTIMING_Type; /*!< Size = 8 (0x8) */
  482. /**
  483. * @brief SPIS_PSEL [PSEL] (Unspecified)
  484. */
  485. typedef struct {
  486. __IOM uint32_t SCK; /*!< (@ 0x00000000) Pin select for SCK */
  487. __IOM uint32_t MISO; /*!< (@ 0x00000004) Pin select for MISO signal */
  488. __IOM uint32_t MOSI; /*!< (@ 0x00000008) Pin select for MOSI signal */
  489. __IOM uint32_t CSN; /*!< (@ 0x0000000C) Pin select for CSN signal */
  490. } SPIS_PSEL_Type; /*!< Size = 16 (0x10) */
  491. /**
  492. * @brief SPIS_RXD [RXD] (Unspecified)
  493. */
  494. typedef struct {
  495. __IOM uint32_t PTR; /*!< (@ 0x00000000) RXD data pointer */
  496. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Maximum number of bytes in receive buffer */
  497. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Number of bytes received in last granted transaction */
  498. __IOM uint32_t LIST; /*!< (@ 0x0000000C) EasyDMA list type */
  499. } SPIS_RXD_Type; /*!< Size = 16 (0x10) */
  500. /**
  501. * @brief SPIS_TXD [TXD] (Unspecified)
  502. */
  503. typedef struct {
  504. __IOM uint32_t PTR; /*!< (@ 0x00000000) TXD data pointer */
  505. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Maximum number of bytes in transmit buffer */
  506. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Number of bytes transmitted in last granted transaction */
  507. __IOM uint32_t LIST; /*!< (@ 0x0000000C) EasyDMA list type */
  508. } SPIS_TXD_Type; /*!< Size = 16 (0x10) */
  509. /**
  510. * @brief TWIM_PSEL [PSEL] (Unspecified)
  511. */
  512. typedef struct {
  513. __IOM uint32_t SCL; /*!< (@ 0x00000000) Pin select for SCL signal */
  514. __IOM uint32_t SDA; /*!< (@ 0x00000004) Pin select for SDA signal */
  515. } TWIM_PSEL_Type; /*!< Size = 8 (0x8) */
  516. /**
  517. * @brief TWIM_RXD [RXD] (RXD EasyDMA channel)
  518. */
  519. typedef struct {
  520. __IOM uint32_t PTR; /*!< (@ 0x00000000) Data pointer */
  521. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Maximum number of bytes in receive buffer */
  522. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Number of bytes transferred in the last transaction */
  523. __IOM uint32_t LIST; /*!< (@ 0x0000000C) EasyDMA list type */
  524. } TWIM_RXD_Type; /*!< Size = 16 (0x10) */
  525. /**
  526. * @brief TWIM_TXD [TXD] (TXD EasyDMA channel)
  527. */
  528. typedef struct {
  529. __IOM uint32_t PTR; /*!< (@ 0x00000000) Data pointer */
  530. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Maximum number of bytes in transmit buffer */
  531. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Number of bytes transferred in the last transaction */
  532. __IOM uint32_t LIST; /*!< (@ 0x0000000C) EasyDMA list type */
  533. } TWIM_TXD_Type; /*!< Size = 16 (0x10) */
  534. /**
  535. * @brief TWIS_PSEL [PSEL] (Unspecified)
  536. */
  537. typedef struct {
  538. __IOM uint32_t SCL; /*!< (@ 0x00000000) Pin select for SCL signal */
  539. __IOM uint32_t SDA; /*!< (@ 0x00000004) Pin select for SDA signal */
  540. } TWIS_PSEL_Type; /*!< Size = 8 (0x8) */
  541. /**
  542. * @brief TWIS_RXD [RXD] (RXD EasyDMA channel)
  543. */
  544. typedef struct {
  545. __IOM uint32_t PTR; /*!< (@ 0x00000000) RXD Data pointer */
  546. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Maximum number of bytes in RXD buffer */
  547. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Number of bytes transferred in the last RXD transaction */
  548. __IOM uint32_t LIST; /*!< (@ 0x0000000C) EasyDMA list type */
  549. } TWIS_RXD_Type; /*!< Size = 16 (0x10) */
  550. /**
  551. * @brief TWIS_TXD [TXD] (TXD EasyDMA channel)
  552. */
  553. typedef struct {
  554. __IOM uint32_t PTR; /*!< (@ 0x00000000) TXD Data pointer */
  555. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Maximum number of bytes in TXD buffer */
  556. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Number of bytes transferred in the last TXD transaction */
  557. __IOM uint32_t LIST; /*!< (@ 0x0000000C) EasyDMA list type */
  558. } TWIS_TXD_Type; /*!< Size = 16 (0x10) */
  559. /**
  560. * @brief UARTE_PSEL [PSEL] (Unspecified)
  561. */
  562. typedef struct {
  563. __IOM uint32_t RTS; /*!< (@ 0x00000000) Pin select for RTS signal */
  564. __IOM uint32_t TXD; /*!< (@ 0x00000004) Pin select for TXD signal */
  565. __IOM uint32_t CTS; /*!< (@ 0x00000008) Pin select for CTS signal */
  566. __IOM uint32_t RXD; /*!< (@ 0x0000000C) Pin select for RXD signal */
  567. } UARTE_PSEL_Type; /*!< Size = 16 (0x10) */
  568. /**
  569. * @brief UARTE_RXD [RXD] (RXD EasyDMA channel)
  570. */
  571. typedef struct {
  572. __IOM uint32_t PTR; /*!< (@ 0x00000000) Data pointer */
  573. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Maximum number of bytes in receive buffer */
  574. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Number of bytes transferred in the last transaction */
  575. } UARTE_RXD_Type; /*!< Size = 12 (0xc) */
  576. /**
  577. * @brief UARTE_TXD [TXD] (TXD EasyDMA channel)
  578. */
  579. typedef struct {
  580. __IOM uint32_t PTR; /*!< (@ 0x00000000) Data pointer */
  581. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Maximum number of bytes in transmit buffer */
  582. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Number of bytes transferred in the last transaction */
  583. } UARTE_TXD_Type; /*!< Size = 12 (0xc) */
  584. /**
  585. * @brief SAADC_EVENTS_CH [EVENTS_CH] (Peripheral events.)
  586. */
  587. typedef struct {
  588. __IOM uint32_t LIMITH; /*!< (@ 0x00000000) Description cluster: Last results is equal or
  589. above CH[n].LIMIT.HIGH */
  590. __IOM uint32_t LIMITL; /*!< (@ 0x00000004) Description cluster: Last results is equal or
  591. below CH[n].LIMIT.LOW */
  592. } SAADC_EVENTS_CH_Type; /*!< Size = 8 (0x8) */
  593. /**
  594. * @brief SAADC_PUBLISH_CH [PUBLISH_CH] (Publish configuration for events)
  595. */
  596. typedef struct {
  597. __IOM uint32_t LIMITH; /*!< (@ 0x00000000) Description cluster: Publish configuration for
  598. event CH[n].LIMITH */
  599. __IOM uint32_t LIMITL; /*!< (@ 0x00000004) Description cluster: Publish configuration for
  600. event CH[n].LIMITL */
  601. } SAADC_PUBLISH_CH_Type; /*!< Size = 8 (0x8) */
  602. /**
  603. * @brief SAADC_CH [CH] (Unspecified)
  604. */
  605. typedef struct {
  606. __IOM uint32_t PSELP; /*!< (@ 0x00000000) Description cluster: Input positive pin selection
  607. for CH[n] */
  608. __IOM uint32_t PSELN; /*!< (@ 0x00000004) Description cluster: Input negative pin selection
  609. for CH[n] */
  610. __IOM uint32_t CONFIG; /*!< (@ 0x00000008) Description cluster: Input configuration for
  611. CH[n] */
  612. __IOM uint32_t LIMIT; /*!< (@ 0x0000000C) Description cluster: High/low limits for event
  613. monitoring a channel */
  614. } SAADC_CH_Type; /*!< Size = 16 (0x10) */
  615. /**
  616. * @brief SAADC_RESULT [RESULT] (RESULT EasyDMA channel)
  617. */
  618. typedef struct {
  619. __IOM uint32_t PTR; /*!< (@ 0x00000000) Data pointer */
  620. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Maximum number of buffer words to transfer */
  621. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Number of buffer words transferred since last
  622. START */
  623. } SAADC_RESULT_Type; /*!< Size = 12 (0xc) */
  624. /**
  625. * @brief DPPIC_TASKS_CHG [TASKS_CHG] (Channel group tasks)
  626. */
  627. typedef struct {
  628. __OM uint32_t EN; /*!< (@ 0x00000000) Description cluster: Enable channel group n */
  629. __OM uint32_t DIS; /*!< (@ 0x00000004) Description cluster: Disable channel group n */
  630. } DPPIC_TASKS_CHG_Type; /*!< Size = 8 (0x8) */
  631. /**
  632. * @brief DPPIC_SUBSCRIBE_CHG [SUBSCRIBE_CHG] (Subscribe configuration for tasks)
  633. */
  634. typedef struct {
  635. __IOM uint32_t EN; /*!< (@ 0x00000000) Description cluster: Subscribe configuration
  636. for task CHG[n].EN */
  637. __IOM uint32_t DIS; /*!< (@ 0x00000004) Description cluster: Subscribe configuration
  638. for task CHG[n].DIS */
  639. } DPPIC_SUBSCRIBE_CHG_Type; /*!< Size = 8 (0x8) */
  640. /**
  641. * @brief PWM_SEQ [SEQ] (Unspecified)
  642. */
  643. typedef struct {
  644. __IOM uint32_t PTR; /*!< (@ 0x00000000) Description cluster: Beginning address in RAM
  645. of this sequence */
  646. __IOM uint32_t CNT; /*!< (@ 0x00000004) Description cluster: Number of values (duty cycles)
  647. in this sequence */
  648. __IOM uint32_t REFRESH; /*!< (@ 0x00000008) Description cluster: Number of additional PWM
  649. periods between samples loaded into compare
  650. register */
  651. __IOM uint32_t ENDDELAY; /*!< (@ 0x0000000C) Description cluster: Time added after the sequence */
  652. __IM uint32_t RESERVED[4];
  653. } PWM_SEQ_Type; /*!< Size = 32 (0x20) */
  654. /**
  655. * @brief PWM_PSEL [PSEL] (Unspecified)
  656. */
  657. typedef struct {
  658. __IOM uint32_t OUT[4]; /*!< (@ 0x00000000) Description collection: Output pin select for
  659. PWM channel n */
  660. } PWM_PSEL_Type; /*!< Size = 16 (0x10) */
  661. /**
  662. * @brief PDM_PSEL [PSEL] (Unspecified)
  663. */
  664. typedef struct {
  665. __IOM uint32_t CLK; /*!< (@ 0x00000000) Pin number configuration for PDM CLK signal */
  666. __IOM uint32_t DIN; /*!< (@ 0x00000004) Pin number configuration for PDM DIN signal */
  667. } PDM_PSEL_Type; /*!< Size = 8 (0x8) */
  668. /**
  669. * @brief PDM_SAMPLE [SAMPLE] (Unspecified)
  670. */
  671. typedef struct {
  672. __IOM uint32_t PTR; /*!< (@ 0x00000000) RAM address pointer to write samples to with
  673. EasyDMA */
  674. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Number of samples to allocate memory for in EasyDMA
  675. mode */
  676. } PDM_SAMPLE_Type; /*!< Size = 8 (0x8) */
  677. /**
  678. * @brief I2S_CONFIG [CONFIG] (Unspecified)
  679. */
  680. typedef struct {
  681. __IOM uint32_t MODE; /*!< (@ 0x00000000) I2S mode */
  682. __IOM uint32_t RXEN; /*!< (@ 0x00000004) Reception (RX) enable */
  683. __IOM uint32_t TXEN; /*!< (@ 0x00000008) Transmission (TX) enable */
  684. __IOM uint32_t MCKEN; /*!< (@ 0x0000000C) Master clock generator enable */
  685. __IOM uint32_t MCKFREQ; /*!< (@ 0x00000010) I2S clock generator control */
  686. __IOM uint32_t RATIO; /*!< (@ 0x00000014) MCK / LRCK ratio */
  687. __IOM uint32_t SWIDTH; /*!< (@ 0x00000018) Sample width */
  688. __IOM uint32_t ALIGN; /*!< (@ 0x0000001C) Alignment of sample within a frame */
  689. __IOM uint32_t FORMAT; /*!< (@ 0x00000020) Frame format */
  690. __IOM uint32_t CHANNELS; /*!< (@ 0x00000024) Enable channels */
  691. __IOM uint32_t CLKCONFIG; /*!< (@ 0x00000028) Clock source selection for the I2S module */
  692. } I2S_CONFIG_Type; /*!< Size = 44 (0x2c) */
  693. /**
  694. * @brief I2S_RXD [RXD] (Unspecified)
  695. */
  696. typedef struct {
  697. __IOM uint32_t PTR; /*!< (@ 0x00000000) Receive buffer RAM start address. */
  698. } I2S_RXD_Type; /*!< Size = 4 (0x4) */
  699. /**
  700. * @brief I2S_TXD [TXD] (Unspecified)
  701. */
  702. typedef struct {
  703. __IOM uint32_t PTR; /*!< (@ 0x00000000) Transmit buffer RAM start address */
  704. } I2S_TXD_Type; /*!< Size = 4 (0x4) */
  705. /**
  706. * @brief I2S_RXTXD [RXTXD] (Unspecified)
  707. */
  708. typedef struct {
  709. __IOM uint32_t MAXCNT; /*!< (@ 0x00000000) Size of RXD and TXD buffers */
  710. } I2S_RXTXD_Type; /*!< Size = 4 (0x4) */
  711. /**
  712. * @brief I2S_PSEL [PSEL] (Unspecified)
  713. */
  714. typedef struct {
  715. __IOM uint32_t MCK; /*!< (@ 0x00000000) Pin select for MCK signal */
  716. __IOM uint32_t SCK; /*!< (@ 0x00000004) Pin select for SCK signal */
  717. __IOM uint32_t LRCK; /*!< (@ 0x00000008) Pin select for LRCK signal */
  718. __IOM uint32_t SDIN; /*!< (@ 0x0000000C) Pin select for SDIN signal */
  719. __IOM uint32_t SDOUT; /*!< (@ 0x00000010) Pin select for SDOUT signal */
  720. } I2S_PSEL_Type; /*!< Size = 20 (0x14) */
  721. /**
  722. * @brief QSPI_READ [READ] (Unspecified)
  723. */
  724. typedef struct {
  725. __IOM uint32_t SRC; /*!< (@ 0x00000000) Flash memory source address */
  726. __IOM uint32_t DST; /*!< (@ 0x00000004) RAM destination address */
  727. __IOM uint32_t CNT; /*!< (@ 0x00000008) Read transfer length */
  728. } QSPI_READ_Type; /*!< Size = 12 (0xc) */
  729. /**
  730. * @brief QSPI_WRITE [WRITE] (Unspecified)
  731. */
  732. typedef struct {
  733. __IOM uint32_t DST; /*!< (@ 0x00000000) Flash destination address */
  734. __IOM uint32_t SRC; /*!< (@ 0x00000004) RAM source address */
  735. __IOM uint32_t CNT; /*!< (@ 0x00000008) Write transfer length */
  736. } QSPI_WRITE_Type; /*!< Size = 12 (0xc) */
  737. /**
  738. * @brief QSPI_ERASE [ERASE] (Unspecified)
  739. */
  740. typedef struct {
  741. __IOM uint32_t PTR; /*!< (@ 0x00000000) Start address of flash block to be erased */
  742. __IOM uint32_t LEN; /*!< (@ 0x00000004) Size of block to be erased. */
  743. } QSPI_ERASE_Type; /*!< Size = 8 (0x8) */
  744. /**
  745. * @brief QSPI_PSEL [PSEL] (Unspecified)
  746. */
  747. typedef struct {
  748. __IOM uint32_t SCK; /*!< (@ 0x00000000) Pin select for serial clock SCK */
  749. __IOM uint32_t CSN; /*!< (@ 0x00000004) Pin select for chip select signal CSN. */
  750. __IM uint32_t RESERVED;
  751. __IOM uint32_t IO0; /*!< (@ 0x0000000C) Pin select for serial data MOSI/IO0. */
  752. __IOM uint32_t IO1; /*!< (@ 0x00000010) Pin select for serial data MISO/IO1. */
  753. __IOM uint32_t IO2; /*!< (@ 0x00000014) Pin select for serial data IO2. */
  754. __IOM uint32_t IO3; /*!< (@ 0x00000018) Pin select for serial data IO3. */
  755. } QSPI_PSEL_Type; /*!< Size = 28 (0x1c) */
  756. /**
  757. * @brief QSPI_XIP_ENC [XIP_ENC] (Unspecified)
  758. */
  759. typedef struct {
  760. __OM uint32_t KEY0; /*!< (@ 0x00000000) Bits 31:0 of XIP AES KEY */
  761. __OM uint32_t KEY1; /*!< (@ 0x00000004) Bits 63:32 of XIP AES KEY */
  762. __OM uint32_t KEY2; /*!< (@ 0x00000008) Bits 95:64 of XIP AES KEY */
  763. __OM uint32_t KEY3; /*!< (@ 0x0000000C) Bits 127:96 of XIP AES KEY */
  764. __OM uint32_t NONCE0; /*!< (@ 0x00000010) Bits 31:0 of XIP NONCE */
  765. __OM uint32_t NONCE1; /*!< (@ 0x00000014) Bits 63:32 of XIP NONCE */
  766. __OM uint32_t NONCE2; /*!< (@ 0x00000018) Bits 95:64 of XIP NONCE */
  767. __IOM uint32_t ENABLE; /*!< (@ 0x0000001C) Enable stream cipher for XIP */
  768. } QSPI_XIP_ENC_Type; /*!< Size = 32 (0x20) */
  769. /**
  770. * @brief QSPI_DMA_ENC [DMA_ENC] (Unspecified)
  771. */
  772. typedef struct {
  773. __OM uint32_t KEY0; /*!< (@ 0x00000000) Bits 31:0 of DMA AES KEY */
  774. __OM uint32_t KEY1; /*!< (@ 0x00000004) Bits 63:32 of DMA AES KEY */
  775. __OM uint32_t KEY2; /*!< (@ 0x00000008) Bits 95:64 of DMA AES KEY */
  776. __OM uint32_t KEY3; /*!< (@ 0x0000000C) Bits 127:96 of DMA AES KEY */
  777. __OM uint32_t NONCE0; /*!< (@ 0x00000010) Bits 31:0 of DMA NONCE */
  778. __OM uint32_t NONCE1; /*!< (@ 0x00000014) Bits 63:32 of DMA NONCE */
  779. __OM uint32_t NONCE2; /*!< (@ 0x00000018) Bits 95:64 of DMA NONCE */
  780. __IOM uint32_t ENABLE; /*!< (@ 0x0000001C) Enable stream cipher for EasyDMA */
  781. } QSPI_DMA_ENC_Type; /*!< Size = 32 (0x20) */
  782. /**
  783. * @brief NFCT_FRAMESTATUS [FRAMESTATUS] (Unspecified)
  784. */
  785. typedef struct {
  786. __IOM uint32_t RX; /*!< (@ 0x00000000) Result of last incoming frame */
  787. } NFCT_FRAMESTATUS_Type; /*!< Size = 4 (0x4) */
  788. /**
  789. * @brief NFCT_TXD [TXD] (Unspecified)
  790. */
  791. typedef struct {
  792. __IOM uint32_t FRAMECONFIG; /*!< (@ 0x00000000) Configuration of outgoing frames */
  793. __IOM uint32_t AMOUNT; /*!< (@ 0x00000004) Size of outgoing frame */
  794. } NFCT_TXD_Type; /*!< Size = 8 (0x8) */
  795. /**
  796. * @brief NFCT_RXD [RXD] (Unspecified)
  797. */
  798. typedef struct {
  799. __IOM uint32_t FRAMECONFIG; /*!< (@ 0x00000000) Configuration of incoming frames */
  800. __IM uint32_t AMOUNT; /*!< (@ 0x00000004) Size of last incoming frame */
  801. } NFCT_RXD_Type; /*!< Size = 8 (0x8) */
  802. /**
  803. * @brief QDEC_PSEL [PSEL] (Unspecified)
  804. */
  805. typedef struct {
  806. __IOM uint32_t LED; /*!< (@ 0x00000000) Pin select for LED signal */
  807. __IOM uint32_t A; /*!< (@ 0x00000004) Pin select for A signal */
  808. __IOM uint32_t B; /*!< (@ 0x00000008) Pin select for B signal */
  809. } QDEC_PSEL_Type; /*!< Size = 12 (0xc) */
  810. /**
  811. * @brief USBD_HALTED [HALTED] (Unspecified)
  812. */
  813. typedef struct {
  814. __IM uint32_t EPIN[8]; /*!< (@ 0x00000000) Description collection: IN endpoint halted status.
  815. Can be used as is as response to a GetStatus()
  816. request to endpoint. */
  817. __IM uint32_t RESERVED;
  818. __IM uint32_t EPOUT[8]; /*!< (@ 0x00000024) Description collection: OUT endpoint halted status.
  819. Can be used as is as response to a GetStatus()
  820. request to endpoint. */
  821. } USBD_HALTED_Type; /*!< Size = 68 (0x44) */
  822. /**
  823. * @brief USBD_SIZE [SIZE] (Unspecified)
  824. */
  825. typedef struct {
  826. __IOM uint32_t EPOUT[8]; /*!< (@ 0x00000000) Description collection: Number of bytes received
  827. last in the data stage of this OUT endpoint */
  828. __IM uint32_t ISOOUT; /*!< (@ 0x00000020) Number of bytes received last on this ISO OUT
  829. data endpoint */
  830. } USBD_SIZE_Type; /*!< Size = 36 (0x24) */
  831. /**
  832. * @brief USBD_EPIN [EPIN] (Unspecified)
  833. */
  834. typedef struct {
  835. __IOM uint32_t PTR; /*!< (@ 0x00000000) Description cluster: Data pointer */
  836. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Description cluster: Maximum number of bytes
  837. to transfer */
  838. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Description cluster: Number of bytes transferred
  839. in the last transaction */
  840. __IM uint32_t RESERVED[2];
  841. } USBD_EPIN_Type; /*!< Size = 20 (0x14) */
  842. /**
  843. * @brief USBD_ISOIN [ISOIN] (Unspecified)
  844. */
  845. typedef struct {
  846. __IOM uint32_t PTR; /*!< (@ 0x00000000) Data pointer */
  847. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Maximum number of bytes to transfer */
  848. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Number of bytes transferred in the last transaction */
  849. } USBD_ISOIN_Type; /*!< Size = 12 (0xc) */
  850. /**
  851. * @brief USBD_EPOUT [EPOUT] (Unspecified)
  852. */
  853. typedef struct {
  854. __IOM uint32_t PTR; /*!< (@ 0x00000000) Description cluster: Data pointer */
  855. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Description cluster: Maximum number of bytes
  856. to transfer */
  857. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Description cluster: Number of bytes transferred
  858. in the last transaction */
  859. __IM uint32_t RESERVED[2];
  860. } USBD_EPOUT_Type; /*!< Size = 20 (0x14) */
  861. /**
  862. * @brief USBD_ISOOUT [ISOOUT] (Unspecified)
  863. */
  864. typedef struct {
  865. __IOM uint32_t PTR; /*!< (@ 0x00000000) Data pointer */
  866. __IOM uint32_t MAXCNT; /*!< (@ 0x00000004) Maximum number of bytes to transfer */
  867. __IM uint32_t AMOUNT; /*!< (@ 0x00000008) Number of bytes transferred in the last transaction */
  868. } USBD_ISOOUT_Type; /*!< Size = 12 (0xc) */
  869. /**
  870. * @brief VMC_RAM [RAM] (Unspecified)
  871. */
  872. typedef struct {
  873. __IOM uint32_t POWER; /*!< (@ 0x00000000) Description cluster: RAM[n] power control register */
  874. __IOM uint32_t POWERSET; /*!< (@ 0x00000004) Description cluster: RAM[n] power control set
  875. register */
  876. __IOM uint32_t POWERCLR; /*!< (@ 0x00000008) Description cluster: RAM[n] power control clear
  877. register */
  878. __IM uint32_t RESERVED;
  879. } VMC_RAM_Type; /*!< Size = 16 (0x10) */
  880. /** @} */ /* End of group Device_Peripheral_clusters */
  881. /* =========================================================================================================================== */
  882. /* ================ Device Specific Peripheral Section ================ */
  883. /* =========================================================================================================================== */
  884. /** @addtogroup Device_Peripheral_peripherals
  885. * @{
  886. */
  887. /* =========================================================================================================================== */
  888. /* ================ CACHEDATA_S ================ */
  889. /* =========================================================================================================================== */
  890. /**
  891. * @brief CACHEDATA (CACHEDATA_S)
  892. */
  893. typedef struct { /*!< (@ 0x00F00000) CACHEDATA_S Structure */
  894. __IOM CACHEDATA_SET_Type SET[256]; /*!< (@ 0x00000000) Unspecified */
  895. } NRF_CACHEDATA_Type; /*!< Size = 8192 (0x2000) */
  896. /* =========================================================================================================================== */
  897. /* ================ CACHEINFO_S ================ */
  898. /* =========================================================================================================================== */
  899. /**
  900. * @brief CACHEINFO (CACHEINFO_S)
  901. */
  902. typedef struct { /*!< (@ 0x00F08000) CACHEINFO_S Structure */
  903. __IOM CACHEINFO_SET_Type SET[256]; /*!< (@ 0x00000000) Unspecified */
  904. } NRF_CACHEINFO_Type; /*!< Size = 2048 (0x800) */
  905. /* =========================================================================================================================== */
  906. /* ================ FICR_S ================ */
  907. /* =========================================================================================================================== */
  908. /**
  909. * @brief Factory Information Configuration Registers (FICR_S)
  910. */
  911. typedef struct { /*!< (@ 0x00FF0000) FICR_S Structure */
  912. __IM uint32_t RESERVED[128];
  913. __IOM FICR_INFO_Type INFO; /*!< (@ 0x00000200) Device info */
  914. __IM uint32_t RESERVED1[53];
  915. __IOM FICR_TRIMCNF_Type TRIMCNF[32]; /*!< (@ 0x00000300) Unspecified */
  916. __IM uint32_t RESERVED2[20];
  917. __IOM FICR_NFC_Type NFC; /*!< (@ 0x00000450) Unspecified */
  918. __IM uint32_t RESERVED3[488];
  919. __IOM FICR_TRNG90B_Type TRNG90B; /*!< (@ 0x00000C00) NIST800-90B RNG calibration data */
  920. __IM uint32_t XOSC32MTRIM; /*!< (@ 0x00000C20) XOSC32M capacitor selection trim values */
  921. } NRF_FICR_Type; /*!< Size = 3108 (0xc24) */
  922. /* =========================================================================================================================== */
  923. /* ================ UICR_S ================ */
  924. /* =========================================================================================================================== */
  925. /**
  926. * @brief User Information Configuration Registers User information configuration registers (UICR_S)
  927. */
  928. typedef struct { /*!< (@ 0x00FF8000) UICR_S Structure */
  929. __IOM uint32_t APPROTECT; /*!< (@ 0x00000000) Access port protection */
  930. __IM uint32_t RESERVED[2];
  931. __IOM uint32_t EXTSUPPLY; /*!< (@ 0x0000000C) Enable external circuitry to be supplied from
  932. VDD pin. Applicable in 'High voltage mode'
  933. only. */
  934. __IOM uint32_t VREGHVOUT; /*!< (@ 0x00000010) GPIO reference voltage / external output supply
  935. voltage in 'High voltage mode'. */
  936. __IOM uint32_t HFXOCNT; /*!< (@ 0x00000014) HFXO startup counter */
  937. __IM uint32_t RESERVED1;
  938. __IOM uint32_t SECUREAPPROTECT; /*!< (@ 0x0000001C) Secure access port protection */
  939. __IOM uint32_t ERASEPROTECT; /*!< (@ 0x00000020) Erase protection */
  940. __IOM uint32_t TINSTANCE; /*!< (@ 0x00000024) SW-DP Target instance */
  941. __IOM uint32_t NFCPINS; /*!< (@ 0x00000028) Setting of pins dedicated to NFC functionality:
  942. NFC antenna or GPIO */
  943. __IM uint32_t RESERVED2[53];
  944. __IOM uint32_t OTP[192]; /*!< (@ 0x00000100) Description collection: One time programmable
  945. memory */
  946. __IOM UICR_KEYSLOT_Type KEYSLOT; /*!< (@ 0x00000400) Unspecified */
  947. } NRF_UICR_Type; /*!< Size = 4096 (0x1000) */
  948. /* =========================================================================================================================== */
  949. /* ================ CTI_S ================ */
  950. /* =========================================================================================================================== */
  951. /**
  952. * @brief Cross-Trigger Interface control. NOTE: this is not a separate peripheral, but describes CM33 functionality. (CTI_S)
  953. */
  954. typedef struct { /*!< (@ 0xE0042000) CTI_S Structure */
  955. __IOM uint32_t CTICONTROL; /*!< (@ 0x00000000) CTI Control register */
  956. __IM uint32_t RESERVED[3];
  957. __OM uint32_t CTIINTACK; /*!< (@ 0x00000010) CTI Interrupt Acknowledge register */
  958. __IOM uint32_t CTIAPPSET; /*!< (@ 0x00000014) CTI Application Trigger Set register */
  959. __OM uint32_t CTIAPPCLEAR; /*!< (@ 0x00000018) CTI Application Trigger Clear register */
  960. __OM uint32_t CTIAPPPULSE; /*!< (@ 0x0000001C) CTI Application Pulse register */
  961. __IOM uint32_t CTIINEN[8]; /*!< (@ 0x00000020) Description collection: CTI Trigger input */
  962. __IM uint32_t RESERVED1[24];
  963. __IOM uint32_t CTIOUTEN[8]; /*!< (@ 0x000000A0) Description collection: CTI Trigger output */
  964. __IM uint32_t RESERVED2[28];
  965. __IM uint32_t CTITRIGINSTATUS; /*!< (@ 0x00000130) CTI Trigger In Status register */
  966. __IM uint32_t CTITRIGOUTSTATUS; /*!< (@ 0x00000134) CTI Trigger Out Status register */
  967. __IM uint32_t CTICHINSTATUS; /*!< (@ 0x00000138) CTI Channel In Status register */
  968. __IM uint32_t RESERVED3;
  969. __IOM uint32_t CTIGATE; /*!< (@ 0x00000140) Enable CTI Channel Gate register */
  970. __IM uint32_t RESERVED4[926];
  971. __IM uint32_t DEVARCH; /*!< (@ 0x00000FBC) Device Architecture register */
  972. __IM uint32_t RESERVED5[2];
  973. __IM uint32_t DEVID; /*!< (@ 0x00000FC8) Device Configuration register */
  974. __IM uint32_t DEVTYPE; /*!< (@ 0x00000FCC) Device Type Identifier register */
  975. __IM uint32_t PIDR4; /*!< (@ 0x00000FD0) Peripheral ID4 Register */
  976. __IM uint32_t PIDR5; /*!< (@ 0x00000FD4) Peripheral ID5 register */
  977. __IM uint32_t PIDR6; /*!< (@ 0x00000FD8) Peripheral ID6 register */
  978. __IM uint32_t PIDR7; /*!< (@ 0x00000FDC) Peripheral ID7 register */
  979. __IM uint32_t PIDR0; /*!< (@ 0x00000FE0) Peripheral ID0 Register */
  980. __IM uint32_t PIDR1; /*!< (@ 0x00000FE4) Peripheral ID1 Register */
  981. __IM uint32_t PIDR2; /*!< (@ 0x00000FE8) Peripheral ID2 Register */
  982. __IM uint32_t PIDR3; /*!< (@ 0x00000FEC) Peripheral ID3 Register */
  983. __IM uint32_t CIDR0; /*!< (@ 0x00000FF0) Component ID0 Register */
  984. __IM uint32_t CIDR1; /*!< (@ 0x00000FF4) Component ID1 Register */
  985. __IM uint32_t CIDR2; /*!< (@ 0x00000FF8) Component ID2 Register */
  986. __IM uint32_t CIDR3; /*!< (@ 0x00000FFC) Component ID3 Register */
  987. } NRF_CTI_Type; /*!< Size = 4096 (0x1000) */
  988. /* =========================================================================================================================== */
  989. /* ================ TAD_S ================ */
  990. /* =========================================================================================================================== */
  991. /**
  992. * @brief Trace and debug control (TAD_S)
  993. */
  994. typedef struct { /*!< (@ 0xE0080000) TAD_S Structure */
  995. __IM uint32_t RESERVED;
  996. __OM uint32_t CLOCKSTART; /*!< (@ 0x00000004) Start all trace and debug clocks. */
  997. __OM uint32_t CLOCKSTOP; /*!< (@ 0x00000008) Stop all trace and debug clocks. */
  998. __IM uint32_t RESERVED1[317];
  999. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable debug domain and aquire selected GPIOs */
  1000. __IOM TAD_PSEL_Type PSEL; /*!< (@ 0x00000504) Unspecified */
  1001. __IOM uint32_t TRACEPORTSPEED; /*!< (@ 0x00000518) Clocking options for the Trace Port debug interface. */
  1002. } NRF_TAD_Type; /*!< Size = 1308 (0x51c) */
  1003. /* =========================================================================================================================== */
  1004. /* ================ DCNF_NS ================ */
  1005. /* =========================================================================================================================== */
  1006. /**
  1007. * @brief Domain configuration management 0 (DCNF_NS)
  1008. */
  1009. typedef struct { /*!< (@ 0x40000000) DCNF_NS Structure */
  1010. __IM uint32_t RESERVED[264];
  1011. __IM uint32_t CPUID; /*!< (@ 0x00000420) CPU ID of this subsystem */
  1012. __IM uint32_t RESERVED1[7];
  1013. __IOM DCNF_EXTPERI_Type EXTPERI[1]; /*!< (@ 0x00000440) Unspecified */
  1014. __IM uint32_t RESERVED2[7];
  1015. __IOM DCNF_EXTRAM_Type EXTRAM[1]; /*!< (@ 0x00000460) Unspecified */
  1016. __IM uint32_t RESERVED3[7];
  1017. __IOM DCNF_EXTCODE_Type EXTCODE[1]; /*!< (@ 0x00000480) Unspecified */
  1018. } NRF_DCNF_Type; /*!< Size = 1156 (0x484) */
  1019. /* =========================================================================================================================== */
  1020. /* ================ FPU_NS ================ */
  1021. /* =========================================================================================================================== */
  1022. /**
  1023. * @brief FPU control peripheral 0 (FPU_NS)
  1024. */
  1025. typedef struct { /*!< (@ 0x40000000) FPU_NS Structure */
  1026. __IM uint32_t RESERVED[64];
  1027. __IOM uint32_t EVENTS_INVALIDOPERATION; /*!< (@ 0x00000100) An FPUIOC exception triggered by an invalid operation
  1028. has occurred in the FPU */
  1029. __IOM uint32_t EVENTS_DIVIDEBYZERO; /*!< (@ 0x00000104) An FPUDZC exception triggered by a floating-point
  1030. divide-by-zero operation has occurred in
  1031. the FPU */
  1032. __IOM uint32_t EVENTS_OVERFLOW; /*!< (@ 0x00000108) An FPUOFC exception triggered by a floating-point
  1033. overflow has occurred in the FPU */
  1034. __IOM uint32_t EVENTS_UNDERFLOW; /*!< (@ 0x0000010C) An FPUUFC exception triggered by a floating-point
  1035. underflow has occurred in the FPU */
  1036. __IOM uint32_t EVENTS_INEXACT; /*!< (@ 0x00000110) An FPUIXC exception triggered by an inexact floating-point
  1037. operation has occurred in the FPU */
  1038. __IOM uint32_t EVENTS_DENORMALINPUT; /*!< (@ 0x00000114) An FPUIDC exception triggered by a denormal floating-point
  1039. input has occurred in the FPU */
  1040. __IM uint32_t RESERVED1[122];
  1041. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  1042. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1043. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1044. } NRF_FPU_Type; /*!< Size = 780 (0x30c) */
  1045. /* =========================================================================================================================== */
  1046. /* ================ CACHE_S ================ */
  1047. /* =========================================================================================================================== */
  1048. /**
  1049. * @brief Cache (CACHE_S)
  1050. */
  1051. typedef struct { /*!< (@ 0x50001000) CACHE_S Structure */
  1052. __IM uint32_t RESERVED[256];
  1053. __IOM CACHE_PROFILING_Type PROFILING[2]; /*!< (@ 0x00000400) Unspecified */
  1054. __IM uint32_t RESERVED1[48];
  1055. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable cache */
  1056. __OM uint32_t INVALIDATE; /*!< (@ 0x00000504) Invalidate the cache */
  1057. __OM uint32_t ERASE; /*!< (@ 0x00000508) Erase the cache */
  1058. __IOM uint32_t PROFILINGENABLE; /*!< (@ 0x0000050C) Enable the profiling counters */
  1059. __OM uint32_t PROFILINGCLEAR; /*!< (@ 0x00000510) Clear the profiling counters */
  1060. __IOM uint32_t MODE; /*!< (@ 0x00000514) Cache mode. Switching from Cache to RAM mode
  1061. causes the RAM to be cleared. Switching
  1062. from RAM to Cache mode causes the cache
  1063. to be invalidated. */
  1064. __IOM uint32_t DEBUGLOCK; /*!< (@ 0x00000518) Lock debug mode Ignored in RAM mode. */
  1065. __IOM uint32_t ERASESTATUS; /*!< (@ 0x0000051C) Cache erase status */
  1066. __IOM uint32_t WRITELOCK; /*!< (@ 0x00000520) Lock cache updates. Prevents updating of cache
  1067. content on cache misses, but will continue
  1068. to lookup instruction/data fetches in content
  1069. already present in the cache. Ignored in
  1070. RAM mode. */
  1071. } NRF_CACHE_Type; /*!< Size = 1316 (0x524) */
  1072. /* =========================================================================================================================== */
  1073. /* ================ SPU_S ================ */
  1074. /* =========================================================================================================================== */
  1075. /**
  1076. * @brief System protection unit (SPU_S)
  1077. */
  1078. typedef struct { /*!< (@ 0x50003000) SPU_S Structure */
  1079. __IM uint32_t RESERVED[64];
  1080. __IOM uint32_t EVENTS_RAMACCERR; /*!< (@ 0x00000100) A security violation has been detected for the
  1081. RAM memory space */
  1082. __IOM uint32_t EVENTS_FLASHACCERR; /*!< (@ 0x00000104) A security violation has been detected for the
  1083. flash memory space */
  1084. __IOM uint32_t EVENTS_PERIPHACCERR; /*!< (@ 0x00000108) A security violation has been detected on one
  1085. or several peripherals */
  1086. __IM uint32_t RESERVED1[29];
  1087. __IOM uint32_t PUBLISH_RAMACCERR; /*!< (@ 0x00000180) Publish configuration for event RAMACCERR */
  1088. __IOM uint32_t PUBLISH_FLASHACCERR; /*!< (@ 0x00000184) Publish configuration for event FLASHACCERR */
  1089. __IOM uint32_t PUBLISH_PERIPHACCERR; /*!< (@ 0x00000188) Publish configuration for event PERIPHACCERR */
  1090. __IM uint32_t RESERVED2[93];
  1091. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  1092. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1093. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1094. __IM uint32_t RESERVED3[61];
  1095. __IM uint32_t CAP; /*!< (@ 0x00000400) Show implemented features for the current device */
  1096. __IOM uint32_t CPULOCK; /*!< (@ 0x00000404) Configure bits to lock down CPU features at runtime */
  1097. __IM uint32_t RESERVED4[14];
  1098. __IOM SPU_EXTDOMAIN_Type EXTDOMAIN[1]; /*!< (@ 0x00000440) Unspecified */
  1099. __IM uint32_t RESERVED5[15];
  1100. __IOM SPU_DPPI_Type DPPI[1]; /*!< (@ 0x00000480) Unspecified */
  1101. __IM uint32_t RESERVED6[14];
  1102. __IOM SPU_GPIOPORT_Type GPIOPORT[2]; /*!< (@ 0x000004C0) Unspecified */
  1103. __IM uint32_t RESERVED7[12];
  1104. __IOM SPU_FLASHNSC_Type FLASHNSC[2]; /*!< (@ 0x00000500) Unspecified */
  1105. __IM uint32_t RESERVED8[12];
  1106. __IOM SPU_RAMNSC_Type RAMNSC[2]; /*!< (@ 0x00000540) Unspecified */
  1107. __IM uint32_t RESERVED9[44];
  1108. __IOM SPU_FLASHREGION_Type FLASHREGION[64]; /*!< (@ 0x00000600) Unspecified */
  1109. __IOM SPU_RAMREGION_Type RAMREGION[64]; /*!< (@ 0x00000700) Unspecified */
  1110. __IOM SPU_PERIPHID_Type PERIPHID[256]; /*!< (@ 0x00000800) Unspecified */
  1111. } NRF_SPU_Type; /*!< Size = 3072 (0xc00) */
  1112. /* =========================================================================================================================== */
  1113. /* ================ OSCILLATORS_NS ================ */
  1114. /* =========================================================================================================================== */
  1115. /**
  1116. * @brief Oscillator control 0 (OSCILLATORS_NS)
  1117. */
  1118. typedef struct { /*!< (@ 0x40004000) OSCILLATORS_NS Structure */
  1119. __IM uint32_t RESERVED[369];
  1120. __IOM uint32_t XOSC32MCAPS; /*!< (@ 0x000005C4) Programmable capacitance of XC1 and XC2 */
  1121. __IM uint32_t RESERVED1[62];
  1122. __IOM OSCILLATORS_XOSC32KI_Type XOSC32KI; /*!< (@ 0x000006C0) Unspecified */
  1123. } NRF_OSCILLATORS_Type; /*!< Size = 1748 (0x6d4) */
  1124. /* =========================================================================================================================== */
  1125. /* ================ REGULATORS_NS ================ */
  1126. /* =========================================================================================================================== */
  1127. /**
  1128. * @brief Voltage regulators 0 (REGULATORS_NS)
  1129. */
  1130. typedef struct { /*!< (@ 0x40004000) REGULATORS_NS Structure */
  1131. __IM uint32_t RESERVED[266];
  1132. __IM uint32_t MAINREGSTATUS; /*!< (@ 0x00000428) Main supply status */
  1133. __IM uint32_t RESERVED1[53];
  1134. __OM uint32_t SYSTEMOFF; /*!< (@ 0x00000500) System OFF register */
  1135. __IM uint32_t RESERVED2[3];
  1136. __IOM uint32_t POFCON; /*!< (@ 0x00000510) Power-fail comparator configuration */
  1137. __IM uint32_t RESERVED3[124];
  1138. __IOM REGULATORS_VREGMAIN_Type VREGMAIN; /*!< (@ 0x00000704) Unspecified */
  1139. __IM uint32_t RESERVED4[126];
  1140. __IOM REGULATORS_VREGRADIO_Type VREGRADIO; /*!< (@ 0x00000900) Unspecified */
  1141. __IM uint32_t RESERVED5[126];
  1142. __IOM REGULATORS_VREGH_Type VREGH; /*!< (@ 0x00000B00) Unspecified */
  1143. } NRF_REGULATORS_Type; /*!< Size = 2820 (0xb04) */
  1144. /* =========================================================================================================================== */
  1145. /* ================ CLOCK_NS ================ */
  1146. /* =========================================================================================================================== */
  1147. /**
  1148. * @brief Clock management 0 (CLOCK_NS)
  1149. */
  1150. typedef struct { /*!< (@ 0x40005000) CLOCK_NS Structure */
  1151. __OM uint32_t TASKS_HFCLKSTART; /*!< (@ 0x00000000) Start HFCLK128M/HFCLK64M source as selected in
  1152. HFCLKSRC */
  1153. __OM uint32_t TASKS_HFCLKSTOP; /*!< (@ 0x00000004) Stop HFCLK128M/HFCLK64M source */
  1154. __OM uint32_t TASKS_LFCLKSTART; /*!< (@ 0x00000008) Start LFCLK source as selected in LFCLKSRC */
  1155. __OM uint32_t TASKS_LFCLKSTOP; /*!< (@ 0x0000000C) Stop LFCLK source */
  1156. __OM uint32_t TASKS_CAL; /*!< (@ 0x00000010) Start calibration of LFRC oscillator */
  1157. __IM uint32_t RESERVED;
  1158. __OM uint32_t TASKS_HFCLKAUDIOSTART; /*!< (@ 0x00000018) Start HFCLKAUDIO source */
  1159. __OM uint32_t TASKS_HFCLKAUDIOSTOP; /*!< (@ 0x0000001C) Stop HFCLKAUDIO source */
  1160. __OM uint32_t TASKS_HFCLK192MSTART; /*!< (@ 0x00000020) Start HFCLK192M source as selected in HFCLK192MSRC */
  1161. __OM uint32_t TASKS_HFCLK192MSTOP; /*!< (@ 0x00000024) Stop HFCLK192M source */
  1162. __IM uint32_t RESERVED1[22];
  1163. __IOM uint32_t SUBSCRIBE_HFCLKSTART; /*!< (@ 0x00000080) Subscribe configuration for task HFCLKSTART */
  1164. __IOM uint32_t SUBSCRIBE_HFCLKSTOP; /*!< (@ 0x00000084) Subscribe configuration for task HFCLKSTOP */
  1165. __IOM uint32_t SUBSCRIBE_LFCLKSTART; /*!< (@ 0x00000088) Subscribe configuration for task LFCLKSTART */
  1166. __IOM uint32_t SUBSCRIBE_LFCLKSTOP; /*!< (@ 0x0000008C) Subscribe configuration for task LFCLKSTOP */
  1167. __IOM uint32_t SUBSCRIBE_CAL; /*!< (@ 0x00000090) Subscribe configuration for task CAL */
  1168. __IM uint32_t RESERVED2;
  1169. __IOM uint32_t SUBSCRIBE_HFCLKAUDIOSTART; /*!< (@ 0x00000098) Subscribe configuration for task HFCLKAUDIOSTART */
  1170. __IOM uint32_t SUBSCRIBE_HFCLKAUDIOSTOP; /*!< (@ 0x0000009C) Subscribe configuration for task HFCLKAUDIOSTOP */
  1171. __IOM uint32_t SUBSCRIBE_HFCLK192MSTART; /*!< (@ 0x000000A0) Subscribe configuration for task HFCLK192MSTART */
  1172. __IOM uint32_t SUBSCRIBE_HFCLK192MSTOP; /*!< (@ 0x000000A4) Subscribe configuration for task HFCLK192MSTOP */
  1173. __IM uint32_t RESERVED3[22];
  1174. __IOM uint32_t EVENTS_HFCLKSTARTED; /*!< (@ 0x00000100) HFCLK128M/HFCLK64M source started */
  1175. __IOM uint32_t EVENTS_LFCLKSTARTED; /*!< (@ 0x00000104) LFCLK source started */
  1176. __IM uint32_t RESERVED4[5];
  1177. __IOM uint32_t EVENTS_DONE; /*!< (@ 0x0000011C) Calibration of LFRC oscillator complete event */
  1178. __IOM uint32_t EVENTS_HFCLKAUDIOSTARTED; /*!< (@ 0x00000120) HFCLKAUDIO source started */
  1179. __IOM uint32_t EVENTS_HFCLK192MSTARTED; /*!< (@ 0x00000124) HFCLK192M source started */
  1180. __IM uint32_t RESERVED5[22];
  1181. __IOM uint32_t PUBLISH_HFCLKSTARTED; /*!< (@ 0x00000180) Publish configuration for event HFCLKSTARTED */
  1182. __IOM uint32_t PUBLISH_LFCLKSTARTED; /*!< (@ 0x00000184) Publish configuration for event LFCLKSTARTED */
  1183. __IM uint32_t RESERVED6[5];
  1184. __IOM uint32_t PUBLISH_DONE; /*!< (@ 0x0000019C) Publish configuration for event DONE */
  1185. __IOM uint32_t PUBLISH_HFCLKAUDIOSTARTED; /*!< (@ 0x000001A0) Publish configuration for event HFCLKAUDIOSTARTED */
  1186. __IOM uint32_t PUBLISH_HFCLK192MSTARTED; /*!< (@ 0x000001A4) Publish configuration for event HFCLK192MSTARTED */
  1187. __IM uint32_t RESERVED7[86];
  1188. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  1189. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1190. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1191. __IM uint32_t INTPEND; /*!< (@ 0x0000030C) Pending interrupts */
  1192. __IM uint32_t RESERVED8[62];
  1193. __IM uint32_t HFCLKRUN; /*!< (@ 0x00000408) Status indicating that HFCLKSTART task has been
  1194. triggered */
  1195. __IM uint32_t HFCLKSTAT; /*!< (@ 0x0000040C) Status indicating which HFCLK128M/HFCLK64M source
  1196. is running This register value in any CLOCK
  1197. instance reflects status only due to configurations/action
  1198. in that CLOCK instance. */
  1199. __IM uint32_t RESERVED9;
  1200. __IM uint32_t LFCLKRUN; /*!< (@ 0x00000414) Status indicating that LFCLKSTART task has been
  1201. triggered */
  1202. __IM uint32_t LFCLKSTAT; /*!< (@ 0x00000418) Status indicating which LFCLK source is running
  1203. This register value in any CLOCK instance
  1204. reflects status only due to configurations/actions
  1205. in that CLOCK instance. */
  1206. __IM uint32_t LFCLKSRCCOPY; /*!< (@ 0x0000041C) Copy of LFCLKSRC register, set when LFCLKSTART
  1207. task was triggered */
  1208. __IM uint32_t RESERVED10[12];
  1209. __IM uint32_t HFCLKAUDIORUN; /*!< (@ 0x00000450) Status indicating that HFCLKAUDIOSTART task has
  1210. been triggered */
  1211. __IM uint32_t HFCLKAUDIOSTAT; /*!< (@ 0x00000454) Status indicating which HFCLKAUDIO source is
  1212. running */
  1213. __IM uint32_t HFCLK192MRUN; /*!< (@ 0x00000458) Status indicating that HFCLK192MSTART task has
  1214. been triggered */
  1215. __IM uint32_t HFCLK192MSTAT; /*!< (@ 0x0000045C) Status indicating which HFCLK192M source is running */
  1216. __IM uint32_t RESERVED11[45];
  1217. __IOM uint32_t HFCLKSRC; /*!< (@ 0x00000514) Clock source for HFCLK128M/HFCLK64M */
  1218. __IOM uint32_t LFCLKSRC; /*!< (@ 0x00000518) Clock source for LFCLK */
  1219. __IM uint32_t RESERVED12[15];
  1220. __IOM uint32_t HFCLKCTRL; /*!< (@ 0x00000558) HFCLK128M frequency configuration */
  1221. __IOM CLOCK_HFCLKAUDIO_Type HFCLKAUDIO; /*!< (@ 0x0000055C) Unspecified */
  1222. __IM uint32_t RESERVED13[4];
  1223. __IOM uint32_t HFCLKALWAYSRUN; /*!< (@ 0x00000570) Automatic or manual control of HFCLK128M/HFCLK64M */
  1224. __IOM uint32_t LFCLKALWAYSRUN; /*!< (@ 0x00000574) Automatic or manual control of LFCLK */
  1225. __IM uint32_t RESERVED14;
  1226. __IOM uint32_t HFCLKAUDIOALWAYSRUN; /*!< (@ 0x0000057C) Automatic or manual control of HFCLKAUDIO */
  1227. __IOM uint32_t HFCLK192MSRC; /*!< (@ 0x00000580) Clock source for HFCLK192M */
  1228. __IOM uint32_t HFCLK192MALWAYSRUN; /*!< (@ 0x00000584) Automatic or manual control of HFCLK192M */
  1229. __IM uint32_t RESERVED15[12];
  1230. __IOM uint32_t HFCLK192MCTRL; /*!< (@ 0x000005B8) HFCLK192M frequency configuration */
  1231. } NRF_CLOCK_Type; /*!< Size = 1468 (0x5bc) */
  1232. /* =========================================================================================================================== */
  1233. /* ================ POWER_NS ================ */
  1234. /* =========================================================================================================================== */
  1235. /**
  1236. * @brief Power control 0 (POWER_NS)
  1237. */
  1238. typedef struct { /*!< (@ 0x40005000) POWER_NS Structure */
  1239. __IM uint32_t RESERVED[30];
  1240. __OM uint32_t TASKS_CONSTLAT; /*!< (@ 0x00000078) Enable Constant Latency mode */
  1241. __OM uint32_t TASKS_LOWPWR; /*!< (@ 0x0000007C) Enable Low-Power mode (variable latency) */
  1242. __IM uint32_t RESERVED1[30];
  1243. __IOM uint32_t SUBSCRIBE_CONSTLAT; /*!< (@ 0x000000F8) Subscribe configuration for task CONSTLAT */
  1244. __IOM uint32_t SUBSCRIBE_LOWPWR; /*!< (@ 0x000000FC) Subscribe configuration for task LOWPWR */
  1245. __IM uint32_t RESERVED2[2];
  1246. __IOM uint32_t EVENTS_POFWARN; /*!< (@ 0x00000108) Power failure warning */
  1247. __IM uint32_t RESERVED3[2];
  1248. __IOM uint32_t EVENTS_SLEEPENTER; /*!< (@ 0x00000114) CPU entered WFI/WFE sleep */
  1249. __IOM uint32_t EVENTS_SLEEPEXIT; /*!< (@ 0x00000118) CPU exited WFI/WFE sleep */
  1250. __IM uint32_t RESERVED4[27];
  1251. __IOM uint32_t PUBLISH_POFWARN; /*!< (@ 0x00000188) Publish configuration for event POFWARN */
  1252. __IM uint32_t RESERVED5[2];
  1253. __IOM uint32_t PUBLISH_SLEEPENTER; /*!< (@ 0x00000194) Publish configuration for event SLEEPENTER */
  1254. __IOM uint32_t PUBLISH_SLEEPEXIT; /*!< (@ 0x00000198) Publish configuration for event SLEEPEXIT */
  1255. __IM uint32_t RESERVED6[89];
  1256. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  1257. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1258. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1259. __IM uint32_t RESERVED7[132];
  1260. __IOM uint32_t GPREGRET[2]; /*!< (@ 0x0000051C) Description collection: General purpose retention
  1261. register */
  1262. } NRF_POWER_Type; /*!< Size = 1316 (0x524) */
  1263. /* =========================================================================================================================== */
  1264. /* ================ RESET_NS ================ */
  1265. /* =========================================================================================================================== */
  1266. /**
  1267. * @brief Reset control 0 (RESET_NS)
  1268. */
  1269. typedef struct { /*!< (@ 0x40005000) RESET_NS Structure */
  1270. __IM uint32_t RESERVED[256];
  1271. __IOM uint32_t RESETREAS; /*!< (@ 0x00000400) Reset reason */
  1272. __IM uint32_t RESERVED1[131];
  1273. __IOM RESET_NETWORK_Type NETWORK; /*!< (@ 0x00000610) ULP network core control */
  1274. } NRF_RESET_Type; /*!< Size = 1560 (0x618) */
  1275. /* =========================================================================================================================== */
  1276. /* ================ CTRLAP_NS ================ */
  1277. /* =========================================================================================================================== */
  1278. /**
  1279. * @brief Control access port 0 (CTRLAP_NS)
  1280. */
  1281. typedef struct { /*!< (@ 0x40006000) CTRLAP_NS Structure */
  1282. __IM uint32_t RESERVED[256];
  1283. __IOM CTRLAPPERI_MAILBOX_Type MAILBOX; /*!< (@ 0x00000400) Unspecified */
  1284. __IM uint32_t RESERVED1[30];
  1285. __IOM CTRLAPPERI_ERASEPROTECT_Type ERASEPROTECT;/*!< (@ 0x00000500) Unspecified */
  1286. __IM uint32_t RESERVED2[14];
  1287. __IOM CTRLAPPERI_APPROTECT_Type APPROTECT; /*!< (@ 0x00000540) Unspecified */
  1288. __IOM CTRLAPPERI_SECUREAPPROTECT_Type SECUREAPPROTECT;/*!< (@ 0x00000548) Unspecified */
  1289. __IM uint32_t RESERVED3[44];
  1290. __IM uint32_t STATUS; /*!< (@ 0x00000600) Status bits for CTRL-AP peripheral */
  1291. } NRF_CTRLAPPERI_Type; /*!< Size = 1540 (0x604) */
  1292. /* =========================================================================================================================== */
  1293. /* ================ SPIM0_NS ================ */
  1294. /* =========================================================================================================================== */
  1295. /**
  1296. * @brief Serial Peripheral Interface Master with EasyDMA 0 (SPIM0_NS)
  1297. */
  1298. typedef struct { /*!< (@ 0x40008000) SPIM0_NS Structure */
  1299. __IM uint32_t RESERVED[4];
  1300. __OM uint32_t TASKS_START; /*!< (@ 0x00000010) Start SPI transaction */
  1301. __OM uint32_t TASKS_STOP; /*!< (@ 0x00000014) Stop SPI transaction */
  1302. __IM uint32_t RESERVED1;
  1303. __OM uint32_t TASKS_SUSPEND; /*!< (@ 0x0000001C) Suspend SPI transaction */
  1304. __OM uint32_t TASKS_RESUME; /*!< (@ 0x00000020) Resume SPI transaction */
  1305. __IM uint32_t RESERVED2[27];
  1306. __IOM uint32_t SUBSCRIBE_START; /*!< (@ 0x00000090) Subscribe configuration for task START */
  1307. __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000094) Subscribe configuration for task STOP */
  1308. __IM uint32_t RESERVED3;
  1309. __IOM uint32_t SUBSCRIBE_SUSPEND; /*!< (@ 0x0000009C) Subscribe configuration for task SUSPEND */
  1310. __IOM uint32_t SUBSCRIBE_RESUME; /*!< (@ 0x000000A0) Subscribe configuration for task RESUME */
  1311. __IM uint32_t RESERVED4[24];
  1312. __IOM uint32_t EVENTS_STOPPED; /*!< (@ 0x00000104) SPI transaction has stopped */
  1313. __IM uint32_t RESERVED5[2];
  1314. __IOM uint32_t EVENTS_ENDRX; /*!< (@ 0x00000110) End of RXD buffer reached */
  1315. __IM uint32_t RESERVED6;
  1316. __IOM uint32_t EVENTS_END; /*!< (@ 0x00000118) End of RXD buffer and TXD buffer reached */
  1317. __IM uint32_t RESERVED7;
  1318. __IOM uint32_t EVENTS_ENDTX; /*!< (@ 0x00000120) End of TXD buffer reached */
  1319. __IM uint32_t RESERVED8[10];
  1320. __IOM uint32_t EVENTS_STARTED; /*!< (@ 0x0000014C) Transaction started */
  1321. __IM uint32_t RESERVED9[13];
  1322. __IOM uint32_t PUBLISH_STOPPED; /*!< (@ 0x00000184) Publish configuration for event STOPPED */
  1323. __IM uint32_t RESERVED10[2];
  1324. __IOM uint32_t PUBLISH_ENDRX; /*!< (@ 0x00000190) Publish configuration for event ENDRX */
  1325. __IM uint32_t RESERVED11;
  1326. __IOM uint32_t PUBLISH_END; /*!< (@ 0x00000198) Publish configuration for event END */
  1327. __IM uint32_t RESERVED12;
  1328. __IOM uint32_t PUBLISH_ENDTX; /*!< (@ 0x000001A0) Publish configuration for event ENDTX */
  1329. __IM uint32_t RESERVED13[10];
  1330. __IOM uint32_t PUBLISH_STARTED; /*!< (@ 0x000001CC) Publish configuration for event STARTED */
  1331. __IM uint32_t RESERVED14[12];
  1332. __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
  1333. __IM uint32_t RESERVED15[64];
  1334. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1335. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1336. __IM uint32_t RESERVED16[61];
  1337. __IOM uint32_t STALLSTAT; /*!< (@ 0x00000400) Stall status for EasyDMA RAM accesses. The fields
  1338. in this register is set to STALL by hardware
  1339. whenever a stall occurres and can be cleared
  1340. (set to NOSTALL) by the CPU. */
  1341. __IM uint32_t RESERVED17[63];
  1342. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable SPIM */
  1343. __IM uint32_t RESERVED18;
  1344. __IOM SPIM_PSEL_Type PSEL; /*!< (@ 0x00000508) Unspecified */
  1345. __IM uint32_t RESERVED19[3];
  1346. __IOM uint32_t FREQUENCY; /*!< (@ 0x00000524) SPI frequency. Accuracy depends on the HFCLK
  1347. source selected. */
  1348. __IM uint32_t RESERVED20[3];
  1349. __IOM SPIM_RXD_Type RXD; /*!< (@ 0x00000534) RXD EasyDMA channel */
  1350. __IOM SPIM_TXD_Type TXD; /*!< (@ 0x00000544) TXD EasyDMA channel */
  1351. __IOM uint32_t CONFIG; /*!< (@ 0x00000554) Configuration register */
  1352. __IM uint32_t RESERVED21[2];
  1353. __IOM SPIM_IFTIMING_Type IFTIMING; /*!< (@ 0x00000560) Unspecified */
  1354. __IOM uint32_t CSNPOL; /*!< (@ 0x00000568) Polarity of CSN output */
  1355. __IOM uint32_t PSELDCX; /*!< (@ 0x0000056C) Pin select for DCX signal */
  1356. __IOM uint32_t DCXCNT; /*!< (@ 0x00000570) DCX configuration */
  1357. __IM uint32_t RESERVED22[19];
  1358. __IOM uint32_t ORC; /*!< (@ 0x000005C0) Byte transmitted after TXD.MAXCNT bytes have
  1359. been transmitted in the case when RXD.MAXCNT
  1360. is greater than TXD.MAXCNT */
  1361. } NRF_SPIM_Type; /*!< Size = 1476 (0x5c4) */
  1362. /* =========================================================================================================================== */
  1363. /* ================ SPIS0_NS ================ */
  1364. /* =========================================================================================================================== */
  1365. /**
  1366. * @brief SPI Slave 0 (SPIS0_NS)
  1367. */
  1368. typedef struct { /*!< (@ 0x40008000) SPIS0_NS Structure */
  1369. __IM uint32_t RESERVED[9];
  1370. __OM uint32_t TASKS_ACQUIRE; /*!< (@ 0x00000024) Acquire SPI semaphore */
  1371. __OM uint32_t TASKS_RELEASE; /*!< (@ 0x00000028) Release SPI semaphore, enabling the SPI slave
  1372. to acquire it */
  1373. __IM uint32_t RESERVED1[30];
  1374. __IOM uint32_t SUBSCRIBE_ACQUIRE; /*!< (@ 0x000000A4) Subscribe configuration for task ACQUIRE */
  1375. __IOM uint32_t SUBSCRIBE_RELEASE; /*!< (@ 0x000000A8) Subscribe configuration for task RELEASE */
  1376. __IM uint32_t RESERVED2[22];
  1377. __IOM uint32_t EVENTS_END; /*!< (@ 0x00000104) Granted transaction completed */
  1378. __IM uint32_t RESERVED3[2];
  1379. __IOM uint32_t EVENTS_ENDRX; /*!< (@ 0x00000110) End of RXD buffer reached */
  1380. __IM uint32_t RESERVED4[5];
  1381. __IOM uint32_t EVENTS_ACQUIRED; /*!< (@ 0x00000128) Semaphore acquired */
  1382. __IM uint32_t RESERVED5[22];
  1383. __IOM uint32_t PUBLISH_END; /*!< (@ 0x00000184) Publish configuration for event END */
  1384. __IM uint32_t RESERVED6[2];
  1385. __IOM uint32_t PUBLISH_ENDRX; /*!< (@ 0x00000190) Publish configuration for event ENDRX */
  1386. __IM uint32_t RESERVED7[5];
  1387. __IOM uint32_t PUBLISH_ACQUIRED; /*!< (@ 0x000001A8) Publish configuration for event ACQUIRED */
  1388. __IM uint32_t RESERVED8[21];
  1389. __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
  1390. __IM uint32_t RESERVED9[64];
  1391. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1392. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1393. __IM uint32_t RESERVED10[61];
  1394. __IM uint32_t SEMSTAT; /*!< (@ 0x00000400) Semaphore status register */
  1395. __IM uint32_t RESERVED11[15];
  1396. __IOM uint32_t STATUS; /*!< (@ 0x00000440) Status from last transaction */
  1397. __IM uint32_t RESERVED12[47];
  1398. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable SPI slave */
  1399. __IM uint32_t RESERVED13;
  1400. __IOM SPIS_PSEL_Type PSEL; /*!< (@ 0x00000508) Unspecified */
  1401. __IM uint32_t RESERVED14[7];
  1402. __IOM SPIS_RXD_Type RXD; /*!< (@ 0x00000534) Unspecified */
  1403. __IOM SPIS_TXD_Type TXD; /*!< (@ 0x00000544) Unspecified */
  1404. __IOM uint32_t CONFIG; /*!< (@ 0x00000554) Configuration register */
  1405. __IM uint32_t RESERVED15;
  1406. __IOM uint32_t DEF; /*!< (@ 0x0000055C) Default character. Character clocked out in case
  1407. of an ignored transaction. */
  1408. __IM uint32_t RESERVED16[24];
  1409. __IOM uint32_t ORC; /*!< (@ 0x000005C0) Over-read character */
  1410. } NRF_SPIS_Type; /*!< Size = 1476 (0x5c4) */
  1411. /* =========================================================================================================================== */
  1412. /* ================ TWIM0_NS ================ */
  1413. /* =========================================================================================================================== */
  1414. /**
  1415. * @brief I2C compatible Two-Wire Master Interface with EasyDMA 0 (TWIM0_NS)
  1416. */
  1417. typedef struct { /*!< (@ 0x40008000) TWIM0_NS Structure */
  1418. __OM uint32_t TASKS_STARTRX; /*!< (@ 0x00000000) Start TWI receive sequence */
  1419. __IM uint32_t RESERVED;
  1420. __OM uint32_t TASKS_STARTTX; /*!< (@ 0x00000008) Start TWI transmit sequence */
  1421. __IM uint32_t RESERVED1[2];
  1422. __OM uint32_t TASKS_STOP; /*!< (@ 0x00000014) Stop TWI transaction. Must be issued while the
  1423. TWI master is not suspended. */
  1424. __IM uint32_t RESERVED2;
  1425. __OM uint32_t TASKS_SUSPEND; /*!< (@ 0x0000001C) Suspend TWI transaction */
  1426. __OM uint32_t TASKS_RESUME; /*!< (@ 0x00000020) Resume TWI transaction */
  1427. __IM uint32_t RESERVED3[23];
  1428. __IOM uint32_t SUBSCRIBE_STARTRX; /*!< (@ 0x00000080) Subscribe configuration for task STARTRX */
  1429. __IM uint32_t RESERVED4;
  1430. __IOM uint32_t SUBSCRIBE_STARTTX; /*!< (@ 0x00000088) Subscribe configuration for task STARTTX */
  1431. __IM uint32_t RESERVED5[2];
  1432. __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000094) Subscribe configuration for task STOP */
  1433. __IM uint32_t RESERVED6;
  1434. __IOM uint32_t SUBSCRIBE_SUSPEND; /*!< (@ 0x0000009C) Subscribe configuration for task SUSPEND */
  1435. __IOM uint32_t SUBSCRIBE_RESUME; /*!< (@ 0x000000A0) Subscribe configuration for task RESUME */
  1436. __IM uint32_t RESERVED7[24];
  1437. __IOM uint32_t EVENTS_STOPPED; /*!< (@ 0x00000104) TWI stopped */
  1438. __IM uint32_t RESERVED8[7];
  1439. __IOM uint32_t EVENTS_ERROR; /*!< (@ 0x00000124) TWI error */
  1440. __IM uint32_t RESERVED9[8];
  1441. __IOM uint32_t EVENTS_SUSPENDED; /*!< (@ 0x00000148) SUSPEND task has been issued, TWI traffic is
  1442. now suspended. */
  1443. __IOM uint32_t EVENTS_RXSTARTED; /*!< (@ 0x0000014C) Receive sequence started */
  1444. __IOM uint32_t EVENTS_TXSTARTED; /*!< (@ 0x00000150) Transmit sequence started */
  1445. __IM uint32_t RESERVED10[2];
  1446. __IOM uint32_t EVENTS_LASTRX; /*!< (@ 0x0000015C) Byte boundary, starting to receive the last byte */
  1447. __IOM uint32_t EVENTS_LASTTX; /*!< (@ 0x00000160) Byte boundary, starting to transmit the last
  1448. byte */
  1449. __IM uint32_t RESERVED11[8];
  1450. __IOM uint32_t PUBLISH_STOPPED; /*!< (@ 0x00000184) Publish configuration for event STOPPED */
  1451. __IM uint32_t RESERVED12[7];
  1452. __IOM uint32_t PUBLISH_ERROR; /*!< (@ 0x000001A4) Publish configuration for event ERROR */
  1453. __IM uint32_t RESERVED13[8];
  1454. __IOM uint32_t PUBLISH_SUSPENDED; /*!< (@ 0x000001C8) Publish configuration for event SUSPENDED */
  1455. __IOM uint32_t PUBLISH_RXSTARTED; /*!< (@ 0x000001CC) Publish configuration for event RXSTARTED */
  1456. __IOM uint32_t PUBLISH_TXSTARTED; /*!< (@ 0x000001D0) Publish configuration for event TXSTARTED */
  1457. __IM uint32_t RESERVED14[2];
  1458. __IOM uint32_t PUBLISH_LASTRX; /*!< (@ 0x000001DC) Publish configuration for event LASTRX */
  1459. __IOM uint32_t PUBLISH_LASTTX; /*!< (@ 0x000001E0) Publish configuration for event LASTTX */
  1460. __IM uint32_t RESERVED15[7];
  1461. __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
  1462. __IM uint32_t RESERVED16[63];
  1463. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  1464. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1465. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1466. __IM uint32_t RESERVED17[110];
  1467. __IOM uint32_t ERRORSRC; /*!< (@ 0x000004C4) Error source */
  1468. __IM uint32_t RESERVED18[14];
  1469. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable TWIM */
  1470. __IM uint32_t RESERVED19;
  1471. __IOM TWIM_PSEL_Type PSEL; /*!< (@ 0x00000508) Unspecified */
  1472. __IM uint32_t RESERVED20[5];
  1473. __IOM uint32_t FREQUENCY; /*!< (@ 0x00000524) TWI frequency. Accuracy depends on the HFCLK
  1474. source selected. */
  1475. __IM uint32_t RESERVED21[3];
  1476. __IOM TWIM_RXD_Type RXD; /*!< (@ 0x00000534) RXD EasyDMA channel */
  1477. __IOM TWIM_TXD_Type TXD; /*!< (@ 0x00000544) TXD EasyDMA channel */
  1478. __IM uint32_t RESERVED22[13];
  1479. __IOM uint32_t ADDRESS; /*!< (@ 0x00000588) Address used in the TWI transfer */
  1480. } NRF_TWIM_Type; /*!< Size = 1420 (0x58c) */
  1481. /* =========================================================================================================================== */
  1482. /* ================ TWIS0_NS ================ */
  1483. /* =========================================================================================================================== */
  1484. /**
  1485. * @brief I2C compatible Two-Wire Slave Interface with EasyDMA 0 (TWIS0_NS)
  1486. */
  1487. typedef struct { /*!< (@ 0x40008000) TWIS0_NS Structure */
  1488. __IM uint32_t RESERVED[5];
  1489. __OM uint32_t TASKS_STOP; /*!< (@ 0x00000014) Stop TWI transaction */
  1490. __IM uint32_t RESERVED1;
  1491. __OM uint32_t TASKS_SUSPEND; /*!< (@ 0x0000001C) Suspend TWI transaction */
  1492. __OM uint32_t TASKS_RESUME; /*!< (@ 0x00000020) Resume TWI transaction */
  1493. __IM uint32_t RESERVED2[3];
  1494. __OM uint32_t TASKS_PREPARERX; /*!< (@ 0x00000030) Prepare the TWI slave to respond to a write command */
  1495. __OM uint32_t TASKS_PREPARETX; /*!< (@ 0x00000034) Prepare the TWI slave to respond to a read command */
  1496. __IM uint32_t RESERVED3[23];
  1497. __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000094) Subscribe configuration for task STOP */
  1498. __IM uint32_t RESERVED4;
  1499. __IOM uint32_t SUBSCRIBE_SUSPEND; /*!< (@ 0x0000009C) Subscribe configuration for task SUSPEND */
  1500. __IOM uint32_t SUBSCRIBE_RESUME; /*!< (@ 0x000000A0) Subscribe configuration for task RESUME */
  1501. __IM uint32_t RESERVED5[3];
  1502. __IOM uint32_t SUBSCRIBE_PREPARERX; /*!< (@ 0x000000B0) Subscribe configuration for task PREPARERX */
  1503. __IOM uint32_t SUBSCRIBE_PREPARETX; /*!< (@ 0x000000B4) Subscribe configuration for task PREPARETX */
  1504. __IM uint32_t RESERVED6[19];
  1505. __IOM uint32_t EVENTS_STOPPED; /*!< (@ 0x00000104) TWI stopped */
  1506. __IM uint32_t RESERVED7[7];
  1507. __IOM uint32_t EVENTS_ERROR; /*!< (@ 0x00000124) TWI error */
  1508. __IM uint32_t RESERVED8[9];
  1509. __IOM uint32_t EVENTS_RXSTARTED; /*!< (@ 0x0000014C) Receive sequence started */
  1510. __IOM uint32_t EVENTS_TXSTARTED; /*!< (@ 0x00000150) Transmit sequence started */
  1511. __IM uint32_t RESERVED9[4];
  1512. __IOM uint32_t EVENTS_WRITE; /*!< (@ 0x00000164) Write command received */
  1513. __IOM uint32_t EVENTS_READ; /*!< (@ 0x00000168) Read command received */
  1514. __IM uint32_t RESERVED10[6];
  1515. __IOM uint32_t PUBLISH_STOPPED; /*!< (@ 0x00000184) Publish configuration for event STOPPED */
  1516. __IM uint32_t RESERVED11[7];
  1517. __IOM uint32_t PUBLISH_ERROR; /*!< (@ 0x000001A4) Publish configuration for event ERROR */
  1518. __IM uint32_t RESERVED12[9];
  1519. __IOM uint32_t PUBLISH_RXSTARTED; /*!< (@ 0x000001CC) Publish configuration for event RXSTARTED */
  1520. __IOM uint32_t PUBLISH_TXSTARTED; /*!< (@ 0x000001D0) Publish configuration for event TXSTARTED */
  1521. __IM uint32_t RESERVED13[4];
  1522. __IOM uint32_t PUBLISH_WRITE; /*!< (@ 0x000001E4) Publish configuration for event WRITE */
  1523. __IOM uint32_t PUBLISH_READ; /*!< (@ 0x000001E8) Publish configuration for event READ */
  1524. __IM uint32_t RESERVED14[5];
  1525. __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
  1526. __IM uint32_t RESERVED15[63];
  1527. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  1528. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1529. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1530. __IM uint32_t RESERVED16[113];
  1531. __IOM uint32_t ERRORSRC; /*!< (@ 0x000004D0) Error source */
  1532. __IM uint32_t MATCH; /*!< (@ 0x000004D4) Status register indicating which address had
  1533. a match */
  1534. __IM uint32_t RESERVED17[10];
  1535. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable TWIS */
  1536. __IM uint32_t RESERVED18;
  1537. __IOM TWIS_PSEL_Type PSEL; /*!< (@ 0x00000508) Unspecified */
  1538. __IM uint32_t RESERVED19[9];
  1539. __IOM TWIS_RXD_Type RXD; /*!< (@ 0x00000534) RXD EasyDMA channel */
  1540. __IOM TWIS_TXD_Type TXD; /*!< (@ 0x00000544) TXD EasyDMA channel */
  1541. __IM uint32_t RESERVED20[13];
  1542. __IOM uint32_t ADDRESS[2]; /*!< (@ 0x00000588) Description collection: TWI slave address n */
  1543. __IM uint32_t RESERVED21;
  1544. __IOM uint32_t CONFIG; /*!< (@ 0x00000594) Configuration register for the address match
  1545. mechanism */
  1546. __IM uint32_t RESERVED22[10];
  1547. __IOM uint32_t ORC; /*!< (@ 0x000005C0) Over-read character. Character sent out in case
  1548. of an over-read of the transmit buffer. */
  1549. } NRF_TWIS_Type; /*!< Size = 1476 (0x5c4) */
  1550. /* =========================================================================================================================== */
  1551. /* ================ UARTE0_NS ================ */
  1552. /* =========================================================================================================================== */
  1553. /**
  1554. * @brief UART with EasyDMA 0 (UARTE0_NS)
  1555. */
  1556. typedef struct { /*!< (@ 0x40008000) UARTE0_NS Structure */
  1557. __OM uint32_t TASKS_STARTRX; /*!< (@ 0x00000000) Start UART receiver */
  1558. __OM uint32_t TASKS_STOPRX; /*!< (@ 0x00000004) Stop UART receiver */
  1559. __OM uint32_t TASKS_STARTTX; /*!< (@ 0x00000008) Start UART transmitter */
  1560. __OM uint32_t TASKS_STOPTX; /*!< (@ 0x0000000C) Stop UART transmitter */
  1561. __IM uint32_t RESERVED[7];
  1562. __OM uint32_t TASKS_FLUSHRX; /*!< (@ 0x0000002C) Flush RX FIFO into RX buffer */
  1563. __IM uint32_t RESERVED1[20];
  1564. __IOM uint32_t SUBSCRIBE_STARTRX; /*!< (@ 0x00000080) Subscribe configuration for task STARTRX */
  1565. __IOM uint32_t SUBSCRIBE_STOPRX; /*!< (@ 0x00000084) Subscribe configuration for task STOPRX */
  1566. __IOM uint32_t SUBSCRIBE_STARTTX; /*!< (@ 0x00000088) Subscribe configuration for task STARTTX */
  1567. __IOM uint32_t SUBSCRIBE_STOPTX; /*!< (@ 0x0000008C) Subscribe configuration for task STOPTX */
  1568. __IM uint32_t RESERVED2[7];
  1569. __IOM uint32_t SUBSCRIBE_FLUSHRX; /*!< (@ 0x000000AC) Subscribe configuration for task FLUSHRX */
  1570. __IM uint32_t RESERVED3[20];
  1571. __IOM uint32_t EVENTS_CTS; /*!< (@ 0x00000100) CTS is activated (set low). Clear To Send. */
  1572. __IOM uint32_t EVENTS_NCTS; /*!< (@ 0x00000104) CTS is deactivated (set high). Not Clear To Send. */
  1573. __IOM uint32_t EVENTS_RXDRDY; /*!< (@ 0x00000108) Data received in RXD (but potentially not yet
  1574. transferred to Data RAM) */
  1575. __IM uint32_t RESERVED4;
  1576. __IOM uint32_t EVENTS_ENDRX; /*!< (@ 0x00000110) Receive buffer is filled up */
  1577. __IM uint32_t RESERVED5[2];
  1578. __IOM uint32_t EVENTS_TXDRDY; /*!< (@ 0x0000011C) Data sent from TXD */
  1579. __IOM uint32_t EVENTS_ENDTX; /*!< (@ 0x00000120) Last TX byte transmitted */
  1580. __IOM uint32_t EVENTS_ERROR; /*!< (@ 0x00000124) Error detected */
  1581. __IM uint32_t RESERVED6[7];
  1582. __IOM uint32_t EVENTS_RXTO; /*!< (@ 0x00000144) Receiver timeout */
  1583. __IM uint32_t RESERVED7;
  1584. __IOM uint32_t EVENTS_RXSTARTED; /*!< (@ 0x0000014C) UART receiver has started */
  1585. __IOM uint32_t EVENTS_TXSTARTED; /*!< (@ 0x00000150) UART transmitter has started */
  1586. __IM uint32_t RESERVED8;
  1587. __IOM uint32_t EVENTS_TXSTOPPED; /*!< (@ 0x00000158) Transmitter stopped */
  1588. __IM uint32_t RESERVED9[9];
  1589. __IOM uint32_t PUBLISH_CTS; /*!< (@ 0x00000180) Publish configuration for event CTS */
  1590. __IOM uint32_t PUBLISH_NCTS; /*!< (@ 0x00000184) Publish configuration for event NCTS */
  1591. __IOM uint32_t PUBLISH_RXDRDY; /*!< (@ 0x00000188) Publish configuration for event RXDRDY */
  1592. __IM uint32_t RESERVED10;
  1593. __IOM uint32_t PUBLISH_ENDRX; /*!< (@ 0x00000190) Publish configuration for event ENDRX */
  1594. __IM uint32_t RESERVED11[2];
  1595. __IOM uint32_t PUBLISH_TXDRDY; /*!< (@ 0x0000019C) Publish configuration for event TXDRDY */
  1596. __IOM uint32_t PUBLISH_ENDTX; /*!< (@ 0x000001A0) Publish configuration for event ENDTX */
  1597. __IOM uint32_t PUBLISH_ERROR; /*!< (@ 0x000001A4) Publish configuration for event ERROR */
  1598. __IM uint32_t RESERVED12[7];
  1599. __IOM uint32_t PUBLISH_RXTO; /*!< (@ 0x000001C4) Publish configuration for event RXTO */
  1600. __IM uint32_t RESERVED13;
  1601. __IOM uint32_t PUBLISH_RXSTARTED; /*!< (@ 0x000001CC) Publish configuration for event RXSTARTED */
  1602. __IOM uint32_t PUBLISH_TXSTARTED; /*!< (@ 0x000001D0) Publish configuration for event TXSTARTED */
  1603. __IM uint32_t RESERVED14;
  1604. __IOM uint32_t PUBLISH_TXSTOPPED; /*!< (@ 0x000001D8) Publish configuration for event TXSTOPPED */
  1605. __IM uint32_t RESERVED15[9];
  1606. __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
  1607. __IM uint32_t RESERVED16[63];
  1608. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  1609. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1610. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1611. __IM uint32_t RESERVED17[93];
  1612. __IOM uint32_t ERRORSRC; /*!< (@ 0x00000480) Error source Note : this register is read / write
  1613. one to clear. */
  1614. __IM uint32_t RESERVED18[31];
  1615. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable UART */
  1616. __IM uint32_t RESERVED19;
  1617. __IOM UARTE_PSEL_Type PSEL; /*!< (@ 0x00000508) Unspecified */
  1618. __IM uint32_t RESERVED20[3];
  1619. __IOM uint32_t BAUDRATE; /*!< (@ 0x00000524) Baud rate. Accuracy depends on the HFCLK source
  1620. selected. */
  1621. __IM uint32_t RESERVED21[3];
  1622. __IOM UARTE_RXD_Type RXD; /*!< (@ 0x00000534) RXD EasyDMA channel */
  1623. __IM uint32_t RESERVED22;
  1624. __IOM UARTE_TXD_Type TXD; /*!< (@ 0x00000544) TXD EasyDMA channel */
  1625. __IM uint32_t RESERVED23[7];
  1626. __IOM uint32_t CONFIG; /*!< (@ 0x0000056C) Configuration of parity and hardware flow control */
  1627. } NRF_UARTE_Type; /*!< Size = 1392 (0x570) */
  1628. /* =========================================================================================================================== */
  1629. /* ================ GPIOTE0_S ================ */
  1630. /* =========================================================================================================================== */
  1631. /**
  1632. * @brief GPIO Tasks and Events 0 (GPIOTE0_S)
  1633. */
  1634. typedef struct { /*!< (@ 0x5000D000) GPIOTE0_S Structure */
  1635. __OM uint32_t TASKS_OUT[8]; /*!< (@ 0x00000000) Description collection: Task for writing to pin
  1636. specified in CONFIG[n].PSEL. Action on pin
  1637. is configured in CONFIG[n].POLARITY. */
  1638. __IM uint32_t RESERVED[4];
  1639. __OM uint32_t TASKS_SET[8]; /*!< (@ 0x00000030) Description collection: Task for writing to pin
  1640. specified in CONFIG[n].PSEL. Action on pin
  1641. is to set it high. */
  1642. __IM uint32_t RESERVED1[4];
  1643. __OM uint32_t TASKS_CLR[8]; /*!< (@ 0x00000060) Description collection: Task for writing to pin
  1644. specified in CONFIG[n].PSEL. Action on pin
  1645. is to set it low. */
  1646. __IOM uint32_t SUBSCRIBE_OUT[8]; /*!< (@ 0x00000080) Description collection: Subscribe configuration
  1647. for task OUT[n] */
  1648. __IM uint32_t RESERVED2[4];
  1649. __IOM uint32_t SUBSCRIBE_SET[8]; /*!< (@ 0x000000B0) Description collection: Subscribe configuration
  1650. for task SET[n] */
  1651. __IM uint32_t RESERVED3[4];
  1652. __IOM uint32_t SUBSCRIBE_CLR[8]; /*!< (@ 0x000000E0) Description collection: Subscribe configuration
  1653. for task CLR[n] */
  1654. __IOM uint32_t EVENTS_IN[8]; /*!< (@ 0x00000100) Description collection: Event generated from
  1655. pin specified in CONFIG[n].PSEL */
  1656. __IM uint32_t RESERVED4[23];
  1657. __IOM uint32_t EVENTS_PORT; /*!< (@ 0x0000017C) Event generated from multiple input GPIO pins
  1658. with SENSE mechanism enabled */
  1659. __IOM uint32_t PUBLISH_IN[8]; /*!< (@ 0x00000180) Description collection: Publish configuration
  1660. for event IN[n] */
  1661. __IM uint32_t RESERVED5[23];
  1662. __IOM uint32_t PUBLISH_PORT; /*!< (@ 0x000001FC) Publish configuration for event PORT */
  1663. __IM uint32_t RESERVED6[65];
  1664. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1665. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1666. __IM uint32_t RESERVED7[126];
  1667. __IOM uint32_t LATENCY; /*!< (@ 0x00000504) Latency selection for Event mode (MODE=Event)
  1668. with rising or falling edge detection on
  1669. the pin. */
  1670. __IM uint32_t RESERVED8[2];
  1671. __IOM uint32_t CONFIG[8]; /*!< (@ 0x00000510) Description collection: Configuration for OUT[n],
  1672. SET[n], and CLR[n] tasks and IN[n] event */
  1673. } NRF_GPIOTE_Type; /*!< Size = 1328 (0x530) */
  1674. /* =========================================================================================================================== */
  1675. /* ================ SAADC_NS ================ */
  1676. /* =========================================================================================================================== */
  1677. /**
  1678. * @brief Analog to Digital Converter 0 (SAADC_NS)
  1679. */
  1680. typedef struct { /*!< (@ 0x4000E000) SAADC_NS Structure */
  1681. __OM uint32_t TASKS_START; /*!< (@ 0x00000000) Start the ADC and prepare the result buffer in
  1682. RAM */
  1683. __OM uint32_t TASKS_SAMPLE; /*!< (@ 0x00000004) Take one ADC sample, if scan is enabled all channels
  1684. are sampled */
  1685. __OM uint32_t TASKS_STOP; /*!< (@ 0x00000008) Stop the ADC and terminate any on-going conversion */
  1686. __OM uint32_t TASKS_CALIBRATEOFFSET; /*!< (@ 0x0000000C) Starts offset auto-calibration */
  1687. __IM uint32_t RESERVED[28];
  1688. __IOM uint32_t SUBSCRIBE_START; /*!< (@ 0x00000080) Subscribe configuration for task START */
  1689. __IOM uint32_t SUBSCRIBE_SAMPLE; /*!< (@ 0x00000084) Subscribe configuration for task SAMPLE */
  1690. __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000088) Subscribe configuration for task STOP */
  1691. __IOM uint32_t SUBSCRIBE_CALIBRATEOFFSET; /*!< (@ 0x0000008C) Subscribe configuration for task CALIBRATEOFFSET */
  1692. __IM uint32_t RESERVED1[28];
  1693. __IOM uint32_t EVENTS_STARTED; /*!< (@ 0x00000100) The ADC has started */
  1694. __IOM uint32_t EVENTS_END; /*!< (@ 0x00000104) The ADC has filled up the Result buffer */
  1695. __IOM uint32_t EVENTS_DONE; /*!< (@ 0x00000108) A conversion task has been completed. Depending
  1696. on the mode, multiple conversions might
  1697. be needed for a result to be transferred
  1698. to RAM. */
  1699. __IOM uint32_t EVENTS_RESULTDONE; /*!< (@ 0x0000010C) A result is ready to get transferred to RAM. */
  1700. __IOM uint32_t EVENTS_CALIBRATEDONE; /*!< (@ 0x00000110) Calibration is complete */
  1701. __IOM uint32_t EVENTS_STOPPED; /*!< (@ 0x00000114) The ADC has stopped */
  1702. __IOM SAADC_EVENTS_CH_Type EVENTS_CH[8]; /*!< (@ 0x00000118) Peripheral events. */
  1703. __IM uint32_t RESERVED2[10];
  1704. __IOM uint32_t PUBLISH_STARTED; /*!< (@ 0x00000180) Publish configuration for event STARTED */
  1705. __IOM uint32_t PUBLISH_END; /*!< (@ 0x00000184) Publish configuration for event END */
  1706. __IOM uint32_t PUBLISH_DONE; /*!< (@ 0x00000188) Publish configuration for event DONE */
  1707. __IOM uint32_t PUBLISH_RESULTDONE; /*!< (@ 0x0000018C) Publish configuration for event RESULTDONE */
  1708. __IOM uint32_t PUBLISH_CALIBRATEDONE; /*!< (@ 0x00000190) Publish configuration for event CALIBRATEDONE */
  1709. __IOM uint32_t PUBLISH_STOPPED; /*!< (@ 0x00000194) Publish configuration for event STOPPED */
  1710. __IOM SAADC_PUBLISH_CH_Type PUBLISH_CH[8]; /*!< (@ 0x00000198) Publish configuration for events */
  1711. __IM uint32_t RESERVED3[74];
  1712. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  1713. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1714. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1715. __IM uint32_t RESERVED4[61];
  1716. __IM uint32_t STATUS; /*!< (@ 0x00000400) Status */
  1717. __IM uint32_t RESERVED5[63];
  1718. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable or disable ADC */
  1719. __IM uint32_t RESERVED6[3];
  1720. __IOM SAADC_CH_Type CH[8]; /*!< (@ 0x00000510) Unspecified */
  1721. __IM uint32_t RESERVED7[24];
  1722. __IOM uint32_t RESOLUTION; /*!< (@ 0x000005F0) Resolution configuration */
  1723. __IOM uint32_t OVERSAMPLE; /*!< (@ 0x000005F4) Oversampling configuration. OVERSAMPLE should
  1724. not be combined with SCAN. The RESOLUTION
  1725. is applied before averaging, thus for high
  1726. OVERSAMPLE a higher RESOLUTION should be
  1727. used. */
  1728. __IOM uint32_t SAMPLERATE; /*!< (@ 0x000005F8) Controls normal or continuous sample rate */
  1729. __IM uint32_t RESERVED8[12];
  1730. __IOM SAADC_RESULT_Type RESULT; /*!< (@ 0x0000062C) RESULT EasyDMA channel */
  1731. } NRF_SAADC_Type; /*!< Size = 1592 (0x638) */
  1732. /* =========================================================================================================================== */
  1733. /* ================ TIMER0_NS ================ */
  1734. /* =========================================================================================================================== */
  1735. /**
  1736. * @brief Timer/Counter 0 (TIMER0_NS)
  1737. */
  1738. typedef struct { /*!< (@ 0x4000F000) TIMER0_NS Structure */
  1739. __OM uint32_t TASKS_START; /*!< (@ 0x00000000) Start Timer */
  1740. __OM uint32_t TASKS_STOP; /*!< (@ 0x00000004) Stop Timer */
  1741. __OM uint32_t TASKS_COUNT; /*!< (@ 0x00000008) Increment Timer (Counter mode only) */
  1742. __OM uint32_t TASKS_CLEAR; /*!< (@ 0x0000000C) Clear time */
  1743. __OM uint32_t TASKS_SHUTDOWN; /*!< (@ 0x00000010) Deprecated register - Shut down timer */
  1744. __IM uint32_t RESERVED[11];
  1745. __OM uint32_t TASKS_CAPTURE[6]; /*!< (@ 0x00000040) Description collection: Capture Timer value to
  1746. CC[n] register */
  1747. __IM uint32_t RESERVED1[10];
  1748. __IOM uint32_t SUBSCRIBE_START; /*!< (@ 0x00000080) Subscribe configuration for task START */
  1749. __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000084) Subscribe configuration for task STOP */
  1750. __IOM uint32_t SUBSCRIBE_COUNT; /*!< (@ 0x00000088) Subscribe configuration for task COUNT */
  1751. __IOM uint32_t SUBSCRIBE_CLEAR; /*!< (@ 0x0000008C) Subscribe configuration for task CLEAR */
  1752. __IOM uint32_t SUBSCRIBE_SHUTDOWN; /*!< (@ 0x00000090) Deprecated register - Subscribe configuration
  1753. for task SHUTDOWN */
  1754. __IM uint32_t RESERVED2[11];
  1755. __IOM uint32_t SUBSCRIBE_CAPTURE[6]; /*!< (@ 0x000000C0) Description collection: Subscribe configuration
  1756. for task CAPTURE[n] */
  1757. __IM uint32_t RESERVED3[26];
  1758. __IOM uint32_t EVENTS_COMPARE[6]; /*!< (@ 0x00000140) Description collection: Compare event on CC[n]
  1759. match */
  1760. __IM uint32_t RESERVED4[26];
  1761. __IOM uint32_t PUBLISH_COMPARE[6]; /*!< (@ 0x000001C0) Description collection: Publish configuration
  1762. for event COMPARE[n] */
  1763. __IM uint32_t RESERVED5[10];
  1764. __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
  1765. __IM uint32_t RESERVED6[63];
  1766. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  1767. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1768. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1769. __IM uint32_t RESERVED7[126];
  1770. __IOM uint32_t MODE; /*!< (@ 0x00000504) Timer mode selection */
  1771. __IOM uint32_t BITMODE; /*!< (@ 0x00000508) Configure the number of bits used by the TIMER */
  1772. __IM uint32_t RESERVED8;
  1773. __IOM uint32_t PRESCALER; /*!< (@ 0x00000510) Timer prescaler register */
  1774. __IM uint32_t RESERVED9[11];
  1775. __IOM uint32_t CC[6]; /*!< (@ 0x00000540) Description collection: Capture/Compare register
  1776. n */
  1777. __IM uint32_t RESERVED10[10];
  1778. __IOM uint32_t ONESHOTEN[6]; /*!< (@ 0x00000580) Description collection: Enable one-shot operation
  1779. for Capture/Compare channel n */
  1780. } NRF_TIMER_Type; /*!< Size = 1432 (0x598) */
  1781. /* =========================================================================================================================== */
  1782. /* ================ RTC0_NS ================ */
  1783. /* =========================================================================================================================== */
  1784. /**
  1785. * @brief Real-time counter 0 (RTC0_NS)
  1786. */
  1787. typedef struct { /*!< (@ 0x40014000) RTC0_NS Structure */
  1788. __OM uint32_t TASKS_START; /*!< (@ 0x00000000) Start RTC counter */
  1789. __OM uint32_t TASKS_STOP; /*!< (@ 0x00000004) Stop RTC counter */
  1790. __OM uint32_t TASKS_CLEAR; /*!< (@ 0x00000008) Clear RTC counter */
  1791. __OM uint32_t TASKS_TRIGOVRFLW; /*!< (@ 0x0000000C) Set counter to 0xFFFFF0 */
  1792. __IM uint32_t RESERVED[12];
  1793. __OM uint32_t TASKS_CAPTURE[4]; /*!< (@ 0x00000040) Description collection: Capture RTC counter to
  1794. CC[n] register */
  1795. __IM uint32_t RESERVED1[12];
  1796. __IOM uint32_t SUBSCRIBE_START; /*!< (@ 0x00000080) Subscribe configuration for task START */
  1797. __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000084) Subscribe configuration for task STOP */
  1798. __IOM uint32_t SUBSCRIBE_CLEAR; /*!< (@ 0x00000088) Subscribe configuration for task CLEAR */
  1799. __IOM uint32_t SUBSCRIBE_TRIGOVRFLW; /*!< (@ 0x0000008C) Subscribe configuration for task TRIGOVRFLW */
  1800. __IM uint32_t RESERVED2[12];
  1801. __IOM uint32_t SUBSCRIBE_CAPTURE[4]; /*!< (@ 0x000000C0) Description collection: Subscribe configuration
  1802. for task CAPTURE[n] */
  1803. __IM uint32_t RESERVED3[12];
  1804. __IOM uint32_t EVENTS_TICK; /*!< (@ 0x00000100) Event on counter increment */
  1805. __IOM uint32_t EVENTS_OVRFLW; /*!< (@ 0x00000104) Event on counter overflow */
  1806. __IM uint32_t RESERVED4[14];
  1807. __IOM uint32_t EVENTS_COMPARE[4]; /*!< (@ 0x00000140) Description collection: Compare event on CC[n]
  1808. match */
  1809. __IM uint32_t RESERVED5[12];
  1810. __IOM uint32_t PUBLISH_TICK; /*!< (@ 0x00000180) Publish configuration for event TICK */
  1811. __IOM uint32_t PUBLISH_OVRFLW; /*!< (@ 0x00000184) Publish configuration for event OVRFLW */
  1812. __IM uint32_t RESERVED6[14];
  1813. __IOM uint32_t PUBLISH_COMPARE[4]; /*!< (@ 0x000001C0) Description collection: Publish configuration
  1814. for event COMPARE[n] */
  1815. __IM uint32_t RESERVED7[12];
  1816. __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
  1817. __IM uint32_t RESERVED8[64];
  1818. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1819. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1820. __IM uint32_t RESERVED9[13];
  1821. __IOM uint32_t EVTEN; /*!< (@ 0x00000340) Enable or disable event routing */
  1822. __IOM uint32_t EVTENSET; /*!< (@ 0x00000344) Enable event routing */
  1823. __IOM uint32_t EVTENCLR; /*!< (@ 0x00000348) Disable event routing */
  1824. __IM uint32_t RESERVED10[110];
  1825. __IM uint32_t COUNTER; /*!< (@ 0x00000504) Current counter value */
  1826. __IOM uint32_t PRESCALER; /*!< (@ 0x00000508) 12-bit prescaler for counter frequency (32768/(PRESCALER+1)).
  1827. Must be written when RTC is stopped. */
  1828. __IM uint32_t RESERVED11[13];
  1829. __IOM uint32_t CC[4]; /*!< (@ 0x00000540) Description collection: Compare register n */
  1830. } NRF_RTC_Type; /*!< Size = 1360 (0x550) */
  1831. /* =========================================================================================================================== */
  1832. /* ================ DPPIC_NS ================ */
  1833. /* =========================================================================================================================== */
  1834. /**
  1835. * @brief Distributed programmable peripheral interconnect controller 0 (DPPIC_NS)
  1836. */
  1837. typedef struct { /*!< (@ 0x40017000) DPPIC_NS Structure */
  1838. __OM DPPIC_TASKS_CHG_Type TASKS_CHG[6]; /*!< (@ 0x00000000) Channel group tasks */
  1839. __IM uint32_t RESERVED[20];
  1840. __IOM DPPIC_SUBSCRIBE_CHG_Type SUBSCRIBE_CHG[6];/*!< (@ 0x00000080) Subscribe configuration for tasks */
  1841. __IM uint32_t RESERVED1[276];
  1842. __IOM uint32_t CHEN; /*!< (@ 0x00000500) Channel enable register */
  1843. __IOM uint32_t CHENSET; /*!< (@ 0x00000504) Channel enable set register */
  1844. __IOM uint32_t CHENCLR; /*!< (@ 0x00000508) Channel enable clear register */
  1845. __IM uint32_t RESERVED2[189];
  1846. __IOM uint32_t CHG[6]; /*!< (@ 0x00000800) Description collection: Channel group n Note:
  1847. Writes to this register are ignored if either
  1848. SUBSCRIBE_CHG[n].EN or SUBSCRIBE_CHG[n].DIS
  1849. is enabled */
  1850. } NRF_DPPIC_Type; /*!< Size = 2072 (0x818) */
  1851. /* =========================================================================================================================== */
  1852. /* ================ WDT0_NS ================ */
  1853. /* =========================================================================================================================== */
  1854. /**
  1855. * @brief Watchdog Timer 0 (WDT0_NS)
  1856. */
  1857. typedef struct { /*!< (@ 0x40018000) WDT0_NS Structure */
  1858. __OM uint32_t TASKS_START; /*!< (@ 0x00000000) Start the watchdog */
  1859. __OM uint32_t TASKS_STOP; /*!< (@ 0x00000004) Stop the watchdog timer. */
  1860. __IM uint32_t RESERVED[30];
  1861. __IOM uint32_t SUBSCRIBE_START; /*!< (@ 0x00000080) Subscribe configuration for task START */
  1862. __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000084) Subscribe configuration for task STOP */
  1863. __IM uint32_t RESERVED1[30];
  1864. __IOM uint32_t EVENTS_TIMEOUT; /*!< (@ 0x00000100) Watchdog timeout */
  1865. __IOM uint32_t EVENTS_STOPPED; /*!< (@ 0x00000104) Watchdog stopped */
  1866. __IM uint32_t RESERVED2[30];
  1867. __IOM uint32_t PUBLISH_TIMEOUT; /*!< (@ 0x00000180) Publish configuration for event TIMEOUT */
  1868. __IOM uint32_t PUBLISH_STOPPED; /*!< (@ 0x00000184) Publish configuration for event STOPPED */
  1869. __IM uint32_t RESERVED3[95];
  1870. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1871. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1872. __IM uint32_t RESERVED4[6];
  1873. __IOM uint32_t NMIENSET; /*!< (@ 0x00000324) Enable interrupt */
  1874. __IOM uint32_t NMIENCLR; /*!< (@ 0x00000328) Disable interrupt */
  1875. __IM uint32_t RESERVED5[53];
  1876. __IM uint32_t RUNSTATUS; /*!< (@ 0x00000400) Run status */
  1877. __IM uint32_t REQSTATUS; /*!< (@ 0x00000404) Request status */
  1878. __IM uint32_t RESERVED6[63];
  1879. __IOM uint32_t CRV; /*!< (@ 0x00000504) Counter reload value */
  1880. __IOM uint32_t RREN; /*!< (@ 0x00000508) Enable register for reload request registers */
  1881. __IOM uint32_t CONFIG; /*!< (@ 0x0000050C) Configuration register */
  1882. __IM uint32_t RESERVED7[4];
  1883. __OM uint32_t TSEN; /*!< (@ 0x00000520) Task Stop Enable */
  1884. __IM uint32_t RESERVED8[55];
  1885. __OM uint32_t RR[8]; /*!< (@ 0x00000600) Description collection: Reload request n */
  1886. } NRF_WDT_Type; /*!< Size = 1568 (0x620) */
  1887. /* =========================================================================================================================== */
  1888. /* ================ COMP_NS ================ */
  1889. /* =========================================================================================================================== */
  1890. /**
  1891. * @brief Comparator 0 (COMP_NS)
  1892. */
  1893. typedef struct { /*!< (@ 0x4001A000) COMP_NS Structure */
  1894. __OM uint32_t TASKS_START; /*!< (@ 0x00000000) Start comparator */
  1895. __OM uint32_t TASKS_STOP; /*!< (@ 0x00000004) Stop comparator */
  1896. __OM uint32_t TASKS_SAMPLE; /*!< (@ 0x00000008) Sample comparator value */
  1897. __IM uint32_t RESERVED[29];
  1898. __IOM uint32_t SUBSCRIBE_START; /*!< (@ 0x00000080) Subscribe configuration for task START */
  1899. __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000084) Subscribe configuration for task STOP */
  1900. __IOM uint32_t SUBSCRIBE_SAMPLE; /*!< (@ 0x00000088) Subscribe configuration for task SAMPLE */
  1901. __IM uint32_t RESERVED1[29];
  1902. __IOM uint32_t EVENTS_READY; /*!< (@ 0x00000100) COMP is ready and output is valid */
  1903. __IOM uint32_t EVENTS_DOWN; /*!< (@ 0x00000104) Downward crossing */
  1904. __IOM uint32_t EVENTS_UP; /*!< (@ 0x00000108) Upward crossing */
  1905. __IOM uint32_t EVENTS_CROSS; /*!< (@ 0x0000010C) Downward or upward crossing */
  1906. __IM uint32_t RESERVED2[28];
  1907. __IOM uint32_t PUBLISH_READY; /*!< (@ 0x00000180) Publish configuration for event READY */
  1908. __IOM uint32_t PUBLISH_DOWN; /*!< (@ 0x00000184) Publish configuration for event DOWN */
  1909. __IOM uint32_t PUBLISH_UP; /*!< (@ 0x00000188) Publish configuration for event UP */
  1910. __IOM uint32_t PUBLISH_CROSS; /*!< (@ 0x0000018C) Publish configuration for event CROSS */
  1911. __IM uint32_t RESERVED3[28];
  1912. __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
  1913. __IM uint32_t RESERVED4[63];
  1914. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  1915. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1916. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1917. __IM uint32_t RESERVED5[61];
  1918. __IM uint32_t RESULT; /*!< (@ 0x00000400) Compare result */
  1919. __IM uint32_t RESERVED6[63];
  1920. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) COMP enable */
  1921. __IOM uint32_t PSEL; /*!< (@ 0x00000504) Pin select */
  1922. __IOM uint32_t REFSEL; /*!< (@ 0x00000508) Reference source select for single-ended mode */
  1923. __IOM uint32_t EXTREFSEL; /*!< (@ 0x0000050C) External reference select */
  1924. __IM uint32_t RESERVED7[8];
  1925. __IOM uint32_t TH; /*!< (@ 0x00000530) Threshold configuration for hysteresis unit */
  1926. __IOM uint32_t MODE; /*!< (@ 0x00000534) Mode configuration */
  1927. __IOM uint32_t HYST; /*!< (@ 0x00000538) Comparator hysteresis enable */
  1928. __IOM uint32_t ISOURCE; /*!< (@ 0x0000053C) Current source select on analog input */
  1929. } NRF_COMP_Type; /*!< Size = 1344 (0x540) */
  1930. /* =========================================================================================================================== */
  1931. /* ================ LPCOMP_NS ================ */
  1932. /* =========================================================================================================================== */
  1933. /**
  1934. * @brief Low-power comparator 0 (LPCOMP_NS)
  1935. */
  1936. typedef struct { /*!< (@ 0x4001A000) LPCOMP_NS Structure */
  1937. __OM uint32_t TASKS_START; /*!< (@ 0x00000000) Start comparator */
  1938. __OM uint32_t TASKS_STOP; /*!< (@ 0x00000004) Stop comparator */
  1939. __OM uint32_t TASKS_SAMPLE; /*!< (@ 0x00000008) Sample comparator value */
  1940. __IM uint32_t RESERVED[29];
  1941. __IOM uint32_t SUBSCRIBE_START; /*!< (@ 0x00000080) Subscribe configuration for task START */
  1942. __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000084) Subscribe configuration for task STOP */
  1943. __IOM uint32_t SUBSCRIBE_SAMPLE; /*!< (@ 0x00000088) Subscribe configuration for task SAMPLE */
  1944. __IM uint32_t RESERVED1[29];
  1945. __IOM uint32_t EVENTS_READY; /*!< (@ 0x00000100) LPCOMP is ready and output is valid */
  1946. __IOM uint32_t EVENTS_DOWN; /*!< (@ 0x00000104) Downward crossing */
  1947. __IOM uint32_t EVENTS_UP; /*!< (@ 0x00000108) Upward crossing */
  1948. __IOM uint32_t EVENTS_CROSS; /*!< (@ 0x0000010C) Downward or upward crossing */
  1949. __IM uint32_t RESERVED2[28];
  1950. __IOM uint32_t PUBLISH_READY; /*!< (@ 0x00000180) Publish configuration for event READY */
  1951. __IOM uint32_t PUBLISH_DOWN; /*!< (@ 0x00000184) Publish configuration for event DOWN */
  1952. __IOM uint32_t PUBLISH_UP; /*!< (@ 0x00000188) Publish configuration for event UP */
  1953. __IOM uint32_t PUBLISH_CROSS; /*!< (@ 0x0000018C) Publish configuration for event CROSS */
  1954. __IM uint32_t RESERVED3[28];
  1955. __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
  1956. __IM uint32_t RESERVED4[64];
  1957. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1958. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1959. __IM uint32_t RESERVED5[61];
  1960. __IM uint32_t RESULT; /*!< (@ 0x00000400) Compare result */
  1961. __IM uint32_t RESERVED6[63];
  1962. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable LPCOMP */
  1963. __IOM uint32_t PSEL; /*!< (@ 0x00000504) Input pin select */
  1964. __IOM uint32_t REFSEL; /*!< (@ 0x00000508) Reference select */
  1965. __IOM uint32_t EXTREFSEL; /*!< (@ 0x0000050C) External reference select */
  1966. __IM uint32_t RESERVED7[4];
  1967. __IOM uint32_t ANADETECT; /*!< (@ 0x00000520) Analog detect configuration */
  1968. __IM uint32_t RESERVED8[5];
  1969. __IOM uint32_t HYST; /*!< (@ 0x00000538) Comparator hysteresis enable */
  1970. } NRF_LPCOMP_Type; /*!< Size = 1340 (0x53c) */
  1971. /* =========================================================================================================================== */
  1972. /* ================ EGU0_NS ================ */
  1973. /* =========================================================================================================================== */
  1974. /**
  1975. * @brief Event generator unit 0 (EGU0_NS)
  1976. */
  1977. typedef struct { /*!< (@ 0x4001B000) EGU0_NS Structure */
  1978. __OM uint32_t TASKS_TRIGGER[16]; /*!< (@ 0x00000000) Description collection: Trigger n for triggering
  1979. the corresponding TRIGGERED[n] event */
  1980. __IM uint32_t RESERVED[16];
  1981. __IOM uint32_t SUBSCRIBE_TRIGGER[16]; /*!< (@ 0x00000080) Description collection: Subscribe configuration
  1982. for task TRIGGER[n] */
  1983. __IM uint32_t RESERVED1[16];
  1984. __IOM uint32_t EVENTS_TRIGGERED[16]; /*!< (@ 0x00000100) Description collection: Event number n generated
  1985. by triggering the corresponding TRIGGER[n]
  1986. task */
  1987. __IM uint32_t RESERVED2[16];
  1988. __IOM uint32_t PUBLISH_TRIGGERED[16]; /*!< (@ 0x00000180) Description collection: Publish configuration
  1989. for event TRIGGERED[n] */
  1990. __IM uint32_t RESERVED3[80];
  1991. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  1992. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  1993. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  1994. } NRF_EGU_Type; /*!< Size = 780 (0x30c) */
  1995. /* =========================================================================================================================== */
  1996. /* ================ PWM0_NS ================ */
  1997. /* =========================================================================================================================== */
  1998. /**
  1999. * @brief Pulse width modulation unit 0 (PWM0_NS)
  2000. */
  2001. typedef struct { /*!< (@ 0x40021000) PWM0_NS Structure */
  2002. __IM uint32_t RESERVED;
  2003. __OM uint32_t TASKS_STOP; /*!< (@ 0x00000004) Stops PWM pulse generation on all channels at
  2004. the end of current PWM period, and stops
  2005. sequence playback */
  2006. __OM uint32_t TASKS_SEQSTART[2]; /*!< (@ 0x00000008) Description collection: Loads the first PWM value
  2007. on all enabled channels from sequence n,
  2008. and starts playing that sequence at the
  2009. rate defined in SEQ[n]REFRESH and/or DECODER.MODE.
  2010. Causes PWM generation to start if not running. */
  2011. __OM uint32_t TASKS_NEXTSTEP; /*!< (@ 0x00000010) Steps by one value in the current sequence on
  2012. all enabled channels if DECODER.MODE=NextStep.
  2013. Does not cause PWM generation to start if
  2014. not running. */
  2015. __IM uint32_t RESERVED1[28];
  2016. __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000084) Subscribe configuration for task STOP */
  2017. __IOM uint32_t SUBSCRIBE_SEQSTART[2]; /*!< (@ 0x00000088) Description collection: Subscribe configuration
  2018. for task SEQSTART[n] */
  2019. __IOM uint32_t SUBSCRIBE_NEXTSTEP; /*!< (@ 0x00000090) Subscribe configuration for task NEXTSTEP */
  2020. __IM uint32_t RESERVED2[28];
  2021. __IOM uint32_t EVENTS_STOPPED; /*!< (@ 0x00000104) Response to STOP task, emitted when PWM pulses
  2022. are no longer generated */
  2023. __IOM uint32_t EVENTS_SEQSTARTED[2]; /*!< (@ 0x00000108) Description collection: First PWM period started
  2024. on sequence n */
  2025. __IOM uint32_t EVENTS_SEQEND[2]; /*!< (@ 0x00000110) Description collection: Emitted at end of every
  2026. sequence n, when last value from RAM has
  2027. been applied to wave counter */
  2028. __IOM uint32_t EVENTS_PWMPERIODEND; /*!< (@ 0x00000118) Emitted at the end of each PWM period */
  2029. __IOM uint32_t EVENTS_LOOPSDONE; /*!< (@ 0x0000011C) Concatenated sequences have been played the amount
  2030. of times defined in LOOP.CNT */
  2031. __IM uint32_t RESERVED3[25];
  2032. __IOM uint32_t PUBLISH_STOPPED; /*!< (@ 0x00000184) Publish configuration for event STOPPED */
  2033. __IOM uint32_t PUBLISH_SEQSTARTED[2]; /*!< (@ 0x00000188) Description collection: Publish configuration
  2034. for event SEQSTARTED[n] */
  2035. __IOM uint32_t PUBLISH_SEQEND[2]; /*!< (@ 0x00000190) Description collection: Publish configuration
  2036. for event SEQEND[n] */
  2037. __IOM uint32_t PUBLISH_PWMPERIODEND; /*!< (@ 0x00000198) Publish configuration for event PWMPERIODEND */
  2038. __IOM uint32_t PUBLISH_LOOPSDONE; /*!< (@ 0x0000019C) Publish configuration for event LOOPSDONE */
  2039. __IM uint32_t RESERVED4[24];
  2040. __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
  2041. __IM uint32_t RESERVED5[63];
  2042. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  2043. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  2044. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  2045. __IM uint32_t RESERVED6[125];
  2046. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) PWM module enable register */
  2047. __IOM uint32_t MODE; /*!< (@ 0x00000504) Selects operating mode of the wave counter */
  2048. __IOM uint32_t COUNTERTOP; /*!< (@ 0x00000508) Value up to which the pulse generator counter
  2049. counts */
  2050. __IOM uint32_t PRESCALER; /*!< (@ 0x0000050C) Configuration for PWM_CLK */
  2051. __IOM uint32_t DECODER; /*!< (@ 0x00000510) Configuration of the decoder */
  2052. __IOM uint32_t LOOP; /*!< (@ 0x00000514) Number of playbacks of a loop */
  2053. __IM uint32_t RESERVED7[2];
  2054. __IOM PWM_SEQ_Type SEQ[2]; /*!< (@ 0x00000520) Unspecified */
  2055. __IOM PWM_PSEL_Type PSEL; /*!< (@ 0x00000560) Unspecified */
  2056. } NRF_PWM_Type; /*!< Size = 1392 (0x570) */
  2057. /* =========================================================================================================================== */
  2058. /* ================ PDM0_NS ================ */
  2059. /* =========================================================================================================================== */
  2060. /**
  2061. * @brief Pulse Density Modulation (Digital Microphone) Interface 0 (PDM0_NS)
  2062. */
  2063. typedef struct { /*!< (@ 0x40026000) PDM0_NS Structure */
  2064. __OM uint32_t TASKS_START; /*!< (@ 0x00000000) Starts continuous PDM transfer */
  2065. __OM uint32_t TASKS_STOP; /*!< (@ 0x00000004) Stops PDM transfer */
  2066. __IM uint32_t RESERVED[30];
  2067. __IOM uint32_t SUBSCRIBE_START; /*!< (@ 0x00000080) Subscribe configuration for task START */
  2068. __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000084) Subscribe configuration for task STOP */
  2069. __IM uint32_t RESERVED1[30];
  2070. __IOM uint32_t EVENTS_STARTED; /*!< (@ 0x00000100) PDM transfer has started */
  2071. __IOM uint32_t EVENTS_STOPPED; /*!< (@ 0x00000104) PDM transfer has finished */
  2072. __IOM uint32_t EVENTS_END; /*!< (@ 0x00000108) The PDM has written the last sample specified
  2073. by SAMPLE.MAXCNT (or the last sample after
  2074. a STOP task has been received) to Data RAM */
  2075. __IM uint32_t RESERVED2[29];
  2076. __IOM uint32_t PUBLISH_STARTED; /*!< (@ 0x00000180) Publish configuration for event STARTED */
  2077. __IOM uint32_t PUBLISH_STOPPED; /*!< (@ 0x00000184) Publish configuration for event STOPPED */
  2078. __IOM uint32_t PUBLISH_END; /*!< (@ 0x00000188) Publish configuration for event END */
  2079. __IM uint32_t RESERVED3[93];
  2080. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  2081. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  2082. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  2083. __IM uint32_t RESERVED4[125];
  2084. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) PDM module enable register */
  2085. __IOM uint32_t PDMCLKCTRL; /*!< (@ 0x00000504) PDM clock generator control */
  2086. __IOM uint32_t MODE; /*!< (@ 0x00000508) Defines the routing of the connected PDM microphones'
  2087. signals */
  2088. __IM uint32_t RESERVED5[3];
  2089. __IOM uint32_t GAINL; /*!< (@ 0x00000518) Left output gain adjustment */
  2090. __IOM uint32_t GAINR; /*!< (@ 0x0000051C) Right output gain adjustment */
  2091. __IOM uint32_t RATIO; /*!< (@ 0x00000520) Selects the ratio between PDM_CLK and output
  2092. sample rate. Change PDMCLKCTRL accordingly. */
  2093. __IM uint32_t RESERVED6[7];
  2094. __IOM PDM_PSEL_Type PSEL; /*!< (@ 0x00000540) Unspecified */
  2095. __IM uint32_t RESERVED7;
  2096. __IOM uint32_t MCLKCONFIG; /*!< (@ 0x0000054C) Master clock generator configuration */
  2097. __IM uint32_t RESERVED8[4];
  2098. __IOM PDM_SAMPLE_Type SAMPLE; /*!< (@ 0x00000560) Unspecified */
  2099. } NRF_PDM_Type; /*!< Size = 1384 (0x568) */
  2100. /* =========================================================================================================================== */
  2101. /* ================ I2S0_NS ================ */
  2102. /* =========================================================================================================================== */
  2103. /**
  2104. * @brief Inter-IC Sound 0 (I2S0_NS)
  2105. */
  2106. typedef struct { /*!< (@ 0x40028000) I2S0_NS Structure */
  2107. __OM uint32_t TASKS_START; /*!< (@ 0x00000000) Starts continuous I2S transfer. Also starts MCK
  2108. generator when this is enabled */
  2109. __OM uint32_t TASKS_STOP; /*!< (@ 0x00000004) Stops I2S transfer and MCK generator. Triggering
  2110. this task will cause the event STOPPED to
  2111. be generated. */
  2112. __IM uint32_t RESERVED[30];
  2113. __IOM uint32_t SUBSCRIBE_START; /*!< (@ 0x00000080) Subscribe configuration for task START */
  2114. __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000084) Subscribe configuration for task STOP */
  2115. __IM uint32_t RESERVED1[31];
  2116. __IOM uint32_t EVENTS_RXPTRUPD; /*!< (@ 0x00000104) The RXD.PTR register has been copied to internal
  2117. double-buffers. When the I2S module is started
  2118. and RX is enabled, this event will be generated
  2119. for every RXTXD.MAXCNT words received on
  2120. the SDIN pin. */
  2121. __IOM uint32_t EVENTS_STOPPED; /*!< (@ 0x00000108) I2S transfer stopped. */
  2122. __IM uint32_t RESERVED2[2];
  2123. __IOM uint32_t EVENTS_TXPTRUPD; /*!< (@ 0x00000114) The TDX.PTR register has been copied to internal
  2124. double-buffers. When the I2S module is started
  2125. and TX is enabled, this event will be generated
  2126. for every RXTXD.MAXCNT words that are sent
  2127. on the SDOUT pin. */
  2128. __IM uint32_t RESERVED3;
  2129. __IOM uint32_t EVENTS_FRAMESTART; /*!< (@ 0x0000011C) Frame start event, generated on the active edge
  2130. of LRCK */
  2131. __IM uint32_t RESERVED4[25];
  2132. __IOM uint32_t PUBLISH_RXPTRUPD; /*!< (@ 0x00000184) Publish configuration for event RXPTRUPD */
  2133. __IOM uint32_t PUBLISH_STOPPED; /*!< (@ 0x00000188) Publish configuration for event STOPPED */
  2134. __IM uint32_t RESERVED5[2];
  2135. __IOM uint32_t PUBLISH_TXPTRUPD; /*!< (@ 0x00000194) Publish configuration for event TXPTRUPD */
  2136. __IM uint32_t RESERVED6;
  2137. __IOM uint32_t PUBLISH_FRAMESTART; /*!< (@ 0x0000019C) Publish configuration for event FRAMESTART */
  2138. __IM uint32_t RESERVED7[88];
  2139. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  2140. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  2141. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  2142. __IM uint32_t RESERVED8[125];
  2143. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable I2S module */
  2144. __IOM I2S_CONFIG_Type CONFIG; /*!< (@ 0x00000504) Unspecified */
  2145. __IM uint32_t RESERVED9[2];
  2146. __IOM I2S_RXD_Type RXD; /*!< (@ 0x00000538) Unspecified */
  2147. __IM uint32_t RESERVED10;
  2148. __IOM I2S_TXD_Type TXD; /*!< (@ 0x00000540) Unspecified */
  2149. __IM uint32_t RESERVED11[3];
  2150. __IOM I2S_RXTXD_Type RXTXD; /*!< (@ 0x00000550) Unspecified */
  2151. __IM uint32_t RESERVED12[3];
  2152. __IOM I2S_PSEL_Type PSEL; /*!< (@ 0x00000560) Unspecified */
  2153. } NRF_I2S_Type; /*!< Size = 1396 (0x574) */
  2154. /* =========================================================================================================================== */
  2155. /* ================ IPC_NS ================ */
  2156. /* =========================================================================================================================== */
  2157. /**
  2158. * @brief Interprocessor communication 0 (IPC_NS)
  2159. */
  2160. typedef struct { /*!< (@ 0x4002A000) IPC_NS Structure */
  2161. __OM uint32_t TASKS_SEND[16]; /*!< (@ 0x00000000) Description collection: Trigger events on IPC
  2162. channel enabled in SEND_CNF[n] */
  2163. __IM uint32_t RESERVED[16];
  2164. __IOM uint32_t SUBSCRIBE_SEND[16]; /*!< (@ 0x00000080) Description collection: Subscribe configuration
  2165. for task SEND[n] */
  2166. __IM uint32_t RESERVED1[16];
  2167. __IOM uint32_t EVENTS_RECEIVE[16]; /*!< (@ 0x00000100) Description collection: Event received on one
  2168. or more of the enabled IPC channels in RECEIVE_CNF[n] */
  2169. __IM uint32_t RESERVED2[16];
  2170. __IOM uint32_t PUBLISH_RECEIVE[16]; /*!< (@ 0x00000180) Description collection: Publish configuration
  2171. for event RECEIVE[n] */
  2172. __IM uint32_t RESERVED3[80];
  2173. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  2174. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  2175. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  2176. __IM uint32_t INTPEND; /*!< (@ 0x0000030C) Pending interrupts */
  2177. __IM uint32_t RESERVED4[128];
  2178. __IOM uint32_t SEND_CNF[16]; /*!< (@ 0x00000510) Description collection: Send event configuration
  2179. for TASKS_SEND[n] */
  2180. __IM uint32_t RESERVED5[16];
  2181. __IOM uint32_t RECEIVE_CNF[16]; /*!< (@ 0x00000590) Description collection: Receive event configuration
  2182. for EVENTS_RECEIVE[n] */
  2183. __IM uint32_t RESERVED6[16];
  2184. __IOM uint32_t GPMEM[2]; /*!< (@ 0x00000610) Description collection: General purpose memory */
  2185. } NRF_IPC_Type; /*!< Size = 1560 (0x618) */
  2186. /* =========================================================================================================================== */
  2187. /* ================ QSPI_NS ================ */
  2188. /* =========================================================================================================================== */
  2189. /**
  2190. * @brief External flash interface 0 (QSPI_NS)
  2191. */
  2192. typedef struct { /*!< (@ 0x4002B000) QSPI_NS Structure */
  2193. __OM uint32_t TASKS_ACTIVATE; /*!< (@ 0x00000000) Activate QSPI interface */
  2194. __OM uint32_t TASKS_READSTART; /*!< (@ 0x00000004) Start transfer from external flash memory to
  2195. internal RAM */
  2196. __OM uint32_t TASKS_WRITESTART; /*!< (@ 0x00000008) Start transfer from internal RAM to external
  2197. flash memory */
  2198. __OM uint32_t TASKS_ERASESTART; /*!< (@ 0x0000000C) Start external flash memory erase operation */
  2199. __OM uint32_t TASKS_DEACTIVATE; /*!< (@ 0x00000010) Deactivate QSPI interface */
  2200. __IM uint32_t RESERVED[27];
  2201. __IOM uint32_t SUBSCRIBE_ACTIVATE; /*!< (@ 0x00000080) Subscribe configuration for task ACTIVATE */
  2202. __IOM uint32_t SUBSCRIBE_READSTART; /*!< (@ 0x00000084) Subscribe configuration for task READSTART */
  2203. __IOM uint32_t SUBSCRIBE_WRITESTART; /*!< (@ 0x00000088) Subscribe configuration for task WRITESTART */
  2204. __IOM uint32_t SUBSCRIBE_ERASESTART; /*!< (@ 0x0000008C) Subscribe configuration for task ERASESTART */
  2205. __IOM uint32_t SUBSCRIBE_DEACTIVATE; /*!< (@ 0x00000090) Subscribe configuration for task DEACTIVATE */
  2206. __IM uint32_t RESERVED1[27];
  2207. __IOM uint32_t EVENTS_READY; /*!< (@ 0x00000100) QSPI peripheral is ready. This event will be
  2208. generated as a response to all QSPI tasks
  2209. except DEACTIVATE. */
  2210. __IM uint32_t RESERVED2[31];
  2211. __IOM uint32_t PUBLISH_READY; /*!< (@ 0x00000180) Publish configuration for event READY */
  2212. __IM uint32_t RESERVED3[95];
  2213. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  2214. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  2215. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  2216. __IM uint32_t RESERVED4[125];
  2217. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable QSPI peripheral and acquire the pins selected
  2218. in PSELn registers */
  2219. __IOM QSPI_READ_Type READ; /*!< (@ 0x00000504) Unspecified */
  2220. __IOM QSPI_WRITE_Type WRITE; /*!< (@ 0x00000510) Unspecified */
  2221. __IOM QSPI_ERASE_Type ERASE; /*!< (@ 0x0000051C) Unspecified */
  2222. __IOM QSPI_PSEL_Type PSEL; /*!< (@ 0x00000524) Unspecified */
  2223. __IOM uint32_t XIPOFFSET; /*!< (@ 0x00000540) Address offset into the external memory for Execute
  2224. in Place operation. */
  2225. __IOM uint32_t IFCONFIG0; /*!< (@ 0x00000544) Interface configuration. */
  2226. __IM uint32_t RESERVED5;
  2227. __IOM uint32_t XIPEN; /*!< (@ 0x0000054C) Enable Execute in Place operation. */
  2228. __IM uint32_t RESERVED6[4];
  2229. __IOM QSPI_XIP_ENC_Type XIP_ENC; /*!< (@ 0x00000560) Unspecified */
  2230. __IOM QSPI_DMA_ENC_Type DMA_ENC; /*!< (@ 0x00000580) Unspecified */
  2231. __IM uint32_t RESERVED7[24];
  2232. __IOM uint32_t IFCONFIG1; /*!< (@ 0x00000600) Interface configuration. */
  2233. __IM uint32_t STATUS; /*!< (@ 0x00000604) Status register. */
  2234. __IM uint32_t RESERVED8[3];
  2235. __IOM uint32_t DPMDUR; /*!< (@ 0x00000614) Set the duration required to enter/exit deep
  2236. power-down mode (DPM). */
  2237. __IM uint32_t RESERVED9[3];
  2238. __IOM uint32_t ADDRCONF; /*!< (@ 0x00000624) Extended address configuration. */
  2239. __IM uint32_t RESERVED10[3];
  2240. __IOM uint32_t CINSTRCONF; /*!< (@ 0x00000634) Custom instruction configuration register. */
  2241. __IOM uint32_t CINSTRDAT0; /*!< (@ 0x00000638) Custom instruction data register 0. */
  2242. __IOM uint32_t CINSTRDAT1; /*!< (@ 0x0000063C) Custom instruction data register 1. */
  2243. __IOM uint32_t IFTIMING; /*!< (@ 0x00000640) SPI interface timing. */
  2244. } NRF_QSPI_Type; /*!< Size = 1604 (0x644) */
  2245. /* =========================================================================================================================== */
  2246. /* ================ NFCT_NS ================ */
  2247. /* =========================================================================================================================== */
  2248. /**
  2249. * @brief NFC-A compatible radio 0 (NFCT_NS)
  2250. */
  2251. typedef struct { /*!< (@ 0x4002D000) NFCT_NS Structure */
  2252. __OM uint32_t TASKS_ACTIVATE; /*!< (@ 0x00000000) Activate NFCT peripheral for incoming and outgoing
  2253. frames, change state to activated */
  2254. __OM uint32_t TASKS_DISABLE; /*!< (@ 0x00000004) Disable NFCT peripheral */
  2255. __OM uint32_t TASKS_SENSE; /*!< (@ 0x00000008) Enable NFC sense field mode, change state to
  2256. sense mode */
  2257. __OM uint32_t TASKS_STARTTX; /*!< (@ 0x0000000C) Start transmission of an outgoing frame, change
  2258. state to transmit */
  2259. __IM uint32_t RESERVED[3];
  2260. __OM uint32_t TASKS_ENABLERXDATA; /*!< (@ 0x0000001C) Initializes the EasyDMA for receive. */
  2261. __IM uint32_t RESERVED1;
  2262. __OM uint32_t TASKS_GOIDLE; /*!< (@ 0x00000024) Force state machine to IDLE state */
  2263. __OM uint32_t TASKS_GOSLEEP; /*!< (@ 0x00000028) Force state machine to SLEEP_A state */
  2264. __IM uint32_t RESERVED2[21];
  2265. __IOM uint32_t SUBSCRIBE_ACTIVATE; /*!< (@ 0x00000080) Subscribe configuration for task ACTIVATE */
  2266. __IOM uint32_t SUBSCRIBE_DISABLE; /*!< (@ 0x00000084) Subscribe configuration for task DISABLE */
  2267. __IOM uint32_t SUBSCRIBE_SENSE; /*!< (@ 0x00000088) Subscribe configuration for task SENSE */
  2268. __IOM uint32_t SUBSCRIBE_STARTTX; /*!< (@ 0x0000008C) Subscribe configuration for task STARTTX */
  2269. __IM uint32_t RESERVED3[3];
  2270. __IOM uint32_t SUBSCRIBE_ENABLERXDATA; /*!< (@ 0x0000009C) Subscribe configuration for task ENABLERXDATA */
  2271. __IM uint32_t RESERVED4;
  2272. __IOM uint32_t SUBSCRIBE_GOIDLE; /*!< (@ 0x000000A4) Subscribe configuration for task GOIDLE */
  2273. __IOM uint32_t SUBSCRIBE_GOSLEEP; /*!< (@ 0x000000A8) Subscribe configuration for task GOSLEEP */
  2274. __IM uint32_t RESERVED5[21];
  2275. __IOM uint32_t EVENTS_READY; /*!< (@ 0x00000100) The NFCT peripheral is ready to receive and send
  2276. frames */
  2277. __IOM uint32_t EVENTS_FIELDDETECTED; /*!< (@ 0x00000104) Remote NFC field detected */
  2278. __IOM uint32_t EVENTS_FIELDLOST; /*!< (@ 0x00000108) Remote NFC field lost */
  2279. __IOM uint32_t EVENTS_TXFRAMESTART; /*!< (@ 0x0000010C) Marks the start of the first symbol of a transmitted
  2280. frame */
  2281. __IOM uint32_t EVENTS_TXFRAMEEND; /*!< (@ 0x00000110) Marks the end of the last transmitted on-air
  2282. symbol of a frame */
  2283. __IOM uint32_t EVENTS_RXFRAMESTART; /*!< (@ 0x00000114) Marks the end of the first symbol of a received
  2284. frame */
  2285. __IOM uint32_t EVENTS_RXFRAMEEND; /*!< (@ 0x00000118) Received data has been checked (CRC, parity)
  2286. and transferred to RAM, and EasyDMA has
  2287. ended accessing the RX buffer */
  2288. __IOM uint32_t EVENTS_ERROR; /*!< (@ 0x0000011C) NFC error reported. The ERRORSTATUS register
  2289. contains details on the source of the error. */
  2290. __IM uint32_t RESERVED6[2];
  2291. __IOM uint32_t EVENTS_RXERROR; /*!< (@ 0x00000128) NFC RX frame error reported. The FRAMESTATUS.RX
  2292. register contains details on the source
  2293. of the error. */
  2294. __IOM uint32_t EVENTS_ENDRX; /*!< (@ 0x0000012C) RX buffer (as defined by PACKETPTR and MAXLEN)
  2295. in Data RAM full. */
  2296. __IOM uint32_t EVENTS_ENDTX; /*!< (@ 0x00000130) Transmission of data in RAM has ended, and EasyDMA
  2297. has ended accessing the TX buffer */
  2298. __IM uint32_t RESERVED7;
  2299. __IOM uint32_t EVENTS_AUTOCOLRESSTARTED; /*!< (@ 0x00000138) Auto collision resolution process has started */
  2300. __IM uint32_t RESERVED8[3];
  2301. __IOM uint32_t EVENTS_COLLISION; /*!< (@ 0x00000148) NFC auto collision resolution error reported. */
  2302. __IOM uint32_t EVENTS_SELECTED; /*!< (@ 0x0000014C) NFC auto collision resolution successfully completed */
  2303. __IOM uint32_t EVENTS_STARTED; /*!< (@ 0x00000150) EasyDMA is ready to receive or send frames. */
  2304. __IM uint32_t RESERVED9[11];
  2305. __IOM uint32_t PUBLISH_READY; /*!< (@ 0x00000180) Publish configuration for event READY */
  2306. __IOM uint32_t PUBLISH_FIELDDETECTED; /*!< (@ 0x00000184) Publish configuration for event FIELDDETECTED */
  2307. __IOM uint32_t PUBLISH_FIELDLOST; /*!< (@ 0x00000188) Publish configuration for event FIELDLOST */
  2308. __IOM uint32_t PUBLISH_TXFRAMESTART; /*!< (@ 0x0000018C) Publish configuration for event TXFRAMESTART */
  2309. __IOM uint32_t PUBLISH_TXFRAMEEND; /*!< (@ 0x00000190) Publish configuration for event TXFRAMEEND */
  2310. __IOM uint32_t PUBLISH_RXFRAMESTART; /*!< (@ 0x00000194) Publish configuration for event RXFRAMESTART */
  2311. __IOM uint32_t PUBLISH_RXFRAMEEND; /*!< (@ 0x00000198) Publish configuration for event RXFRAMEEND */
  2312. __IOM uint32_t PUBLISH_ERROR; /*!< (@ 0x0000019C) Publish configuration for event ERROR */
  2313. __IM uint32_t RESERVED10[2];
  2314. __IOM uint32_t PUBLISH_RXERROR; /*!< (@ 0x000001A8) Publish configuration for event RXERROR */
  2315. __IOM uint32_t PUBLISH_ENDRX; /*!< (@ 0x000001AC) Publish configuration for event ENDRX */
  2316. __IOM uint32_t PUBLISH_ENDTX; /*!< (@ 0x000001B0) Publish configuration for event ENDTX */
  2317. __IM uint32_t RESERVED11;
  2318. __IOM uint32_t PUBLISH_AUTOCOLRESSTARTED; /*!< (@ 0x000001B8) Publish configuration for event AUTOCOLRESSTARTED */
  2319. __IM uint32_t RESERVED12[3];
  2320. __IOM uint32_t PUBLISH_COLLISION; /*!< (@ 0x000001C8) Publish configuration for event COLLISION */
  2321. __IOM uint32_t PUBLISH_SELECTED; /*!< (@ 0x000001CC) Publish configuration for event SELECTED */
  2322. __IOM uint32_t PUBLISH_STARTED; /*!< (@ 0x000001D0) Publish configuration for event STARTED */
  2323. __IM uint32_t RESERVED13[11];
  2324. __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
  2325. __IM uint32_t RESERVED14[63];
  2326. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  2327. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  2328. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  2329. __IM uint32_t RESERVED15[62];
  2330. __IOM uint32_t ERRORSTATUS; /*!< (@ 0x00000404) NFC Error Status register */
  2331. __IM uint32_t RESERVED16;
  2332. __IOM NFCT_FRAMESTATUS_Type FRAMESTATUS; /*!< (@ 0x0000040C) Unspecified */
  2333. __IM uint32_t NFCTAGSTATE; /*!< (@ 0x00000410) NfcTag state register */
  2334. __IM uint32_t RESERVED17[3];
  2335. __IM uint32_t SLEEPSTATE; /*!< (@ 0x00000420) Sleep state during automatic collision resolution */
  2336. __IM uint32_t RESERVED18[6];
  2337. __IM uint32_t FIELDPRESENT; /*!< (@ 0x0000043C) Indicates the presence or not of a valid field */
  2338. __IM uint32_t RESERVED19[49];
  2339. __IOM uint32_t FRAMEDELAYMIN; /*!< (@ 0x00000504) Minimum frame delay */
  2340. __IOM uint32_t FRAMEDELAYMAX; /*!< (@ 0x00000508) Maximum frame delay */
  2341. __IOM uint32_t FRAMEDELAYMODE; /*!< (@ 0x0000050C) Configuration register for the Frame Delay Timer */
  2342. __IOM uint32_t PACKETPTR; /*!< (@ 0x00000510) Packet pointer for TXD and RXD data storage in
  2343. Data RAM */
  2344. __IOM uint32_t MAXLEN; /*!< (@ 0x00000514) Size of the RAM buffer allocated to TXD and RXD
  2345. data storage each */
  2346. __IOM NFCT_TXD_Type TXD; /*!< (@ 0x00000518) Unspecified */
  2347. __IOM NFCT_RXD_Type RXD; /*!< (@ 0x00000520) Unspecified */
  2348. __IM uint32_t RESERVED20;
  2349. __IOM uint32_t MODULATIONCTRL; /*!< (@ 0x0000052C) Enables the modulation output to a GPIO pin which
  2350. can be connected to a second external antenna. */
  2351. __IM uint32_t RESERVED21[2];
  2352. __IOM uint32_t MODULATIONPSEL; /*!< (@ 0x00000538) Pin select for Modulation control. */
  2353. __IM uint32_t RESERVED22[21];
  2354. __IOM uint32_t NFCID1_LAST; /*!< (@ 0x00000590) Last NFCID1 part (4, 7 or 10 bytes ID) */
  2355. __IOM uint32_t NFCID1_2ND_LAST; /*!< (@ 0x00000594) Second last NFCID1 part (7 or 10 bytes ID) */
  2356. __IOM uint32_t NFCID1_3RD_LAST; /*!< (@ 0x00000598) Third last NFCID1 part (10 bytes ID) */
  2357. __IOM uint32_t AUTOCOLRESCONFIG; /*!< (@ 0x0000059C) Controls the auto collision resolution function.
  2358. This setting must be done before the NFCT
  2359. peripheral is activated. */
  2360. __IOM uint32_t SENSRES; /*!< (@ 0x000005A0) NFC-A SENS_RES auto-response settings */
  2361. __IOM uint32_t SELRES; /*!< (@ 0x000005A4) NFC-A SEL_RES auto-response settings */
  2362. } NRF_NFCT_Type; /*!< Size = 1448 (0x5a8) */
  2363. /* =========================================================================================================================== */
  2364. /* ================ MUTEX_NS ================ */
  2365. /* =========================================================================================================================== */
  2366. /**
  2367. * @brief MUTEX 0 (MUTEX_NS)
  2368. */
  2369. typedef struct { /*!< (@ 0x40030000) MUTEX_NS Structure */
  2370. __IM uint32_t RESERVED[256];
  2371. __IOM uint32_t MUTEX[16]; /*!< (@ 0x00000400) Description collection: Mutex register */
  2372. } NRF_MUTEX_Type; /*!< Size = 1088 (0x440) */
  2373. /* =========================================================================================================================== */
  2374. /* ================ QDEC0_NS ================ */
  2375. /* =========================================================================================================================== */
  2376. /**
  2377. * @brief Quadrature Decoder 0 (QDEC0_NS)
  2378. */
  2379. typedef struct { /*!< (@ 0x40033000) QDEC0_NS Structure */
  2380. __OM uint32_t TASKS_START; /*!< (@ 0x00000000) Task starting the quadrature decoder */
  2381. __OM uint32_t TASKS_STOP; /*!< (@ 0x00000004) Task stopping the quadrature decoder */
  2382. __OM uint32_t TASKS_READCLRACC; /*!< (@ 0x00000008) Read and clear ACC and ACCDBL */
  2383. __OM uint32_t TASKS_RDCLRACC; /*!< (@ 0x0000000C) Read and clear ACC */
  2384. __OM uint32_t TASKS_RDCLRDBL; /*!< (@ 0x00000010) Read and clear ACCDBL */
  2385. __IM uint32_t RESERVED[27];
  2386. __IOM uint32_t SUBSCRIBE_START; /*!< (@ 0x00000080) Subscribe configuration for task START */
  2387. __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000084) Subscribe configuration for task STOP */
  2388. __IOM uint32_t SUBSCRIBE_READCLRACC; /*!< (@ 0x00000088) Subscribe configuration for task READCLRACC */
  2389. __IOM uint32_t SUBSCRIBE_RDCLRACC; /*!< (@ 0x0000008C) Subscribe configuration for task RDCLRACC */
  2390. __IOM uint32_t SUBSCRIBE_RDCLRDBL; /*!< (@ 0x00000090) Subscribe configuration for task RDCLRDBL */
  2391. __IM uint32_t RESERVED1[27];
  2392. __IOM uint32_t EVENTS_SAMPLERDY; /*!< (@ 0x00000100) Event being generated for every new sample value
  2393. written to the SAMPLE register */
  2394. __IOM uint32_t EVENTS_REPORTRDY; /*!< (@ 0x00000104) Non-null report ready */
  2395. __IOM uint32_t EVENTS_ACCOF; /*!< (@ 0x00000108) ACC or ACCDBL register overflow */
  2396. __IOM uint32_t EVENTS_DBLRDY; /*!< (@ 0x0000010C) Double displacement(s) detected */
  2397. __IOM uint32_t EVENTS_STOPPED; /*!< (@ 0x00000110) QDEC has been stopped */
  2398. __IM uint32_t RESERVED2[27];
  2399. __IOM uint32_t PUBLISH_SAMPLERDY; /*!< (@ 0x00000180) Publish configuration for event SAMPLERDY */
  2400. __IOM uint32_t PUBLISH_REPORTRDY; /*!< (@ 0x00000184) Publish configuration for event REPORTRDY */
  2401. __IOM uint32_t PUBLISH_ACCOF; /*!< (@ 0x00000188) Publish configuration for event ACCOF */
  2402. __IOM uint32_t PUBLISH_DBLRDY; /*!< (@ 0x0000018C) Publish configuration for event DBLRDY */
  2403. __IOM uint32_t PUBLISH_STOPPED; /*!< (@ 0x00000190) Publish configuration for event STOPPED */
  2404. __IM uint32_t RESERVED3[27];
  2405. __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
  2406. __IM uint32_t RESERVED4[64];
  2407. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  2408. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  2409. __IM uint32_t RESERVED5[125];
  2410. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable the quadrature decoder */
  2411. __IOM uint32_t LEDPOL; /*!< (@ 0x00000504) LED output pin polarity */
  2412. __IOM uint32_t SAMPLEPER; /*!< (@ 0x00000508) Sample period */
  2413. __IM int32_t SAMPLE; /*!< (@ 0x0000050C) Motion sample value */
  2414. __IOM uint32_t REPORTPER; /*!< (@ 0x00000510) Number of samples to be taken before REPORTRDY
  2415. and DBLRDY events can be generated */
  2416. __IM int32_t ACC; /*!< (@ 0x00000514) Register accumulating the valid transitions */
  2417. __IM int32_t ACCREAD; /*!< (@ 0x00000518) Snapshot of the ACC register, updated by the
  2418. READCLRACC or RDCLRACC task */
  2419. __IOM QDEC_PSEL_Type PSEL; /*!< (@ 0x0000051C) Unspecified */
  2420. __IOM uint32_t DBFEN; /*!< (@ 0x00000528) Enable input debounce filters */
  2421. __IM uint32_t RESERVED6[5];
  2422. __IOM uint32_t LEDPRE; /*!< (@ 0x00000540) Time period the LED is switched ON prior to sampling */
  2423. __IM uint32_t ACCDBL; /*!< (@ 0x00000544) Register accumulating the number of detected
  2424. double transitions */
  2425. __IM uint32_t ACCDBLREAD; /*!< (@ 0x00000548) Snapshot of the ACCDBL, updated by the READCLRACC
  2426. or RDCLRDBL task */
  2427. } NRF_QDEC_Type; /*!< Size = 1356 (0x54c) */
  2428. /* =========================================================================================================================== */
  2429. /* ================ USBD_NS ================ */
  2430. /* =========================================================================================================================== */
  2431. /**
  2432. * @brief Universal serial bus device 0 (USBD_NS)
  2433. */
  2434. typedef struct { /*!< (@ 0x40036000) USBD_NS Structure */
  2435. __IM uint32_t RESERVED;
  2436. __OM uint32_t TASKS_STARTEPIN[8]; /*!< (@ 0x00000004) Description collection: Captures the EPIN[n].PTR
  2437. and EPIN[n].MAXCNT registers values, and
  2438. enables endpoint IN n to respond to traffic
  2439. from host */
  2440. __OM uint32_t TASKS_STARTISOIN; /*!< (@ 0x00000024) Captures the ISOIN.PTR and ISOIN.MAXCNT registers
  2441. values, and enables sending data on ISO
  2442. endpoint */
  2443. __OM uint32_t TASKS_STARTEPOUT[8]; /*!< (@ 0x00000028) Description collection: Captures the EPOUT[n].PTR
  2444. and EPOUT[n].MAXCNT registers values, and
  2445. enables endpoint n to respond to traffic
  2446. from host */
  2447. __OM uint32_t TASKS_STARTISOOUT; /*!< (@ 0x00000048) Captures the ISOOUT.PTR and ISOOUT.MAXCNT registers
  2448. values, and enables receiving of data on
  2449. ISO endpoint */
  2450. __OM uint32_t TASKS_EP0RCVOUT; /*!< (@ 0x0000004C) Allows OUT data stage on control endpoint 0 */
  2451. __OM uint32_t TASKS_EP0STATUS; /*!< (@ 0x00000050) Allows status stage on control endpoint 0 */
  2452. __OM uint32_t TASKS_EP0STALL; /*!< (@ 0x00000054) Stalls data and status stage on control endpoint
  2453. 0 */
  2454. __OM uint32_t TASKS_DPDMDRIVE; /*!< (@ 0x00000058) Forces D+ and D- lines into the state defined
  2455. in the DPDMVALUE register */
  2456. __OM uint32_t TASKS_DPDMNODRIVE; /*!< (@ 0x0000005C) Stops forcing D+ and D- lines into any state
  2457. (USB engine takes control) */
  2458. __IM uint32_t RESERVED1[9];
  2459. __IOM uint32_t SUBSCRIBE_STARTEPIN[8]; /*!< (@ 0x00000084) Description collection: Subscribe configuration
  2460. for task STARTEPIN[n] */
  2461. __IOM uint32_t SUBSCRIBE_STARTISOIN; /*!< (@ 0x000000A4) Subscribe configuration for task STARTISOIN */
  2462. __IOM uint32_t SUBSCRIBE_STARTEPOUT[8]; /*!< (@ 0x000000A8) Description collection: Subscribe configuration
  2463. for task STARTEPOUT[n] */
  2464. __IOM uint32_t SUBSCRIBE_STARTISOOUT; /*!< (@ 0x000000C8) Subscribe configuration for task STARTISOOUT */
  2465. __IOM uint32_t SUBSCRIBE_EP0RCVOUT; /*!< (@ 0x000000CC) Subscribe configuration for task EP0RCVOUT */
  2466. __IOM uint32_t SUBSCRIBE_EP0STATUS; /*!< (@ 0x000000D0) Subscribe configuration for task EP0STATUS */
  2467. __IOM uint32_t SUBSCRIBE_EP0STALL; /*!< (@ 0x000000D4) Subscribe configuration for task EP0STALL */
  2468. __IOM uint32_t SUBSCRIBE_DPDMDRIVE; /*!< (@ 0x000000D8) Subscribe configuration for task DPDMDRIVE */
  2469. __IOM uint32_t SUBSCRIBE_DPDMNODRIVE; /*!< (@ 0x000000DC) Subscribe configuration for task DPDMNODRIVE */
  2470. __IM uint32_t RESERVED2[8];
  2471. __IOM uint32_t EVENTS_USBRESET; /*!< (@ 0x00000100) Signals that a USB reset condition has been detected
  2472. on USB lines */
  2473. __IOM uint32_t EVENTS_STARTED; /*!< (@ 0x00000104) Confirms that the EPIN[n].PTR and EPIN[n].MAXCNT,
  2474. or EPOUT[n].PTR and EPOUT[n].MAXCNT registers
  2475. have been captured on all endpoints reported
  2476. in the EPSTATUS register */
  2477. __IOM uint32_t EVENTS_ENDEPIN[8]; /*!< (@ 0x00000108) Description collection: The whole EPIN[n] buffer
  2478. has been consumed. The buffer can be accessed
  2479. safely by software. */
  2480. __IOM uint32_t EVENTS_EP0DATADONE; /*!< (@ 0x00000128) An acknowledged data transfer has taken place
  2481. on the control endpoint */
  2482. __IOM uint32_t EVENTS_ENDISOIN; /*!< (@ 0x0000012C) The whole ISOIN buffer has been consumed. The
  2483. buffer can be accessed safely by software. */
  2484. __IOM uint32_t EVENTS_ENDEPOUT[8]; /*!< (@ 0x00000130) Description collection: The whole EPOUT[n] buffer
  2485. has been consumed. The buffer can be accessed
  2486. safely by software. */
  2487. __IOM uint32_t EVENTS_ENDISOOUT; /*!< (@ 0x00000150) The whole ISOOUT buffer has been consumed. The
  2488. buffer can be accessed safely by software. */
  2489. __IOM uint32_t EVENTS_SOF; /*!< (@ 0x00000154) Signals that a SOF (start of frame) condition
  2490. has been detected on USB lines */
  2491. __IOM uint32_t EVENTS_USBEVENT; /*!< (@ 0x00000158) An event or an error not covered by specific
  2492. events has occurred. Check EVENTCAUSE register
  2493. to find the cause. */
  2494. __IOM uint32_t EVENTS_EP0SETUP; /*!< (@ 0x0000015C) A valid SETUP token has been received (and acknowledged)
  2495. on the control endpoint */
  2496. __IOM uint32_t EVENTS_EPDATA; /*!< (@ 0x00000160) A data transfer has occurred on a data endpoint,
  2497. indicated by the EPDATASTATUS register */
  2498. __IM uint32_t RESERVED3[7];
  2499. __IOM uint32_t PUBLISH_USBRESET; /*!< (@ 0x00000180) Publish configuration for event USBRESET */
  2500. __IOM uint32_t PUBLISH_STARTED; /*!< (@ 0x00000184) Publish configuration for event STARTED */
  2501. __IOM uint32_t PUBLISH_ENDEPIN[8]; /*!< (@ 0x00000188) Description collection: Publish configuration
  2502. for event ENDEPIN[n] */
  2503. __IOM uint32_t PUBLISH_EP0DATADONE; /*!< (@ 0x000001A8) Publish configuration for event EP0DATADONE */
  2504. __IOM uint32_t PUBLISH_ENDISOIN; /*!< (@ 0x000001AC) Publish configuration for event ENDISOIN */
  2505. __IOM uint32_t PUBLISH_ENDEPOUT[8]; /*!< (@ 0x000001B0) Description collection: Publish configuration
  2506. for event ENDEPOUT[n] */
  2507. __IOM uint32_t PUBLISH_ENDISOOUT; /*!< (@ 0x000001D0) Publish configuration for event ENDISOOUT */
  2508. __IOM uint32_t PUBLISH_SOF; /*!< (@ 0x000001D4) Publish configuration for event SOF */
  2509. __IOM uint32_t PUBLISH_USBEVENT; /*!< (@ 0x000001D8) Publish configuration for event USBEVENT */
  2510. __IOM uint32_t PUBLISH_EP0SETUP; /*!< (@ 0x000001DC) Publish configuration for event EP0SETUP */
  2511. __IOM uint32_t PUBLISH_EPDATA; /*!< (@ 0x000001E0) Publish configuration for event EPDATA */
  2512. __IM uint32_t RESERVED4[7];
  2513. __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
  2514. __IM uint32_t RESERVED5[63];
  2515. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  2516. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  2517. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  2518. __IM uint32_t RESERVED6[61];
  2519. __IOM uint32_t EVENTCAUSE; /*!< (@ 0x00000400) Details on what caused the USBEVENT event */
  2520. __IM uint32_t RESERVED7[7];
  2521. __IOM USBD_HALTED_Type HALTED; /*!< (@ 0x00000420) Unspecified */
  2522. __IM uint32_t RESERVED8;
  2523. __IOM uint32_t EPSTATUS; /*!< (@ 0x00000468) Provides information on which endpoint's EasyDMA
  2524. registers have been captured */
  2525. __IOM uint32_t EPDATASTATUS; /*!< (@ 0x0000046C) Provides information on which endpoint(s) an
  2526. acknowledged data transfer has occurred
  2527. (EPDATA event) */
  2528. __IM uint32_t USBADDR; /*!< (@ 0x00000470) Device USB address */
  2529. __IM uint32_t RESERVED9[3];
  2530. __IM uint32_t BMREQUESTTYPE; /*!< (@ 0x00000480) SETUP data, byte 0, bmRequestType */
  2531. __IM uint32_t BREQUEST; /*!< (@ 0x00000484) SETUP data, byte 1, bRequest */
  2532. __IM uint32_t WVALUEL; /*!< (@ 0x00000488) SETUP data, byte 2, LSB of wValue */
  2533. __IM uint32_t WVALUEH; /*!< (@ 0x0000048C) SETUP data, byte 3, MSB of wValue */
  2534. __IM uint32_t WINDEXL; /*!< (@ 0x00000490) SETUP data, byte 4, LSB of wIndex */
  2535. __IM uint32_t WINDEXH; /*!< (@ 0x00000494) SETUP data, byte 5, MSB of wIndex */
  2536. __IM uint32_t WLENGTHL; /*!< (@ 0x00000498) SETUP data, byte 6, LSB of wLength */
  2537. __IM uint32_t WLENGTHH; /*!< (@ 0x0000049C) SETUP data, byte 7, MSB of wLength */
  2538. __IOM USBD_SIZE_Type SIZE; /*!< (@ 0x000004A0) Unspecified */
  2539. __IM uint32_t RESERVED10[15];
  2540. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable USB */
  2541. __IOM uint32_t USBPULLUP; /*!< (@ 0x00000504) Control of the USB pull-up */
  2542. __IOM uint32_t DPDMVALUE; /*!< (@ 0x00000508) State D+ and D- lines will be forced into by
  2543. the DPDMDRIVE task. The DPDMNODRIVE task
  2544. reverts the control of the lines to MAC
  2545. IP (no forcing). */
  2546. __IOM uint32_t DTOGGLE; /*!< (@ 0x0000050C) Data toggle control and status */
  2547. __IOM uint32_t EPINEN; /*!< (@ 0x00000510) Endpoint IN enable */
  2548. __IOM uint32_t EPOUTEN; /*!< (@ 0x00000514) Endpoint OUT enable */
  2549. __OM uint32_t EPSTALL; /*!< (@ 0x00000518) STALL endpoints */
  2550. __IOM uint32_t ISOSPLIT; /*!< (@ 0x0000051C) Controls the split of ISO buffers */
  2551. __IM uint32_t FRAMECNTR; /*!< (@ 0x00000520) Returns the current value of the start of frame
  2552. counter */
  2553. __IM uint32_t RESERVED11[2];
  2554. __IOM uint32_t LOWPOWER; /*!< (@ 0x0000052C) Controls USBD peripheral low power mode during
  2555. USB suspend */
  2556. __IOM uint32_t ISOINCONFIG; /*!< (@ 0x00000530) Controls the response of the ISO IN endpoint
  2557. to an IN token when no data is ready to
  2558. be sent */
  2559. __IM uint32_t RESERVED12[51];
  2560. __IOM USBD_EPIN_Type EPIN[8]; /*!< (@ 0x00000600) Unspecified */
  2561. __IOM USBD_ISOIN_Type ISOIN; /*!< (@ 0x000006A0) Unspecified */
  2562. __IM uint32_t RESERVED13[21];
  2563. __IOM USBD_EPOUT_Type EPOUT[8]; /*!< (@ 0x00000700) Unspecified */
  2564. __IOM USBD_ISOOUT_Type ISOOUT; /*!< (@ 0x000007A0) Unspecified */
  2565. } NRF_USBD_Type; /*!< Size = 1964 (0x7ac) */
  2566. /* =========================================================================================================================== */
  2567. /* ================ USBREGULATOR_NS ================ */
  2568. /* =========================================================================================================================== */
  2569. /**
  2570. * @brief USB Regulator 0 (USBREGULATOR_NS)
  2571. */
  2572. typedef struct { /*!< (@ 0x40037000) USBREGULATOR_NS Structure */
  2573. __IM uint32_t RESERVED[64];
  2574. __IOM uint32_t EVENTS_USBDETECTED; /*!< (@ 0x00000100) Voltage supply detected on VBUS */
  2575. __IOM uint32_t EVENTS_USBREMOVED; /*!< (@ 0x00000104) Voltage supply removed from VBUS */
  2576. __IOM uint32_t EVENTS_USBPWRRDY; /*!< (@ 0x00000108) USB 3.3 V supply ready */
  2577. __IM uint32_t RESERVED1[29];
  2578. __IOM uint32_t PUBLISH_USBDETECTED; /*!< (@ 0x00000180) Publish configuration for event USBDETECTED */
  2579. __IOM uint32_t PUBLISH_USBREMOVED; /*!< (@ 0x00000184) Publish configuration for event USBREMOVED */
  2580. __IOM uint32_t PUBLISH_USBPWRRDY; /*!< (@ 0x00000188) Publish configuration for event USBPWRRDY */
  2581. __IM uint32_t RESERVED2[93];
  2582. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  2583. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  2584. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  2585. __IM uint32_t RESERVED3[61];
  2586. __IM uint32_t USBREGSTATUS; /*!< (@ 0x00000400) USB supply status */
  2587. } NRF_USBREG_Type; /*!< Size = 1028 (0x404) */
  2588. /* =========================================================================================================================== */
  2589. /* ================ KMU_NS ================ */
  2590. /* =========================================================================================================================== */
  2591. /**
  2592. * @brief Key management unit 0 (KMU_NS)
  2593. */
  2594. typedef struct { /*!< (@ 0x40039000) KMU_NS Structure */
  2595. __OM uint32_t TASKS_PUSH_KEYSLOT; /*!< (@ 0x00000000) Push a key slot over secure APB */
  2596. __IM uint32_t RESERVED[63];
  2597. __IOM uint32_t EVENTS_KEYSLOT_PUSHED; /*!< (@ 0x00000100) Key slot successfully pushed over secure APB */
  2598. __IOM uint32_t EVENTS_KEYSLOT_REVOKED; /*!< (@ 0x00000104) Key slot has been revoked and cannot be tasked
  2599. for selection */
  2600. __IOM uint32_t EVENTS_KEYSLOT_ERROR; /*!< (@ 0x00000108) No key slot selected, no destination address
  2601. defined, or error during push operation */
  2602. __IM uint32_t RESERVED1[125];
  2603. __IOM uint32_t INTEN; /*!< (@ 0x00000300) Enable or disable interrupt */
  2604. __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
  2605. __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
  2606. __IM uint32_t INTPEND; /*!< (@ 0x0000030C) Pending interrupts */
  2607. __IM uint32_t RESERVED2[63];
  2608. __IM uint32_t STATUS; /*!< (@ 0x0000040C) Status bits for KMU operation */
  2609. __IM uint32_t RESERVED3[60];
  2610. __IOM uint32_t SELECTKEYSLOT; /*!< (@ 0x00000500) Select key slot to be read over AHB or pushed
  2611. over secure APB when TASKS_PUSH_KEYSLOT
  2612. is started */
  2613. } NRF_KMU_Type; /*!< Size = 1284 (0x504) */
  2614. /* =========================================================================================================================== */
  2615. /* ================ NVMC_NS ================ */
  2616. /* =========================================================================================================================== */
  2617. /**
  2618. * @brief Non-volatile memory controller 0 (NVMC_NS)
  2619. */
  2620. typedef struct { /*!< (@ 0x40039000) NVMC_NS Structure */
  2621. __IM uint32_t RESERVED[256];
  2622. __IM uint32_t READY; /*!< (@ 0x00000400) Ready flag */
  2623. __IM uint32_t RESERVED1;
  2624. __IM uint32_t READYNEXT; /*!< (@ 0x00000408) Ready flag */
  2625. __IM uint32_t RESERVED2[62];
  2626. __IOM uint32_t CONFIG; /*!< (@ 0x00000504) Configuration register */
  2627. __IM uint32_t RESERVED3;
  2628. __OM uint32_t ERASEALL; /*!< (@ 0x0000050C) Register for erasing all non-volatile user memory */
  2629. __IM uint32_t RESERVED4[3];
  2630. __IOM uint32_t ERASEPAGEPARTIALCFG; /*!< (@ 0x0000051C) Register for partial erase configuration */
  2631. __IM uint32_t RESERVED5[25];
  2632. __IOM uint32_t CONFIGNS; /*!< (@ 0x00000584) Unspecified */
  2633. __OM uint32_t WRITEUICRNS; /*!< (@ 0x00000588) Non-secure APPROTECT enable register */
  2634. } NRF_NVMC_Type; /*!< Size = 1420 (0x58c) */
  2635. /* =========================================================================================================================== */
  2636. /* ================ P0_NS ================ */
  2637. /* =========================================================================================================================== */
  2638. /**
  2639. * @brief GPIO Port 0 (P0_NS)
  2640. */
  2641. typedef struct { /*!< (@ 0x40842500) P0_NS Structure */
  2642. __IM uint32_t RESERVED;
  2643. __IOM uint32_t OUT; /*!< (@ 0x00000004) Write GPIO port */
  2644. __IOM uint32_t OUTSET; /*!< (@ 0x00000008) Set individual bits in GPIO port */
  2645. __IOM uint32_t OUTCLR; /*!< (@ 0x0000000C) Clear individual bits in GPIO port */
  2646. __IM uint32_t IN; /*!< (@ 0x00000010) Read GPIO port */
  2647. __IOM uint32_t DIR; /*!< (@ 0x00000014) Direction of GPIO pins */
  2648. __IOM uint32_t DIRSET; /*!< (@ 0x00000018) DIR set register */
  2649. __IOM uint32_t DIRCLR; /*!< (@ 0x0000001C) DIR clear register */
  2650. __IOM uint32_t LATCH; /*!< (@ 0x00000020) Latch register indicating what GPIO pins that
  2651. have met the criteria set in the PIN_CNF[n].SENSE
  2652. registers */
  2653. __IOM uint32_t DETECTMODE; /*!< (@ 0x00000024) Select between default DETECT signal behavior
  2654. and LDETECT mode (For non-secure pin only) */
  2655. __IOM uint32_t DETECTMODE_SEC; /*!< (@ 0x00000028) Select between default DETECT signal behavior
  2656. and LDETECT mode (For secure pin only) */
  2657. __IM uint32_t RESERVED1[117];
  2658. __IOM uint32_t PIN_CNF[32]; /*!< (@ 0x00000200) Description collection: Configuration of GPIO
  2659. pins */
  2660. } NRF_GPIO_Type; /*!< Size = 640 (0x280) */
  2661. /* =========================================================================================================================== */
  2662. /* ================ CRYPTOCELL_S ================ */
  2663. /* =========================================================================================================================== */
  2664. /**
  2665. * @brief ARM TrustZone CryptoCell register interface (CRYPTOCELL_S)
  2666. */
  2667. typedef struct { /*!< (@ 0x50844000) CRYPTOCELL_S Structure */
  2668. __IM uint32_t RESERVED[320];
  2669. __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable CRYPTOCELL subsystem. */
  2670. } NRF_CRYPTOCELL_Type; /*!< Size = 1284 (0x504) */
  2671. /* =========================================================================================================================== */
  2672. /* ================ VMC_NS ================ */
  2673. /* =========================================================================================================================== */
  2674. /**
  2675. * @brief Volatile Memory controller 0 (VMC_NS)
  2676. */
  2677. typedef struct { /*!< (@ 0x40081000) VMC_NS Structure */
  2678. __IM uint32_t RESERVED[384];
  2679. __IOM VMC_RAM_Type RAM[8]; /*!< (@ 0x00000600) Unspecified */
  2680. } NRF_VMC_Type; /*!< Size = 1664 (0x680) */
  2681. /** @} */ /* End of group Device_Peripheral_peripherals */
  2682. /* =========================================================================================================================== */
  2683. /* ================ Device Specific Peripheral Address Map ================ */
  2684. /* =========================================================================================================================== */
  2685. /** @addtogroup Device_Peripheral_peripheralAddr
  2686. * @{
  2687. */
  2688. #define NRF_CACHEDATA_S_BASE 0x00F00000UL
  2689. #define NRF_CACHEINFO_S_BASE 0x00F08000UL
  2690. #define NRF_FICR_S_BASE 0x00FF0000UL
  2691. #define NRF_UICR_S_BASE 0x00FF8000UL
  2692. #define NRF_CTI_S_BASE 0xE0042000UL
  2693. #define NRF_TAD_S_BASE 0xE0080000UL
  2694. #define NRF_DCNF_NS_BASE 0x40000000UL
  2695. #define NRF_FPU_NS_BASE 0x40000000UL
  2696. #define NRF_DCNF_S_BASE 0x50000000UL
  2697. #define NRF_FPU_S_BASE 0x50000000UL
  2698. #define NRF_CACHE_S_BASE 0x50001000UL
  2699. #define NRF_SPU_S_BASE 0x50003000UL
  2700. #define NRF_OSCILLATORS_NS_BASE 0x40004000UL
  2701. #define NRF_REGULATORS_NS_BASE 0x40004000UL
  2702. #define NRF_OSCILLATORS_S_BASE 0x50004000UL
  2703. #define NRF_REGULATORS_S_BASE 0x50004000UL
  2704. #define NRF_CLOCK_NS_BASE 0x40005000UL
  2705. #define NRF_POWER_NS_BASE 0x40005000UL
  2706. #define NRF_RESET_NS_BASE 0x40005000UL
  2707. #define NRF_CLOCK_S_BASE 0x50005000UL
  2708. #define NRF_POWER_S_BASE 0x50005000UL
  2709. #define NRF_RESET_S_BASE 0x50005000UL
  2710. #define NRF_CTRLAP_NS_BASE 0x40006000UL
  2711. #define NRF_CTRLAP_S_BASE 0x50006000UL
  2712. #define NRF_SPIM0_NS_BASE 0x40008000UL
  2713. #define NRF_SPIS0_NS_BASE 0x40008000UL
  2714. #define NRF_TWIM0_NS_BASE 0x40008000UL
  2715. #define NRF_TWIS0_NS_BASE 0x40008000UL
  2716. #define NRF_UARTE0_NS_BASE 0x40008000UL
  2717. #define NRF_SPIM0_S_BASE 0x50008000UL
  2718. #define NRF_SPIS0_S_BASE 0x50008000UL
  2719. #define NRF_TWIM0_S_BASE 0x50008000UL
  2720. #define NRF_TWIS0_S_BASE 0x50008000UL
  2721. #define NRF_UARTE0_S_BASE 0x50008000UL
  2722. #define NRF_SPIM1_NS_BASE 0x40009000UL
  2723. #define NRF_SPIS1_NS_BASE 0x40009000UL
  2724. #define NRF_TWIM1_NS_BASE 0x40009000UL
  2725. #define NRF_TWIS1_NS_BASE 0x40009000UL
  2726. #define NRF_UARTE1_NS_BASE 0x40009000UL
  2727. #define NRF_SPIM1_S_BASE 0x50009000UL
  2728. #define NRF_SPIS1_S_BASE 0x50009000UL
  2729. #define NRF_TWIM1_S_BASE 0x50009000UL
  2730. #define NRF_TWIS1_S_BASE 0x50009000UL
  2731. #define NRF_UARTE1_S_BASE 0x50009000UL
  2732. #define NRF_SPIM4_NS_BASE 0x4000A000UL
  2733. #define NRF_SPIM4_S_BASE 0x5000A000UL
  2734. #define NRF_SPIM2_NS_BASE 0x4000B000UL
  2735. #define NRF_SPIS2_NS_BASE 0x4000B000UL
  2736. #define NRF_TWIM2_NS_BASE 0x4000B000UL
  2737. #define NRF_TWIS2_NS_BASE 0x4000B000UL
  2738. #define NRF_UARTE2_NS_BASE 0x4000B000UL
  2739. #define NRF_SPIM2_S_BASE 0x5000B000UL
  2740. #define NRF_SPIS2_S_BASE 0x5000B000UL
  2741. #define NRF_TWIM2_S_BASE 0x5000B000UL
  2742. #define NRF_TWIS2_S_BASE 0x5000B000UL
  2743. #define NRF_UARTE2_S_BASE 0x5000B000UL
  2744. #define NRF_SPIM3_NS_BASE 0x4000C000UL
  2745. #define NRF_SPIS3_NS_BASE 0x4000C000UL
  2746. #define NRF_TWIM3_NS_BASE 0x4000C000UL
  2747. #define NRF_TWIS3_NS_BASE 0x4000C000UL
  2748. #define NRF_UARTE3_NS_BASE 0x4000C000UL
  2749. #define NRF_SPIM3_S_BASE 0x5000C000UL
  2750. #define NRF_SPIS3_S_BASE 0x5000C000UL
  2751. #define NRF_TWIM3_S_BASE 0x5000C000UL
  2752. #define NRF_TWIS3_S_BASE 0x5000C000UL
  2753. #define NRF_UARTE3_S_BASE 0x5000C000UL
  2754. #define NRF_GPIOTE0_S_BASE 0x5000D000UL
  2755. #define NRF_SAADC_NS_BASE 0x4000E000UL
  2756. #define NRF_SAADC_S_BASE 0x5000E000UL
  2757. #define NRF_TIMER0_NS_BASE 0x4000F000UL
  2758. #define NRF_TIMER0_S_BASE 0x5000F000UL
  2759. #define NRF_TIMER1_NS_BASE 0x40010000UL
  2760. #define NRF_TIMER1_S_BASE 0x50010000UL
  2761. #define NRF_TIMER2_NS_BASE 0x40011000UL
  2762. #define NRF_TIMER2_S_BASE 0x50011000UL
  2763. #define NRF_RTC0_NS_BASE 0x40014000UL
  2764. #define NRF_RTC0_S_BASE 0x50014000UL
  2765. #define NRF_RTC1_NS_BASE 0x40015000UL
  2766. #define NRF_RTC1_S_BASE 0x50015000UL
  2767. #define NRF_DPPIC_NS_BASE 0x40017000UL
  2768. #define NRF_DPPIC_S_BASE 0x50017000UL
  2769. #define NRF_WDT0_NS_BASE 0x40018000UL
  2770. #define NRF_WDT0_S_BASE 0x50018000UL
  2771. #define NRF_WDT1_NS_BASE 0x40019000UL
  2772. #define NRF_WDT1_S_BASE 0x50019000UL
  2773. #define NRF_COMP_NS_BASE 0x4001A000UL
  2774. #define NRF_LPCOMP_NS_BASE 0x4001A000UL
  2775. #define NRF_COMP_S_BASE 0x5001A000UL
  2776. #define NRF_LPCOMP_S_BASE 0x5001A000UL
  2777. #define NRF_EGU0_NS_BASE 0x4001B000UL
  2778. #define NRF_EGU0_S_BASE 0x5001B000UL
  2779. #define NRF_EGU1_NS_BASE 0x4001C000UL
  2780. #define NRF_EGU1_S_BASE 0x5001C000UL
  2781. #define NRF_EGU2_NS_BASE 0x4001D000UL
  2782. #define NRF_EGU2_S_BASE 0x5001D000UL
  2783. #define NRF_EGU3_NS_BASE 0x4001E000UL
  2784. #define NRF_EGU3_S_BASE 0x5001E000UL
  2785. #define NRF_EGU4_NS_BASE 0x4001F000UL
  2786. #define NRF_EGU4_S_BASE 0x5001F000UL
  2787. #define NRF_EGU5_NS_BASE 0x40020000UL
  2788. #define NRF_EGU5_S_BASE 0x50020000UL
  2789. #define NRF_PWM0_NS_BASE 0x40021000UL
  2790. #define NRF_PWM0_S_BASE 0x50021000UL
  2791. #define NRF_PWM1_NS_BASE 0x40022000UL
  2792. #define NRF_PWM1_S_BASE 0x50022000UL
  2793. #define NRF_PWM2_NS_BASE 0x40023000UL
  2794. #define NRF_PWM2_S_BASE 0x50023000UL
  2795. #define NRF_PWM3_NS_BASE 0x40024000UL
  2796. #define NRF_PWM3_S_BASE 0x50024000UL
  2797. #define NRF_PDM0_NS_BASE 0x40026000UL
  2798. #define NRF_PDM0_S_BASE 0x50026000UL
  2799. #define NRF_I2S0_NS_BASE 0x40028000UL
  2800. #define NRF_I2S0_S_BASE 0x50028000UL
  2801. #define NRF_IPC_NS_BASE 0x4002A000UL
  2802. #define NRF_IPC_S_BASE 0x5002A000UL
  2803. #define NRF_QSPI_NS_BASE 0x4002B000UL
  2804. #define NRF_QSPI_S_BASE 0x5002B000UL
  2805. #define NRF_NFCT_NS_BASE 0x4002D000UL
  2806. #define NRF_NFCT_S_BASE 0x5002D000UL
  2807. #define NRF_GPIOTE1_NS_BASE 0x4002F000UL
  2808. #define NRF_MUTEX_NS_BASE 0x40030000UL
  2809. #define NRF_MUTEX_S_BASE 0x50030000UL
  2810. #define NRF_QDEC0_NS_BASE 0x40033000UL
  2811. #define NRF_QDEC0_S_BASE 0x50033000UL
  2812. #define NRF_QDEC1_NS_BASE 0x40034000UL
  2813. #define NRF_QDEC1_S_BASE 0x50034000UL
  2814. #define NRF_USBD_NS_BASE 0x40036000UL
  2815. #define NRF_USBD_S_BASE 0x50036000UL
  2816. #define NRF_USBREGULATOR_NS_BASE 0x40037000UL
  2817. #define NRF_USBREGULATOR_S_BASE 0x50037000UL
  2818. #define NRF_KMU_NS_BASE 0x40039000UL
  2819. #define NRF_NVMC_NS_BASE 0x40039000UL
  2820. #define NRF_KMU_S_BASE 0x50039000UL
  2821. #define NRF_NVMC_S_BASE 0x50039000UL
  2822. #define NRF_P0_NS_BASE 0x40842500UL
  2823. #define NRF_P1_NS_BASE 0x40842800UL
  2824. #define NRF_P0_S_BASE 0x50842500UL
  2825. #define NRF_P1_S_BASE 0x50842800UL
  2826. #define NRF_CRYPTOCELL_S_BASE 0x50844000UL
  2827. #define NRF_VMC_NS_BASE 0x40081000UL
  2828. #define NRF_VMC_S_BASE 0x50081000UL
  2829. /** @} */ /* End of group Device_Peripheral_peripheralAddr */
  2830. /* =========================================================================================================================== */
  2831. /* ================ Peripheral declaration ================ */
  2832. /* =========================================================================================================================== */
  2833. /** @addtogroup Device_Peripheral_declaration
  2834. * @{
  2835. */
  2836. #define NRF_CACHEDATA_S ((NRF_CACHEDATA_Type*) NRF_CACHEDATA_S_BASE)
  2837. #define NRF_CACHEINFO_S ((NRF_CACHEINFO_Type*) NRF_CACHEINFO_S_BASE)
  2838. #define NRF_FICR_S ((NRF_FICR_Type*) NRF_FICR_S_BASE)
  2839. #define NRF_UICR_S ((NRF_UICR_Type*) NRF_UICR_S_BASE)
  2840. #define NRF_CTI_S ((NRF_CTI_Type*) NRF_CTI_S_BASE)
  2841. #define NRF_TAD_S ((NRF_TAD_Type*) NRF_TAD_S_BASE)
  2842. #define NRF_DCNF_NS ((NRF_DCNF_Type*) NRF_DCNF_NS_BASE)
  2843. #define NRF_FPU_NS ((NRF_FPU_Type*) NRF_FPU_NS_BASE)
  2844. #define NRF_DCNF_S ((NRF_DCNF_Type*) NRF_DCNF_S_BASE)
  2845. #define NRF_FPU_S ((NRF_FPU_Type*) NRF_FPU_S_BASE)
  2846. #define NRF_CACHE_S ((NRF_CACHE_Type*) NRF_CACHE_S_BASE)
  2847. #define NRF_SPU_S ((NRF_SPU_Type*) NRF_SPU_S_BASE)
  2848. #define NRF_OSCILLATORS_NS ((NRF_OSCILLATORS_Type*) NRF_OSCILLATORS_NS_BASE)
  2849. #define NRF_REGULATORS_NS ((NRF_REGULATORS_Type*) NRF_REGULATORS_NS_BASE)
  2850. #define NRF_OSCILLATORS_S ((NRF_OSCILLATORS_Type*) NRF_OSCILLATORS_S_BASE)
  2851. #define NRF_REGULATORS_S ((NRF_REGULATORS_Type*) NRF_REGULATORS_S_BASE)
  2852. #define NRF_CLOCK_NS ((NRF_CLOCK_Type*) NRF_CLOCK_NS_BASE)
  2853. #define NRF_POWER_NS ((NRF_POWER_Type*) NRF_POWER_NS_BASE)
  2854. #define NRF_RESET_NS ((NRF_RESET_Type*) NRF_RESET_NS_BASE)
  2855. #define NRF_CLOCK_S ((NRF_CLOCK_Type*) NRF_CLOCK_S_BASE)
  2856. #define NRF_POWER_S ((NRF_POWER_Type*) NRF_POWER_S_BASE)
  2857. #define NRF_RESET_S ((NRF_RESET_Type*) NRF_RESET_S_BASE)
  2858. #define NRF_CTRLAP_NS ((NRF_CTRLAPPERI_Type*) NRF_CTRLAP_NS_BASE)
  2859. #define NRF_CTRLAP_S ((NRF_CTRLAPPERI_Type*) NRF_CTRLAP_S_BASE)
  2860. #define NRF_SPIM0_NS ((NRF_SPIM_Type*) NRF_SPIM0_NS_BASE)
  2861. #define NRF_SPIS0_NS ((NRF_SPIS_Type*) NRF_SPIS0_NS_BASE)
  2862. #define NRF_TWIM0_NS ((NRF_TWIM_Type*) NRF_TWIM0_NS_BASE)
  2863. #define NRF_TWIS0_NS ((NRF_TWIS_Type*) NRF_TWIS0_NS_BASE)
  2864. #define NRF_UARTE0_NS ((NRF_UARTE_Type*) NRF_UARTE0_NS_BASE)
  2865. #define NRF_SPIM0_S ((NRF_SPIM_Type*) NRF_SPIM0_S_BASE)
  2866. #define NRF_SPIS0_S ((NRF_SPIS_Type*) NRF_SPIS0_S_BASE)
  2867. #define NRF_TWIM0_S ((NRF_TWIM_Type*) NRF_TWIM0_S_BASE)
  2868. #define NRF_TWIS0_S ((NRF_TWIS_Type*) NRF_TWIS0_S_BASE)
  2869. #define NRF_UARTE0_S ((NRF_UARTE_Type*) NRF_UARTE0_S_BASE)
  2870. #define NRF_SPIM1_NS ((NRF_SPIM_Type*) NRF_SPIM1_NS_BASE)
  2871. #define NRF_SPIS1_NS ((NRF_SPIS_Type*) NRF_SPIS1_NS_BASE)
  2872. #define NRF_TWIM1_NS ((NRF_TWIM_Type*) NRF_TWIM1_NS_BASE)
  2873. #define NRF_TWIS1_NS ((NRF_TWIS_Type*) NRF_TWIS1_NS_BASE)
  2874. #define NRF_UARTE1_NS ((NRF_UARTE_Type*) NRF_UARTE1_NS_BASE)
  2875. #define NRF_SPIM1_S ((NRF_SPIM_Type*) NRF_SPIM1_S_BASE)
  2876. #define NRF_SPIS1_S ((NRF_SPIS_Type*) NRF_SPIS1_S_BASE)
  2877. #define NRF_TWIM1_S ((NRF_TWIM_Type*) NRF_TWIM1_S_BASE)
  2878. #define NRF_TWIS1_S ((NRF_TWIS_Type*) NRF_TWIS1_S_BASE)
  2879. #define NRF_UARTE1_S ((NRF_UARTE_Type*) NRF_UARTE1_S_BASE)
  2880. #define NRF_SPIM4_NS ((NRF_SPIM_Type*) NRF_SPIM4_NS_BASE)
  2881. #define NRF_SPIM4_S ((NRF_SPIM_Type*) NRF_SPIM4_S_BASE)
  2882. #define NRF_SPIM2_NS ((NRF_SPIM_Type*) NRF_SPIM2_NS_BASE)
  2883. #define NRF_SPIS2_NS ((NRF_SPIS_Type*) NRF_SPIS2_NS_BASE)
  2884. #define NRF_TWIM2_NS ((NRF_TWIM_Type*) NRF_TWIM2_NS_BASE)
  2885. #define NRF_TWIS2_NS ((NRF_TWIS_Type*) NRF_TWIS2_NS_BASE)
  2886. #define NRF_UARTE2_NS ((NRF_UARTE_Type*) NRF_UARTE2_NS_BASE)
  2887. #define NRF_SPIM2_S ((NRF_SPIM_Type*) NRF_SPIM2_S_BASE)
  2888. #define NRF_SPIS2_S ((NRF_SPIS_Type*) NRF_SPIS2_S_BASE)
  2889. #define NRF_TWIM2_S ((NRF_TWIM_Type*) NRF_TWIM2_S_BASE)
  2890. #define NRF_TWIS2_S ((NRF_TWIS_Type*) NRF_TWIS2_S_BASE)
  2891. #define NRF_UARTE2_S ((NRF_UARTE_Type*) NRF_UARTE2_S_BASE)
  2892. #define NRF_SPIM3_NS ((NRF_SPIM_Type*) NRF_SPIM3_NS_BASE)
  2893. #define NRF_SPIS3_NS ((NRF_SPIS_Type*) NRF_SPIS3_NS_BASE)
  2894. #define NRF_TWIM3_NS ((NRF_TWIM_Type*) NRF_TWIM3_NS_BASE)
  2895. #define NRF_TWIS3_NS ((NRF_TWIS_Type*) NRF_TWIS3_NS_BASE)
  2896. #define NRF_UARTE3_NS ((NRF_UARTE_Type*) NRF_UARTE3_NS_BASE)
  2897. #define NRF_SPIM3_S ((NRF_SPIM_Type*) NRF_SPIM3_S_BASE)
  2898. #define NRF_SPIS3_S ((NRF_SPIS_Type*) NRF_SPIS3_S_BASE)
  2899. #define NRF_TWIM3_S ((NRF_TWIM_Type*) NRF_TWIM3_S_BASE)
  2900. #define NRF_TWIS3_S ((NRF_TWIS_Type*) NRF_TWIS3_S_BASE)
  2901. #define NRF_UARTE3_S ((NRF_UARTE_Type*) NRF_UARTE3_S_BASE)
  2902. #define NRF_GPIOTE0_S ((NRF_GPIOTE_Type*) NRF_GPIOTE0_S_BASE)
  2903. #define NRF_SAADC_NS ((NRF_SAADC_Type*) NRF_SAADC_NS_BASE)
  2904. #define NRF_SAADC_S ((NRF_SAADC_Type*) NRF_SAADC_S_BASE)
  2905. #define NRF_TIMER0_NS ((NRF_TIMER_Type*) NRF_TIMER0_NS_BASE)
  2906. #define NRF_TIMER0_S ((NRF_TIMER_Type*) NRF_TIMER0_S_BASE)
  2907. #define NRF_TIMER1_NS ((NRF_TIMER_Type*) NRF_TIMER1_NS_BASE)
  2908. #define NRF_TIMER1_S ((NRF_TIMER_Type*) NRF_TIMER1_S_BASE)
  2909. #define NRF_TIMER2_NS ((NRF_TIMER_Type*) NRF_TIMER2_NS_BASE)
  2910. #define NRF_TIMER2_S ((NRF_TIMER_Type*) NRF_TIMER2_S_BASE)
  2911. #define NRF_RTC0_NS ((NRF_RTC_Type*) NRF_RTC0_NS_BASE)
  2912. #define NRF_RTC0_S ((NRF_RTC_Type*) NRF_RTC0_S_BASE)
  2913. #define NRF_RTC1_NS ((NRF_RTC_Type*) NRF_RTC1_NS_BASE)
  2914. #define NRF_RTC1_S ((NRF_RTC_Type*) NRF_RTC1_S_BASE)
  2915. #define NRF_DPPIC_NS ((NRF_DPPIC_Type*) NRF_DPPIC_NS_BASE)
  2916. #define NRF_DPPIC_S ((NRF_DPPIC_Type*) NRF_DPPIC_S_BASE)
  2917. #define NRF_WDT0_NS ((NRF_WDT_Type*) NRF_WDT0_NS_BASE)
  2918. #define NRF_WDT0_S ((NRF_WDT_Type*) NRF_WDT0_S_BASE)
  2919. #define NRF_WDT1_NS ((NRF_WDT_Type*) NRF_WDT1_NS_BASE)
  2920. #define NRF_WDT1_S ((NRF_WDT_Type*) NRF_WDT1_S_BASE)
  2921. #define NRF_COMP_NS ((NRF_COMP_Type*) NRF_COMP_NS_BASE)
  2922. #define NRF_LPCOMP_NS ((NRF_LPCOMP_Type*) NRF_LPCOMP_NS_BASE)
  2923. #define NRF_COMP_S ((NRF_COMP_Type*) NRF_COMP_S_BASE)
  2924. #define NRF_LPCOMP_S ((NRF_LPCOMP_Type*) NRF_LPCOMP_S_BASE)
  2925. #define NRF_EGU0_NS ((NRF_EGU_Type*) NRF_EGU0_NS_BASE)
  2926. #define NRF_EGU0_S ((NRF_EGU_Type*) NRF_EGU0_S_BASE)
  2927. #define NRF_EGU1_NS ((NRF_EGU_Type*) NRF_EGU1_NS_BASE)
  2928. #define NRF_EGU1_S ((NRF_EGU_Type*) NRF_EGU1_S_BASE)
  2929. #define NRF_EGU2_NS ((NRF_EGU_Type*) NRF_EGU2_NS_BASE)
  2930. #define NRF_EGU2_S ((NRF_EGU_Type*) NRF_EGU2_S_BASE)
  2931. #define NRF_EGU3_NS ((NRF_EGU_Type*) NRF_EGU3_NS_BASE)
  2932. #define NRF_EGU3_S ((NRF_EGU_Type*) NRF_EGU3_S_BASE)
  2933. #define NRF_EGU4_NS ((NRF_EGU_Type*) NRF_EGU4_NS_BASE)
  2934. #define NRF_EGU4_S ((NRF_EGU_Type*) NRF_EGU4_S_BASE)
  2935. #define NRF_EGU5_NS ((NRF_EGU_Type*) NRF_EGU5_NS_BASE)
  2936. #define NRF_EGU5_S ((NRF_EGU_Type*) NRF_EGU5_S_BASE)
  2937. #define NRF_PWM0_NS ((NRF_PWM_Type*) NRF_PWM0_NS_BASE)
  2938. #define NRF_PWM0_S ((NRF_PWM_Type*) NRF_PWM0_S_BASE)
  2939. #define NRF_PWM1_NS ((NRF_PWM_Type*) NRF_PWM1_NS_BASE)
  2940. #define NRF_PWM1_S ((NRF_PWM_Type*) NRF_PWM1_S_BASE)
  2941. #define NRF_PWM2_NS ((NRF_PWM_Type*) NRF_PWM2_NS_BASE)
  2942. #define NRF_PWM2_S ((NRF_PWM_Type*) NRF_PWM2_S_BASE)
  2943. #define NRF_PWM3_NS ((NRF_PWM_Type*) NRF_PWM3_NS_BASE)
  2944. #define NRF_PWM3_S ((NRF_PWM_Type*) NRF_PWM3_S_BASE)
  2945. #define NRF_PDM0_NS ((NRF_PDM_Type*) NRF_PDM0_NS_BASE)
  2946. #define NRF_PDM0_S ((NRF_PDM_Type*) NRF_PDM0_S_BASE)
  2947. #define NRF_I2S0_NS ((NRF_I2S_Type*) NRF_I2S0_NS_BASE)
  2948. #define NRF_I2S0_S ((NRF_I2S_Type*) NRF_I2S0_S_BASE)
  2949. #define NRF_IPC_NS ((NRF_IPC_Type*) NRF_IPC_NS_BASE)
  2950. #define NRF_IPC_S ((NRF_IPC_Type*) NRF_IPC_S_BASE)
  2951. #define NRF_QSPI_NS ((NRF_QSPI_Type*) NRF_QSPI_NS_BASE)
  2952. #define NRF_QSPI_S ((NRF_QSPI_Type*) NRF_QSPI_S_BASE)
  2953. #define NRF_NFCT_NS ((NRF_NFCT_Type*) NRF_NFCT_NS_BASE)
  2954. #define NRF_NFCT_S ((NRF_NFCT_Type*) NRF_NFCT_S_BASE)
  2955. #define NRF_GPIOTE1_NS ((NRF_GPIOTE_Type*) NRF_GPIOTE1_NS_BASE)
  2956. #define NRF_MUTEX_NS ((NRF_MUTEX_Type*) NRF_MUTEX_NS_BASE)
  2957. #define NRF_MUTEX_S ((NRF_MUTEX_Type*) NRF_MUTEX_S_BASE)
  2958. #define NRF_QDEC0_NS ((NRF_QDEC_Type*) NRF_QDEC0_NS_BASE)
  2959. #define NRF_QDEC0_S ((NRF_QDEC_Type*) NRF_QDEC0_S_BASE)
  2960. #define NRF_QDEC1_NS ((NRF_QDEC_Type*) NRF_QDEC1_NS_BASE)
  2961. #define NRF_QDEC1_S ((NRF_QDEC_Type*) NRF_QDEC1_S_BASE)
  2962. #define NRF_USBD_NS ((NRF_USBD_Type*) NRF_USBD_NS_BASE)
  2963. #define NRF_USBD_S ((NRF_USBD_Type*) NRF_USBD_S_BASE)
  2964. #define NRF_USBREGULATOR_NS ((NRF_USBREG_Type*) NRF_USBREGULATOR_NS_BASE)
  2965. #define NRF_USBREGULATOR_S ((NRF_USBREG_Type*) NRF_USBREGULATOR_S_BASE)
  2966. #define NRF_KMU_NS ((NRF_KMU_Type*) NRF_KMU_NS_BASE)
  2967. #define NRF_NVMC_NS ((NRF_NVMC_Type*) NRF_NVMC_NS_BASE)
  2968. #define NRF_KMU_S ((NRF_KMU_Type*) NRF_KMU_S_BASE)
  2969. #define NRF_NVMC_S ((NRF_NVMC_Type*) NRF_NVMC_S_BASE)
  2970. #define NRF_P0_NS ((NRF_GPIO_Type*) NRF_P0_NS_BASE)
  2971. #define NRF_P1_NS ((NRF_GPIO_Type*) NRF_P1_NS_BASE)
  2972. #define NRF_P0_S ((NRF_GPIO_Type*) NRF_P0_S_BASE)
  2973. #define NRF_P1_S ((NRF_GPIO_Type*) NRF_P1_S_BASE)
  2974. #define NRF_CRYPTOCELL_S ((NRF_CRYPTOCELL_Type*) NRF_CRYPTOCELL_S_BASE)
  2975. #define NRF_VMC_NS ((NRF_VMC_Type*) NRF_VMC_NS_BASE)
  2976. #define NRF_VMC_S ((NRF_VMC_Type*) NRF_VMC_S_BASE)
  2977. /** @} */ /* End of group Device_Peripheral_declaration */
  2978. #ifdef __cplusplus
  2979. }
  2980. #endif
  2981. #endif /* NRF5340_APPLICATION_H */
  2982. /** @} */ /* End of group nrf5340_application */
  2983. /** @} */ /* End of group Nordic Semiconductor */