nrf51_deprecated.h 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  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_DEPRECATED_H
  32. #define NRF51_DEPRECATED_H
  33. /*lint ++flb "Enter library region */
  34. /* This file is given to prevent your SW from not compiling with the updates made to nrf51.h and
  35. * nrf51_bitfields.h. The macros defined in this file were available previously. Do not use these
  36. * macros on purpose. Use the ones defined in nrf51.h and nrf51_bitfields.h instead.
  37. */
  38. /* NVMC */
  39. /* The register ERASEPROTECTEDPAGE is called ERASEPCR0 in the documentation. */
  40. #define ERASEPROTECTEDPAGE ERASEPCR0
  41. /* LPCOMP */
  42. /* The interrupt ISR was renamed. Adding old name to the macros. */
  43. #define LPCOMP_COMP_IRQHandler LPCOMP_IRQHandler
  44. #define LPCOMP_COMP_IRQn LPCOMP_IRQn
  45. /* Corrected typo in RESULT register. */
  46. #define LPCOMP_RESULT_RESULT_Bellow LPCOMP_RESULT_RESULT_Below
  47. /* MPU */
  48. /* The field MPU.PERR0.LPCOMP_COMP was renamed. Added into deprecated in case somebody was using the macros defined for it. */
  49. #define MPU_PERR0_LPCOMP_COMP_Pos MPU_PERR0_LPCOMP_Pos
  50. #define MPU_PERR0_LPCOMP_COMP_Msk MPU_PERR0_LPCOMP_Msk
  51. #define MPU_PERR0_LPCOMP_COMP_InRegion1 MPU_PERR0_LPCOMP_InRegion1
  52. #define MPU_PERR0_LPCOMP_COMP_InRegion0 MPU_PERR0_LPCOMP_InRegion0
  53. /* POWER */
  54. /* The field POWER.RAMON.OFFRAM3 was eliminated. Added into deprecated in case somebody was using the macros defined for it. */
  55. #define POWER_RAMON_OFFRAM3_Pos (19UL)
  56. #define POWER_RAMON_OFFRAM3_Msk (0x1UL << POWER_RAMON_OFFRAM3_Pos)
  57. #define POWER_RAMON_OFFRAM3_RAM3Off (0UL)
  58. #define POWER_RAMON_OFFRAM3_RAM3On (1UL)
  59. /* The field POWER.RAMON.OFFRAM2 was eliminated. Added into deprecated in case somebody was using the macros defined for it. */
  60. #define POWER_RAMON_OFFRAM2_Pos (18UL)
  61. #define POWER_RAMON_OFFRAM2_Msk (0x1UL << POWER_RAMON_OFFRAM2_Pos)
  62. #define POWER_RAMON_OFFRAM2_RAM2Off (0UL)
  63. #define POWER_RAMON_OFFRAM2_RAM2On (1UL)
  64. /* The field POWER.RAMON.ONRAM3 was eliminated. Added into deprecated in case somebody was using the macros defined for it. */
  65. #define POWER_RAMON_ONRAM3_Pos (3UL)
  66. #define POWER_RAMON_ONRAM3_Msk (0x1UL << POWER_RAMON_ONRAM3_Pos)
  67. #define POWER_RAMON_ONRAM3_RAM3Off (0UL)
  68. #define POWER_RAMON_ONRAM3_RAM3On (1UL)
  69. /* The field POWER.RAMON.ONRAM2 was eliminated. Added into deprecated in case somebody was using the macros defined for it. */
  70. #define POWER_RAMON_ONRAM2_Pos (2UL)
  71. #define POWER_RAMON_ONRAM2_Msk (0x1UL << POWER_RAMON_ONRAM2_Pos)
  72. #define POWER_RAMON_ONRAM2_RAM2Off (0UL)
  73. #define POWER_RAMON_ONRAM2_RAM2On (1UL)
  74. /* RADIO */
  75. /* The enumerated value RADIO.TXPOWER.TXPOWER.Neg40dBm was renamed. Added into deprecated with the new macro name. */
  76. #define RADIO_TXPOWER_TXPOWER_Neg40dBm RADIO_TXPOWER_TXPOWER_Neg30dBm
  77. /* The name of the field SKIPADDR was corrected. Old macros added for compatibility. */
  78. #define RADIO_CRCCNF_SKIP_ADDR_Pos RADIO_CRCCNF_SKIPADDR_Pos
  79. #define RADIO_CRCCNF_SKIP_ADDR_Msk RADIO_CRCCNF_SKIPADDR_Msk
  80. #define RADIO_CRCCNF_SKIP_ADDR_Include RADIO_CRCCNF_SKIPADDR_Include
  81. #define RADIO_CRCCNF_SKIP_ADDR_Skip RADIO_CRCCNF_SKIPADDR_Skip
  82. /* The name of the field PLLLOCK was corrected. Old macros added for compatibility. */
  83. #define RADIO_TEST_PLL_LOCK_Pos RADIO_TEST_PLLLOCK_Pos
  84. #define RADIO_TEST_PLL_LOCK_Msk RADIO_TEST_PLLLOCK_Msk
  85. #define RADIO_TEST_PLL_LOCK_Disabled RADIO_TEST_PLLLOCK_Disabled
  86. #define RADIO_TEST_PLL_LOCK_Enabled RADIO_TEST_PLLLOCK_Enabled
  87. /* The name of the field CONSTCARRIER was corrected. Old macros added for compatibility. */
  88. #define RADIO_TEST_CONST_CARRIER_Pos RADIO_TEST_CONSTCARRIER_Pos
  89. #define RADIO_TEST_CONST_CARRIER_Msk RADIO_TEST_CONSTCARRIER_Msk
  90. #define RADIO_TEST_CONST_CARRIER_Disabled RADIO_TEST_CONSTCARRIER_Disabled
  91. #define RADIO_TEST_CONST_CARRIER_Enabled RADIO_TEST_CONSTCARRIER_Enabled
  92. /* FICR */
  93. /* The registers FICR.SIZERAMBLOCK0, FICR.SIZERAMBLOCK1, FICR.SIZERAMBLOCK2 and FICR.SIZERAMBLOCK3 were renamed into an array. */
  94. #define SIZERAMBLOCK0 SIZERAMBLOCKS
  95. #define SIZERAMBLOCK1 SIZERAMBLOCKS
  96. #define SIZERAMBLOCK2 SIZERAMBLOCK[2] /*!< Note that this macro will disapear when SIZERAMBLOCK array is eliminated. SIZERAMBLOCK is a deprecated array. */
  97. #define SIZERAMBLOCK3 SIZERAMBLOCK[3] /*!< Note that this macro will disapear when SIZERAMBLOCK array is eliminated. SIZERAMBLOCK is a deprecated array. */
  98. /* The registers FICR.DEVICEID0 and FICR.DEVICEID1 were renamed into an array. */
  99. #define DEVICEID0 DEVICEID[0]
  100. #define DEVICEID1 DEVICEID[1]
  101. /* The registers FICR.ER0, FICR.ER1, FICR.ER2 and FICR.ER3 were renamed into an array. */
  102. #define ER0 ER[0]
  103. #define ER1 ER[1]
  104. #define ER2 ER[2]
  105. #define ER3 ER[3]
  106. /* The registers FICR.IR0, FICR.IR1, FICR.IR2 and FICR.IR3 were renamed into an array. */
  107. #define IR0 IR[0]
  108. #define IR1 IR[1]
  109. #define IR2 IR[2]
  110. #define IR3 IR[3]
  111. /* The registers FICR.DEVICEADDR0 and FICR.DEVICEADDR1 were renamed into an array. */
  112. #define DEVICEADDR0 DEVICEADDR[0]
  113. #define DEVICEADDR1 DEVICEADDR[1]
  114. /* PPI */
  115. /* The tasks PPI.TASKS_CHGxEN and PPI.TASKS_CHGxDIS were renamed into an array of structs. */
  116. #define TASKS_CHG0EN TASKS_CHG[0].EN
  117. #define TASKS_CHG0DIS TASKS_CHG[0].DIS
  118. #define TASKS_CHG1EN TASKS_CHG[1].EN
  119. #define TASKS_CHG1DIS TASKS_CHG[1].DIS
  120. #define TASKS_CHG2EN TASKS_CHG[2].EN
  121. #define TASKS_CHG2DIS TASKS_CHG[2].DIS
  122. #define TASKS_CHG3EN TASKS_CHG[3].EN
  123. #define TASKS_CHG3DIS TASKS_CHG[3].DIS
  124. /* The registers PPI.CHx_EEP and PPI.CHx_TEP were renamed into an array of structs. */
  125. #define CH0_EEP CH[0].EEP
  126. #define CH0_TEP CH[0].TEP
  127. #define CH1_EEP CH[1].EEP
  128. #define CH1_TEP CH[1].TEP
  129. #define CH2_EEP CH[2].EEP
  130. #define CH2_TEP CH[2].TEP
  131. #define CH3_EEP CH[3].EEP
  132. #define CH3_TEP CH[3].TEP
  133. #define CH4_EEP CH[4].EEP
  134. #define CH4_TEP CH[4].TEP
  135. #define CH5_EEP CH[5].EEP
  136. #define CH5_TEP CH[5].TEP
  137. #define CH6_EEP CH[6].EEP
  138. #define CH6_TEP CH[6].TEP
  139. #define CH7_EEP CH[7].EEP
  140. #define CH7_TEP CH[7].TEP
  141. #define CH8_EEP CH[8].EEP
  142. #define CH8_TEP CH[8].TEP
  143. #define CH9_EEP CH[9].EEP
  144. #define CH9_TEP CH[9].TEP
  145. #define CH10_EEP CH[10].EEP
  146. #define CH10_TEP CH[10].TEP
  147. #define CH11_EEP CH[11].EEP
  148. #define CH11_TEP CH[11].TEP
  149. #define CH12_EEP CH[12].EEP
  150. #define CH12_TEP CH[12].TEP
  151. #define CH13_EEP CH[13].EEP
  152. #define CH13_TEP CH[13].TEP
  153. #define CH14_EEP CH[14].EEP
  154. #define CH14_TEP CH[14].TEP
  155. #define CH15_EEP CH[15].EEP
  156. #define CH15_TEP CH[15].TEP
  157. /* The registers PPI.CHG0, PPI.CHG1, PPI.CHG2 and PPI.CHG3 were renamed into an array. */
  158. #define CHG0 CHG[0]
  159. #define CHG1 CHG[1]
  160. #define CHG2 CHG[2]
  161. #define CHG3 CHG[3]
  162. /* All bitfield macros for the CHGx registers therefore changed name. */
  163. #define PPI_CHG0_CH15_Pos PPI_CHG_CH15_Pos
  164. #define PPI_CHG0_CH15_Msk PPI_CHG_CH15_Msk
  165. #define PPI_CHG0_CH15_Excluded PPI_CHG_CH15_Excluded
  166. #define PPI_CHG0_CH15_Included PPI_CHG_CH15_Included
  167. #define PPI_CHG0_CH14_Pos PPI_CHG_CH14_Pos
  168. #define PPI_CHG0_CH14_Msk PPI_CHG_CH14_Msk
  169. #define PPI_CHG0_CH14_Excluded PPI_CHG_CH14_Excluded
  170. #define PPI_CHG0_CH14_Included PPI_CHG_CH14_Included
  171. #define PPI_CHG0_CH13_Pos PPI_CHG_CH13_Pos
  172. #define PPI_CHG0_CH13_Msk PPI_CHG_CH13_Msk
  173. #define PPI_CHG0_CH13_Excluded PPI_CHG_CH13_Excluded
  174. #define PPI_CHG0_CH13_Included PPI_CHG_CH13_Included
  175. #define PPI_CHG0_CH12_Pos PPI_CHG_CH12_Pos
  176. #define PPI_CHG0_CH12_Msk PPI_CHG_CH12_Msk
  177. #define PPI_CHG0_CH12_Excluded PPI_CHG_CH12_Excluded
  178. #define PPI_CHG0_CH12_Included PPI_CHG_CH12_Included
  179. #define PPI_CHG0_CH11_Pos PPI_CHG_CH11_Pos
  180. #define PPI_CHG0_CH11_Msk PPI_CHG_CH11_Msk
  181. #define PPI_CHG0_CH11_Excluded PPI_CHG_CH11_Excluded
  182. #define PPI_CHG0_CH11_Included PPI_CHG_CH11_Included
  183. #define PPI_CHG0_CH10_Pos PPI_CHG_CH10_Pos
  184. #define PPI_CHG0_CH10_Msk PPI_CHG_CH10_Msk
  185. #define PPI_CHG0_CH10_Excluded PPI_CHG_CH10_Excluded
  186. #define PPI_CHG0_CH10_Included PPI_CHG_CH10_Included
  187. #define PPI_CHG0_CH9_Pos PPI_CHG_CH9_Pos
  188. #define PPI_CHG0_CH9_Msk PPI_CHG_CH9_Msk
  189. #define PPI_CHG0_CH9_Excluded PPI_CHG_CH9_Excluded
  190. #define PPI_CHG0_CH9_Included PPI_CHG_CH9_Included
  191. #define PPI_CHG0_CH8_Pos PPI_CHG_CH8_Pos
  192. #define PPI_CHG0_CH8_Msk PPI_CHG_CH8_Msk
  193. #define PPI_CHG0_CH8_Excluded PPI_CHG_CH8_Excluded
  194. #define PPI_CHG0_CH8_Included PPI_CHG_CH8_Included
  195. #define PPI_CHG0_CH7_Pos PPI_CHG_CH7_Pos
  196. #define PPI_CHG0_CH7_Msk PPI_CHG_CH7_Msk
  197. #define PPI_CHG0_CH7_Excluded PPI_CHG_CH7_Excluded
  198. #define PPI_CHG0_CH7_Included PPI_CHG_CH7_Included
  199. #define PPI_CHG0_CH6_Pos PPI_CHG_CH6_Pos
  200. #define PPI_CHG0_CH6_Msk PPI_CHG_CH6_Msk
  201. #define PPI_CHG0_CH6_Excluded PPI_CHG_CH6_Excluded
  202. #define PPI_CHG0_CH6_Included PPI_CHG_CH6_Included
  203. #define PPI_CHG0_CH5_Pos PPI_CHG_CH5_Pos
  204. #define PPI_CHG0_CH5_Msk PPI_CHG_CH5_Msk
  205. #define PPI_CHG0_CH5_Excluded PPI_CHG_CH5_Excluded
  206. #define PPI_CHG0_CH5_Included PPI_CHG_CH5_Included
  207. #define PPI_CHG0_CH4_Pos PPI_CHG_CH4_Pos
  208. #define PPI_CHG0_CH4_Msk PPI_CHG_CH4_Msk
  209. #define PPI_CHG0_CH4_Excluded PPI_CHG_CH4_Excluded
  210. #define PPI_CHG0_CH4_Included PPI_CHG_CH4_Included
  211. #define PPI_CHG0_CH3_Pos PPI_CHG_CH3_Pos
  212. #define PPI_CHG0_CH3_Msk PPI_CHG_CH3_Msk
  213. #define PPI_CHG0_CH3_Excluded PPI_CHG_CH3_Excluded
  214. #define PPI_CHG0_CH3_Included PPI_CHG_CH3_Included
  215. #define PPI_CHG0_CH2_Pos PPI_CHG_CH2_Pos
  216. #define PPI_CHG0_CH2_Msk PPI_CHG_CH2_Msk
  217. #define PPI_CHG0_CH2_Excluded PPI_CHG_CH2_Excluded
  218. #define PPI_CHG0_CH2_Included PPI_CHG_CH2_Included
  219. #define PPI_CHG0_CH1_Pos PPI_CHG_CH1_Pos
  220. #define PPI_CHG0_CH1_Msk PPI_CHG_CH1_Msk
  221. #define PPI_CHG0_CH1_Excluded PPI_CHG_CH1_Excluded
  222. #define PPI_CHG0_CH1_Included PPI_CHG_CH1_Included
  223. #define PPI_CHG0_CH0_Pos PPI_CHG_CH0_Pos
  224. #define PPI_CHG0_CH0_Msk PPI_CHG_CH0_Msk
  225. #define PPI_CHG0_CH0_Excluded PPI_CHG_CH0_Excluded
  226. #define PPI_CHG0_CH0_Included PPI_CHG_CH0_Included
  227. #define PPI_CHG1_CH15_Pos PPI_CHG_CH15_Pos
  228. #define PPI_CHG1_CH15_Msk PPI_CHG_CH15_Msk
  229. #define PPI_CHG1_CH15_Excluded PPI_CHG_CH15_Excluded
  230. #define PPI_CHG1_CH15_Included PPI_CHG_CH15_Included
  231. #define PPI_CHG1_CH14_Pos PPI_CHG_CH14_Pos
  232. #define PPI_CHG1_CH14_Msk PPI_CHG_CH14_Msk
  233. #define PPI_CHG1_CH14_Excluded PPI_CHG_CH14_Excluded
  234. #define PPI_CHG1_CH14_Included PPI_CHG_CH14_Included
  235. #define PPI_CHG1_CH13_Pos PPI_CHG_CH13_Pos
  236. #define PPI_CHG1_CH13_Msk PPI_CHG_CH13_Msk
  237. #define PPI_CHG1_CH13_Excluded PPI_CHG_CH13_Excluded
  238. #define PPI_CHG1_CH13_Included PPI_CHG_CH13_Included
  239. #define PPI_CHG1_CH12_Pos PPI_CHG_CH12_Pos
  240. #define PPI_CHG1_CH12_Msk PPI_CHG_CH12_Msk
  241. #define PPI_CHG1_CH12_Excluded PPI_CHG_CH12_Excluded
  242. #define PPI_CHG1_CH12_Included PPI_CHG_CH12_Included
  243. #define PPI_CHG1_CH11_Pos PPI_CHG_CH11_Pos
  244. #define PPI_CHG1_CH11_Msk PPI_CHG_CH11_Msk
  245. #define PPI_CHG1_CH11_Excluded PPI_CHG_CH11_Excluded
  246. #define PPI_CHG1_CH11_Included PPI_CHG_CH11_Included
  247. #define PPI_CHG1_CH10_Pos PPI_CHG_CH10_Pos
  248. #define PPI_CHG1_CH10_Msk PPI_CHG_CH10_Msk
  249. #define PPI_CHG1_CH10_Excluded PPI_CHG_CH10_Excluded
  250. #define PPI_CHG1_CH10_Included PPI_CHG_CH10_Included
  251. #define PPI_CHG1_CH9_Pos PPI_CHG_CH9_Pos
  252. #define PPI_CHG1_CH9_Msk PPI_CHG_CH9_Msk
  253. #define PPI_CHG1_CH9_Excluded PPI_CHG_CH9_Excluded
  254. #define PPI_CHG1_CH9_Included PPI_CHG_CH9_Included
  255. #define PPI_CHG1_CH8_Pos PPI_CHG_CH8_Pos
  256. #define PPI_CHG1_CH8_Msk PPI_CHG_CH8_Msk
  257. #define PPI_CHG1_CH8_Excluded PPI_CHG_CH8_Excluded
  258. #define PPI_CHG1_CH8_Included PPI_CHG_CH8_Included
  259. #define PPI_CHG1_CH7_Pos PPI_CHG_CH7_Pos
  260. #define PPI_CHG1_CH7_Msk PPI_CHG_CH7_Msk
  261. #define PPI_CHG1_CH7_Excluded PPI_CHG_CH7_Excluded
  262. #define PPI_CHG1_CH7_Included PPI_CHG_CH7_Included
  263. #define PPI_CHG1_CH6_Pos PPI_CHG_CH6_Pos
  264. #define PPI_CHG1_CH6_Msk PPI_CHG_CH6_Msk
  265. #define PPI_CHG1_CH6_Excluded PPI_CHG_CH6_Excluded
  266. #define PPI_CHG1_CH6_Included PPI_CHG_CH6_Included
  267. #define PPI_CHG1_CH5_Pos PPI_CHG_CH5_Pos
  268. #define PPI_CHG1_CH5_Msk PPI_CHG_CH5_Msk
  269. #define PPI_CHG1_CH5_Excluded PPI_CHG_CH5_Excluded
  270. #define PPI_CHG1_CH5_Included PPI_CHG_CH5_Included
  271. #define PPI_CHG1_CH4_Pos PPI_CHG_CH4_Pos
  272. #define PPI_CHG1_CH4_Msk PPI_CHG_CH4_Msk
  273. #define PPI_CHG1_CH4_Excluded PPI_CHG_CH4_Excluded
  274. #define PPI_CHG1_CH4_Included PPI_CHG_CH4_Included
  275. #define PPI_CHG1_CH3_Pos PPI_CHG_CH3_Pos
  276. #define PPI_CHG1_CH3_Msk PPI_CHG_CH3_Msk
  277. #define PPI_CHG1_CH3_Excluded PPI_CHG_CH3_Excluded
  278. #define PPI_CHG1_CH3_Included PPI_CHG_CH3_Included
  279. #define PPI_CHG1_CH2_Pos PPI_CHG_CH2_Pos
  280. #define PPI_CHG1_CH2_Msk PPI_CHG_CH2_Msk
  281. #define PPI_CHG1_CH2_Excluded PPI_CHG_CH2_Excluded
  282. #define PPI_CHG1_CH2_Included PPI_CHG_CH2_Included
  283. #define PPI_CHG1_CH1_Pos PPI_CHG_CH1_Pos
  284. #define PPI_CHG1_CH1_Msk PPI_CHG_CH1_Msk
  285. #define PPI_CHG1_CH1_Excluded PPI_CHG_CH1_Excluded
  286. #define PPI_CHG1_CH1_Included PPI_CHG_CH1_Included
  287. #define PPI_CHG1_CH0_Pos PPI_CHG_CH0_Pos
  288. #define PPI_CHG1_CH0_Msk PPI_CHG_CH0_Msk
  289. #define PPI_CHG1_CH0_Excluded PPI_CHG_CH0_Excluded
  290. #define PPI_CHG1_CH0_Included PPI_CHG_CH0_Included
  291. #define PPI_CHG2_CH15_Pos PPI_CHG_CH15_Pos
  292. #define PPI_CHG2_CH15_Msk PPI_CHG_CH15_Msk
  293. #define PPI_CHG2_CH15_Excluded PPI_CHG_CH15_Excluded
  294. #define PPI_CHG2_CH15_Included PPI_CHG_CH15_Included
  295. #define PPI_CHG2_CH14_Pos PPI_CHG_CH14_Pos
  296. #define PPI_CHG2_CH14_Msk PPI_CHG_CH14_Msk
  297. #define PPI_CHG2_CH14_Excluded PPI_CHG_CH14_Excluded
  298. #define PPI_CHG2_CH14_Included PPI_CHG_CH14_Included
  299. #define PPI_CHG2_CH13_Pos PPI_CHG_CH13_Pos
  300. #define PPI_CHG2_CH13_Msk PPI_CHG_CH13_Msk
  301. #define PPI_CHG2_CH13_Excluded PPI_CHG_CH13_Excluded
  302. #define PPI_CHG2_CH13_Included PPI_CHG_CH13_Included
  303. #define PPI_CHG2_CH12_Pos PPI_CHG_CH12_Pos
  304. #define PPI_CHG2_CH12_Msk PPI_CHG_CH12_Msk
  305. #define PPI_CHG2_CH12_Excluded PPI_CHG_CH12_Excluded
  306. #define PPI_CHG2_CH12_Included PPI_CHG_CH12_Included
  307. #define PPI_CHG2_CH11_Pos PPI_CHG_CH11_Pos
  308. #define PPI_CHG2_CH11_Msk PPI_CHG_CH11_Msk
  309. #define PPI_CHG2_CH11_Excluded PPI_CHG_CH11_Excluded
  310. #define PPI_CHG2_CH11_Included PPI_CHG_CH11_Included
  311. #define PPI_CHG2_CH10_Pos PPI_CHG_CH10_Pos
  312. #define PPI_CHG2_CH10_Msk PPI_CHG_CH10_Msk
  313. #define PPI_CHG2_CH10_Excluded PPI_CHG_CH10_Excluded
  314. #define PPI_CHG2_CH10_Included PPI_CHG_CH10_Included
  315. #define PPI_CHG2_CH9_Pos PPI_CHG_CH9_Pos
  316. #define PPI_CHG2_CH9_Msk PPI_CHG_CH9_Msk
  317. #define PPI_CHG2_CH9_Excluded PPI_CHG_CH9_Excluded
  318. #define PPI_CHG2_CH9_Included PPI_CHG_CH9_Included
  319. #define PPI_CHG2_CH8_Pos PPI_CHG_CH8_Pos
  320. #define PPI_CHG2_CH8_Msk PPI_CHG_CH8_Msk
  321. #define PPI_CHG2_CH8_Excluded PPI_CHG_CH8_Excluded
  322. #define PPI_CHG2_CH8_Included PPI_CHG_CH8_Included
  323. #define PPI_CHG2_CH7_Pos PPI_CHG_CH7_Pos
  324. #define PPI_CHG2_CH7_Msk PPI_CHG_CH7_Msk
  325. #define PPI_CHG2_CH7_Excluded PPI_CHG_CH7_Excluded
  326. #define PPI_CHG2_CH7_Included PPI_CHG_CH7_Included
  327. #define PPI_CHG2_CH6_Pos PPI_CHG_CH6_Pos
  328. #define PPI_CHG2_CH6_Msk PPI_CHG_CH6_Msk
  329. #define PPI_CHG2_CH6_Excluded PPI_CHG_CH6_Excluded
  330. #define PPI_CHG2_CH6_Included PPI_CHG_CH6_Included
  331. #define PPI_CHG2_CH5_Pos PPI_CHG_CH5_Pos
  332. #define PPI_CHG2_CH5_Msk PPI_CHG_CH5_Msk
  333. #define PPI_CHG2_CH5_Excluded PPI_CHG_CH5_Excluded
  334. #define PPI_CHG2_CH5_Included PPI_CHG_CH5_Included
  335. #define PPI_CHG2_CH4_Pos PPI_CHG_CH4_Pos
  336. #define PPI_CHG2_CH4_Msk PPI_CHG_CH4_Msk
  337. #define PPI_CHG2_CH4_Excluded PPI_CHG_CH4_Excluded
  338. #define PPI_CHG2_CH4_Included PPI_CHG_CH4_Included
  339. #define PPI_CHG2_CH3_Pos PPI_CHG_CH3_Pos
  340. #define PPI_CHG2_CH3_Msk PPI_CHG_CH3_Msk
  341. #define PPI_CHG2_CH3_Excluded PPI_CHG_CH3_Excluded
  342. #define PPI_CHG2_CH3_Included PPI_CHG_CH3_Included
  343. #define PPI_CHG2_CH2_Pos PPI_CHG_CH2_Pos
  344. #define PPI_CHG2_CH2_Msk PPI_CHG_CH2_Msk
  345. #define PPI_CHG2_CH2_Excluded PPI_CHG_CH2_Excluded
  346. #define PPI_CHG2_CH2_Included PPI_CHG_CH2_Included
  347. #define PPI_CHG2_CH1_Pos PPI_CHG_CH1_Pos
  348. #define PPI_CHG2_CH1_Msk PPI_CHG_CH1_Msk
  349. #define PPI_CHG2_CH1_Excluded PPI_CHG_CH1_Excluded
  350. #define PPI_CHG2_CH1_Included PPI_CHG_CH1_Included
  351. #define PPI_CHG2_CH0_Pos PPI_CHG_CH0_Pos
  352. #define PPI_CHG2_CH0_Msk PPI_CHG_CH0_Msk
  353. #define PPI_CHG2_CH0_Excluded PPI_CHG_CH0_Excluded
  354. #define PPI_CHG2_CH0_Included PPI_CHG_CH0_Included
  355. #define PPI_CHG3_CH15_Pos PPI_CHG_CH15_Pos
  356. #define PPI_CHG3_CH15_Msk PPI_CHG_CH15_Msk
  357. #define PPI_CHG3_CH15_Excluded PPI_CHG_CH15_Excluded
  358. #define PPI_CHG3_CH15_Included PPI_CHG_CH15_Included
  359. #define PPI_CHG3_CH14_Pos PPI_CHG_CH14_Pos
  360. #define PPI_CHG3_CH14_Msk PPI_CHG_CH14_Msk
  361. #define PPI_CHG3_CH14_Excluded PPI_CHG_CH14_Excluded
  362. #define PPI_CHG3_CH14_Included PPI_CHG_CH14_Included
  363. #define PPI_CHG3_CH13_Pos PPI_CHG_CH13_Pos
  364. #define PPI_CHG3_CH13_Msk PPI_CHG_CH13_Msk
  365. #define PPI_CHG3_CH13_Excluded PPI_CHG_CH13_Excluded
  366. #define PPI_CHG3_CH13_Included PPI_CHG_CH13_Included
  367. #define PPI_CHG3_CH12_Pos PPI_CHG_CH12_Pos
  368. #define PPI_CHG3_CH12_Msk PPI_CHG_CH12_Msk
  369. #define PPI_CHG3_CH12_Excluded PPI_CHG_CH12_Excluded
  370. #define PPI_CHG3_CH12_Included PPI_CHG_CH12_Included
  371. #define PPI_CHG3_CH11_Pos PPI_CHG_CH11_Pos
  372. #define PPI_CHG3_CH11_Msk PPI_CHG_CH11_Msk
  373. #define PPI_CHG3_CH11_Excluded PPI_CHG_CH11_Excluded
  374. #define PPI_CHG3_CH11_Included PPI_CHG_CH11_Included
  375. #define PPI_CHG3_CH10_Pos PPI_CHG_CH10_Pos
  376. #define PPI_CHG3_CH10_Msk PPI_CHG_CH10_Msk
  377. #define PPI_CHG3_CH10_Excluded PPI_CHG_CH10_Excluded
  378. #define PPI_CHG3_CH10_Included PPI_CHG_CH10_Included
  379. #define PPI_CHG3_CH9_Pos PPI_CHG_CH9_Pos
  380. #define PPI_CHG3_CH9_Msk PPI_CHG_CH9_Msk
  381. #define PPI_CHG3_CH9_Excluded PPI_CHG_CH9_Excluded
  382. #define PPI_CHG3_CH9_Included PPI_CHG_CH9_Included
  383. #define PPI_CHG3_CH8_Pos PPI_CHG_CH8_Pos
  384. #define PPI_CHG3_CH8_Msk PPI_CHG_CH8_Msk
  385. #define PPI_CHG3_CH8_Excluded PPI_CHG_CH8_Excluded
  386. #define PPI_CHG3_CH8_Included PPI_CHG_CH8_Included
  387. #define PPI_CHG3_CH7_Pos PPI_CHG_CH7_Pos
  388. #define PPI_CHG3_CH7_Msk PPI_CHG_CH7_Msk
  389. #define PPI_CHG3_CH7_Excluded PPI_CHG_CH7_Excluded
  390. #define PPI_CHG3_CH7_Included PPI_CHG_CH7_Included
  391. #define PPI_CHG3_CH6_Pos PPI_CHG_CH6_Pos
  392. #define PPI_CHG3_CH6_Msk PPI_CHG_CH6_Msk
  393. #define PPI_CHG3_CH6_Excluded PPI_CHG_CH6_Excluded
  394. #define PPI_CHG3_CH6_Included PPI_CHG_CH6_Included
  395. #define PPI_CHG3_CH5_Pos PPI_CHG_CH5_Pos
  396. #define PPI_CHG3_CH5_Msk PPI_CHG_CH5_Msk
  397. #define PPI_CHG3_CH5_Excluded PPI_CHG_CH5_Excluded
  398. #define PPI_CHG3_CH5_Included PPI_CHG_CH5_Included
  399. #define PPI_CHG3_CH4_Pos PPI_CHG_CH4_Pos
  400. #define PPI_CHG3_CH4_Msk PPI_CHG_CH4_Msk
  401. #define PPI_CHG3_CH4_Excluded PPI_CHG_CH4_Excluded
  402. #define PPI_CHG3_CH4_Included PPI_CHG_CH4_Included
  403. #define PPI_CHG3_CH3_Pos PPI_CHG_CH3_Pos
  404. #define PPI_CHG3_CH3_Msk PPI_CHG_CH3_Msk
  405. #define PPI_CHG3_CH3_Excluded PPI_CHG_CH3_Excluded
  406. #define PPI_CHG3_CH3_Included PPI_CHG_CH3_Included
  407. #define PPI_CHG3_CH2_Pos PPI_CHG_CH2_Pos
  408. #define PPI_CHG3_CH2_Msk PPI_CHG_CH2_Msk
  409. #define PPI_CHG3_CH2_Excluded PPI_CHG_CH2_Excluded
  410. #define PPI_CHG3_CH2_Included PPI_CHG_CH2_Included
  411. #define PPI_CHG3_CH1_Pos PPI_CHG_CH1_Pos
  412. #define PPI_CHG3_CH1_Msk PPI_CHG_CH1_Msk
  413. #define PPI_CHG3_CH1_Excluded PPI_CHG_CH1_Excluded
  414. #define PPI_CHG3_CH1_Included PPI_CHG_CH1_Included
  415. #define PPI_CHG3_CH0_Pos PPI_CHG_CH0_Pos
  416. #define PPI_CHG3_CH0_Msk PPI_CHG_CH0_Msk
  417. #define PPI_CHG3_CH0_Excluded PPI_CHG_CH0_Excluded
  418. #define PPI_CHG3_CH0_Included PPI_CHG_CH0_Included
  419. /* SPIS */
  420. /* nRF51 devices do not have an SPIS0, only SPIS1. SPIS0_EASYDMA_MAXCNT_SIZE was therefore renamed. */
  421. #define SPIS0_EASYDMA_MAXCNT_SIZE SPIS1_EASYDMA_MAXCNT_SIZE
  422. /*lint --flb "Leave library region" */
  423. #endif /* NRF51_DEPRECATED_H */