nrf51_to_nrf52810.h 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  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_NRF52810_H
  32. #define NRF51_TO_NRF52810_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 nRF52840 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. /* Differences between latest nRF51 headers and nRF52810 headers. */
  39. /* IRQ */
  40. /* Several peripherals have been added to several indexes. Names of IRQ handlers and IRQ numbers have changed. */
  41. #define SWI0_IRQHandler SWI0_EGU0_IRQHandler
  42. #define SWI1_IRQHandler SWI1_EGU1_IRQHandler
  43. #define SWI0_IRQn SWI0_EGU0_IRQn
  44. #define SWI1_IRQn SWI1_EGU1_IRQn
  45. /* UICR */
  46. /* Register RBPCONF was renamed to APPROTECT. */
  47. #define RBPCONF APPROTECT
  48. #define UICR_RBPCONF_PALL_Pos UICR_APPROTECT_PALL_Pos
  49. #define UICR_RBPCONF_PALL_Msk UICR_APPROTECT_PALL_Msk
  50. #define UICR_RBPCONF_PALL_Enabled UICR_APPROTECT_PALL_Enabled
  51. #define UICR_RBPCONF_PALL_Disabled UICR_APPROTECT_PALL_Disabled
  52. /* GPIO */
  53. /* GPIO port was renamed to P0. */
  54. #define NRF_GPIO NRF_P0
  55. #define NRF_GPIO_BASE NRF_P0_BASE
  56. /* QDEC */
  57. /* The registers PSELA, PSELB and PSELLED were restructured into a struct. */
  58. #define PSELLED PSEL.LED
  59. #define PSELA PSEL.A
  60. #define PSELB PSEL.B
  61. /* SPIS */
  62. /* The registers PSELSCK, PSELMISO, PSELMOSI, PSELCSN were restructured into a struct. */
  63. #define PSELSCK PSEL.SCK
  64. #define PSELMISO PSEL.MISO
  65. #define PSELMOSI PSEL.MOSI
  66. #define PSELCSN PSEL.CSN
  67. /* The registers RXDPTR, MAXRX, AMOUNTRX were restructured into a struct */
  68. #define RXDPTR RXD.PTR
  69. #define MAXRX RXD.MAXCNT
  70. #define AMOUNTRX RXD.AMOUNT
  71. #define SPIS_MAXRX_MAXRX_Pos SPIS_RXD_MAXCNT_MAXCNT_Pos
  72. #define SPIS_MAXRX_MAXRX_Msk SPIS_RXD_MAXCNT_MAXCNT_Msk
  73. #define SPIS_AMOUNTRX_AMOUNTRX_Pos SPIS_RXD_AMOUNT_AMOUNT_Pos
  74. #define SPIS_AMOUNTRX_AMOUNTRX_Msk SPIS_RXD_AMOUNT_AMOUNT_Msk
  75. /* The registers TXDPTR, MAXTX, AMOUNTTX were restructured into a struct */
  76. #define TXDPTR TXD.PTR
  77. #define MAXTX TXD.MAXCNT
  78. #define AMOUNTTX TXD.AMOUNT
  79. #define SPIS_MAXTX_MAXTX_Pos SPIS_TXD_MAXCNT_MAXCNT_Pos
  80. #define SPIS_MAXTX_MAXTX_Msk SPIS_TXD_MAXCNT_MAXCNT_Msk
  81. #define SPIS_AMOUNTTX_AMOUNTTX_Pos SPIS_TXD_AMOUNT_AMOUNT_Pos
  82. #define SPIS_AMOUNTTX_AMOUNTTX_Msk SPIS_TXD_AMOUNT_AMOUNT_Msk
  83. /* From nrf51_deprecated.h. Several macros changed in different versions of nRF52 headers. By defining the following, any code written for any version of nRF52 headers will still compile. */
  84. /* NVMC */
  85. /* The register ERASEPROTECTEDPAGE changed name to ERASEPCR0 in the documentation. */
  86. #define ERASEPROTECTEDPAGE ERASEPCR0
  87. /* RADIO */
  88. /* The name of the field SKIPADDR was corrected. Old macros added for compatibility. */
  89. #define RADIO_CRCCNF_SKIP_ADDR_Pos RADIO_CRCCNF_SKIPADDR_Pos
  90. #define RADIO_CRCCNF_SKIP_ADDR_Msk RADIO_CRCCNF_SKIPADDR_Msk
  91. #define RADIO_CRCCNF_SKIP_ADDR_Include RADIO_CRCCNF_SKIPADDR_Include
  92. #define RADIO_CRCCNF_SKIP_ADDR_Skip RADIO_CRCCNF_SKIPADDR_Skip
  93. /* FICR */
  94. /* The registers FICR.DEVICEID0 and FICR.DEVICEID1 were renamed into an array. */
  95. #define DEVICEID0 DEVICEID[0]
  96. #define DEVICEID1 DEVICEID[1]
  97. /* The registers FICR.ER0, FICR.ER1, FICR.ER2 and FICR.ER3 were renamed into an array. */
  98. #define ER0 ER[0]
  99. #define ER1 ER[1]
  100. #define ER2 ER[2]
  101. #define ER3 ER[3]
  102. /* The registers FICR.IR0, FICR.IR1, FICR.IR2 and FICR.IR3 were renamed into an array. */
  103. #define IR0 IR[0]
  104. #define IR1 IR[1]
  105. #define IR2 IR[2]
  106. #define IR3 IR[3]
  107. /* The registers FICR.DEVICEADDR0 and FICR.DEVICEADDR1 were renamed into an array. */
  108. #define DEVICEADDR0 DEVICEADDR[0]
  109. #define DEVICEADDR1 DEVICEADDR[1]
  110. /* PPI */
  111. /* The tasks PPI.TASKS_CHGxEN and PPI.TASKS_CHGxDIS were renamed into an array of structs. */
  112. #define TASKS_CHG0EN TASKS_CHG[0].EN
  113. #define TASKS_CHG0DIS TASKS_CHG[0].DIS
  114. #define TASKS_CHG1EN TASKS_CHG[1].EN
  115. #define TASKS_CHG1DIS TASKS_CHG[1].DIS
  116. #define TASKS_CHG2EN TASKS_CHG[2].EN
  117. #define TASKS_CHG2DIS TASKS_CHG[2].DIS
  118. #define TASKS_CHG3EN TASKS_CHG[3].EN
  119. #define TASKS_CHG3DIS TASKS_CHG[3].DIS
  120. /* The registers PPI.CHx_EEP and PPI.CHx_TEP were renamed into an array of structs. */
  121. #define CH0_EEP CH[0].EEP
  122. #define CH0_TEP CH[0].TEP
  123. #define CH1_EEP CH[1].EEP
  124. #define CH1_TEP CH[1].TEP
  125. #define CH2_EEP CH[2].EEP
  126. #define CH2_TEP CH[2].TEP
  127. #define CH3_EEP CH[3].EEP
  128. #define CH3_TEP CH[3].TEP
  129. #define CH4_EEP CH[4].EEP
  130. #define CH4_TEP CH[4].TEP
  131. #define CH5_EEP CH[5].EEP
  132. #define CH5_TEP CH[5].TEP
  133. #define CH6_EEP CH[6].EEP
  134. #define CH6_TEP CH[6].TEP
  135. #define CH7_EEP CH[7].EEP
  136. #define CH7_TEP CH[7].TEP
  137. #define CH8_EEP CH[8].EEP
  138. #define CH8_TEP CH[8].TEP
  139. #define CH9_EEP CH[9].EEP
  140. #define CH9_TEP CH[9].TEP
  141. #define CH10_EEP CH[10].EEP
  142. #define CH10_TEP CH[10].TEP
  143. #define CH11_EEP CH[11].EEP
  144. #define CH11_TEP CH[11].TEP
  145. #define CH12_EEP CH[12].EEP
  146. #define CH12_TEP CH[12].TEP
  147. #define CH13_EEP CH[13].EEP
  148. #define CH13_TEP CH[13].TEP
  149. #define CH14_EEP CH[14].EEP
  150. #define CH14_TEP CH[14].TEP
  151. #define CH15_EEP CH[15].EEP
  152. #define CH15_TEP CH[15].TEP
  153. /* The registers PPI.CHG0, PPI.CHG1, PPI.CHG2 and PPI.CHG3 were renamed into an array. */
  154. #define CHG0 CHG[0]
  155. #define CHG1 CHG[1]
  156. #define CHG2 CHG[2]
  157. #define CHG3 CHG[3]
  158. /* All bitfield macros for the CHGx registers therefore changed name. */
  159. #define PPI_CHG0_CH15_Pos PPI_CHG_CH15_Pos
  160. #define PPI_CHG0_CH15_Msk PPI_CHG_CH15_Msk
  161. #define PPI_CHG0_CH15_Excluded PPI_CHG_CH15_Excluded
  162. #define PPI_CHG0_CH15_Included PPI_CHG_CH15_Included
  163. #define PPI_CHG0_CH14_Pos PPI_CHG_CH14_Pos
  164. #define PPI_CHG0_CH14_Msk PPI_CHG_CH14_Msk
  165. #define PPI_CHG0_CH14_Excluded PPI_CHG_CH14_Excluded
  166. #define PPI_CHG0_CH14_Included PPI_CHG_CH14_Included
  167. #define PPI_CHG0_CH13_Pos PPI_CHG_CH13_Pos
  168. #define PPI_CHG0_CH13_Msk PPI_CHG_CH13_Msk
  169. #define PPI_CHG0_CH13_Excluded PPI_CHG_CH13_Excluded
  170. #define PPI_CHG0_CH13_Included PPI_CHG_CH13_Included
  171. #define PPI_CHG0_CH12_Pos PPI_CHG_CH12_Pos
  172. #define PPI_CHG0_CH12_Msk PPI_CHG_CH12_Msk
  173. #define PPI_CHG0_CH12_Excluded PPI_CHG_CH12_Excluded
  174. #define PPI_CHG0_CH12_Included PPI_CHG_CH12_Included
  175. #define PPI_CHG0_CH11_Pos PPI_CHG_CH11_Pos
  176. #define PPI_CHG0_CH11_Msk PPI_CHG_CH11_Msk
  177. #define PPI_CHG0_CH11_Excluded PPI_CHG_CH11_Excluded
  178. #define PPI_CHG0_CH11_Included PPI_CHG_CH11_Included
  179. #define PPI_CHG0_CH10_Pos PPI_CHG_CH10_Pos
  180. #define PPI_CHG0_CH10_Msk PPI_CHG_CH10_Msk
  181. #define PPI_CHG0_CH10_Excluded PPI_CHG_CH10_Excluded
  182. #define PPI_CHG0_CH10_Included PPI_CHG_CH10_Included
  183. #define PPI_CHG0_CH9_Pos PPI_CHG_CH9_Pos
  184. #define PPI_CHG0_CH9_Msk PPI_CHG_CH9_Msk
  185. #define PPI_CHG0_CH9_Excluded PPI_CHG_CH9_Excluded
  186. #define PPI_CHG0_CH9_Included PPI_CHG_CH9_Included
  187. #define PPI_CHG0_CH8_Pos PPI_CHG_CH8_Pos
  188. #define PPI_CHG0_CH8_Msk PPI_CHG_CH8_Msk
  189. #define PPI_CHG0_CH8_Excluded PPI_CHG_CH8_Excluded
  190. #define PPI_CHG0_CH8_Included PPI_CHG_CH8_Included
  191. #define PPI_CHG0_CH7_Pos PPI_CHG_CH7_Pos
  192. #define PPI_CHG0_CH7_Msk PPI_CHG_CH7_Msk
  193. #define PPI_CHG0_CH7_Excluded PPI_CHG_CH7_Excluded
  194. #define PPI_CHG0_CH7_Included PPI_CHG_CH7_Included
  195. #define PPI_CHG0_CH6_Pos PPI_CHG_CH6_Pos
  196. #define PPI_CHG0_CH6_Msk PPI_CHG_CH6_Msk
  197. #define PPI_CHG0_CH6_Excluded PPI_CHG_CH6_Excluded
  198. #define PPI_CHG0_CH6_Included PPI_CHG_CH6_Included
  199. #define PPI_CHG0_CH5_Pos PPI_CHG_CH5_Pos
  200. #define PPI_CHG0_CH5_Msk PPI_CHG_CH5_Msk
  201. #define PPI_CHG0_CH5_Excluded PPI_CHG_CH5_Excluded
  202. #define PPI_CHG0_CH5_Included PPI_CHG_CH5_Included
  203. #define PPI_CHG0_CH4_Pos PPI_CHG_CH4_Pos
  204. #define PPI_CHG0_CH4_Msk PPI_CHG_CH4_Msk
  205. #define PPI_CHG0_CH4_Excluded PPI_CHG_CH4_Excluded
  206. #define PPI_CHG0_CH4_Included PPI_CHG_CH4_Included
  207. #define PPI_CHG0_CH3_Pos PPI_CHG_CH3_Pos
  208. #define PPI_CHG0_CH3_Msk PPI_CHG_CH3_Msk
  209. #define PPI_CHG0_CH3_Excluded PPI_CHG_CH3_Excluded
  210. #define PPI_CHG0_CH3_Included PPI_CHG_CH3_Included
  211. #define PPI_CHG0_CH2_Pos PPI_CHG_CH2_Pos
  212. #define PPI_CHG0_CH2_Msk PPI_CHG_CH2_Msk
  213. #define PPI_CHG0_CH2_Excluded PPI_CHG_CH2_Excluded
  214. #define PPI_CHG0_CH2_Included PPI_CHG_CH2_Included
  215. #define PPI_CHG0_CH1_Pos PPI_CHG_CH1_Pos
  216. #define PPI_CHG0_CH1_Msk PPI_CHG_CH1_Msk
  217. #define PPI_CHG0_CH1_Excluded PPI_CHG_CH1_Excluded
  218. #define PPI_CHG0_CH1_Included PPI_CHG_CH1_Included
  219. #define PPI_CHG0_CH0_Pos PPI_CHG_CH0_Pos
  220. #define PPI_CHG0_CH0_Msk PPI_CHG_CH0_Msk
  221. #define PPI_CHG0_CH0_Excluded PPI_CHG_CH0_Excluded
  222. #define PPI_CHG0_CH0_Included PPI_CHG_CH0_Included
  223. #define PPI_CHG1_CH15_Pos PPI_CHG_CH15_Pos
  224. #define PPI_CHG1_CH15_Msk PPI_CHG_CH15_Msk
  225. #define PPI_CHG1_CH15_Excluded PPI_CHG_CH15_Excluded
  226. #define PPI_CHG1_CH15_Included PPI_CHG_CH15_Included
  227. #define PPI_CHG1_CH14_Pos PPI_CHG_CH14_Pos
  228. #define PPI_CHG1_CH14_Msk PPI_CHG_CH14_Msk
  229. #define PPI_CHG1_CH14_Excluded PPI_CHG_CH14_Excluded
  230. #define PPI_CHG1_CH14_Included PPI_CHG_CH14_Included
  231. #define PPI_CHG1_CH13_Pos PPI_CHG_CH13_Pos
  232. #define PPI_CHG1_CH13_Msk PPI_CHG_CH13_Msk
  233. #define PPI_CHG1_CH13_Excluded PPI_CHG_CH13_Excluded
  234. #define PPI_CHG1_CH13_Included PPI_CHG_CH13_Included
  235. #define PPI_CHG1_CH12_Pos PPI_CHG_CH12_Pos
  236. #define PPI_CHG1_CH12_Msk PPI_CHG_CH12_Msk
  237. #define PPI_CHG1_CH12_Excluded PPI_CHG_CH12_Excluded
  238. #define PPI_CHG1_CH12_Included PPI_CHG_CH12_Included
  239. #define PPI_CHG1_CH11_Pos PPI_CHG_CH11_Pos
  240. #define PPI_CHG1_CH11_Msk PPI_CHG_CH11_Msk
  241. #define PPI_CHG1_CH11_Excluded PPI_CHG_CH11_Excluded
  242. #define PPI_CHG1_CH11_Included PPI_CHG_CH11_Included
  243. #define PPI_CHG1_CH10_Pos PPI_CHG_CH10_Pos
  244. #define PPI_CHG1_CH10_Msk PPI_CHG_CH10_Msk
  245. #define PPI_CHG1_CH10_Excluded PPI_CHG_CH10_Excluded
  246. #define PPI_CHG1_CH10_Included PPI_CHG_CH10_Included
  247. #define PPI_CHG1_CH9_Pos PPI_CHG_CH9_Pos
  248. #define PPI_CHG1_CH9_Msk PPI_CHG_CH9_Msk
  249. #define PPI_CHG1_CH9_Excluded PPI_CHG_CH9_Excluded
  250. #define PPI_CHG1_CH9_Included PPI_CHG_CH9_Included
  251. #define PPI_CHG1_CH8_Pos PPI_CHG_CH8_Pos
  252. #define PPI_CHG1_CH8_Msk PPI_CHG_CH8_Msk
  253. #define PPI_CHG1_CH8_Excluded PPI_CHG_CH8_Excluded
  254. #define PPI_CHG1_CH8_Included PPI_CHG_CH8_Included
  255. #define PPI_CHG1_CH7_Pos PPI_CHG_CH7_Pos
  256. #define PPI_CHG1_CH7_Msk PPI_CHG_CH7_Msk
  257. #define PPI_CHG1_CH7_Excluded PPI_CHG_CH7_Excluded
  258. #define PPI_CHG1_CH7_Included PPI_CHG_CH7_Included
  259. #define PPI_CHG1_CH6_Pos PPI_CHG_CH6_Pos
  260. #define PPI_CHG1_CH6_Msk PPI_CHG_CH6_Msk
  261. #define PPI_CHG1_CH6_Excluded PPI_CHG_CH6_Excluded
  262. #define PPI_CHG1_CH6_Included PPI_CHG_CH6_Included
  263. #define PPI_CHG1_CH5_Pos PPI_CHG_CH5_Pos
  264. #define PPI_CHG1_CH5_Msk PPI_CHG_CH5_Msk
  265. #define PPI_CHG1_CH5_Excluded PPI_CHG_CH5_Excluded
  266. #define PPI_CHG1_CH5_Included PPI_CHG_CH5_Included
  267. #define PPI_CHG1_CH4_Pos PPI_CHG_CH4_Pos
  268. #define PPI_CHG1_CH4_Msk PPI_CHG_CH4_Msk
  269. #define PPI_CHG1_CH4_Excluded PPI_CHG_CH4_Excluded
  270. #define PPI_CHG1_CH4_Included PPI_CHG_CH4_Included
  271. #define PPI_CHG1_CH3_Pos PPI_CHG_CH3_Pos
  272. #define PPI_CHG1_CH3_Msk PPI_CHG_CH3_Msk
  273. #define PPI_CHG1_CH3_Excluded PPI_CHG_CH3_Excluded
  274. #define PPI_CHG1_CH3_Included PPI_CHG_CH3_Included
  275. #define PPI_CHG1_CH2_Pos PPI_CHG_CH2_Pos
  276. #define PPI_CHG1_CH2_Msk PPI_CHG_CH2_Msk
  277. #define PPI_CHG1_CH2_Excluded PPI_CHG_CH2_Excluded
  278. #define PPI_CHG1_CH2_Included PPI_CHG_CH2_Included
  279. #define PPI_CHG1_CH1_Pos PPI_CHG_CH1_Pos
  280. #define PPI_CHG1_CH1_Msk PPI_CHG_CH1_Msk
  281. #define PPI_CHG1_CH1_Excluded PPI_CHG_CH1_Excluded
  282. #define PPI_CHG1_CH1_Included PPI_CHG_CH1_Included
  283. #define PPI_CHG1_CH0_Pos PPI_CHG_CH0_Pos
  284. #define PPI_CHG1_CH0_Msk PPI_CHG_CH0_Msk
  285. #define PPI_CHG1_CH0_Excluded PPI_CHG_CH0_Excluded
  286. #define PPI_CHG1_CH0_Included PPI_CHG_CH0_Included
  287. #define PPI_CHG2_CH15_Pos PPI_CHG_CH15_Pos
  288. #define PPI_CHG2_CH15_Msk PPI_CHG_CH15_Msk
  289. #define PPI_CHG2_CH15_Excluded PPI_CHG_CH15_Excluded
  290. #define PPI_CHG2_CH15_Included PPI_CHG_CH15_Included
  291. #define PPI_CHG2_CH14_Pos PPI_CHG_CH14_Pos
  292. #define PPI_CHG2_CH14_Msk PPI_CHG_CH14_Msk
  293. #define PPI_CHG2_CH14_Excluded PPI_CHG_CH14_Excluded
  294. #define PPI_CHG2_CH14_Included PPI_CHG_CH14_Included
  295. #define PPI_CHG2_CH13_Pos PPI_CHG_CH13_Pos
  296. #define PPI_CHG2_CH13_Msk PPI_CHG_CH13_Msk
  297. #define PPI_CHG2_CH13_Excluded PPI_CHG_CH13_Excluded
  298. #define PPI_CHG2_CH13_Included PPI_CHG_CH13_Included
  299. #define PPI_CHG2_CH12_Pos PPI_CHG_CH12_Pos
  300. #define PPI_CHG2_CH12_Msk PPI_CHG_CH12_Msk
  301. #define PPI_CHG2_CH12_Excluded PPI_CHG_CH12_Excluded
  302. #define PPI_CHG2_CH12_Included PPI_CHG_CH12_Included
  303. #define PPI_CHG2_CH11_Pos PPI_CHG_CH11_Pos
  304. #define PPI_CHG2_CH11_Msk PPI_CHG_CH11_Msk
  305. #define PPI_CHG2_CH11_Excluded PPI_CHG_CH11_Excluded
  306. #define PPI_CHG2_CH11_Included PPI_CHG_CH11_Included
  307. #define PPI_CHG2_CH10_Pos PPI_CHG_CH10_Pos
  308. #define PPI_CHG2_CH10_Msk PPI_CHG_CH10_Msk
  309. #define PPI_CHG2_CH10_Excluded PPI_CHG_CH10_Excluded
  310. #define PPI_CHG2_CH10_Included PPI_CHG_CH10_Included
  311. #define PPI_CHG2_CH9_Pos PPI_CHG_CH9_Pos
  312. #define PPI_CHG2_CH9_Msk PPI_CHG_CH9_Msk
  313. #define PPI_CHG2_CH9_Excluded PPI_CHG_CH9_Excluded
  314. #define PPI_CHG2_CH9_Included PPI_CHG_CH9_Included
  315. #define PPI_CHG2_CH8_Pos PPI_CHG_CH8_Pos
  316. #define PPI_CHG2_CH8_Msk PPI_CHG_CH8_Msk
  317. #define PPI_CHG2_CH8_Excluded PPI_CHG_CH8_Excluded
  318. #define PPI_CHG2_CH8_Included PPI_CHG_CH8_Included
  319. #define PPI_CHG2_CH7_Pos PPI_CHG_CH7_Pos
  320. #define PPI_CHG2_CH7_Msk PPI_CHG_CH7_Msk
  321. #define PPI_CHG2_CH7_Excluded PPI_CHG_CH7_Excluded
  322. #define PPI_CHG2_CH7_Included PPI_CHG_CH7_Included
  323. #define PPI_CHG2_CH6_Pos PPI_CHG_CH6_Pos
  324. #define PPI_CHG2_CH6_Msk PPI_CHG_CH6_Msk
  325. #define PPI_CHG2_CH6_Excluded PPI_CHG_CH6_Excluded
  326. #define PPI_CHG2_CH6_Included PPI_CHG_CH6_Included
  327. #define PPI_CHG2_CH5_Pos PPI_CHG_CH5_Pos
  328. #define PPI_CHG2_CH5_Msk PPI_CHG_CH5_Msk
  329. #define PPI_CHG2_CH5_Excluded PPI_CHG_CH5_Excluded
  330. #define PPI_CHG2_CH5_Included PPI_CHG_CH5_Included
  331. #define PPI_CHG2_CH4_Pos PPI_CHG_CH4_Pos
  332. #define PPI_CHG2_CH4_Msk PPI_CHG_CH4_Msk
  333. #define PPI_CHG2_CH4_Excluded PPI_CHG_CH4_Excluded
  334. #define PPI_CHG2_CH4_Included PPI_CHG_CH4_Included
  335. #define PPI_CHG2_CH3_Pos PPI_CHG_CH3_Pos
  336. #define PPI_CHG2_CH3_Msk PPI_CHG_CH3_Msk
  337. #define PPI_CHG2_CH3_Excluded PPI_CHG_CH3_Excluded
  338. #define PPI_CHG2_CH3_Included PPI_CHG_CH3_Included
  339. #define PPI_CHG2_CH2_Pos PPI_CHG_CH2_Pos
  340. #define PPI_CHG2_CH2_Msk PPI_CHG_CH2_Msk
  341. #define PPI_CHG2_CH2_Excluded PPI_CHG_CH2_Excluded
  342. #define PPI_CHG2_CH2_Included PPI_CHG_CH2_Included
  343. #define PPI_CHG2_CH1_Pos PPI_CHG_CH1_Pos
  344. #define PPI_CHG2_CH1_Msk PPI_CHG_CH1_Msk
  345. #define PPI_CHG2_CH1_Excluded PPI_CHG_CH1_Excluded
  346. #define PPI_CHG2_CH1_Included PPI_CHG_CH1_Included
  347. #define PPI_CHG2_CH0_Pos PPI_CHG_CH0_Pos
  348. #define PPI_CHG2_CH0_Msk PPI_CHG_CH0_Msk
  349. #define PPI_CHG2_CH0_Excluded PPI_CHG_CH0_Excluded
  350. #define PPI_CHG2_CH0_Included PPI_CHG_CH0_Included
  351. #define PPI_CHG3_CH15_Pos PPI_CHG_CH15_Pos
  352. #define PPI_CHG3_CH15_Msk PPI_CHG_CH15_Msk
  353. #define PPI_CHG3_CH15_Excluded PPI_CHG_CH15_Excluded
  354. #define PPI_CHG3_CH15_Included PPI_CHG_CH15_Included
  355. #define PPI_CHG3_CH14_Pos PPI_CHG_CH14_Pos
  356. #define PPI_CHG3_CH14_Msk PPI_CHG_CH14_Msk
  357. #define PPI_CHG3_CH14_Excluded PPI_CHG_CH14_Excluded
  358. #define PPI_CHG3_CH14_Included PPI_CHG_CH14_Included
  359. #define PPI_CHG3_CH13_Pos PPI_CHG_CH13_Pos
  360. #define PPI_CHG3_CH13_Msk PPI_CHG_CH13_Msk
  361. #define PPI_CHG3_CH13_Excluded PPI_CHG_CH13_Excluded
  362. #define PPI_CHG3_CH13_Included PPI_CHG_CH13_Included
  363. #define PPI_CHG3_CH12_Pos PPI_CHG_CH12_Pos
  364. #define PPI_CHG3_CH12_Msk PPI_CHG_CH12_Msk
  365. #define PPI_CHG3_CH12_Excluded PPI_CHG_CH12_Excluded
  366. #define PPI_CHG3_CH12_Included PPI_CHG_CH12_Included
  367. #define PPI_CHG3_CH11_Pos PPI_CHG_CH11_Pos
  368. #define PPI_CHG3_CH11_Msk PPI_CHG_CH11_Msk
  369. #define PPI_CHG3_CH11_Excluded PPI_CHG_CH11_Excluded
  370. #define PPI_CHG3_CH11_Included PPI_CHG_CH11_Included
  371. #define PPI_CHG3_CH10_Pos PPI_CHG_CH10_Pos
  372. #define PPI_CHG3_CH10_Msk PPI_CHG_CH10_Msk
  373. #define PPI_CHG3_CH10_Excluded PPI_CHG_CH10_Excluded
  374. #define PPI_CHG3_CH10_Included PPI_CHG_CH10_Included
  375. #define PPI_CHG3_CH9_Pos PPI_CHG_CH9_Pos
  376. #define PPI_CHG3_CH9_Msk PPI_CHG_CH9_Msk
  377. #define PPI_CHG3_CH9_Excluded PPI_CHG_CH9_Excluded
  378. #define PPI_CHG3_CH9_Included PPI_CHG_CH9_Included
  379. #define PPI_CHG3_CH8_Pos PPI_CHG_CH8_Pos
  380. #define PPI_CHG3_CH8_Msk PPI_CHG_CH8_Msk
  381. #define PPI_CHG3_CH8_Excluded PPI_CHG_CH8_Excluded
  382. #define PPI_CHG3_CH8_Included PPI_CHG_CH8_Included
  383. #define PPI_CHG3_CH7_Pos PPI_CHG_CH7_Pos
  384. #define PPI_CHG3_CH7_Msk PPI_CHG_CH7_Msk
  385. #define PPI_CHG3_CH7_Excluded PPI_CHG_CH7_Excluded
  386. #define PPI_CHG3_CH7_Included PPI_CHG_CH7_Included
  387. #define PPI_CHG3_CH6_Pos PPI_CHG_CH6_Pos
  388. #define PPI_CHG3_CH6_Msk PPI_CHG_CH6_Msk
  389. #define PPI_CHG3_CH6_Excluded PPI_CHG_CH6_Excluded
  390. #define PPI_CHG3_CH6_Included PPI_CHG_CH6_Included
  391. #define PPI_CHG3_CH5_Pos PPI_CHG_CH5_Pos
  392. #define PPI_CHG3_CH5_Msk PPI_CHG_CH5_Msk
  393. #define PPI_CHG3_CH5_Excluded PPI_CHG_CH5_Excluded
  394. #define PPI_CHG3_CH5_Included PPI_CHG_CH5_Included
  395. #define PPI_CHG3_CH4_Pos PPI_CHG_CH4_Pos
  396. #define PPI_CHG3_CH4_Msk PPI_CHG_CH4_Msk
  397. #define PPI_CHG3_CH4_Excluded PPI_CHG_CH4_Excluded
  398. #define PPI_CHG3_CH4_Included PPI_CHG_CH4_Included
  399. #define PPI_CHG3_CH3_Pos PPI_CHG_CH3_Pos
  400. #define PPI_CHG3_CH3_Msk PPI_CHG_CH3_Msk
  401. #define PPI_CHG3_CH3_Excluded PPI_CHG_CH3_Excluded
  402. #define PPI_CHG3_CH3_Included PPI_CHG_CH3_Included
  403. #define PPI_CHG3_CH2_Pos PPI_CHG_CH2_Pos
  404. #define PPI_CHG3_CH2_Msk PPI_CHG_CH2_Msk
  405. #define PPI_CHG3_CH2_Excluded PPI_CHG_CH2_Excluded
  406. #define PPI_CHG3_CH2_Included PPI_CHG_CH2_Included
  407. #define PPI_CHG3_CH1_Pos PPI_CHG_CH1_Pos
  408. #define PPI_CHG3_CH1_Msk PPI_CHG_CH1_Msk
  409. #define PPI_CHG3_CH1_Excluded PPI_CHG_CH1_Excluded
  410. #define PPI_CHG3_CH1_Included PPI_CHG_CH1_Included
  411. #define PPI_CHG3_CH0_Pos PPI_CHG_CH0_Pos
  412. #define PPI_CHG3_CH0_Msk PPI_CHG_CH0_Msk
  413. #define PPI_CHG3_CH0_Excluded PPI_CHG_CH0_Excluded
  414. #define PPI_CHG3_CH0_Included PPI_CHG_CH0_Included
  415. /*lint --flb "Leave library region" */
  416. #endif /* NRF51_TO_NRF52810_H */