nrf51_to_nrf52.h 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963
  1. /*
  2. Copyright (c) 2010 - 2018, Nordic Semiconductor ASA
  3. All rights reserved.
  4. Redistribution and use in source and binary forms, with or without modification,
  5. are permitted provided that the following conditions are met:
  6. 1. Redistributions of source code must retain the above copyright notice, this
  7. list of conditions and the following disclaimer.
  8. 2. Redistributions in binary form, except as embedded into a Nordic
  9. Semiconductor ASA integrated circuit in a product or a software update for
  10. such product, must reproduce the above copyright notice, this list of
  11. conditions and the following disclaimer in the documentation and/or other
  12. materials provided with the distribution.
  13. 3. Neither the name of Nordic Semiconductor ASA nor the names of its
  14. contributors may be used to endorse or promote products derived from this
  15. software without specific prior written permission.
  16. 4. This software, with or without modification, must only be used with a
  17. Nordic Semiconductor ASA integrated circuit.
  18. 5. Any software provided in binary form under this license must not be reverse
  19. engineered, decompiled, modified and/or disassembled.
  20. THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
  21. OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  22. OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
  23. DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
  24. LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  25. CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  26. GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  27. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  28. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  29. OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  30. */
  31. #ifndef NRF51_TO_NRF52_H
  32. #define NRF51_TO_NRF52_H
  33. /*lint ++flb "Enter library region */
  34. /* This file is given to prevent your SW from not compiling with the name changes between nRF51 and nRF52 devices.
  35. * It redefines the old nRF51 names into the new ones as long as the functionality is still supported. If the
  36. * functionality is gone, there old names are not defined, so compilation will fail. Note that also includes macros
  37. * from the nrf51_deprecated.h file. */
  38. /* IRQ */
  39. /* Several peripherals have been added to several indexes. Names of IRQ handlers and IRQ numbers have changed. */
  40. #define UART0_IRQHandler UARTE0_UART0_IRQHandler
  41. #define SPI0_TWI0_IRQHandler SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_IRQHandler
  42. #define SPI1_TWI1_IRQHandler SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1_IRQHandler
  43. #define ADC_IRQHandler SAADC_IRQHandler
  44. #define LPCOMP_IRQHandler COMP_LPCOMP_IRQHandler
  45. #define SWI0_IRQHandler SWI0_EGU0_IRQHandler
  46. #define SWI1_IRQHandler SWI1_EGU1_IRQHandler
  47. #define SWI2_IRQHandler SWI2_EGU2_IRQHandler
  48. #define SWI3_IRQHandler SWI3_EGU3_IRQHandler
  49. #define SWI4_IRQHandler SWI4_EGU4_IRQHandler
  50. #define SWI5_IRQHandler SWI5_EGU5_IRQHandler
  51. #define UART0_IRQn UARTE0_UART0_IRQn
  52. #define SPI0_TWI0_IRQn SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_IRQn
  53. #define SPI1_TWI1_IRQn SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1_IRQn
  54. #define ADC_IRQn SAADC_IRQn
  55. #define LPCOMP_IRQn COMP_LPCOMP_IRQn
  56. #define SWI0_IRQn SWI0_EGU0_IRQn
  57. #define SWI1_IRQn SWI1_EGU1_IRQn
  58. #define SWI2_IRQn SWI2_EGU2_IRQn
  59. #define SWI3_IRQn SWI3_EGU3_IRQn
  60. #define SWI4_IRQn SWI4_EGU4_IRQn
  61. #define SWI5_IRQn SWI5_EGU5_IRQn
  62. /* UICR */
  63. /* Register RBPCONF was renamed to APPROTECT. */
  64. #define RBPCONF APPROTECT
  65. #define UICR_RBPCONF_PALL_Pos UICR_APPROTECT_PALL_Pos
  66. #define UICR_RBPCONF_PALL_Msk UICR_APPROTECT_PALL_Msk
  67. #define UICR_RBPCONF_PALL_Enabled UICR_APPROTECT_PALL_Enabled
  68. #define UICR_RBPCONF_PALL_Disabled UICR_APPROTECT_PALL_Disabled
  69. /* GPIO */
  70. /* GPIO port was renamed to P0. */
  71. #define NRF_GPIO NRF_P0
  72. #define NRF_GPIO_BASE NRF_P0_BASE
  73. /* QDEC */
  74. /* The registers PSELA, PSELB and PSELLED were restructured into a struct. */
  75. #define PSELLED PSEL.LED
  76. #define PSELA PSEL.A
  77. #define PSELB PSEL.B
  78. /* SPIS */
  79. /* The registers PSELSCK, PSELMISO, PSELMOSI, PSELCSN were restructured into a struct. */
  80. #define PSELSCK PSEL.SCK
  81. #define PSELMISO PSEL.MISO
  82. #define PSELMOSI PSEL.MOSI
  83. #define PSELCSN PSEL.CSN
  84. /* The registers RXDPTR, MAXRX, AMOUNTRX were restructured into a struct */
  85. #define RXDPTR RXD.PTR
  86. #define MAXRX RXD.MAXCNT
  87. #define AMOUNTRX RXD.AMOUNT
  88. #define SPIS_MAXRX_MAXRX_Pos SPIS_RXD_MAXCNT_MAXCNT_Pos
  89. #define SPIS_MAXRX_MAXRX_Msk SPIS_RXD_MAXCNT_MAXCNT_Msk
  90. #define SPIS_AMOUNTRX_AMOUNTRX_Pos SPIS_RXD_AMOUNT_AMOUNT_Pos
  91. #define SPIS_AMOUNTRX_AMOUNTRX_Msk SPIS_RXD_AMOUNT_AMOUNT_Msk
  92. /* The registers TXDPTR, MAXTX, AMOUNTTX were restructured into a struct */
  93. #define TXDPTR TXD.PTR
  94. #define MAXTX TXD.MAXCNT
  95. #define AMOUNTTX TXD.AMOUNT
  96. #define SPIS_MAXTX_MAXTX_Pos SPIS_TXD_MAXCNT_MAXCNT_Pos
  97. #define SPIS_MAXTX_MAXTX_Msk SPIS_TXD_MAXCNT_MAXCNT_Msk
  98. #define SPIS_AMOUNTTX_AMOUNTTX_Pos SPIS_TXD_AMOUNT_AMOUNT_Pos
  99. #define SPIS_AMOUNTTX_AMOUNTTX_Msk SPIS_TXD_AMOUNT_AMOUNT_Msk
  100. /* MPU */
  101. /* Part of MPU module was renamed BPROT, while the rest was eliminated. */
  102. #define NRF_MPU NRF_BPROT
  103. /* Register DISABLEINDEBUG macros were affected. */
  104. #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Pos BPROT_DISABLEINDEBUG_DISABLEINDEBUG_Pos
  105. #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Msk BPROT_DISABLEINDEBUG_DISABLEINDEBUG_Msk
  106. #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Enabled BPROT_DISABLEINDEBUG_DISABLEINDEBUG_Enabled
  107. #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Disabled BPROT_DISABLEINDEBUG_DISABLEINDEBUG_Disabled
  108. /* Registers PROTENSET0 and PROTENSET1 were affected and renamed as CONFIG0 and CONFIG1. */
  109. #define PROTENSET0 CONFIG0
  110. #define PROTENSET1 CONFIG1
  111. #define MPU_PROTENSET1_PROTREG63_Pos BPROT_CONFIG1_REGION63_Pos
  112. #define MPU_PROTENSET1_PROTREG63_Msk BPROT_CONFIG1_REGION63_Msk
  113. #define MPU_PROTENSET1_PROTREG63_Disabled BPROT_CONFIG1_REGION63_Disabled
  114. #define MPU_PROTENSET1_PROTREG63_Enabled BPROT_CONFIG1_REGION63_Enabled
  115. #define MPU_PROTENSET1_PROTREG63_Set BPROT_CONFIG1_REGION63_Enabled
  116. #define MPU_PROTENSET1_PROTREG62_Pos BPROT_CONFIG1_REGION62_Pos
  117. #define MPU_PROTENSET1_PROTREG62_Msk BPROT_CONFIG1_REGION62_Msk
  118. #define MPU_PROTENSET1_PROTREG62_Disabled BPROT_CONFIG1_REGION62_Disabled
  119. #define MPU_PROTENSET1_PROTREG62_Enabled BPROT_CONFIG1_REGION62_Enabled
  120. #define MPU_PROTENSET1_PROTREG62_Set BPROT_CONFIG1_REGION62_Enabled
  121. #define MPU_PROTENSET1_PROTREG61_Pos BPROT_CONFIG1_REGION61_Pos
  122. #define MPU_PROTENSET1_PROTREG61_Msk BPROT_CONFIG1_REGION61_Msk
  123. #define MPU_PROTENSET1_PROTREG61_Disabled BPROT_CONFIG1_REGION61_Disabled
  124. #define MPU_PROTENSET1_PROTREG61_Enabled BPROT_CONFIG1_REGION61_Enabled
  125. #define MPU_PROTENSET1_PROTREG61_Set BPROT_CONFIG1_REGION61_Enabled
  126. #define MPU_PROTENSET1_PROTREG60_Pos BPROT_CONFIG1_REGION60_Pos
  127. #define MPU_PROTENSET1_PROTREG60_Msk BPROT_CONFIG1_REGION60_Msk
  128. #define MPU_PROTENSET1_PROTREG60_Disabled BPROT_CONFIG1_REGION60_Disabled
  129. #define MPU_PROTENSET1_PROTREG60_Enabled BPROT_CONFIG1_REGION60_Enabled
  130. #define MPU_PROTENSET1_PROTREG60_Set BPROT_CONFIG1_REGION60_Enabled
  131. #define MPU_PROTENSET1_PROTREG59_Pos BPROT_CONFIG1_REGION59_Pos
  132. #define MPU_PROTENSET1_PROTREG59_Msk BPROT_CONFIG1_REGION59_Msk
  133. #define MPU_PROTENSET1_PROTREG59_Disabled BPROT_CONFIG1_REGION59_Disabled
  134. #define MPU_PROTENSET1_PROTREG59_Enabled BPROT_CONFIG1_REGION59_Enabled
  135. #define MPU_PROTENSET1_PROTREG59_Set BPROT_CONFIG1_REGION59_Enabled
  136. #define MPU_PROTENSET1_PROTREG58_Pos BPROT_CONFIG1_REGION58_Pos
  137. #define MPU_PROTENSET1_PROTREG58_Msk BPROT_CONFIG1_REGION58_Msk
  138. #define MPU_PROTENSET1_PROTREG58_Disabled BPROT_CONFIG1_REGION58_Disabled
  139. #define MPU_PROTENSET1_PROTREG58_Enabled BPROT_CONFIG1_REGION58_Enabled
  140. #define MPU_PROTENSET1_PROTREG58_Set BPROT_CONFIG1_REGION58_Enabled
  141. #define MPU_PROTENSET1_PROTREG57_Pos BPROT_CONFIG1_REGION57_Pos
  142. #define MPU_PROTENSET1_PROTREG57_Msk BPROT_CONFIG1_REGION57_Msk
  143. #define MPU_PROTENSET1_PROTREG57_Disabled BPROT_CONFIG1_REGION57_Disabled
  144. #define MPU_PROTENSET1_PROTREG57_Enabled BPROT_CONFIG1_REGION57_Enabled
  145. #define MPU_PROTENSET1_PROTREG57_Set BPROT_CONFIG1_REGION57_Enabled
  146. #define MPU_PROTENSET1_PROTREG56_Pos BPROT_CONFIG1_REGION56_Pos
  147. #define MPU_PROTENSET1_PROTREG56_Msk BPROT_CONFIG1_REGION56_Msk
  148. #define MPU_PROTENSET1_PROTREG56_Disabled BPROT_CONFIG1_REGION56_Disabled
  149. #define MPU_PROTENSET1_PROTREG56_Enabled BPROT_CONFIG1_REGION56_Enabled
  150. #define MPU_PROTENSET1_PROTREG56_Set BPROT_CONFIG1_REGION56_Enabled
  151. #define MPU_PROTENSET1_PROTREG55_Pos BPROT_CONFIG1_REGION55_Pos
  152. #define MPU_PROTENSET1_PROTREG55_Msk BPROT_CONFIG1_REGION55_Msk
  153. #define MPU_PROTENSET1_PROTREG55_Disabled BPROT_CONFIG1_REGION55_Disabled
  154. #define MPU_PROTENSET1_PROTREG55_Enabled BPROT_CONFIG1_REGION55_Enabled
  155. #define MPU_PROTENSET1_PROTREG55_Set BPROT_CONFIG1_REGION55_Enabled
  156. #define MPU_PROTENSET1_PROTREG54_Pos BPROT_CONFIG1_REGION54_Pos
  157. #define MPU_PROTENSET1_PROTREG54_Msk BPROT_CONFIG1_REGION54_Msk
  158. #define MPU_PROTENSET1_PROTREG54_Disabled BPROT_CONFIG1_REGION54_Disabled
  159. #define MPU_PROTENSET1_PROTREG54_Enabled BPROT_CONFIG1_REGION54_Enabled
  160. #define MPU_PROTENSET1_PROTREG54_Set BPROT_CONFIG1_REGION54_Enabled
  161. #define MPU_PROTENSET1_PROTREG53_Pos BPROT_CONFIG1_REGION53_Pos
  162. #define MPU_PROTENSET1_PROTREG53_Msk BPROT_CONFIG1_REGION53_Msk
  163. #define MPU_PROTENSET1_PROTREG53_Disabled BPROT_CONFIG1_REGION53_Disabled
  164. #define MPU_PROTENSET1_PROTREG53_Enabled BPROT_CONFIG1_REGION53_Enabled
  165. #define MPU_PROTENSET1_PROTREG53_Set BPROT_CONFIG1_REGION53_Enabled
  166. #define MPU_PROTENSET1_PROTREG52_Pos BPROT_CONFIG1_REGION52_Pos
  167. #define MPU_PROTENSET1_PROTREG52_Msk BPROT_CONFIG1_REGION52_Msk
  168. #define MPU_PROTENSET1_PROTREG52_Disabled BPROT_CONFIG1_REGION52_Disabled
  169. #define MPU_PROTENSET1_PROTREG52_Enabled BPROT_CONFIG1_REGION52_Enabled
  170. #define MPU_PROTENSET1_PROTREG52_Set BPROT_CONFIG1_REGION52_Enabled
  171. #define MPU_PROTENSET1_PROTREG51_Pos BPROT_CONFIG1_REGION51_Pos
  172. #define MPU_PROTENSET1_PROTREG51_Msk BPROT_CONFIG1_REGION51_Msk
  173. #define MPU_PROTENSET1_PROTREG51_Disabled BPROT_CONFIG1_REGION51_Disabled
  174. #define MPU_PROTENSET1_PROTREG51_Enabled BPROT_CONFIG1_REGION51_Enabled
  175. #define MPU_PROTENSET1_PROTREG51_Set BPROT_CONFIG1_REGION51_Enabled
  176. #define MPU_PROTENSET1_PROTREG50_Pos BPROT_CONFIG1_REGION50_Pos
  177. #define MPU_PROTENSET1_PROTREG50_Msk BPROT_CONFIG1_REGION50_Msk
  178. #define MPU_PROTENSET1_PROTREG50_Disabled BPROT_CONFIG1_REGION50_Disabled
  179. #define MPU_PROTENSET1_PROTREG50_Enabled BPROT_CONFIG1_REGION50_Enabled
  180. #define MPU_PROTENSET1_PROTREG50_Set BPROT_CONFIG1_REGION50_Enabled
  181. #define MPU_PROTENSET1_PROTREG49_Pos BPROT_CONFIG1_REGION49_Pos
  182. #define MPU_PROTENSET1_PROTREG49_Msk BPROT_CONFIG1_REGION49_Msk
  183. #define MPU_PROTENSET1_PROTREG49_Disabled BPROT_CONFIG1_REGION49_Disabled
  184. #define MPU_PROTENSET1_PROTREG49_Enabled BPROT_CONFIG1_REGION49_Enabled
  185. #define MPU_PROTENSET1_PROTREG49_Set BPROT_CONFIG1_REGION49_Enabled
  186. #define MPU_PROTENSET1_PROTREG48_Pos BPROT_CONFIG1_REGION48_Pos
  187. #define MPU_PROTENSET1_PROTREG48_Msk BPROT_CONFIG1_REGION48_Msk
  188. #define MPU_PROTENSET1_PROTREG48_Disabled BPROT_CONFIG1_REGION48_Disabled
  189. #define MPU_PROTENSET1_PROTREG48_Enabled BPROT_CONFIG1_REGION48_Enabled
  190. #define MPU_PROTENSET1_PROTREG48_Set BPROT_CONFIG1_REGION48_Enabled
  191. #define MPU_PROTENSET1_PROTREG47_Pos BPROT_CONFIG1_REGION47_Pos
  192. #define MPU_PROTENSET1_PROTREG47_Msk BPROT_CONFIG1_REGION47_Msk
  193. #define MPU_PROTENSET1_PROTREG47_Disabled BPROT_CONFIG1_REGION47_Disabled
  194. #define MPU_PROTENSET1_PROTREG47_Enabled BPROT_CONFIG1_REGION47_Enabled
  195. #define MPU_PROTENSET1_PROTREG47_Set BPROT_CONFIG1_REGION47_Enabled
  196. #define MPU_PROTENSET1_PROTREG46_Pos BPROT_CONFIG1_REGION46_Pos
  197. #define MPU_PROTENSET1_PROTREG46_Msk BPROT_CONFIG1_REGION46_Msk
  198. #define MPU_PROTENSET1_PROTREG46_Disabled BPROT_CONFIG1_REGION46_Disabled
  199. #define MPU_PROTENSET1_PROTREG46_Enabled BPROT_CONFIG1_REGION46_Enabled
  200. #define MPU_PROTENSET1_PROTREG46_Set BPROT_CONFIG1_REGION46_Enabled
  201. #define MPU_PROTENSET1_PROTREG45_Pos BPROT_CONFIG1_REGION45_Pos
  202. #define MPU_PROTENSET1_PROTREG45_Msk BPROT_CONFIG1_REGION45_Msk
  203. #define MPU_PROTENSET1_PROTREG45_Disabled BPROT_CONFIG1_REGION45_Disabled
  204. #define MPU_PROTENSET1_PROTREG45_Enabled BPROT_CONFIG1_REGION45_Enabled
  205. #define MPU_PROTENSET1_PROTREG45_Set BPROT_CONFIG1_REGION45_Enabled
  206. #define MPU_PROTENSET1_PROTREG44_Pos BPROT_CONFIG1_REGION44_Pos
  207. #define MPU_PROTENSET1_PROTREG44_Msk BPROT_CONFIG1_REGION44_Msk
  208. #define MPU_PROTENSET1_PROTREG44_Disabled BPROT_CONFIG1_REGION44_Disabled
  209. #define MPU_PROTENSET1_PROTREG44_Enabled BPROT_CONFIG1_REGION44_Enabled
  210. #define MPU_PROTENSET1_PROTREG44_Set BPROT_CONFIG1_REGION44_Enabled
  211. #define MPU_PROTENSET1_PROTREG43_Pos BPROT_CONFIG1_REGION43_Pos
  212. #define MPU_PROTENSET1_PROTREG43_Msk BPROT_CONFIG1_REGION43_Msk
  213. #define MPU_PROTENSET1_PROTREG43_Disabled BPROT_CONFIG1_REGION43_Disabled
  214. #define MPU_PROTENSET1_PROTREG43_Enabled BPROT_CONFIG1_REGION43_Enabled
  215. #define MPU_PROTENSET1_PROTREG43_Set BPROT_CONFIG1_REGION43_Enabled
  216. #define MPU_PROTENSET1_PROTREG42_Pos BPROT_CONFIG1_REGION42_Pos
  217. #define MPU_PROTENSET1_PROTREG42_Msk BPROT_CONFIG1_REGION42_Msk
  218. #define MPU_PROTENSET1_PROTREG42_Disabled BPROT_CONFIG1_REGION42_Disabled
  219. #define MPU_PROTENSET1_PROTREG42_Enabled BPROT_CONFIG1_REGION42_Enabled
  220. #define MPU_PROTENSET1_PROTREG42_Set BPROT_CONFIG1_REGION42_Enabled
  221. #define MPU_PROTENSET1_PROTREG41_Pos BPROT_CONFIG1_REGION41_Pos
  222. #define MPU_PROTENSET1_PROTREG41_Msk BPROT_CONFIG1_REGION41_Msk
  223. #define MPU_PROTENSET1_PROTREG41_Disabled BPROT_CONFIG1_REGION41_Disabled
  224. #define MPU_PROTENSET1_PROTREG41_Enabled BPROT_CONFIG1_REGION41_Enabled
  225. #define MPU_PROTENSET1_PROTREG41_Set BPROT_CONFIG1_REGION41_Enabled
  226. #define MPU_PROTENSET1_PROTREG40_Pos BPROT_CONFIG1_REGION40_Pos
  227. #define MPU_PROTENSET1_PROTREG40_Msk BPROT_CONFIG1_REGION40_Msk
  228. #define MPU_PROTENSET1_PROTREG40_Disabled BPROT_CONFIG1_REGION40_Disabled
  229. #define MPU_PROTENSET1_PROTREG40_Enabled BPROT_CONFIG1_REGION40_Enabled
  230. #define MPU_PROTENSET1_PROTREG40_Set BPROT_CONFIG1_REGION40_Enabled
  231. #define MPU_PROTENSET1_PROTREG39_Pos BPROT_CONFIG1_REGION39_Pos
  232. #define MPU_PROTENSET1_PROTREG39_Msk BPROT_CONFIG1_REGION39_Msk
  233. #define MPU_PROTENSET1_PROTREG39_Disabled BPROT_CONFIG1_REGION39_Disabled
  234. #define MPU_PROTENSET1_PROTREG39_Enabled BPROT_CONFIG1_REGION39_Enabled
  235. #define MPU_PROTENSET1_PROTREG39_Set BPROT_CONFIG1_REGION39_Enabled
  236. #define MPU_PROTENSET1_PROTREG38_Pos BPROT_CONFIG1_REGION38_Pos
  237. #define MPU_PROTENSET1_PROTREG38_Msk BPROT_CONFIG1_REGION38_Msk
  238. #define MPU_PROTENSET1_PROTREG38_Disabled BPROT_CONFIG1_REGION38_Disabled
  239. #define MPU_PROTENSET1_PROTREG38_Enabled BPROT_CONFIG1_REGION38_Enabled
  240. #define MPU_PROTENSET1_PROTREG38_Set BPROT_CONFIG1_REGION38_Enabled
  241. #define MPU_PROTENSET1_PROTREG37_Pos BPROT_CONFIG1_REGION37_Pos
  242. #define MPU_PROTENSET1_PROTREG37_Msk BPROT_CONFIG1_REGION37_Msk
  243. #define MPU_PROTENSET1_PROTREG37_Disabled BPROT_CONFIG1_REGION37_Disabled
  244. #define MPU_PROTENSET1_PROTREG37_Enabled BPROT_CONFIG1_REGION37_Enabled
  245. #define MPU_PROTENSET1_PROTREG37_Set BPROT_CONFIG1_REGION37_Enabled
  246. #define MPU_PROTENSET1_PROTREG36_Pos BPROT_CONFIG1_REGION36_Pos
  247. #define MPU_PROTENSET1_PROTREG36_Msk BPROT_CONFIG1_REGION36_Msk
  248. #define MPU_PROTENSET1_PROTREG36_Disabled BPROT_CONFIG1_REGION36_Disabled
  249. #define MPU_PROTENSET1_PROTREG36_Enabled BPROT_CONFIG1_REGION36_Enabled
  250. #define MPU_PROTENSET1_PROTREG36_Set BPROT_CONFIG1_REGION36_Enabled
  251. #define MPU_PROTENSET1_PROTREG35_Pos BPROT_CONFIG1_REGION35_Pos
  252. #define MPU_PROTENSET1_PROTREG35_Msk BPROT_CONFIG1_REGION35_Msk
  253. #define MPU_PROTENSET1_PROTREG35_Disabled BPROT_CONFIG1_REGION35_Disabled
  254. #define MPU_PROTENSET1_PROTREG35_Enabled BPROT_CONFIG1_REGION35_Enabled
  255. #define MPU_PROTENSET1_PROTREG35_Set BPROT_CONFIG1_REGION35_Enabled
  256. #define MPU_PROTENSET1_PROTREG34_Pos BPROT_CONFIG1_REGION34_Pos
  257. #define MPU_PROTENSET1_PROTREG34_Msk BPROT_CONFIG1_REGION34_Msk
  258. #define MPU_PROTENSET1_PROTREG34_Disabled BPROT_CONFIG1_REGION34_Disabled
  259. #define MPU_PROTENSET1_PROTREG34_Enabled BPROT_CONFIG1_REGION34_Enabled
  260. #define MPU_PROTENSET1_PROTREG34_Set BPROT_CONFIG1_REGION34_Enabled
  261. #define MPU_PROTENSET1_PROTREG33_Pos BPROT_CONFIG1_REGION33_Pos
  262. #define MPU_PROTENSET1_PROTREG33_Msk BPROT_CONFIG1_REGION33_Msk
  263. #define MPU_PROTENSET1_PROTREG33_Disabled BPROT_CONFIG1_REGION33_Disabled
  264. #define MPU_PROTENSET1_PROTREG33_Enabled BPROT_CONFIG1_REGION33_Enabled
  265. #define MPU_PROTENSET1_PROTREG33_Set BPROT_CONFIG1_REGION33_Enabled
  266. #define MPU_PROTENSET1_PROTREG32_Pos BPROT_CONFIG1_REGION32_Pos
  267. #define MPU_PROTENSET1_PROTREG32_Msk BPROT_CONFIG1_REGION32_Msk
  268. #define MPU_PROTENSET1_PROTREG32_Disabled BPROT_CONFIG1_REGION32_Disabled
  269. #define MPU_PROTENSET1_PROTREG32_Enabled BPROT_CONFIG1_REGION32_Enabled
  270. #define MPU_PROTENSET1_PROTREG32_Set BPROT_CONFIG1_REGION32_Enabled
  271. #define MPU_PROTENSET0_PROTREG31_Pos BPROT_CONFIG0_REGION31_Pos
  272. #define MPU_PROTENSET0_PROTREG31_Msk BPROT_CONFIG0_REGION31_Msk
  273. #define MPU_PROTENSET0_PROTREG31_Disabled BPROT_CONFIG0_REGION31_Disabled
  274. #define MPU_PROTENSET0_PROTREG31_Enabled BPROT_CONFIG0_REGION31_Enabled
  275. #define MPU_PROTENSET0_PROTREG31_Set BPROT_CONFIG0_REGION31_Enabled
  276. #define MPU_PROTENSET0_PROTREG30_Pos BPROT_CONFIG0_REGION30_Pos
  277. #define MPU_PROTENSET0_PROTREG30_Msk BPROT_CONFIG0_REGION30_Msk
  278. #define MPU_PROTENSET0_PROTREG30_Disabled BPROT_CONFIG0_REGION30_Disabled
  279. #define MPU_PROTENSET0_PROTREG30_Enabled BPROT_CONFIG0_REGION30_Enabled
  280. #define MPU_PROTENSET0_PROTREG30_Set BPROT_CONFIG0_REGION30_Enabled
  281. #define MPU_PROTENSET0_PROTREG29_Pos BPROT_CONFIG0_REGION29_Pos
  282. #define MPU_PROTENSET0_PROTREG29_Msk BPROT_CONFIG0_REGION29_Msk
  283. #define MPU_PROTENSET0_PROTREG29_Disabled BPROT_CONFIG0_REGION29_Disabled
  284. #define MPU_PROTENSET0_PROTREG29_Enabled BPROT_CONFIG0_REGION29_Enabled
  285. #define MPU_PROTENSET0_PROTREG29_Set BPROT_CONFIG0_REGION29_Enabled
  286. #define MPU_PROTENSET0_PROTREG28_Pos BPROT_CONFIG0_REGION28_Pos
  287. #define MPU_PROTENSET0_PROTREG28_Msk BPROT_CONFIG0_REGION28_Msk
  288. #define MPU_PROTENSET0_PROTREG28_Disabled BPROT_CONFIG0_REGION28_Disabled
  289. #define MPU_PROTENSET0_PROTREG28_Enabled BPROT_CONFIG0_REGION28_Enabled
  290. #define MPU_PROTENSET0_PROTREG28_Set BPROT_CONFIG0_REGION28_Enabled
  291. #define MPU_PROTENSET0_PROTREG27_Pos BPROT_CONFIG0_REGION27_Pos
  292. #define MPU_PROTENSET0_PROTREG27_Msk BPROT_CONFIG0_REGION27_Msk
  293. #define MPU_PROTENSET0_PROTREG27_Disabled BPROT_CONFIG0_REGION27_Disabled
  294. #define MPU_PROTENSET0_PROTREG27_Enabled BPROT_CONFIG0_REGION27_Enabled
  295. #define MPU_PROTENSET0_PROTREG27_Set BPROT_CONFIG0_REGION27_Enabled
  296. #define MPU_PROTENSET0_PROTREG26_Pos BPROT_CONFIG0_REGION26_Pos
  297. #define MPU_PROTENSET0_PROTREG26_Msk BPROT_CONFIG0_REGION26_Msk
  298. #define MPU_PROTENSET0_PROTREG26_Disabled BPROT_CONFIG0_REGION26_Disabled
  299. #define MPU_PROTENSET0_PROTREG26_Enabled BPROT_CONFIG0_REGION26_Enabled
  300. #define MPU_PROTENSET0_PROTREG26_Set BPROT_CONFIG0_REGION26_Enabled
  301. #define MPU_PROTENSET0_PROTREG25_Pos BPROT_CONFIG0_REGION25_Pos
  302. #define MPU_PROTENSET0_PROTREG25_Msk BPROT_CONFIG0_REGION25_Msk
  303. #define MPU_PROTENSET0_PROTREG25_Disabled BPROT_CONFIG0_REGION25_Disabled
  304. #define MPU_PROTENSET0_PROTREG25_Enabled BPROT_CONFIG0_REGION25_Enabled
  305. #define MPU_PROTENSET0_PROTREG25_Set BPROT_CONFIG0_REGION25_Enabled
  306. #define MPU_PROTENSET0_PROTREG24_Pos BPROT_CONFIG0_REGION24_Pos
  307. #define MPU_PROTENSET0_PROTREG24_Msk BPROT_CONFIG0_REGION24_Msk
  308. #define MPU_PROTENSET0_PROTREG24_Disabled BPROT_CONFIG0_REGION24_Disabled
  309. #define MPU_PROTENSET0_PROTREG24_Enabled BPROT_CONFIG0_REGION24_Enabled
  310. #define MPU_PROTENSET0_PROTREG24_Set BPROT_CONFIG0_REGION24_Enabled
  311. #define MPU_PROTENSET0_PROTREG23_Pos BPROT_CONFIG0_REGION23_Pos
  312. #define MPU_PROTENSET0_PROTREG23_Msk BPROT_CONFIG0_REGION23_Msk
  313. #define MPU_PROTENSET0_PROTREG23_Disabled BPROT_CONFIG0_REGION23_Disabled
  314. #define MPU_PROTENSET0_PROTREG23_Enabled BPROT_CONFIG0_REGION23_Enabled
  315. #define MPU_PROTENSET0_PROTREG23_Set BPROT_CONFIG0_REGION23_Enabled
  316. #define MPU_PROTENSET0_PROTREG22_Pos BPROT_CONFIG0_REGION22_Pos
  317. #define MPU_PROTENSET0_PROTREG22_Msk BPROT_CONFIG0_REGION22_Msk
  318. #define MPU_PROTENSET0_PROTREG22_Disabled BPROT_CONFIG0_REGION22_Disabled
  319. #define MPU_PROTENSET0_PROTREG22_Enabled BPROT_CONFIG0_REGION22_Enabled
  320. #define MPU_PROTENSET0_PROTREG22_Set BPROT_CONFIG0_REGION22_Enabled
  321. #define MPU_PROTENSET0_PROTREG21_Pos BPROT_CONFIG0_REGION21_Pos
  322. #define MPU_PROTENSET0_PROTREG21_Msk BPROT_CONFIG0_REGION21_Msk
  323. #define MPU_PROTENSET0_PROTREG21_Disabled BPROT_CONFIG0_REGION21_Disabled
  324. #define MPU_PROTENSET0_PROTREG21_Enabled BPROT_CONFIG0_REGION21_Enabled
  325. #define MPU_PROTENSET0_PROTREG21_Set BPROT_CONFIG0_REGION21_Enabled
  326. #define MPU_PROTENSET0_PROTREG20_Pos BPROT_CONFIG0_REGION20_Pos
  327. #define MPU_PROTENSET0_PROTREG20_Msk BPROT_CONFIG0_REGION20_Msk
  328. #define MPU_PROTENSET0_PROTREG20_Disabled BPROT_CONFIG0_REGION20_Disabled
  329. #define MPU_PROTENSET0_PROTREG20_Enabled BPROT_CONFIG0_REGION20_Enabled
  330. #define MPU_PROTENSET0_PROTREG20_Set BPROT_CONFIG0_REGION20_Enabled
  331. #define MPU_PROTENSET0_PROTREG19_Pos BPROT_CONFIG0_REGION19_Pos
  332. #define MPU_PROTENSET0_PROTREG19_Msk BPROT_CONFIG0_REGION19_Msk
  333. #define MPU_PROTENSET0_PROTREG19_Disabled BPROT_CONFIG0_REGION19_Disabled
  334. #define MPU_PROTENSET0_PROTREG19_Enabled BPROT_CONFIG0_REGION19_Enabled
  335. #define MPU_PROTENSET0_PROTREG19_Set BPROT_CONFIG0_REGION19_Enabled
  336. #define MPU_PROTENSET0_PROTREG18_Pos BPROT_CONFIG0_REGION18_Pos
  337. #define MPU_PROTENSET0_PROTREG18_Msk BPROT_CONFIG0_REGION18_Msk
  338. #define MPU_PROTENSET0_PROTREG18_Disabled BPROT_CONFIG0_REGION18_Disabled
  339. #define MPU_PROTENSET0_PROTREG18_Enabled BPROT_CONFIG0_REGION18_Enabled
  340. #define MPU_PROTENSET0_PROTREG18_Set BPROT_CONFIG0_REGION18_Enabled
  341. #define MPU_PROTENSET0_PROTREG17_Pos BPROT_CONFIG0_REGION17_Pos
  342. #define MPU_PROTENSET0_PROTREG17_Msk BPROT_CONFIG0_REGION17_Msk
  343. #define MPU_PROTENSET0_PROTREG17_Disabled BPROT_CONFIG0_REGION17_Disabled
  344. #define MPU_PROTENSET0_PROTREG17_Enabled BPROT_CONFIG0_REGION17_Enabled
  345. #define MPU_PROTENSET0_PROTREG17_Set BPROT_CONFIG0_REGION17_Enabled
  346. #define MPU_PROTENSET0_PROTREG16_Pos BPROT_CONFIG0_REGION16_Pos
  347. #define MPU_PROTENSET0_PROTREG16_Msk BPROT_CONFIG0_REGION16_Msk
  348. #define MPU_PROTENSET0_PROTREG16_Disabled BPROT_CONFIG0_REGION16_Disabled
  349. #define MPU_PROTENSET0_PROTREG16_Enabled BPROT_CONFIG0_REGION16_Enabled
  350. #define MPU_PROTENSET0_PROTREG16_Set BPROT_CONFIG0_REGION16_Enabled
  351. #define MPU_PROTENSET0_PROTREG15_Pos BPROT_CONFIG0_REGION15_Pos
  352. #define MPU_PROTENSET0_PROTREG15_Msk BPROT_CONFIG0_REGION15_Msk
  353. #define MPU_PROTENSET0_PROTREG15_Disabled BPROT_CONFIG0_REGION15_Disabled
  354. #define MPU_PROTENSET0_PROTREG15_Enabled BPROT_CONFIG0_REGION15_Enabled
  355. #define MPU_PROTENSET0_PROTREG15_Set BPROT_CONFIG0_REGION15_Enabled
  356. #define MPU_PROTENSET0_PROTREG14_Pos BPROT_CONFIG0_REGION14_Pos
  357. #define MPU_PROTENSET0_PROTREG14_Msk BPROT_CONFIG0_REGION14_Msk
  358. #define MPU_PROTENSET0_PROTREG14_Disabled BPROT_CONFIG0_REGION14_Disabled
  359. #define MPU_PROTENSET0_PROTREG14_Enabled BPROT_CONFIG0_REGION14_Enabled
  360. #define MPU_PROTENSET0_PROTREG14_Set BPROT_CONFIG0_REGION14_Enabled
  361. #define MPU_PROTENSET0_PROTREG13_Pos BPROT_CONFIG0_REGION13_Pos
  362. #define MPU_PROTENSET0_PROTREG13_Msk BPROT_CONFIG0_REGION13_Msk
  363. #define MPU_PROTENSET0_PROTREG13_Disabled BPROT_CONFIG0_REGION13_Disabled
  364. #define MPU_PROTENSET0_PROTREG13_Enabled BPROT_CONFIG0_REGION13_Enabled
  365. #define MPU_PROTENSET0_PROTREG13_Set BPROT_CONFIG0_REGION13_Enabled
  366. #define MPU_PROTENSET0_PROTREG12_Pos BPROT_CONFIG0_REGION12_Pos
  367. #define MPU_PROTENSET0_PROTREG12_Msk BPROT_CONFIG0_REGION12_Msk
  368. #define MPU_PROTENSET0_PROTREG12_Disabled BPROT_CONFIG0_REGION12_Disabled
  369. #define MPU_PROTENSET0_PROTREG12_Enabled BPROT_CONFIG0_REGION12_Enabled
  370. #define MPU_PROTENSET0_PROTREG12_Set BPROT_CONFIG0_REGION12_Enabled
  371. #define MPU_PROTENSET0_PROTREG11_Pos BPROT_CONFIG0_REGION11_Pos
  372. #define MPU_PROTENSET0_PROTREG11_Msk BPROT_CONFIG0_REGION11_Msk
  373. #define MPU_PROTENSET0_PROTREG11_Disabled BPROT_CONFIG0_REGION11_Disabled
  374. #define MPU_PROTENSET0_PROTREG11_Enabled BPROT_CONFIG0_REGION11_Enabled
  375. #define MPU_PROTENSET0_PROTREG11_Set BPROT_CONFIG0_REGION11_Enabled
  376. #define MPU_PROTENSET0_PROTREG10_Pos BPROT_CONFIG0_REGION10_Pos
  377. #define MPU_PROTENSET0_PROTREG10_Msk BPROT_CONFIG0_REGION10_Msk
  378. #define MPU_PROTENSET0_PROTREG10_Disabled BPROT_CONFIG0_REGION10_Disabled
  379. #define MPU_PROTENSET0_PROTREG10_Enabled BPROT_CONFIG0_REGION10_Enabled
  380. #define MPU_PROTENSET0_PROTREG10_Set BPROT_CONFIG0_REGION10_Enabled
  381. #define MPU_PROTENSET0_PROTREG9_Pos BPROT_CONFIG0_REGION9_Pos
  382. #define MPU_PROTENSET0_PROTREG9_Msk BPROT_CONFIG0_REGION9_Msk
  383. #define MPU_PROTENSET0_PROTREG9_Disabled BPROT_CONFIG0_REGION9_Disabled
  384. #define MPU_PROTENSET0_PROTREG9_Enabled BPROT_CONFIG0_REGION9_Enabled
  385. #define MPU_PROTENSET0_PROTREG9_Set BPROT_CONFIG0_REGION9_Enabled
  386. #define MPU_PROTENSET0_PROTREG8_Pos BPROT_CONFIG0_REGION8_Pos
  387. #define MPU_PROTENSET0_PROTREG8_Msk BPROT_CONFIG0_REGION8_Msk
  388. #define MPU_PROTENSET0_PROTREG8_Disabled BPROT_CONFIG0_REGION8_Disabled
  389. #define MPU_PROTENSET0_PROTREG8_Enabled BPROT_CONFIG0_REGION8_Enabled
  390. #define MPU_PROTENSET0_PROTREG8_Set BPROT_CONFIG0_REGION8_Enabled
  391. #define MPU_PROTENSET0_PROTREG7_Pos BPROT_CONFIG0_REGION7_Pos
  392. #define MPU_PROTENSET0_PROTREG7_Msk BPROT_CONFIG0_REGION7_Msk
  393. #define MPU_PROTENSET0_PROTREG7_Disabled BPROT_CONFIG0_REGION7_Disabled
  394. #define MPU_PROTENSET0_PROTREG7_Enabled BPROT_CONFIG0_REGION7_Enabled
  395. #define MPU_PROTENSET0_PROTREG7_Set BPROT_CONFIG0_REGION7_Enabled
  396. #define MPU_PROTENSET0_PROTREG6_Pos BPROT_CONFIG0_REGION6_Pos
  397. #define MPU_PROTENSET0_PROTREG6_Msk BPROT_CONFIG0_REGION6_Msk
  398. #define MPU_PROTENSET0_PROTREG6_Disabled BPROT_CONFIG0_REGION6_Disabled
  399. #define MPU_PROTENSET0_PROTREG6_Enabled BPROT_CONFIG0_REGION6_Enabled
  400. #define MPU_PROTENSET0_PROTREG6_Set BPROT_CONFIG0_REGION6_Enabled
  401. #define MPU_PROTENSET0_PROTREG5_Pos BPROT_CONFIG0_REGION5_Pos
  402. #define MPU_PROTENSET0_PROTREG5_Msk BPROT_CONFIG0_REGION5_Msk
  403. #define MPU_PROTENSET0_PROTREG5_Disabled BPROT_CONFIG0_REGION5_Disabled
  404. #define MPU_PROTENSET0_PROTREG5_Enabled BPROT_CONFIG0_REGION5_Enabled
  405. #define MPU_PROTENSET0_PROTREG5_Set BPROT_CONFIG0_REGION5_Enabled
  406. #define MPU_PROTENSET0_PROTREG4_Pos BPROT_CONFIG0_REGION4_Pos
  407. #define MPU_PROTENSET0_PROTREG4_Msk BPROT_CONFIG0_REGION4_Msk
  408. #define MPU_PROTENSET0_PROTREG4_Disabled BPROT_CONFIG0_REGION4_Disabled
  409. #define MPU_PROTENSET0_PROTREG4_Enabled BPROT_CONFIG0_REGION4_Enabled
  410. #define MPU_PROTENSET0_PROTREG4_Set BPROT_CONFIG0_REGION4_Enabled
  411. #define MPU_PROTENSET0_PROTREG3_Pos BPROT_CONFIG0_REGION3_Pos
  412. #define MPU_PROTENSET0_PROTREG3_Msk BPROT_CONFIG0_REGION3_Msk
  413. #define MPU_PROTENSET0_PROTREG3_Disabled BPROT_CONFIG0_REGION3_Disabled
  414. #define MPU_PROTENSET0_PROTREG3_Enabled BPROT_CONFIG0_REGION3_Enabled
  415. #define MPU_PROTENSET0_PROTREG3_Set BPROT_CONFIG0_REGION3_Enabled
  416. #define MPU_PROTENSET0_PROTREG2_Pos BPROT_CONFIG0_REGION2_Pos
  417. #define MPU_PROTENSET0_PROTREG2_Msk BPROT_CONFIG0_REGION2_Msk
  418. #define MPU_PROTENSET0_PROTREG2_Disabled BPROT_CONFIG0_REGION2_Disabled
  419. #define MPU_PROTENSET0_PROTREG2_Enabled BPROT_CONFIG0_REGION2_Enabled
  420. #define MPU_PROTENSET0_PROTREG2_Set BPROT_CONFIG0_REGION2_Enabled
  421. #define MPU_PROTENSET0_PROTREG1_Pos BPROT_CONFIG0_REGION1_Pos
  422. #define MPU_PROTENSET0_PROTREG1_Msk BPROT_CONFIG0_REGION1_Msk
  423. #define MPU_PROTENSET0_PROTREG1_Disabled BPROT_CONFIG0_REGION1_Disabled
  424. #define MPU_PROTENSET0_PROTREG1_Enabled BPROT_CONFIG0_REGION1_Enabled
  425. #define MPU_PROTENSET0_PROTREG1_Set BPROT_CONFIG0_REGION1_Enabled
  426. #define MPU_PROTENSET0_PROTREG0_Pos BPROT_CONFIG0_REGION0_Pos
  427. #define MPU_PROTENSET0_PROTREG0_Msk BPROT_CONFIG0_REGION0_Msk
  428. #define MPU_PROTENSET0_PROTREG0_Disabled BPROT_CONFIG0_REGION0_Disabled
  429. #define MPU_PROTENSET0_PROTREG0_Enabled BPROT_CONFIG0_REGION0_Enabled
  430. #define MPU_PROTENSET0_PROTREG0_Set BPROT_CONFIG0_REGION0_Enabled
  431. /* From nrf51_deprecated.h */
  432. /* NVMC */
  433. /* The register ERASEPROTECTEDPAGE changed name to ERASEPCR0 in the documentation. */
  434. #define ERASEPROTECTEDPAGE ERASEPCR0
  435. /* IRQ */
  436. /* COMP module was eliminated. Adapted to nrf52 headers. */
  437. #define LPCOMP_COMP_IRQHandler COMP_LPCOMP_IRQHandler
  438. #define LPCOMP_COMP_IRQn COMP_LPCOMP_IRQn
  439. /* REFSEL register redefined enumerated values and added some more. */
  440. #define LPCOMP_REFSEL_REFSEL_SupplyOneEighthPrescaling LPCOMP_REFSEL_REFSEL_Ref1_8Vdd
  441. #define LPCOMP_REFSEL_REFSEL_SupplyTwoEighthsPrescaling LPCOMP_REFSEL_REFSEL_Ref2_8Vdd
  442. #define LPCOMP_REFSEL_REFSEL_SupplyThreeEighthsPrescaling LPCOMP_REFSEL_REFSEL_Ref3_8Vdd
  443. #define LPCOMP_REFSEL_REFSEL_SupplyFourEighthsPrescaling LPCOMP_REFSEL_REFSEL_Ref4_8Vdd
  444. #define LPCOMP_REFSEL_REFSEL_SupplyFiveEighthsPrescaling LPCOMP_REFSEL_REFSEL_Ref5_8Vdd
  445. #define LPCOMP_REFSEL_REFSEL_SupplySixEighthsPrescaling LPCOMP_REFSEL_REFSEL_Ref6_8Vdd
  446. #define LPCOMP_REFSEL_REFSEL_SupplySevenEighthsPrescaling LPCOMP_REFSEL_REFSEL_Ref7_8Vdd
  447. /* RADIO */
  448. /* The name of the field SKIPADDR was corrected. Old macros added for compatibility. */
  449. #define RADIO_CRCCNF_SKIP_ADDR_Pos RADIO_CRCCNF_SKIPADDR_Pos
  450. #define RADIO_CRCCNF_SKIP_ADDR_Msk RADIO_CRCCNF_SKIPADDR_Msk
  451. #define RADIO_CRCCNF_SKIP_ADDR_Include RADIO_CRCCNF_SKIPADDR_Include
  452. #define RADIO_CRCCNF_SKIP_ADDR_Skip RADIO_CRCCNF_SKIPADDR_Skip
  453. /* FICR */
  454. /* The registers FICR.DEVICEID0 and FICR.DEVICEID1 were renamed into an array. */
  455. #define DEVICEID0 DEVICEID[0]
  456. #define DEVICEID1 DEVICEID[1]
  457. /* The registers FICR.ER0, FICR.ER1, FICR.ER2 and FICR.ER3 were renamed into an array. */
  458. #define ER0 ER[0]
  459. #define ER1 ER[1]
  460. #define ER2 ER[2]
  461. #define ER3 ER[3]
  462. /* The registers FICR.IR0, FICR.IR1, FICR.IR2 and FICR.IR3 were renamed into an array. */
  463. #define IR0 IR[0]
  464. #define IR1 IR[1]
  465. #define IR2 IR[2]
  466. #define IR3 IR[3]
  467. /* The registers FICR.DEVICEADDR0 and FICR.DEVICEADDR1 were renamed into an array. */
  468. #define DEVICEADDR0 DEVICEADDR[0]
  469. #define DEVICEADDR1 DEVICEADDR[1]
  470. /* PPI */
  471. /* The tasks PPI.TASKS_CHGxEN and PPI.TASKS_CHGxDIS were renamed into an array of structs. */
  472. #define TASKS_CHG0EN TASKS_CHG[0].EN
  473. #define TASKS_CHG0DIS TASKS_CHG[0].DIS
  474. #define TASKS_CHG1EN TASKS_CHG[1].EN
  475. #define TASKS_CHG1DIS TASKS_CHG[1].DIS
  476. #define TASKS_CHG2EN TASKS_CHG[2].EN
  477. #define TASKS_CHG2DIS TASKS_CHG[2].DIS
  478. #define TASKS_CHG3EN TASKS_CHG[3].EN
  479. #define TASKS_CHG3DIS TASKS_CHG[3].DIS
  480. /* The registers PPI.CHx_EEP and PPI.CHx_TEP were renamed into an array of structs. */
  481. #define CH0_EEP CH[0].EEP
  482. #define CH0_TEP CH[0].TEP
  483. #define CH1_EEP CH[1].EEP
  484. #define CH1_TEP CH[1].TEP
  485. #define CH2_EEP CH[2].EEP
  486. #define CH2_TEP CH[2].TEP
  487. #define CH3_EEP CH[3].EEP
  488. #define CH3_TEP CH[3].TEP
  489. #define CH4_EEP CH[4].EEP
  490. #define CH4_TEP CH[4].TEP
  491. #define CH5_EEP CH[5].EEP
  492. #define CH5_TEP CH[5].TEP
  493. #define CH6_EEP CH[6].EEP
  494. #define CH6_TEP CH[6].TEP
  495. #define CH7_EEP CH[7].EEP
  496. #define CH7_TEP CH[7].TEP
  497. #define CH8_EEP CH[8].EEP
  498. #define CH8_TEP CH[8].TEP
  499. #define CH9_EEP CH[9].EEP
  500. #define CH9_TEP CH[9].TEP
  501. #define CH10_EEP CH[10].EEP
  502. #define CH10_TEP CH[10].TEP
  503. #define CH11_EEP CH[11].EEP
  504. #define CH11_TEP CH[11].TEP
  505. #define CH12_EEP CH[12].EEP
  506. #define CH12_TEP CH[12].TEP
  507. #define CH13_EEP CH[13].EEP
  508. #define CH13_TEP CH[13].TEP
  509. #define CH14_EEP CH[14].EEP
  510. #define CH14_TEP CH[14].TEP
  511. #define CH15_EEP CH[15].EEP
  512. #define CH15_TEP CH[15].TEP
  513. /* The registers PPI.CHG0, PPI.CHG1, PPI.CHG2 and PPI.CHG3 were renamed into an array. */
  514. #define CHG0 CHG[0]
  515. #define CHG1 CHG[1]
  516. #define CHG2 CHG[2]
  517. #define CHG3 CHG[3]
  518. /* All bitfield macros for the CHGx registers therefore changed name. */
  519. #define PPI_CHG0_CH15_Pos PPI_CHG_CH15_Pos
  520. #define PPI_CHG0_CH15_Msk PPI_CHG_CH15_Msk
  521. #define PPI_CHG0_CH15_Excluded PPI_CHG_CH15_Excluded
  522. #define PPI_CHG0_CH15_Included PPI_CHG_CH15_Included
  523. #define PPI_CHG0_CH14_Pos PPI_CHG_CH14_Pos
  524. #define PPI_CHG0_CH14_Msk PPI_CHG_CH14_Msk
  525. #define PPI_CHG0_CH14_Excluded PPI_CHG_CH14_Excluded
  526. #define PPI_CHG0_CH14_Included PPI_CHG_CH14_Included
  527. #define PPI_CHG0_CH13_Pos PPI_CHG_CH13_Pos
  528. #define PPI_CHG0_CH13_Msk PPI_CHG_CH13_Msk
  529. #define PPI_CHG0_CH13_Excluded PPI_CHG_CH13_Excluded
  530. #define PPI_CHG0_CH13_Included PPI_CHG_CH13_Included
  531. #define PPI_CHG0_CH12_Pos PPI_CHG_CH12_Pos
  532. #define PPI_CHG0_CH12_Msk PPI_CHG_CH12_Msk
  533. #define PPI_CHG0_CH12_Excluded PPI_CHG_CH12_Excluded
  534. #define PPI_CHG0_CH12_Included PPI_CHG_CH12_Included
  535. #define PPI_CHG0_CH11_Pos PPI_CHG_CH11_Pos
  536. #define PPI_CHG0_CH11_Msk PPI_CHG_CH11_Msk
  537. #define PPI_CHG0_CH11_Excluded PPI_CHG_CH11_Excluded
  538. #define PPI_CHG0_CH11_Included PPI_CHG_CH11_Included
  539. #define PPI_CHG0_CH10_Pos PPI_CHG_CH10_Pos
  540. #define PPI_CHG0_CH10_Msk PPI_CHG_CH10_Msk
  541. #define PPI_CHG0_CH10_Excluded PPI_CHG_CH10_Excluded
  542. #define PPI_CHG0_CH10_Included PPI_CHG_CH10_Included
  543. #define PPI_CHG0_CH9_Pos PPI_CHG_CH9_Pos
  544. #define PPI_CHG0_CH9_Msk PPI_CHG_CH9_Msk
  545. #define PPI_CHG0_CH9_Excluded PPI_CHG_CH9_Excluded
  546. #define PPI_CHG0_CH9_Included PPI_CHG_CH9_Included
  547. #define PPI_CHG0_CH8_Pos PPI_CHG_CH8_Pos
  548. #define PPI_CHG0_CH8_Msk PPI_CHG_CH8_Msk
  549. #define PPI_CHG0_CH8_Excluded PPI_CHG_CH8_Excluded
  550. #define PPI_CHG0_CH8_Included PPI_CHG_CH8_Included
  551. #define PPI_CHG0_CH7_Pos PPI_CHG_CH7_Pos
  552. #define PPI_CHG0_CH7_Msk PPI_CHG_CH7_Msk
  553. #define PPI_CHG0_CH7_Excluded PPI_CHG_CH7_Excluded
  554. #define PPI_CHG0_CH7_Included PPI_CHG_CH7_Included
  555. #define PPI_CHG0_CH6_Pos PPI_CHG_CH6_Pos
  556. #define PPI_CHG0_CH6_Msk PPI_CHG_CH6_Msk
  557. #define PPI_CHG0_CH6_Excluded PPI_CHG_CH6_Excluded
  558. #define PPI_CHG0_CH6_Included PPI_CHG_CH6_Included
  559. #define PPI_CHG0_CH5_Pos PPI_CHG_CH5_Pos
  560. #define PPI_CHG0_CH5_Msk PPI_CHG_CH5_Msk
  561. #define PPI_CHG0_CH5_Excluded PPI_CHG_CH5_Excluded
  562. #define PPI_CHG0_CH5_Included PPI_CHG_CH5_Included
  563. #define PPI_CHG0_CH4_Pos PPI_CHG_CH4_Pos
  564. #define PPI_CHG0_CH4_Msk PPI_CHG_CH4_Msk
  565. #define PPI_CHG0_CH4_Excluded PPI_CHG_CH4_Excluded
  566. #define PPI_CHG0_CH4_Included PPI_CHG_CH4_Included
  567. #define PPI_CHG0_CH3_Pos PPI_CHG_CH3_Pos
  568. #define PPI_CHG0_CH3_Msk PPI_CHG_CH3_Msk
  569. #define PPI_CHG0_CH3_Excluded PPI_CHG_CH3_Excluded
  570. #define PPI_CHG0_CH3_Included PPI_CHG_CH3_Included
  571. #define PPI_CHG0_CH2_Pos PPI_CHG_CH2_Pos
  572. #define PPI_CHG0_CH2_Msk PPI_CHG_CH2_Msk
  573. #define PPI_CHG0_CH2_Excluded PPI_CHG_CH2_Excluded
  574. #define PPI_CHG0_CH2_Included PPI_CHG_CH2_Included
  575. #define PPI_CHG0_CH1_Pos PPI_CHG_CH1_Pos
  576. #define PPI_CHG0_CH1_Msk PPI_CHG_CH1_Msk
  577. #define PPI_CHG0_CH1_Excluded PPI_CHG_CH1_Excluded
  578. #define PPI_CHG0_CH1_Included PPI_CHG_CH1_Included
  579. #define PPI_CHG0_CH0_Pos PPI_CHG_CH0_Pos
  580. #define PPI_CHG0_CH0_Msk PPI_CHG_CH0_Msk
  581. #define PPI_CHG0_CH0_Excluded PPI_CHG_CH0_Excluded
  582. #define PPI_CHG0_CH0_Included PPI_CHG_CH0_Included
  583. #define PPI_CHG1_CH15_Pos PPI_CHG_CH15_Pos
  584. #define PPI_CHG1_CH15_Msk PPI_CHG_CH15_Msk
  585. #define PPI_CHG1_CH15_Excluded PPI_CHG_CH15_Excluded
  586. #define PPI_CHG1_CH15_Included PPI_CHG_CH15_Included
  587. #define PPI_CHG1_CH14_Pos PPI_CHG_CH14_Pos
  588. #define PPI_CHG1_CH14_Msk PPI_CHG_CH14_Msk
  589. #define PPI_CHG1_CH14_Excluded PPI_CHG_CH14_Excluded
  590. #define PPI_CHG1_CH14_Included PPI_CHG_CH14_Included
  591. #define PPI_CHG1_CH13_Pos PPI_CHG_CH13_Pos
  592. #define PPI_CHG1_CH13_Msk PPI_CHG_CH13_Msk
  593. #define PPI_CHG1_CH13_Excluded PPI_CHG_CH13_Excluded
  594. #define PPI_CHG1_CH13_Included PPI_CHG_CH13_Included
  595. #define PPI_CHG1_CH12_Pos PPI_CHG_CH12_Pos
  596. #define PPI_CHG1_CH12_Msk PPI_CHG_CH12_Msk
  597. #define PPI_CHG1_CH12_Excluded PPI_CHG_CH12_Excluded
  598. #define PPI_CHG1_CH12_Included PPI_CHG_CH12_Included
  599. #define PPI_CHG1_CH11_Pos PPI_CHG_CH11_Pos
  600. #define PPI_CHG1_CH11_Msk PPI_CHG_CH11_Msk
  601. #define PPI_CHG1_CH11_Excluded PPI_CHG_CH11_Excluded
  602. #define PPI_CHG1_CH11_Included PPI_CHG_CH11_Included
  603. #define PPI_CHG1_CH10_Pos PPI_CHG_CH10_Pos
  604. #define PPI_CHG1_CH10_Msk PPI_CHG_CH10_Msk
  605. #define PPI_CHG1_CH10_Excluded PPI_CHG_CH10_Excluded
  606. #define PPI_CHG1_CH10_Included PPI_CHG_CH10_Included
  607. #define PPI_CHG1_CH9_Pos PPI_CHG_CH9_Pos
  608. #define PPI_CHG1_CH9_Msk PPI_CHG_CH9_Msk
  609. #define PPI_CHG1_CH9_Excluded PPI_CHG_CH9_Excluded
  610. #define PPI_CHG1_CH9_Included PPI_CHG_CH9_Included
  611. #define PPI_CHG1_CH8_Pos PPI_CHG_CH8_Pos
  612. #define PPI_CHG1_CH8_Msk PPI_CHG_CH8_Msk
  613. #define PPI_CHG1_CH8_Excluded PPI_CHG_CH8_Excluded
  614. #define PPI_CHG1_CH8_Included PPI_CHG_CH8_Included
  615. #define PPI_CHG1_CH7_Pos PPI_CHG_CH7_Pos
  616. #define PPI_CHG1_CH7_Msk PPI_CHG_CH7_Msk
  617. #define PPI_CHG1_CH7_Excluded PPI_CHG_CH7_Excluded
  618. #define PPI_CHG1_CH7_Included PPI_CHG_CH7_Included
  619. #define PPI_CHG1_CH6_Pos PPI_CHG_CH6_Pos
  620. #define PPI_CHG1_CH6_Msk PPI_CHG_CH6_Msk
  621. #define PPI_CHG1_CH6_Excluded PPI_CHG_CH6_Excluded
  622. #define PPI_CHG1_CH6_Included PPI_CHG_CH6_Included
  623. #define PPI_CHG1_CH5_Pos PPI_CHG_CH5_Pos
  624. #define PPI_CHG1_CH5_Msk PPI_CHG_CH5_Msk
  625. #define PPI_CHG1_CH5_Excluded PPI_CHG_CH5_Excluded
  626. #define PPI_CHG1_CH5_Included PPI_CHG_CH5_Included
  627. #define PPI_CHG1_CH4_Pos PPI_CHG_CH4_Pos
  628. #define PPI_CHG1_CH4_Msk PPI_CHG_CH4_Msk
  629. #define PPI_CHG1_CH4_Excluded PPI_CHG_CH4_Excluded
  630. #define PPI_CHG1_CH4_Included PPI_CHG_CH4_Included
  631. #define PPI_CHG1_CH3_Pos PPI_CHG_CH3_Pos
  632. #define PPI_CHG1_CH3_Msk PPI_CHG_CH3_Msk
  633. #define PPI_CHG1_CH3_Excluded PPI_CHG_CH3_Excluded
  634. #define PPI_CHG1_CH3_Included PPI_CHG_CH3_Included
  635. #define PPI_CHG1_CH2_Pos PPI_CHG_CH2_Pos
  636. #define PPI_CHG1_CH2_Msk PPI_CHG_CH2_Msk
  637. #define PPI_CHG1_CH2_Excluded PPI_CHG_CH2_Excluded
  638. #define PPI_CHG1_CH2_Included PPI_CHG_CH2_Included
  639. #define PPI_CHG1_CH1_Pos PPI_CHG_CH1_Pos
  640. #define PPI_CHG1_CH1_Msk PPI_CHG_CH1_Msk
  641. #define PPI_CHG1_CH1_Excluded PPI_CHG_CH1_Excluded
  642. #define PPI_CHG1_CH1_Included PPI_CHG_CH1_Included
  643. #define PPI_CHG1_CH0_Pos PPI_CHG_CH0_Pos
  644. #define PPI_CHG1_CH0_Msk PPI_CHG_CH0_Msk
  645. #define PPI_CHG1_CH0_Excluded PPI_CHG_CH0_Excluded
  646. #define PPI_CHG1_CH0_Included PPI_CHG_CH0_Included
  647. #define PPI_CHG2_CH15_Pos PPI_CHG_CH15_Pos
  648. #define PPI_CHG2_CH15_Msk PPI_CHG_CH15_Msk
  649. #define PPI_CHG2_CH15_Excluded PPI_CHG_CH15_Excluded
  650. #define PPI_CHG2_CH15_Included PPI_CHG_CH15_Included
  651. #define PPI_CHG2_CH14_Pos PPI_CHG_CH14_Pos
  652. #define PPI_CHG2_CH14_Msk PPI_CHG_CH14_Msk
  653. #define PPI_CHG2_CH14_Excluded PPI_CHG_CH14_Excluded
  654. #define PPI_CHG2_CH14_Included PPI_CHG_CH14_Included
  655. #define PPI_CHG2_CH13_Pos PPI_CHG_CH13_Pos
  656. #define PPI_CHG2_CH13_Msk PPI_CHG_CH13_Msk
  657. #define PPI_CHG2_CH13_Excluded PPI_CHG_CH13_Excluded
  658. #define PPI_CHG2_CH13_Included PPI_CHG_CH13_Included
  659. #define PPI_CHG2_CH12_Pos PPI_CHG_CH12_Pos
  660. #define PPI_CHG2_CH12_Msk PPI_CHG_CH12_Msk
  661. #define PPI_CHG2_CH12_Excluded PPI_CHG_CH12_Excluded
  662. #define PPI_CHG2_CH12_Included PPI_CHG_CH12_Included
  663. #define PPI_CHG2_CH11_Pos PPI_CHG_CH11_Pos
  664. #define PPI_CHG2_CH11_Msk PPI_CHG_CH11_Msk
  665. #define PPI_CHG2_CH11_Excluded PPI_CHG_CH11_Excluded
  666. #define PPI_CHG2_CH11_Included PPI_CHG_CH11_Included
  667. #define PPI_CHG2_CH10_Pos PPI_CHG_CH10_Pos
  668. #define PPI_CHG2_CH10_Msk PPI_CHG_CH10_Msk
  669. #define PPI_CHG2_CH10_Excluded PPI_CHG_CH10_Excluded
  670. #define PPI_CHG2_CH10_Included PPI_CHG_CH10_Included
  671. #define PPI_CHG2_CH9_Pos PPI_CHG_CH9_Pos
  672. #define PPI_CHG2_CH9_Msk PPI_CHG_CH9_Msk
  673. #define PPI_CHG2_CH9_Excluded PPI_CHG_CH9_Excluded
  674. #define PPI_CHG2_CH9_Included PPI_CHG_CH9_Included
  675. #define PPI_CHG2_CH8_Pos PPI_CHG_CH8_Pos
  676. #define PPI_CHG2_CH8_Msk PPI_CHG_CH8_Msk
  677. #define PPI_CHG2_CH8_Excluded PPI_CHG_CH8_Excluded
  678. #define PPI_CHG2_CH8_Included PPI_CHG_CH8_Included
  679. #define PPI_CHG2_CH7_Pos PPI_CHG_CH7_Pos
  680. #define PPI_CHG2_CH7_Msk PPI_CHG_CH7_Msk
  681. #define PPI_CHG2_CH7_Excluded PPI_CHG_CH7_Excluded
  682. #define PPI_CHG2_CH7_Included PPI_CHG_CH7_Included
  683. #define PPI_CHG2_CH6_Pos PPI_CHG_CH6_Pos
  684. #define PPI_CHG2_CH6_Msk PPI_CHG_CH6_Msk
  685. #define PPI_CHG2_CH6_Excluded PPI_CHG_CH6_Excluded
  686. #define PPI_CHG2_CH6_Included PPI_CHG_CH6_Included
  687. #define PPI_CHG2_CH5_Pos PPI_CHG_CH5_Pos
  688. #define PPI_CHG2_CH5_Msk PPI_CHG_CH5_Msk
  689. #define PPI_CHG2_CH5_Excluded PPI_CHG_CH5_Excluded
  690. #define PPI_CHG2_CH5_Included PPI_CHG_CH5_Included
  691. #define PPI_CHG2_CH4_Pos PPI_CHG_CH4_Pos
  692. #define PPI_CHG2_CH4_Msk PPI_CHG_CH4_Msk
  693. #define PPI_CHG2_CH4_Excluded PPI_CHG_CH4_Excluded
  694. #define PPI_CHG2_CH4_Included PPI_CHG_CH4_Included
  695. #define PPI_CHG2_CH3_Pos PPI_CHG_CH3_Pos
  696. #define PPI_CHG2_CH3_Msk PPI_CHG_CH3_Msk
  697. #define PPI_CHG2_CH3_Excluded PPI_CHG_CH3_Excluded
  698. #define PPI_CHG2_CH3_Included PPI_CHG_CH3_Included
  699. #define PPI_CHG2_CH2_Pos PPI_CHG_CH2_Pos
  700. #define PPI_CHG2_CH2_Msk PPI_CHG_CH2_Msk
  701. #define PPI_CHG2_CH2_Excluded PPI_CHG_CH2_Excluded
  702. #define PPI_CHG2_CH2_Included PPI_CHG_CH2_Included
  703. #define PPI_CHG2_CH1_Pos PPI_CHG_CH1_Pos
  704. #define PPI_CHG2_CH1_Msk PPI_CHG_CH1_Msk
  705. #define PPI_CHG2_CH1_Excluded PPI_CHG_CH1_Excluded
  706. #define PPI_CHG2_CH1_Included PPI_CHG_CH1_Included
  707. #define PPI_CHG2_CH0_Pos PPI_CHG_CH0_Pos
  708. #define PPI_CHG2_CH0_Msk PPI_CHG_CH0_Msk
  709. #define PPI_CHG2_CH0_Excluded PPI_CHG_CH0_Excluded
  710. #define PPI_CHG2_CH0_Included PPI_CHG_CH0_Included
  711. #define PPI_CHG3_CH15_Pos PPI_CHG_CH15_Pos
  712. #define PPI_CHG3_CH15_Msk PPI_CHG_CH15_Msk
  713. #define PPI_CHG3_CH15_Excluded PPI_CHG_CH15_Excluded
  714. #define PPI_CHG3_CH15_Included PPI_CHG_CH15_Included
  715. #define PPI_CHG3_CH14_Pos PPI_CHG_CH14_Pos
  716. #define PPI_CHG3_CH14_Msk PPI_CHG_CH14_Msk
  717. #define PPI_CHG3_CH14_Excluded PPI_CHG_CH14_Excluded
  718. #define PPI_CHG3_CH14_Included PPI_CHG_CH14_Included
  719. #define PPI_CHG3_CH13_Pos PPI_CHG_CH13_Pos
  720. #define PPI_CHG3_CH13_Msk PPI_CHG_CH13_Msk
  721. #define PPI_CHG3_CH13_Excluded PPI_CHG_CH13_Excluded
  722. #define PPI_CHG3_CH13_Included PPI_CHG_CH13_Included
  723. #define PPI_CHG3_CH12_Pos PPI_CHG_CH12_Pos
  724. #define PPI_CHG3_CH12_Msk PPI_CHG_CH12_Msk
  725. #define PPI_CHG3_CH12_Excluded PPI_CHG_CH12_Excluded
  726. #define PPI_CHG3_CH12_Included PPI_CHG_CH12_Included
  727. #define PPI_CHG3_CH11_Pos PPI_CHG_CH11_Pos
  728. #define PPI_CHG3_CH11_Msk PPI_CHG_CH11_Msk
  729. #define PPI_CHG3_CH11_Excluded PPI_CHG_CH11_Excluded
  730. #define PPI_CHG3_CH11_Included PPI_CHG_CH11_Included
  731. #define PPI_CHG3_CH10_Pos PPI_CHG_CH10_Pos
  732. #define PPI_CHG3_CH10_Msk PPI_CHG_CH10_Msk
  733. #define PPI_CHG3_CH10_Excluded PPI_CHG_CH10_Excluded
  734. #define PPI_CHG3_CH10_Included PPI_CHG_CH10_Included
  735. #define PPI_CHG3_CH9_Pos PPI_CHG_CH9_Pos
  736. #define PPI_CHG3_CH9_Msk PPI_CHG_CH9_Msk
  737. #define PPI_CHG3_CH9_Excluded PPI_CHG_CH9_Excluded
  738. #define PPI_CHG3_CH9_Included PPI_CHG_CH9_Included
  739. #define PPI_CHG3_CH8_Pos PPI_CHG_CH8_Pos
  740. #define PPI_CHG3_CH8_Msk PPI_CHG_CH8_Msk
  741. #define PPI_CHG3_CH8_Excluded PPI_CHG_CH8_Excluded
  742. #define PPI_CHG3_CH8_Included PPI_CHG_CH8_Included
  743. #define PPI_CHG3_CH7_Pos PPI_CHG_CH7_Pos
  744. #define PPI_CHG3_CH7_Msk PPI_CHG_CH7_Msk
  745. #define PPI_CHG3_CH7_Excluded PPI_CHG_CH7_Excluded
  746. #define PPI_CHG3_CH7_Included PPI_CHG_CH7_Included
  747. #define PPI_CHG3_CH6_Pos PPI_CHG_CH6_Pos
  748. #define PPI_CHG3_CH6_Msk PPI_CHG_CH6_Msk
  749. #define PPI_CHG3_CH6_Excluded PPI_CHG_CH6_Excluded
  750. #define PPI_CHG3_CH6_Included PPI_CHG_CH6_Included
  751. #define PPI_CHG3_CH5_Pos PPI_CHG_CH5_Pos
  752. #define PPI_CHG3_CH5_Msk PPI_CHG_CH5_Msk
  753. #define PPI_CHG3_CH5_Excluded PPI_CHG_CH5_Excluded
  754. #define PPI_CHG3_CH5_Included PPI_CHG_CH5_Included
  755. #define PPI_CHG3_CH4_Pos PPI_CHG_CH4_Pos
  756. #define PPI_CHG3_CH4_Msk PPI_CHG_CH4_Msk
  757. #define PPI_CHG3_CH4_Excluded PPI_CHG_CH4_Excluded
  758. #define PPI_CHG3_CH4_Included PPI_CHG_CH4_Included
  759. #define PPI_CHG3_CH3_Pos PPI_CHG_CH3_Pos
  760. #define PPI_CHG3_CH3_Msk PPI_CHG_CH3_Msk
  761. #define PPI_CHG3_CH3_Excluded PPI_CHG_CH3_Excluded
  762. #define PPI_CHG3_CH3_Included PPI_CHG_CH3_Included
  763. #define PPI_CHG3_CH2_Pos PPI_CHG_CH2_Pos
  764. #define PPI_CHG3_CH2_Msk PPI_CHG_CH2_Msk
  765. #define PPI_CHG3_CH2_Excluded PPI_CHG_CH2_Excluded
  766. #define PPI_CHG3_CH2_Included PPI_CHG_CH2_Included
  767. #define PPI_CHG3_CH1_Pos PPI_CHG_CH1_Pos
  768. #define PPI_CHG3_CH1_Msk PPI_CHG_CH1_Msk
  769. #define PPI_CHG3_CH1_Excluded PPI_CHG_CH1_Excluded
  770. #define PPI_CHG3_CH1_Included PPI_CHG_CH1_Included
  771. #define PPI_CHG3_CH0_Pos PPI_CHG_CH0_Pos
  772. #define PPI_CHG3_CH0_Msk PPI_CHG_CH0_Msk
  773. #define PPI_CHG3_CH0_Excluded PPI_CHG_CH0_Excluded
  774. #define PPI_CHG3_CH0_Included PPI_CHG_CH0_Included
  775. /*lint --flb "Leave library region" */
  776. #endif /* NRF51_TO_NRF52_H */