nrf51_to_nrf52840.h 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
  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_NRF52840_H
  32. #define NRF51_TO_NRF52840_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. /* 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. /* UART */
  101. /* The registers PSELRTS, PSELTXD, PSELCTS, PSELRXD were restructured into a struct. */
  102. #define PSELRTS PSEL.RTS
  103. #define PSELTXD PSEL.TXD
  104. #define PSELCTS PSEL.CTS
  105. #define PSELRXD PSEL.RXD
  106. /* TWI */
  107. /* The registers PSELSCL, PSELSDA were restructured into a struct. */
  108. #define PSELSCL PSEL.SCL
  109. #define PSELSDA PSEL.SDA
  110. /* From nrf51_deprecated.h */
  111. /* NVMC */
  112. /* The register ERASEPROTECTEDPAGE changed name to ERASEPCR0 in the documentation. */
  113. #define ERASEPROTECTEDPAGE ERASEPCR0
  114. /* IRQ */
  115. /* COMP module was eliminated. Adapted to nrf52840 headers. */
  116. #define LPCOMP_COMP_IRQHandler COMP_LPCOMP_IRQHandler
  117. #define LPCOMP_COMP_IRQn COMP_LPCOMP_IRQn
  118. /* REFSEL register redefined enumerated values and added some more. */
  119. #define LPCOMP_REFSEL_REFSEL_SupplyOneEighthPrescaling LPCOMP_REFSEL_REFSEL_Ref1_8Vdd
  120. #define LPCOMP_REFSEL_REFSEL_SupplyTwoEighthsPrescaling LPCOMP_REFSEL_REFSEL_Ref2_8Vdd
  121. #define LPCOMP_REFSEL_REFSEL_SupplyThreeEighthsPrescaling LPCOMP_REFSEL_REFSEL_Ref3_8Vdd
  122. #define LPCOMP_REFSEL_REFSEL_SupplyFourEighthsPrescaling LPCOMP_REFSEL_REFSEL_Ref4_8Vdd
  123. #define LPCOMP_REFSEL_REFSEL_SupplyFiveEighthsPrescaling LPCOMP_REFSEL_REFSEL_Ref5_8Vdd
  124. #define LPCOMP_REFSEL_REFSEL_SupplySixEighthsPrescaling LPCOMP_REFSEL_REFSEL_Ref6_8Vdd
  125. #define LPCOMP_REFSEL_REFSEL_SupplySevenEighthsPrescaling LPCOMP_REFSEL_REFSEL_Ref7_8Vdd
  126. /* RADIO */
  127. /* The name of the field SKIPADDR was corrected. Old macros added for compatibility. */
  128. #define RADIO_CRCCNF_SKIP_ADDR_Pos RADIO_CRCCNF_SKIPADDR_Pos
  129. #define RADIO_CRCCNF_SKIP_ADDR_Msk RADIO_CRCCNF_SKIPADDR_Msk
  130. #define RADIO_CRCCNF_SKIP_ADDR_Include RADIO_CRCCNF_SKIPADDR_Include
  131. #define RADIO_CRCCNF_SKIP_ADDR_Skip RADIO_CRCCNF_SKIPADDR_Skip
  132. /* FICR */
  133. /* The registers FICR.DEVICEID0 and FICR.DEVICEID1 were renamed into an array. */
  134. #define DEVICEID0 DEVICEID[0]
  135. #define DEVICEID1 DEVICEID[1]
  136. /* The registers FICR.ER0, FICR.ER1, FICR.ER2 and FICR.ER3 were renamed into an array. */
  137. #define ER0 ER[0]
  138. #define ER1 ER[1]
  139. #define ER2 ER[2]
  140. #define ER3 ER[3]
  141. /* The registers FICR.IR0, FICR.IR1, FICR.IR2 and FICR.IR3 were renamed into an array. */
  142. #define IR0 IR[0]
  143. #define IR1 IR[1]
  144. #define IR2 IR[2]
  145. #define IR3 IR[3]
  146. /* The registers FICR.DEVICEADDR0 and FICR.DEVICEADDR1 were renamed into an array. */
  147. #define DEVICEADDR0 DEVICEADDR[0]
  148. #define DEVICEADDR1 DEVICEADDR[1]
  149. /* PPI */
  150. /* The tasks PPI.TASKS_CHGxEN and PPI.TASKS_CHGxDIS were renamed into an array of structs. */
  151. #define TASKS_CHG0EN TASKS_CHG[0].EN
  152. #define TASKS_CHG0DIS TASKS_CHG[0].DIS
  153. #define TASKS_CHG1EN TASKS_CHG[1].EN
  154. #define TASKS_CHG1DIS TASKS_CHG[1].DIS
  155. #define TASKS_CHG2EN TASKS_CHG[2].EN
  156. #define TASKS_CHG2DIS TASKS_CHG[2].DIS
  157. #define TASKS_CHG3EN TASKS_CHG[3].EN
  158. #define TASKS_CHG3DIS TASKS_CHG[3].DIS
  159. /* The registers PPI.CHx_EEP and PPI.CHx_TEP were renamed into an array of structs. */
  160. #define CH0_EEP CH[0].EEP
  161. #define CH0_TEP CH[0].TEP
  162. #define CH1_EEP CH[1].EEP
  163. #define CH1_TEP CH[1].TEP
  164. #define CH2_EEP CH[2].EEP
  165. #define CH2_TEP CH[2].TEP
  166. #define CH3_EEP CH[3].EEP
  167. #define CH3_TEP CH[3].TEP
  168. #define CH4_EEP CH[4].EEP
  169. #define CH4_TEP CH[4].TEP
  170. #define CH5_EEP CH[5].EEP
  171. #define CH5_TEP CH[5].TEP
  172. #define CH6_EEP CH[6].EEP
  173. #define CH6_TEP CH[6].TEP
  174. #define CH7_EEP CH[7].EEP
  175. #define CH7_TEP CH[7].TEP
  176. #define CH8_EEP CH[8].EEP
  177. #define CH8_TEP CH[8].TEP
  178. #define CH9_EEP CH[9].EEP
  179. #define CH9_TEP CH[9].TEP
  180. #define CH10_EEP CH[10].EEP
  181. #define CH10_TEP CH[10].TEP
  182. #define CH11_EEP CH[11].EEP
  183. #define CH11_TEP CH[11].TEP
  184. #define CH12_EEP CH[12].EEP
  185. #define CH12_TEP CH[12].TEP
  186. #define CH13_EEP CH[13].EEP
  187. #define CH13_TEP CH[13].TEP
  188. #define CH14_EEP CH[14].EEP
  189. #define CH14_TEP CH[14].TEP
  190. #define CH15_EEP CH[15].EEP
  191. #define CH15_TEP CH[15].TEP
  192. /* The registers PPI.CHG0, PPI.CHG1, PPI.CHG2 and PPI.CHG3 were renamed into an array. */
  193. #define CHG0 CHG[0]
  194. #define CHG1 CHG[1]
  195. #define CHG2 CHG[2]
  196. #define CHG3 CHG[3]
  197. /* All bitfield macros for the CHGx registers therefore changed name. */
  198. #define PPI_CHG0_CH15_Pos PPI_CHG_CH15_Pos
  199. #define PPI_CHG0_CH15_Msk PPI_CHG_CH15_Msk
  200. #define PPI_CHG0_CH15_Excluded PPI_CHG_CH15_Excluded
  201. #define PPI_CHG0_CH15_Included PPI_CHG_CH15_Included
  202. #define PPI_CHG0_CH14_Pos PPI_CHG_CH14_Pos
  203. #define PPI_CHG0_CH14_Msk PPI_CHG_CH14_Msk
  204. #define PPI_CHG0_CH14_Excluded PPI_CHG_CH14_Excluded
  205. #define PPI_CHG0_CH14_Included PPI_CHG_CH14_Included
  206. #define PPI_CHG0_CH13_Pos PPI_CHG_CH13_Pos
  207. #define PPI_CHG0_CH13_Msk PPI_CHG_CH13_Msk
  208. #define PPI_CHG0_CH13_Excluded PPI_CHG_CH13_Excluded
  209. #define PPI_CHG0_CH13_Included PPI_CHG_CH13_Included
  210. #define PPI_CHG0_CH12_Pos PPI_CHG_CH12_Pos
  211. #define PPI_CHG0_CH12_Msk PPI_CHG_CH12_Msk
  212. #define PPI_CHG0_CH12_Excluded PPI_CHG_CH12_Excluded
  213. #define PPI_CHG0_CH12_Included PPI_CHG_CH12_Included
  214. #define PPI_CHG0_CH11_Pos PPI_CHG_CH11_Pos
  215. #define PPI_CHG0_CH11_Msk PPI_CHG_CH11_Msk
  216. #define PPI_CHG0_CH11_Excluded PPI_CHG_CH11_Excluded
  217. #define PPI_CHG0_CH11_Included PPI_CHG_CH11_Included
  218. #define PPI_CHG0_CH10_Pos PPI_CHG_CH10_Pos
  219. #define PPI_CHG0_CH10_Msk PPI_CHG_CH10_Msk
  220. #define PPI_CHG0_CH10_Excluded PPI_CHG_CH10_Excluded
  221. #define PPI_CHG0_CH10_Included PPI_CHG_CH10_Included
  222. #define PPI_CHG0_CH9_Pos PPI_CHG_CH9_Pos
  223. #define PPI_CHG0_CH9_Msk PPI_CHG_CH9_Msk
  224. #define PPI_CHG0_CH9_Excluded PPI_CHG_CH9_Excluded
  225. #define PPI_CHG0_CH9_Included PPI_CHG_CH9_Included
  226. #define PPI_CHG0_CH8_Pos PPI_CHG_CH8_Pos
  227. #define PPI_CHG0_CH8_Msk PPI_CHG_CH8_Msk
  228. #define PPI_CHG0_CH8_Excluded PPI_CHG_CH8_Excluded
  229. #define PPI_CHG0_CH8_Included PPI_CHG_CH8_Included
  230. #define PPI_CHG0_CH7_Pos PPI_CHG_CH7_Pos
  231. #define PPI_CHG0_CH7_Msk PPI_CHG_CH7_Msk
  232. #define PPI_CHG0_CH7_Excluded PPI_CHG_CH7_Excluded
  233. #define PPI_CHG0_CH7_Included PPI_CHG_CH7_Included
  234. #define PPI_CHG0_CH6_Pos PPI_CHG_CH6_Pos
  235. #define PPI_CHG0_CH6_Msk PPI_CHG_CH6_Msk
  236. #define PPI_CHG0_CH6_Excluded PPI_CHG_CH6_Excluded
  237. #define PPI_CHG0_CH6_Included PPI_CHG_CH6_Included
  238. #define PPI_CHG0_CH5_Pos PPI_CHG_CH5_Pos
  239. #define PPI_CHG0_CH5_Msk PPI_CHG_CH5_Msk
  240. #define PPI_CHG0_CH5_Excluded PPI_CHG_CH5_Excluded
  241. #define PPI_CHG0_CH5_Included PPI_CHG_CH5_Included
  242. #define PPI_CHG0_CH4_Pos PPI_CHG_CH4_Pos
  243. #define PPI_CHG0_CH4_Msk PPI_CHG_CH4_Msk
  244. #define PPI_CHG0_CH4_Excluded PPI_CHG_CH4_Excluded
  245. #define PPI_CHG0_CH4_Included PPI_CHG_CH4_Included
  246. #define PPI_CHG0_CH3_Pos PPI_CHG_CH3_Pos
  247. #define PPI_CHG0_CH3_Msk PPI_CHG_CH3_Msk
  248. #define PPI_CHG0_CH3_Excluded PPI_CHG_CH3_Excluded
  249. #define PPI_CHG0_CH3_Included PPI_CHG_CH3_Included
  250. #define PPI_CHG0_CH2_Pos PPI_CHG_CH2_Pos
  251. #define PPI_CHG0_CH2_Msk PPI_CHG_CH2_Msk
  252. #define PPI_CHG0_CH2_Excluded PPI_CHG_CH2_Excluded
  253. #define PPI_CHG0_CH2_Included PPI_CHG_CH2_Included
  254. #define PPI_CHG0_CH1_Pos PPI_CHG_CH1_Pos
  255. #define PPI_CHG0_CH1_Msk PPI_CHG_CH1_Msk
  256. #define PPI_CHG0_CH1_Excluded PPI_CHG_CH1_Excluded
  257. #define PPI_CHG0_CH1_Included PPI_CHG_CH1_Included
  258. #define PPI_CHG0_CH0_Pos PPI_CHG_CH0_Pos
  259. #define PPI_CHG0_CH0_Msk PPI_CHG_CH0_Msk
  260. #define PPI_CHG0_CH0_Excluded PPI_CHG_CH0_Excluded
  261. #define PPI_CHG0_CH0_Included PPI_CHG_CH0_Included
  262. #define PPI_CHG1_CH15_Pos PPI_CHG_CH15_Pos
  263. #define PPI_CHG1_CH15_Msk PPI_CHG_CH15_Msk
  264. #define PPI_CHG1_CH15_Excluded PPI_CHG_CH15_Excluded
  265. #define PPI_CHG1_CH15_Included PPI_CHG_CH15_Included
  266. #define PPI_CHG1_CH14_Pos PPI_CHG_CH14_Pos
  267. #define PPI_CHG1_CH14_Msk PPI_CHG_CH14_Msk
  268. #define PPI_CHG1_CH14_Excluded PPI_CHG_CH14_Excluded
  269. #define PPI_CHG1_CH14_Included PPI_CHG_CH14_Included
  270. #define PPI_CHG1_CH13_Pos PPI_CHG_CH13_Pos
  271. #define PPI_CHG1_CH13_Msk PPI_CHG_CH13_Msk
  272. #define PPI_CHG1_CH13_Excluded PPI_CHG_CH13_Excluded
  273. #define PPI_CHG1_CH13_Included PPI_CHG_CH13_Included
  274. #define PPI_CHG1_CH12_Pos PPI_CHG_CH12_Pos
  275. #define PPI_CHG1_CH12_Msk PPI_CHG_CH12_Msk
  276. #define PPI_CHG1_CH12_Excluded PPI_CHG_CH12_Excluded
  277. #define PPI_CHG1_CH12_Included PPI_CHG_CH12_Included
  278. #define PPI_CHG1_CH11_Pos PPI_CHG_CH11_Pos
  279. #define PPI_CHG1_CH11_Msk PPI_CHG_CH11_Msk
  280. #define PPI_CHG1_CH11_Excluded PPI_CHG_CH11_Excluded
  281. #define PPI_CHG1_CH11_Included PPI_CHG_CH11_Included
  282. #define PPI_CHG1_CH10_Pos PPI_CHG_CH10_Pos
  283. #define PPI_CHG1_CH10_Msk PPI_CHG_CH10_Msk
  284. #define PPI_CHG1_CH10_Excluded PPI_CHG_CH10_Excluded
  285. #define PPI_CHG1_CH10_Included PPI_CHG_CH10_Included
  286. #define PPI_CHG1_CH9_Pos PPI_CHG_CH9_Pos
  287. #define PPI_CHG1_CH9_Msk PPI_CHG_CH9_Msk
  288. #define PPI_CHG1_CH9_Excluded PPI_CHG_CH9_Excluded
  289. #define PPI_CHG1_CH9_Included PPI_CHG_CH9_Included
  290. #define PPI_CHG1_CH8_Pos PPI_CHG_CH8_Pos
  291. #define PPI_CHG1_CH8_Msk PPI_CHG_CH8_Msk
  292. #define PPI_CHG1_CH8_Excluded PPI_CHG_CH8_Excluded
  293. #define PPI_CHG1_CH8_Included PPI_CHG_CH8_Included
  294. #define PPI_CHG1_CH7_Pos PPI_CHG_CH7_Pos
  295. #define PPI_CHG1_CH7_Msk PPI_CHG_CH7_Msk
  296. #define PPI_CHG1_CH7_Excluded PPI_CHG_CH7_Excluded
  297. #define PPI_CHG1_CH7_Included PPI_CHG_CH7_Included
  298. #define PPI_CHG1_CH6_Pos PPI_CHG_CH6_Pos
  299. #define PPI_CHG1_CH6_Msk PPI_CHG_CH6_Msk
  300. #define PPI_CHG1_CH6_Excluded PPI_CHG_CH6_Excluded
  301. #define PPI_CHG1_CH6_Included PPI_CHG_CH6_Included
  302. #define PPI_CHG1_CH5_Pos PPI_CHG_CH5_Pos
  303. #define PPI_CHG1_CH5_Msk PPI_CHG_CH5_Msk
  304. #define PPI_CHG1_CH5_Excluded PPI_CHG_CH5_Excluded
  305. #define PPI_CHG1_CH5_Included PPI_CHG_CH5_Included
  306. #define PPI_CHG1_CH4_Pos PPI_CHG_CH4_Pos
  307. #define PPI_CHG1_CH4_Msk PPI_CHG_CH4_Msk
  308. #define PPI_CHG1_CH4_Excluded PPI_CHG_CH4_Excluded
  309. #define PPI_CHG1_CH4_Included PPI_CHG_CH4_Included
  310. #define PPI_CHG1_CH3_Pos PPI_CHG_CH3_Pos
  311. #define PPI_CHG1_CH3_Msk PPI_CHG_CH3_Msk
  312. #define PPI_CHG1_CH3_Excluded PPI_CHG_CH3_Excluded
  313. #define PPI_CHG1_CH3_Included PPI_CHG_CH3_Included
  314. #define PPI_CHG1_CH2_Pos PPI_CHG_CH2_Pos
  315. #define PPI_CHG1_CH2_Msk PPI_CHG_CH2_Msk
  316. #define PPI_CHG1_CH2_Excluded PPI_CHG_CH2_Excluded
  317. #define PPI_CHG1_CH2_Included PPI_CHG_CH2_Included
  318. #define PPI_CHG1_CH1_Pos PPI_CHG_CH1_Pos
  319. #define PPI_CHG1_CH1_Msk PPI_CHG_CH1_Msk
  320. #define PPI_CHG1_CH1_Excluded PPI_CHG_CH1_Excluded
  321. #define PPI_CHG1_CH1_Included PPI_CHG_CH1_Included
  322. #define PPI_CHG1_CH0_Pos PPI_CHG_CH0_Pos
  323. #define PPI_CHG1_CH0_Msk PPI_CHG_CH0_Msk
  324. #define PPI_CHG1_CH0_Excluded PPI_CHG_CH0_Excluded
  325. #define PPI_CHG1_CH0_Included PPI_CHG_CH0_Included
  326. #define PPI_CHG2_CH15_Pos PPI_CHG_CH15_Pos
  327. #define PPI_CHG2_CH15_Msk PPI_CHG_CH15_Msk
  328. #define PPI_CHG2_CH15_Excluded PPI_CHG_CH15_Excluded
  329. #define PPI_CHG2_CH15_Included PPI_CHG_CH15_Included
  330. #define PPI_CHG2_CH14_Pos PPI_CHG_CH14_Pos
  331. #define PPI_CHG2_CH14_Msk PPI_CHG_CH14_Msk
  332. #define PPI_CHG2_CH14_Excluded PPI_CHG_CH14_Excluded
  333. #define PPI_CHG2_CH14_Included PPI_CHG_CH14_Included
  334. #define PPI_CHG2_CH13_Pos PPI_CHG_CH13_Pos
  335. #define PPI_CHG2_CH13_Msk PPI_CHG_CH13_Msk
  336. #define PPI_CHG2_CH13_Excluded PPI_CHG_CH13_Excluded
  337. #define PPI_CHG2_CH13_Included PPI_CHG_CH13_Included
  338. #define PPI_CHG2_CH12_Pos PPI_CHG_CH12_Pos
  339. #define PPI_CHG2_CH12_Msk PPI_CHG_CH12_Msk
  340. #define PPI_CHG2_CH12_Excluded PPI_CHG_CH12_Excluded
  341. #define PPI_CHG2_CH12_Included PPI_CHG_CH12_Included
  342. #define PPI_CHG2_CH11_Pos PPI_CHG_CH11_Pos
  343. #define PPI_CHG2_CH11_Msk PPI_CHG_CH11_Msk
  344. #define PPI_CHG2_CH11_Excluded PPI_CHG_CH11_Excluded
  345. #define PPI_CHG2_CH11_Included PPI_CHG_CH11_Included
  346. #define PPI_CHG2_CH10_Pos PPI_CHG_CH10_Pos
  347. #define PPI_CHG2_CH10_Msk PPI_CHG_CH10_Msk
  348. #define PPI_CHG2_CH10_Excluded PPI_CHG_CH10_Excluded
  349. #define PPI_CHG2_CH10_Included PPI_CHG_CH10_Included
  350. #define PPI_CHG2_CH9_Pos PPI_CHG_CH9_Pos
  351. #define PPI_CHG2_CH9_Msk PPI_CHG_CH9_Msk
  352. #define PPI_CHG2_CH9_Excluded PPI_CHG_CH9_Excluded
  353. #define PPI_CHG2_CH9_Included PPI_CHG_CH9_Included
  354. #define PPI_CHG2_CH8_Pos PPI_CHG_CH8_Pos
  355. #define PPI_CHG2_CH8_Msk PPI_CHG_CH8_Msk
  356. #define PPI_CHG2_CH8_Excluded PPI_CHG_CH8_Excluded
  357. #define PPI_CHG2_CH8_Included PPI_CHG_CH8_Included
  358. #define PPI_CHG2_CH7_Pos PPI_CHG_CH7_Pos
  359. #define PPI_CHG2_CH7_Msk PPI_CHG_CH7_Msk
  360. #define PPI_CHG2_CH7_Excluded PPI_CHG_CH7_Excluded
  361. #define PPI_CHG2_CH7_Included PPI_CHG_CH7_Included
  362. #define PPI_CHG2_CH6_Pos PPI_CHG_CH6_Pos
  363. #define PPI_CHG2_CH6_Msk PPI_CHG_CH6_Msk
  364. #define PPI_CHG2_CH6_Excluded PPI_CHG_CH6_Excluded
  365. #define PPI_CHG2_CH6_Included PPI_CHG_CH6_Included
  366. #define PPI_CHG2_CH5_Pos PPI_CHG_CH5_Pos
  367. #define PPI_CHG2_CH5_Msk PPI_CHG_CH5_Msk
  368. #define PPI_CHG2_CH5_Excluded PPI_CHG_CH5_Excluded
  369. #define PPI_CHG2_CH5_Included PPI_CHG_CH5_Included
  370. #define PPI_CHG2_CH4_Pos PPI_CHG_CH4_Pos
  371. #define PPI_CHG2_CH4_Msk PPI_CHG_CH4_Msk
  372. #define PPI_CHG2_CH4_Excluded PPI_CHG_CH4_Excluded
  373. #define PPI_CHG2_CH4_Included PPI_CHG_CH4_Included
  374. #define PPI_CHG2_CH3_Pos PPI_CHG_CH3_Pos
  375. #define PPI_CHG2_CH3_Msk PPI_CHG_CH3_Msk
  376. #define PPI_CHG2_CH3_Excluded PPI_CHG_CH3_Excluded
  377. #define PPI_CHG2_CH3_Included PPI_CHG_CH3_Included
  378. #define PPI_CHG2_CH2_Pos PPI_CHG_CH2_Pos
  379. #define PPI_CHG2_CH2_Msk PPI_CHG_CH2_Msk
  380. #define PPI_CHG2_CH2_Excluded PPI_CHG_CH2_Excluded
  381. #define PPI_CHG2_CH2_Included PPI_CHG_CH2_Included
  382. #define PPI_CHG2_CH1_Pos PPI_CHG_CH1_Pos
  383. #define PPI_CHG2_CH1_Msk PPI_CHG_CH1_Msk
  384. #define PPI_CHG2_CH1_Excluded PPI_CHG_CH1_Excluded
  385. #define PPI_CHG2_CH1_Included PPI_CHG_CH1_Included
  386. #define PPI_CHG2_CH0_Pos PPI_CHG_CH0_Pos
  387. #define PPI_CHG2_CH0_Msk PPI_CHG_CH0_Msk
  388. #define PPI_CHG2_CH0_Excluded PPI_CHG_CH0_Excluded
  389. #define PPI_CHG2_CH0_Included PPI_CHG_CH0_Included
  390. #define PPI_CHG3_CH15_Pos PPI_CHG_CH15_Pos
  391. #define PPI_CHG3_CH15_Msk PPI_CHG_CH15_Msk
  392. #define PPI_CHG3_CH15_Excluded PPI_CHG_CH15_Excluded
  393. #define PPI_CHG3_CH15_Included PPI_CHG_CH15_Included
  394. #define PPI_CHG3_CH14_Pos PPI_CHG_CH14_Pos
  395. #define PPI_CHG3_CH14_Msk PPI_CHG_CH14_Msk
  396. #define PPI_CHG3_CH14_Excluded PPI_CHG_CH14_Excluded
  397. #define PPI_CHG3_CH14_Included PPI_CHG_CH14_Included
  398. #define PPI_CHG3_CH13_Pos PPI_CHG_CH13_Pos
  399. #define PPI_CHG3_CH13_Msk PPI_CHG_CH13_Msk
  400. #define PPI_CHG3_CH13_Excluded PPI_CHG_CH13_Excluded
  401. #define PPI_CHG3_CH13_Included PPI_CHG_CH13_Included
  402. #define PPI_CHG3_CH12_Pos PPI_CHG_CH12_Pos
  403. #define PPI_CHG3_CH12_Msk PPI_CHG_CH12_Msk
  404. #define PPI_CHG3_CH12_Excluded PPI_CHG_CH12_Excluded
  405. #define PPI_CHG3_CH12_Included PPI_CHG_CH12_Included
  406. #define PPI_CHG3_CH11_Pos PPI_CHG_CH11_Pos
  407. #define PPI_CHG3_CH11_Msk PPI_CHG_CH11_Msk
  408. #define PPI_CHG3_CH11_Excluded PPI_CHG_CH11_Excluded
  409. #define PPI_CHG3_CH11_Included PPI_CHG_CH11_Included
  410. #define PPI_CHG3_CH10_Pos PPI_CHG_CH10_Pos
  411. #define PPI_CHG3_CH10_Msk PPI_CHG_CH10_Msk
  412. #define PPI_CHG3_CH10_Excluded PPI_CHG_CH10_Excluded
  413. #define PPI_CHG3_CH10_Included PPI_CHG_CH10_Included
  414. #define PPI_CHG3_CH9_Pos PPI_CHG_CH9_Pos
  415. #define PPI_CHG3_CH9_Msk PPI_CHG_CH9_Msk
  416. #define PPI_CHG3_CH9_Excluded PPI_CHG_CH9_Excluded
  417. #define PPI_CHG3_CH9_Included PPI_CHG_CH9_Included
  418. #define PPI_CHG3_CH8_Pos PPI_CHG_CH8_Pos
  419. #define PPI_CHG3_CH8_Msk PPI_CHG_CH8_Msk
  420. #define PPI_CHG3_CH8_Excluded PPI_CHG_CH8_Excluded
  421. #define PPI_CHG3_CH8_Included PPI_CHG_CH8_Included
  422. #define PPI_CHG3_CH7_Pos PPI_CHG_CH7_Pos
  423. #define PPI_CHG3_CH7_Msk PPI_CHG_CH7_Msk
  424. #define PPI_CHG3_CH7_Excluded PPI_CHG_CH7_Excluded
  425. #define PPI_CHG3_CH7_Included PPI_CHG_CH7_Included
  426. #define PPI_CHG3_CH6_Pos PPI_CHG_CH6_Pos
  427. #define PPI_CHG3_CH6_Msk PPI_CHG_CH6_Msk
  428. #define PPI_CHG3_CH6_Excluded PPI_CHG_CH6_Excluded
  429. #define PPI_CHG3_CH6_Included PPI_CHG_CH6_Included
  430. #define PPI_CHG3_CH5_Pos PPI_CHG_CH5_Pos
  431. #define PPI_CHG3_CH5_Msk PPI_CHG_CH5_Msk
  432. #define PPI_CHG3_CH5_Excluded PPI_CHG_CH5_Excluded
  433. #define PPI_CHG3_CH5_Included PPI_CHG_CH5_Included
  434. #define PPI_CHG3_CH4_Pos PPI_CHG_CH4_Pos
  435. #define PPI_CHG3_CH4_Msk PPI_CHG_CH4_Msk
  436. #define PPI_CHG3_CH4_Excluded PPI_CHG_CH4_Excluded
  437. #define PPI_CHG3_CH4_Included PPI_CHG_CH4_Included
  438. #define PPI_CHG3_CH3_Pos PPI_CHG_CH3_Pos
  439. #define PPI_CHG3_CH3_Msk PPI_CHG_CH3_Msk
  440. #define PPI_CHG3_CH3_Excluded PPI_CHG_CH3_Excluded
  441. #define PPI_CHG3_CH3_Included PPI_CHG_CH3_Included
  442. #define PPI_CHG3_CH2_Pos PPI_CHG_CH2_Pos
  443. #define PPI_CHG3_CH2_Msk PPI_CHG_CH2_Msk
  444. #define PPI_CHG3_CH2_Excluded PPI_CHG_CH2_Excluded
  445. #define PPI_CHG3_CH2_Included PPI_CHG_CH2_Included
  446. #define PPI_CHG3_CH1_Pos PPI_CHG_CH1_Pos
  447. #define PPI_CHG3_CH1_Msk PPI_CHG_CH1_Msk
  448. #define PPI_CHG3_CH1_Excluded PPI_CHG_CH1_Excluded
  449. #define PPI_CHG3_CH1_Included PPI_CHG_CH1_Included
  450. #define PPI_CHG3_CH0_Pos PPI_CHG_CH0_Pos
  451. #define PPI_CHG3_CH0_Msk PPI_CHG_CH0_Msk
  452. #define PPI_CHG3_CH0_Excluded PPI_CHG_CH0_Excluded
  453. #define PPI_CHG3_CH0_Included PPI_CHG_CH0_Included
  454. /*lint --flb "Leave library region" */
  455. #endif /* NRF51_TO_NRF52840_H */