nrf51_to_nrf52810.h 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231
  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. #ifndef SWI0_IRQHandler
  42. #define SWI0_IRQHandler SWI0_EGU0_IRQHandler
  43. #endif
  44. #ifndef SWI1_IRQHandler
  45. #define SWI1_IRQHandler SWI1_EGU1_IRQHandler
  46. #endif
  47. #ifndef SWI0_IRQn
  48. #define SWI0_IRQn SWI0_EGU0_IRQn
  49. #endif
  50. #ifndef SWI1_IRQn
  51. #define SWI1_IRQn SWI1_EGU1_IRQn
  52. #endif
  53. /* UICR */
  54. /* Register RBPCONF was renamed to APPROTECT. */
  55. #ifndef RBPCONF
  56. #define RBPCONF APPROTECT
  57. #endif
  58. #ifndef UICR_RBPCONF_PALL_Pos
  59. #define UICR_RBPCONF_PALL_Pos UICR_APPROTECT_PALL_Pos
  60. #endif
  61. #ifndef UICR_RBPCONF_PALL_Msk
  62. #define UICR_RBPCONF_PALL_Msk UICR_APPROTECT_PALL_Msk
  63. #endif
  64. #ifndef UICR_RBPCONF_PALL_Enabled
  65. #define UICR_RBPCONF_PALL_Enabled UICR_APPROTECT_PALL_Enabled
  66. #endif
  67. #ifndef UICR_RBPCONF_PALL_Disabled
  68. #define UICR_RBPCONF_PALL_Disabled UICR_APPROTECT_PALL_Disabled
  69. #endif
  70. /* GPIO */
  71. /* GPIO port was renamed to P0. */
  72. #ifndef NRF_GPIO
  73. #define NRF_GPIO NRF_P0
  74. #endif
  75. #ifndef NRF_GPIO_BASE
  76. #define NRF_GPIO_BASE NRF_P0_BASE
  77. #endif
  78. /* QDEC */
  79. /* The registers PSELA, PSELB and PSELLED were restructured into a struct. */
  80. #ifndef PSELLED
  81. #define PSELLED PSEL.LED
  82. #endif
  83. #ifndef PSELA
  84. #define PSELA PSEL.A
  85. #endif
  86. #ifndef PSELB
  87. #define PSELB PSEL.B
  88. #endif
  89. /* SPIS */
  90. /* The registers PSELSCK, PSELMISO, PSELMOSI, PSELCSN were restructured into a struct. */
  91. #ifndef PSELSCK
  92. #define PSELSCK PSEL.SCK
  93. #endif
  94. #ifndef PSELMISO
  95. #define PSELMISO PSEL.MISO
  96. #endif
  97. #ifndef PSELMOSI
  98. #define PSELMOSI PSEL.MOSI
  99. #endif
  100. #ifndef PSELCSN
  101. #define PSELCSN PSEL.CSN
  102. #endif
  103. /* The registers RXDPTR, MAXRX, AMOUNTRX were restructured into a struct */
  104. #ifndef RXDPTR
  105. #define RXDPTR RXD.PTR
  106. #endif
  107. #ifndef MAXRX
  108. #define MAXRX RXD.MAXCNT
  109. #endif
  110. #ifndef AMOUNTRX
  111. #define AMOUNTRX RXD.AMOUNT
  112. #endif
  113. #ifndef SPIS_MAXRX_MAXRX_Pos
  114. #define SPIS_MAXRX_MAXRX_Pos SPIS_RXD_MAXCNT_MAXCNT_Pos
  115. #endif
  116. #ifndef SPIS_MAXRX_MAXRX_Msk
  117. #define SPIS_MAXRX_MAXRX_Msk SPIS_RXD_MAXCNT_MAXCNT_Msk
  118. #endif
  119. #ifndef SPIS_AMOUNTRX_AMOUNTRX_Pos
  120. #define SPIS_AMOUNTRX_AMOUNTRX_Pos SPIS_RXD_AMOUNT_AMOUNT_Pos
  121. #endif
  122. #ifndef SPIS_AMOUNTRX_AMOUNTRX_Msk
  123. #define SPIS_AMOUNTRX_AMOUNTRX_Msk SPIS_RXD_AMOUNT_AMOUNT_Msk
  124. #endif
  125. /* The registers TXDPTR, MAXTX, AMOUNTTX were restructured into a struct */
  126. #ifndef TXDPTR
  127. #define TXDPTR TXD.PTR
  128. #endif
  129. #ifndef MAXTX
  130. #define MAXTX TXD.MAXCNT
  131. #endif
  132. #ifndef AMOUNTTX
  133. #define AMOUNTTX TXD.AMOUNT
  134. #endif
  135. #ifndef SPIS_MAXTX_MAXTX_Pos
  136. #define SPIS_MAXTX_MAXTX_Pos SPIS_TXD_MAXCNT_MAXCNT_Pos
  137. #endif
  138. #ifndef SPIS_MAXTX_MAXTX_Msk
  139. #define SPIS_MAXTX_MAXTX_Msk SPIS_TXD_MAXCNT_MAXCNT_Msk
  140. #endif
  141. #ifndef SPIS_AMOUNTTX_AMOUNTTX_Pos
  142. #define SPIS_AMOUNTTX_AMOUNTTX_Pos SPIS_TXD_AMOUNT_AMOUNT_Pos
  143. #endif
  144. #ifndef SPIS_AMOUNTTX_AMOUNTTX_Msk
  145. #define SPIS_AMOUNTTX_AMOUNTTX_Msk SPIS_TXD_AMOUNT_AMOUNT_Msk
  146. #endif
  147. /* 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. */
  148. /* NVMC */
  149. /* The register ERASEPROTECTEDPAGE changed name to ERASEPCR0 in the documentation. */
  150. #ifndef ERASEPROTECTEDPAGE
  151. #define ERASEPROTECTEDPAGE ERASEPCR0
  152. #endif
  153. /* RADIO */
  154. /* The name of the field SKIPADDR was corrected. Old macros added for compatibility. */
  155. #ifndef RADIO_CRCCNF_SKIP_ADDR_Pos
  156. #define RADIO_CRCCNF_SKIP_ADDR_Pos RADIO_CRCCNF_SKIPADDR_Pos
  157. #endif
  158. #ifndef RADIO_CRCCNF_SKIP_ADDR_Msk
  159. #define RADIO_CRCCNF_SKIP_ADDR_Msk RADIO_CRCCNF_SKIPADDR_Msk
  160. #endif
  161. #ifndef RADIO_CRCCNF_SKIP_ADDR_Include
  162. #define RADIO_CRCCNF_SKIP_ADDR_Include RADIO_CRCCNF_SKIPADDR_Include
  163. #endif
  164. #ifndef RADIO_CRCCNF_SKIP_ADDR_Skip
  165. #define RADIO_CRCCNF_SKIP_ADDR_Skip RADIO_CRCCNF_SKIPADDR_Skip
  166. #endif
  167. /* FICR */
  168. /* The registers FICR.DEVICEID0 and FICR.DEVICEID1 were renamed into an array. */
  169. #ifndef DEVICEID0
  170. #define DEVICEID0 DEVICEID[0]
  171. #endif
  172. #ifndef DEVICEID1
  173. #define DEVICEID1 DEVICEID[1]
  174. #endif
  175. /* The registers FICR.ER0, FICR.ER1, FICR.ER2 and FICR.ER3 were renamed into an array. */
  176. #ifndef ER0
  177. #define ER0 ER[0]
  178. #endif
  179. #ifndef ER1
  180. #define ER1 ER[1]
  181. #endif
  182. #ifndef ER2
  183. #define ER2 ER[2]
  184. #endif
  185. #ifndef ER3
  186. #define ER3 ER[3]
  187. #endif
  188. /* The registers FICR.IR0, FICR.IR1, FICR.IR2 and FICR.IR3 were renamed into an array. */
  189. #ifndef IR0
  190. #define IR0 IR[0]
  191. #endif
  192. #ifndef IR1
  193. #define IR1 IR[1]
  194. #endif
  195. #ifndef IR2
  196. #define IR2 IR[2]
  197. #endif
  198. #ifndef IR3
  199. #define IR3 IR[3]
  200. #endif
  201. /* The registers FICR.DEVICEADDR0 and FICR.DEVICEADDR1 were renamed into an array. */
  202. #ifndef DEVICEADDR0
  203. #define DEVICEADDR0 DEVICEADDR[0]
  204. #endif
  205. #ifndef DEVICEADDR1
  206. #define DEVICEADDR1 DEVICEADDR[1]
  207. #endif
  208. /* PPI */
  209. /* The tasks PPI.TASKS_CHGxEN and PPI.TASKS_CHGxDIS were renamed into an array of structs. */
  210. #ifndef TASKS_CHG0EN
  211. #define TASKS_CHG0EN TASKS_CHG[0].EN
  212. #endif
  213. #ifndef TASKS_CHG0DIS
  214. #define TASKS_CHG0DIS TASKS_CHG[0].DIS
  215. #endif
  216. #ifndef TASKS_CHG1EN
  217. #define TASKS_CHG1EN TASKS_CHG[1].EN
  218. #endif
  219. #ifndef TASKS_CHG1DIS
  220. #define TASKS_CHG1DIS TASKS_CHG[1].DIS
  221. #endif
  222. #ifndef TASKS_CHG2EN
  223. #define TASKS_CHG2EN TASKS_CHG[2].EN
  224. #endif
  225. #ifndef TASKS_CHG2DIS
  226. #define TASKS_CHG2DIS TASKS_CHG[2].DIS
  227. #endif
  228. #ifndef TASKS_CHG3EN
  229. #define TASKS_CHG3EN TASKS_CHG[3].EN
  230. #endif
  231. #ifndef TASKS_CHG3DIS
  232. #define TASKS_CHG3DIS TASKS_CHG[3].DIS
  233. #endif
  234. /* The registers PPI.CHx_EEP and PPI.CHx_TEP were renamed into an array of structs. */
  235. #ifndef CH0_EEP
  236. #define CH0_EEP CH[0].EEP
  237. #endif
  238. #ifndef CH0_TEP
  239. #define CH0_TEP CH[0].TEP
  240. #endif
  241. #ifndef CH1_EEP
  242. #define CH1_EEP CH[1].EEP
  243. #endif
  244. #ifndef CH1_TEP
  245. #define CH1_TEP CH[1].TEP
  246. #endif
  247. #ifndef CH2_EEP
  248. #define CH2_EEP CH[2].EEP
  249. #endif
  250. #ifndef CH2_TEP
  251. #define CH2_TEP CH[2].TEP
  252. #endif
  253. #ifndef CH3_EEP
  254. #define CH3_EEP CH[3].EEP
  255. #endif
  256. #ifndef CH3_TEP
  257. #define CH3_TEP CH[3].TEP
  258. #endif
  259. #ifndef CH4_EEP
  260. #define CH4_EEP CH[4].EEP
  261. #endif
  262. #ifndef CH4_TEP
  263. #define CH4_TEP CH[4].TEP
  264. #endif
  265. #ifndef CH5_EEP
  266. #define CH5_EEP CH[5].EEP
  267. #endif
  268. #ifndef CH5_TEP
  269. #define CH5_TEP CH[5].TEP
  270. #endif
  271. #ifndef CH6_EEP
  272. #define CH6_EEP CH[6].EEP
  273. #endif
  274. #ifndef CH6_TEP
  275. #define CH6_TEP CH[6].TEP
  276. #endif
  277. #ifndef CH7_EEP
  278. #define CH7_EEP CH[7].EEP
  279. #endif
  280. #ifndef CH7_TEP
  281. #define CH7_TEP CH[7].TEP
  282. #endif
  283. #ifndef CH8_EEP
  284. #define CH8_EEP CH[8].EEP
  285. #endif
  286. #ifndef CH8_TEP
  287. #define CH8_TEP CH[8].TEP
  288. #endif
  289. #ifndef CH9_EEP
  290. #define CH9_EEP CH[9].EEP
  291. #endif
  292. #ifndef CH9_TEP
  293. #define CH9_TEP CH[9].TEP
  294. #endif
  295. #ifndef CH10_EEP
  296. #define CH10_EEP CH[10].EEP
  297. #endif
  298. #ifndef CH10_TEP
  299. #define CH10_TEP CH[10].TEP
  300. #endif
  301. #ifndef CH11_EEP
  302. #define CH11_EEP CH[11].EEP
  303. #endif
  304. #ifndef CH11_TEP
  305. #define CH11_TEP CH[11].TEP
  306. #endif
  307. #ifndef CH12_EEP
  308. #define CH12_EEP CH[12].EEP
  309. #endif
  310. #ifndef CH12_TEP
  311. #define CH12_TEP CH[12].TEP
  312. #endif
  313. #ifndef CH13_EEP
  314. #define CH13_EEP CH[13].EEP
  315. #endif
  316. #ifndef CH13_TEP
  317. #define CH13_TEP CH[13].TEP
  318. #endif
  319. #ifndef CH14_EEP
  320. #define CH14_EEP CH[14].EEP
  321. #endif
  322. #ifndef CH14_TEP
  323. #define CH14_TEP CH[14].TEP
  324. #endif
  325. #ifndef CH15_EEP
  326. #define CH15_EEP CH[15].EEP
  327. #endif
  328. #ifndef CH15_TEP
  329. #define CH15_TEP CH[15].TEP
  330. #endif
  331. /* The registers PPI.CHG0, PPI.CHG1, PPI.CHG2 and PPI.CHG3 were renamed into an array. */
  332. #ifndef CHG0
  333. #define CHG0 CHG[0]
  334. #endif
  335. #ifndef CHG1
  336. #define CHG1 CHG[1]
  337. #endif
  338. #ifndef CHG2
  339. #define CHG2 CHG[2]
  340. #endif
  341. #ifndef CHG3
  342. #define CHG3 CHG[3]
  343. #endif
  344. /* All bitfield macros for the CHGx registers therefore changed name. */
  345. #ifndef PPI_CHG0_CH15_Pos
  346. #define PPI_CHG0_CH15_Pos PPI_CHG_CH15_Pos
  347. #endif
  348. #ifndef PPI_CHG0_CH15_Msk
  349. #define PPI_CHG0_CH15_Msk PPI_CHG_CH15_Msk
  350. #endif
  351. #ifndef PPI_CHG0_CH15_Excluded
  352. #define PPI_CHG0_CH15_Excluded PPI_CHG_CH15_Excluded
  353. #endif
  354. #ifndef PPI_CHG0_CH15_Included
  355. #define PPI_CHG0_CH15_Included PPI_CHG_CH15_Included
  356. #endif
  357. #ifndef PPI_CHG0_CH14_Pos
  358. #define PPI_CHG0_CH14_Pos PPI_CHG_CH14_Pos
  359. #endif
  360. #ifndef PPI_CHG0_CH14_Msk
  361. #define PPI_CHG0_CH14_Msk PPI_CHG_CH14_Msk
  362. #endif
  363. #ifndef PPI_CHG0_CH14_Excluded
  364. #define PPI_CHG0_CH14_Excluded PPI_CHG_CH14_Excluded
  365. #endif
  366. #ifndef PPI_CHG0_CH14_Included
  367. #define PPI_CHG0_CH14_Included PPI_CHG_CH14_Included
  368. #endif
  369. #ifndef PPI_CHG0_CH13_Pos
  370. #define PPI_CHG0_CH13_Pos PPI_CHG_CH13_Pos
  371. #endif
  372. #ifndef PPI_CHG0_CH13_Msk
  373. #define PPI_CHG0_CH13_Msk PPI_CHG_CH13_Msk
  374. #endif
  375. #ifndef PPI_CHG0_CH13_Excluded
  376. #define PPI_CHG0_CH13_Excluded PPI_CHG_CH13_Excluded
  377. #endif
  378. #ifndef PPI_CHG0_CH13_Included
  379. #define PPI_CHG0_CH13_Included PPI_CHG_CH13_Included
  380. #endif
  381. #ifndef PPI_CHG0_CH12_Pos
  382. #define PPI_CHG0_CH12_Pos PPI_CHG_CH12_Pos
  383. #endif
  384. #ifndef PPI_CHG0_CH12_Msk
  385. #define PPI_CHG0_CH12_Msk PPI_CHG_CH12_Msk
  386. #endif
  387. #ifndef PPI_CHG0_CH12_Excluded
  388. #define PPI_CHG0_CH12_Excluded PPI_CHG_CH12_Excluded
  389. #endif
  390. #ifndef PPI_CHG0_CH12_Included
  391. #define PPI_CHG0_CH12_Included PPI_CHG_CH12_Included
  392. #endif
  393. #ifndef PPI_CHG0_CH11_Pos
  394. #define PPI_CHG0_CH11_Pos PPI_CHG_CH11_Pos
  395. #endif
  396. #ifndef PPI_CHG0_CH11_Msk
  397. #define PPI_CHG0_CH11_Msk PPI_CHG_CH11_Msk
  398. #endif
  399. #ifndef PPI_CHG0_CH11_Excluded
  400. #define PPI_CHG0_CH11_Excluded PPI_CHG_CH11_Excluded
  401. #endif
  402. #ifndef PPI_CHG0_CH11_Included
  403. #define PPI_CHG0_CH11_Included PPI_CHG_CH11_Included
  404. #endif
  405. #ifndef PPI_CHG0_CH10_Pos
  406. #define PPI_CHG0_CH10_Pos PPI_CHG_CH10_Pos
  407. #endif
  408. #ifndef PPI_CHG0_CH10_Msk
  409. #define PPI_CHG0_CH10_Msk PPI_CHG_CH10_Msk
  410. #endif
  411. #ifndef PPI_CHG0_CH10_Excluded
  412. #define PPI_CHG0_CH10_Excluded PPI_CHG_CH10_Excluded
  413. #endif
  414. #ifndef PPI_CHG0_CH10_Included
  415. #define PPI_CHG0_CH10_Included PPI_CHG_CH10_Included
  416. #endif
  417. #ifndef PPI_CHG0_CH9_Pos
  418. #define PPI_CHG0_CH9_Pos PPI_CHG_CH9_Pos
  419. #endif
  420. #ifndef PPI_CHG0_CH9_Msk
  421. #define PPI_CHG0_CH9_Msk PPI_CHG_CH9_Msk
  422. #endif
  423. #ifndef PPI_CHG0_CH9_Excluded
  424. #define PPI_CHG0_CH9_Excluded PPI_CHG_CH9_Excluded
  425. #endif
  426. #ifndef PPI_CHG0_CH9_Included
  427. #define PPI_CHG0_CH9_Included PPI_CHG_CH9_Included
  428. #endif
  429. #ifndef PPI_CHG0_CH8_Pos
  430. #define PPI_CHG0_CH8_Pos PPI_CHG_CH8_Pos
  431. #endif
  432. #ifndef PPI_CHG0_CH8_Msk
  433. #define PPI_CHG0_CH8_Msk PPI_CHG_CH8_Msk
  434. #endif
  435. #ifndef PPI_CHG0_CH8_Excluded
  436. #define PPI_CHG0_CH8_Excluded PPI_CHG_CH8_Excluded
  437. #endif
  438. #ifndef PPI_CHG0_CH8_Included
  439. #define PPI_CHG0_CH8_Included PPI_CHG_CH8_Included
  440. #endif
  441. #ifndef PPI_CHG0_CH7_Pos
  442. #define PPI_CHG0_CH7_Pos PPI_CHG_CH7_Pos
  443. #endif
  444. #ifndef PPI_CHG0_CH7_Msk
  445. #define PPI_CHG0_CH7_Msk PPI_CHG_CH7_Msk
  446. #endif
  447. #ifndef PPI_CHG0_CH7_Excluded
  448. #define PPI_CHG0_CH7_Excluded PPI_CHG_CH7_Excluded
  449. #endif
  450. #ifndef PPI_CHG0_CH7_Included
  451. #define PPI_CHG0_CH7_Included PPI_CHG_CH7_Included
  452. #endif
  453. #ifndef PPI_CHG0_CH6_Pos
  454. #define PPI_CHG0_CH6_Pos PPI_CHG_CH6_Pos
  455. #endif
  456. #ifndef PPI_CHG0_CH6_Msk
  457. #define PPI_CHG0_CH6_Msk PPI_CHG_CH6_Msk
  458. #endif
  459. #ifndef PPI_CHG0_CH6_Excluded
  460. #define PPI_CHG0_CH6_Excluded PPI_CHG_CH6_Excluded
  461. #endif
  462. #ifndef PPI_CHG0_CH6_Included
  463. #define PPI_CHG0_CH6_Included PPI_CHG_CH6_Included
  464. #endif
  465. #ifndef PPI_CHG0_CH5_Pos
  466. #define PPI_CHG0_CH5_Pos PPI_CHG_CH5_Pos
  467. #endif
  468. #ifndef PPI_CHG0_CH5_Msk
  469. #define PPI_CHG0_CH5_Msk PPI_CHG_CH5_Msk
  470. #endif
  471. #ifndef PPI_CHG0_CH5_Excluded
  472. #define PPI_CHG0_CH5_Excluded PPI_CHG_CH5_Excluded
  473. #endif
  474. #ifndef PPI_CHG0_CH5_Included
  475. #define PPI_CHG0_CH5_Included PPI_CHG_CH5_Included
  476. #endif
  477. #ifndef PPI_CHG0_CH4_Pos
  478. #define PPI_CHG0_CH4_Pos PPI_CHG_CH4_Pos
  479. #endif
  480. #ifndef PPI_CHG0_CH4_Msk
  481. #define PPI_CHG0_CH4_Msk PPI_CHG_CH4_Msk
  482. #endif
  483. #ifndef PPI_CHG0_CH4_Excluded
  484. #define PPI_CHG0_CH4_Excluded PPI_CHG_CH4_Excluded
  485. #endif
  486. #ifndef PPI_CHG0_CH4_Included
  487. #define PPI_CHG0_CH4_Included PPI_CHG_CH4_Included
  488. #endif
  489. #ifndef PPI_CHG0_CH3_Pos
  490. #define PPI_CHG0_CH3_Pos PPI_CHG_CH3_Pos
  491. #endif
  492. #ifndef PPI_CHG0_CH3_Msk
  493. #define PPI_CHG0_CH3_Msk PPI_CHG_CH3_Msk
  494. #endif
  495. #ifndef PPI_CHG0_CH3_Excluded
  496. #define PPI_CHG0_CH3_Excluded PPI_CHG_CH3_Excluded
  497. #endif
  498. #ifndef PPI_CHG0_CH3_Included
  499. #define PPI_CHG0_CH3_Included PPI_CHG_CH3_Included
  500. #endif
  501. #ifndef PPI_CHG0_CH2_Pos
  502. #define PPI_CHG0_CH2_Pos PPI_CHG_CH2_Pos
  503. #endif
  504. #ifndef PPI_CHG0_CH2_Msk
  505. #define PPI_CHG0_CH2_Msk PPI_CHG_CH2_Msk
  506. #endif
  507. #ifndef PPI_CHG0_CH2_Excluded
  508. #define PPI_CHG0_CH2_Excluded PPI_CHG_CH2_Excluded
  509. #endif
  510. #ifndef PPI_CHG0_CH2_Included
  511. #define PPI_CHG0_CH2_Included PPI_CHG_CH2_Included
  512. #endif
  513. #ifndef PPI_CHG0_CH1_Pos
  514. #define PPI_CHG0_CH1_Pos PPI_CHG_CH1_Pos
  515. #endif
  516. #ifndef PPI_CHG0_CH1_Msk
  517. #define PPI_CHG0_CH1_Msk PPI_CHG_CH1_Msk
  518. #endif
  519. #ifndef PPI_CHG0_CH1_Excluded
  520. #define PPI_CHG0_CH1_Excluded PPI_CHG_CH1_Excluded
  521. #endif
  522. #ifndef PPI_CHG0_CH1_Included
  523. #define PPI_CHG0_CH1_Included PPI_CHG_CH1_Included
  524. #endif
  525. #ifndef PPI_CHG0_CH0_Pos
  526. #define PPI_CHG0_CH0_Pos PPI_CHG_CH0_Pos
  527. #endif
  528. #ifndef PPI_CHG0_CH0_Msk
  529. #define PPI_CHG0_CH0_Msk PPI_CHG_CH0_Msk
  530. #endif
  531. #ifndef PPI_CHG0_CH0_Excluded
  532. #define PPI_CHG0_CH0_Excluded PPI_CHG_CH0_Excluded
  533. #endif
  534. #ifndef PPI_CHG0_CH0_Included
  535. #define PPI_CHG0_CH0_Included PPI_CHG_CH0_Included
  536. #endif
  537. #ifndef PPI_CHG1_CH15_Pos
  538. #define PPI_CHG1_CH15_Pos PPI_CHG_CH15_Pos
  539. #endif
  540. #ifndef PPI_CHG1_CH15_Msk
  541. #define PPI_CHG1_CH15_Msk PPI_CHG_CH15_Msk
  542. #endif
  543. #ifndef PPI_CHG1_CH15_Excluded
  544. #define PPI_CHG1_CH15_Excluded PPI_CHG_CH15_Excluded
  545. #endif
  546. #ifndef PPI_CHG1_CH15_Included
  547. #define PPI_CHG1_CH15_Included PPI_CHG_CH15_Included
  548. #endif
  549. #ifndef PPI_CHG1_CH14_Pos
  550. #define PPI_CHG1_CH14_Pos PPI_CHG_CH14_Pos
  551. #endif
  552. #ifndef PPI_CHG1_CH14_Msk
  553. #define PPI_CHG1_CH14_Msk PPI_CHG_CH14_Msk
  554. #endif
  555. #ifndef PPI_CHG1_CH14_Excluded
  556. #define PPI_CHG1_CH14_Excluded PPI_CHG_CH14_Excluded
  557. #endif
  558. #ifndef PPI_CHG1_CH14_Included
  559. #define PPI_CHG1_CH14_Included PPI_CHG_CH14_Included
  560. #endif
  561. #ifndef PPI_CHG1_CH13_Pos
  562. #define PPI_CHG1_CH13_Pos PPI_CHG_CH13_Pos
  563. #endif
  564. #ifndef PPI_CHG1_CH13_Msk
  565. #define PPI_CHG1_CH13_Msk PPI_CHG_CH13_Msk
  566. #endif
  567. #ifndef PPI_CHG1_CH13_Excluded
  568. #define PPI_CHG1_CH13_Excluded PPI_CHG_CH13_Excluded
  569. #endif
  570. #ifndef PPI_CHG1_CH13_Included
  571. #define PPI_CHG1_CH13_Included PPI_CHG_CH13_Included
  572. #endif
  573. #ifndef PPI_CHG1_CH12_Pos
  574. #define PPI_CHG1_CH12_Pos PPI_CHG_CH12_Pos
  575. #endif
  576. #ifndef PPI_CHG1_CH12_Msk
  577. #define PPI_CHG1_CH12_Msk PPI_CHG_CH12_Msk
  578. #endif
  579. #ifndef PPI_CHG1_CH12_Excluded
  580. #define PPI_CHG1_CH12_Excluded PPI_CHG_CH12_Excluded
  581. #endif
  582. #ifndef PPI_CHG1_CH12_Included
  583. #define PPI_CHG1_CH12_Included PPI_CHG_CH12_Included
  584. #endif
  585. #ifndef PPI_CHG1_CH11_Pos
  586. #define PPI_CHG1_CH11_Pos PPI_CHG_CH11_Pos
  587. #endif
  588. #ifndef PPI_CHG1_CH11_Msk
  589. #define PPI_CHG1_CH11_Msk PPI_CHG_CH11_Msk
  590. #endif
  591. #ifndef PPI_CHG1_CH11_Excluded
  592. #define PPI_CHG1_CH11_Excluded PPI_CHG_CH11_Excluded
  593. #endif
  594. #ifndef PPI_CHG1_CH11_Included
  595. #define PPI_CHG1_CH11_Included PPI_CHG_CH11_Included
  596. #endif
  597. #ifndef PPI_CHG1_CH10_Pos
  598. #define PPI_CHG1_CH10_Pos PPI_CHG_CH10_Pos
  599. #endif
  600. #ifndef PPI_CHG1_CH10_Msk
  601. #define PPI_CHG1_CH10_Msk PPI_CHG_CH10_Msk
  602. #endif
  603. #ifndef PPI_CHG1_CH10_Excluded
  604. #define PPI_CHG1_CH10_Excluded PPI_CHG_CH10_Excluded
  605. #endif
  606. #ifndef PPI_CHG1_CH10_Included
  607. #define PPI_CHG1_CH10_Included PPI_CHG_CH10_Included
  608. #endif
  609. #ifndef PPI_CHG1_CH9_Pos
  610. #define PPI_CHG1_CH9_Pos PPI_CHG_CH9_Pos
  611. #endif
  612. #ifndef PPI_CHG1_CH9_Msk
  613. #define PPI_CHG1_CH9_Msk PPI_CHG_CH9_Msk
  614. #endif
  615. #ifndef PPI_CHG1_CH9_Excluded
  616. #define PPI_CHG1_CH9_Excluded PPI_CHG_CH9_Excluded
  617. #endif
  618. #ifndef PPI_CHG1_CH9_Included
  619. #define PPI_CHG1_CH9_Included PPI_CHG_CH9_Included
  620. #endif
  621. #ifndef PPI_CHG1_CH8_Pos
  622. #define PPI_CHG1_CH8_Pos PPI_CHG_CH8_Pos
  623. #endif
  624. #ifndef PPI_CHG1_CH8_Msk
  625. #define PPI_CHG1_CH8_Msk PPI_CHG_CH8_Msk
  626. #endif
  627. #ifndef PPI_CHG1_CH8_Excluded
  628. #define PPI_CHG1_CH8_Excluded PPI_CHG_CH8_Excluded
  629. #endif
  630. #ifndef PPI_CHG1_CH8_Included
  631. #define PPI_CHG1_CH8_Included PPI_CHG_CH8_Included
  632. #endif
  633. #ifndef PPI_CHG1_CH7_Pos
  634. #define PPI_CHG1_CH7_Pos PPI_CHG_CH7_Pos
  635. #endif
  636. #ifndef PPI_CHG1_CH7_Msk
  637. #define PPI_CHG1_CH7_Msk PPI_CHG_CH7_Msk
  638. #endif
  639. #ifndef PPI_CHG1_CH7_Excluded
  640. #define PPI_CHG1_CH7_Excluded PPI_CHG_CH7_Excluded
  641. #endif
  642. #ifndef PPI_CHG1_CH7_Included
  643. #define PPI_CHG1_CH7_Included PPI_CHG_CH7_Included
  644. #endif
  645. #ifndef PPI_CHG1_CH6_Pos
  646. #define PPI_CHG1_CH6_Pos PPI_CHG_CH6_Pos
  647. #endif
  648. #ifndef PPI_CHG1_CH6_Msk
  649. #define PPI_CHG1_CH6_Msk PPI_CHG_CH6_Msk
  650. #endif
  651. #ifndef PPI_CHG1_CH6_Excluded
  652. #define PPI_CHG1_CH6_Excluded PPI_CHG_CH6_Excluded
  653. #endif
  654. #ifndef PPI_CHG1_CH6_Included
  655. #define PPI_CHG1_CH6_Included PPI_CHG_CH6_Included
  656. #endif
  657. #ifndef PPI_CHG1_CH5_Pos
  658. #define PPI_CHG1_CH5_Pos PPI_CHG_CH5_Pos
  659. #endif
  660. #ifndef PPI_CHG1_CH5_Msk
  661. #define PPI_CHG1_CH5_Msk PPI_CHG_CH5_Msk
  662. #endif
  663. #ifndef PPI_CHG1_CH5_Excluded
  664. #define PPI_CHG1_CH5_Excluded PPI_CHG_CH5_Excluded
  665. #endif
  666. #ifndef PPI_CHG1_CH5_Included
  667. #define PPI_CHG1_CH5_Included PPI_CHG_CH5_Included
  668. #endif
  669. #ifndef PPI_CHG1_CH4_Pos
  670. #define PPI_CHG1_CH4_Pos PPI_CHG_CH4_Pos
  671. #endif
  672. #ifndef PPI_CHG1_CH4_Msk
  673. #define PPI_CHG1_CH4_Msk PPI_CHG_CH4_Msk
  674. #endif
  675. #ifndef PPI_CHG1_CH4_Excluded
  676. #define PPI_CHG1_CH4_Excluded PPI_CHG_CH4_Excluded
  677. #endif
  678. #ifndef PPI_CHG1_CH4_Included
  679. #define PPI_CHG1_CH4_Included PPI_CHG_CH4_Included
  680. #endif
  681. #ifndef PPI_CHG1_CH3_Pos
  682. #define PPI_CHG1_CH3_Pos PPI_CHG_CH3_Pos
  683. #endif
  684. #ifndef PPI_CHG1_CH3_Msk
  685. #define PPI_CHG1_CH3_Msk PPI_CHG_CH3_Msk
  686. #endif
  687. #ifndef PPI_CHG1_CH3_Excluded
  688. #define PPI_CHG1_CH3_Excluded PPI_CHG_CH3_Excluded
  689. #endif
  690. #ifndef PPI_CHG1_CH3_Included
  691. #define PPI_CHG1_CH3_Included PPI_CHG_CH3_Included
  692. #endif
  693. #ifndef PPI_CHG1_CH2_Pos
  694. #define PPI_CHG1_CH2_Pos PPI_CHG_CH2_Pos
  695. #endif
  696. #ifndef PPI_CHG1_CH2_Msk
  697. #define PPI_CHG1_CH2_Msk PPI_CHG_CH2_Msk
  698. #endif
  699. #ifndef PPI_CHG1_CH2_Excluded
  700. #define PPI_CHG1_CH2_Excluded PPI_CHG_CH2_Excluded
  701. #endif
  702. #ifndef PPI_CHG1_CH2_Included
  703. #define PPI_CHG1_CH2_Included PPI_CHG_CH2_Included
  704. #endif
  705. #ifndef PPI_CHG1_CH1_Pos
  706. #define PPI_CHG1_CH1_Pos PPI_CHG_CH1_Pos
  707. #endif
  708. #ifndef PPI_CHG1_CH1_Msk
  709. #define PPI_CHG1_CH1_Msk PPI_CHG_CH1_Msk
  710. #endif
  711. #ifndef PPI_CHG1_CH1_Excluded
  712. #define PPI_CHG1_CH1_Excluded PPI_CHG_CH1_Excluded
  713. #endif
  714. #ifndef PPI_CHG1_CH1_Included
  715. #define PPI_CHG1_CH1_Included PPI_CHG_CH1_Included
  716. #endif
  717. #ifndef PPI_CHG1_CH0_Pos
  718. #define PPI_CHG1_CH0_Pos PPI_CHG_CH0_Pos
  719. #endif
  720. #ifndef PPI_CHG1_CH0_Msk
  721. #define PPI_CHG1_CH0_Msk PPI_CHG_CH0_Msk
  722. #endif
  723. #ifndef PPI_CHG1_CH0_Excluded
  724. #define PPI_CHG1_CH0_Excluded PPI_CHG_CH0_Excluded
  725. #endif
  726. #ifndef PPI_CHG1_CH0_Included
  727. #define PPI_CHG1_CH0_Included PPI_CHG_CH0_Included
  728. #endif
  729. #ifndef PPI_CHG2_CH15_Pos
  730. #define PPI_CHG2_CH15_Pos PPI_CHG_CH15_Pos
  731. #endif
  732. #ifndef PPI_CHG2_CH15_Msk
  733. #define PPI_CHG2_CH15_Msk PPI_CHG_CH15_Msk
  734. #endif
  735. #ifndef PPI_CHG2_CH15_Excluded
  736. #define PPI_CHG2_CH15_Excluded PPI_CHG_CH15_Excluded
  737. #endif
  738. #ifndef PPI_CHG2_CH15_Included
  739. #define PPI_CHG2_CH15_Included PPI_CHG_CH15_Included
  740. #endif
  741. #ifndef PPI_CHG2_CH14_Pos
  742. #define PPI_CHG2_CH14_Pos PPI_CHG_CH14_Pos
  743. #endif
  744. #ifndef PPI_CHG2_CH14_Msk
  745. #define PPI_CHG2_CH14_Msk PPI_CHG_CH14_Msk
  746. #endif
  747. #ifndef PPI_CHG2_CH14_Excluded
  748. #define PPI_CHG2_CH14_Excluded PPI_CHG_CH14_Excluded
  749. #endif
  750. #ifndef PPI_CHG2_CH14_Included
  751. #define PPI_CHG2_CH14_Included PPI_CHG_CH14_Included
  752. #endif
  753. #ifndef PPI_CHG2_CH13_Pos
  754. #define PPI_CHG2_CH13_Pos PPI_CHG_CH13_Pos
  755. #endif
  756. #ifndef PPI_CHG2_CH13_Msk
  757. #define PPI_CHG2_CH13_Msk PPI_CHG_CH13_Msk
  758. #endif
  759. #ifndef PPI_CHG2_CH13_Excluded
  760. #define PPI_CHG2_CH13_Excluded PPI_CHG_CH13_Excluded
  761. #endif
  762. #ifndef PPI_CHG2_CH13_Included
  763. #define PPI_CHG2_CH13_Included PPI_CHG_CH13_Included
  764. #endif
  765. #ifndef PPI_CHG2_CH12_Pos
  766. #define PPI_CHG2_CH12_Pos PPI_CHG_CH12_Pos
  767. #endif
  768. #ifndef PPI_CHG2_CH12_Msk
  769. #define PPI_CHG2_CH12_Msk PPI_CHG_CH12_Msk
  770. #endif
  771. #ifndef PPI_CHG2_CH12_Excluded
  772. #define PPI_CHG2_CH12_Excluded PPI_CHG_CH12_Excluded
  773. #endif
  774. #ifndef PPI_CHG2_CH12_Included
  775. #define PPI_CHG2_CH12_Included PPI_CHG_CH12_Included
  776. #endif
  777. #ifndef PPI_CHG2_CH11_Pos
  778. #define PPI_CHG2_CH11_Pos PPI_CHG_CH11_Pos
  779. #endif
  780. #ifndef PPI_CHG2_CH11_Msk
  781. #define PPI_CHG2_CH11_Msk PPI_CHG_CH11_Msk
  782. #endif
  783. #ifndef PPI_CHG2_CH11_Excluded
  784. #define PPI_CHG2_CH11_Excluded PPI_CHG_CH11_Excluded
  785. #endif
  786. #ifndef PPI_CHG2_CH11_Included
  787. #define PPI_CHG2_CH11_Included PPI_CHG_CH11_Included
  788. #endif
  789. #ifndef PPI_CHG2_CH10_Pos
  790. #define PPI_CHG2_CH10_Pos PPI_CHG_CH10_Pos
  791. #endif
  792. #ifndef PPI_CHG2_CH10_Msk
  793. #define PPI_CHG2_CH10_Msk PPI_CHG_CH10_Msk
  794. #endif
  795. #ifndef PPI_CHG2_CH10_Excluded
  796. #define PPI_CHG2_CH10_Excluded PPI_CHG_CH10_Excluded
  797. #endif
  798. #ifndef PPI_CHG2_CH10_Included
  799. #define PPI_CHG2_CH10_Included PPI_CHG_CH10_Included
  800. #endif
  801. #ifndef PPI_CHG2_CH9_Pos
  802. #define PPI_CHG2_CH9_Pos PPI_CHG_CH9_Pos
  803. #endif
  804. #ifndef PPI_CHG2_CH9_Msk
  805. #define PPI_CHG2_CH9_Msk PPI_CHG_CH9_Msk
  806. #endif
  807. #ifndef PPI_CHG2_CH9_Excluded
  808. #define PPI_CHG2_CH9_Excluded PPI_CHG_CH9_Excluded
  809. #endif
  810. #ifndef PPI_CHG2_CH9_Included
  811. #define PPI_CHG2_CH9_Included PPI_CHG_CH9_Included
  812. #endif
  813. #ifndef PPI_CHG2_CH8_Pos
  814. #define PPI_CHG2_CH8_Pos PPI_CHG_CH8_Pos
  815. #endif
  816. #ifndef PPI_CHG2_CH8_Msk
  817. #define PPI_CHG2_CH8_Msk PPI_CHG_CH8_Msk
  818. #endif
  819. #ifndef PPI_CHG2_CH8_Excluded
  820. #define PPI_CHG2_CH8_Excluded PPI_CHG_CH8_Excluded
  821. #endif
  822. #ifndef PPI_CHG2_CH8_Included
  823. #define PPI_CHG2_CH8_Included PPI_CHG_CH8_Included
  824. #endif
  825. #ifndef PPI_CHG2_CH7_Pos
  826. #define PPI_CHG2_CH7_Pos PPI_CHG_CH7_Pos
  827. #endif
  828. #ifndef PPI_CHG2_CH7_Msk
  829. #define PPI_CHG2_CH7_Msk PPI_CHG_CH7_Msk
  830. #endif
  831. #ifndef PPI_CHG2_CH7_Excluded
  832. #define PPI_CHG2_CH7_Excluded PPI_CHG_CH7_Excluded
  833. #endif
  834. #ifndef PPI_CHG2_CH7_Included
  835. #define PPI_CHG2_CH7_Included PPI_CHG_CH7_Included
  836. #endif
  837. #ifndef PPI_CHG2_CH6_Pos
  838. #define PPI_CHG2_CH6_Pos PPI_CHG_CH6_Pos
  839. #endif
  840. #ifndef PPI_CHG2_CH6_Msk
  841. #define PPI_CHG2_CH6_Msk PPI_CHG_CH6_Msk
  842. #endif
  843. #ifndef PPI_CHG2_CH6_Excluded
  844. #define PPI_CHG2_CH6_Excluded PPI_CHG_CH6_Excluded
  845. #endif
  846. #ifndef PPI_CHG2_CH6_Included
  847. #define PPI_CHG2_CH6_Included PPI_CHG_CH6_Included
  848. #endif
  849. #ifndef PPI_CHG2_CH5_Pos
  850. #define PPI_CHG2_CH5_Pos PPI_CHG_CH5_Pos
  851. #endif
  852. #ifndef PPI_CHG2_CH5_Msk
  853. #define PPI_CHG2_CH5_Msk PPI_CHG_CH5_Msk
  854. #endif
  855. #ifndef PPI_CHG2_CH5_Excluded
  856. #define PPI_CHG2_CH5_Excluded PPI_CHG_CH5_Excluded
  857. #endif
  858. #ifndef PPI_CHG2_CH5_Included
  859. #define PPI_CHG2_CH5_Included PPI_CHG_CH5_Included
  860. #endif
  861. #ifndef PPI_CHG2_CH4_Pos
  862. #define PPI_CHG2_CH4_Pos PPI_CHG_CH4_Pos
  863. #endif
  864. #ifndef PPI_CHG2_CH4_Msk
  865. #define PPI_CHG2_CH4_Msk PPI_CHG_CH4_Msk
  866. #endif
  867. #ifndef PPI_CHG2_CH4_Excluded
  868. #define PPI_CHG2_CH4_Excluded PPI_CHG_CH4_Excluded
  869. #endif
  870. #ifndef PPI_CHG2_CH4_Included
  871. #define PPI_CHG2_CH4_Included PPI_CHG_CH4_Included
  872. #endif
  873. #ifndef PPI_CHG2_CH3_Pos
  874. #define PPI_CHG2_CH3_Pos PPI_CHG_CH3_Pos
  875. #endif
  876. #ifndef PPI_CHG2_CH3_Msk
  877. #define PPI_CHG2_CH3_Msk PPI_CHG_CH3_Msk
  878. #endif
  879. #ifndef PPI_CHG2_CH3_Excluded
  880. #define PPI_CHG2_CH3_Excluded PPI_CHG_CH3_Excluded
  881. #endif
  882. #ifndef PPI_CHG2_CH3_Included
  883. #define PPI_CHG2_CH3_Included PPI_CHG_CH3_Included
  884. #endif
  885. #ifndef PPI_CHG2_CH2_Pos
  886. #define PPI_CHG2_CH2_Pos PPI_CHG_CH2_Pos
  887. #endif
  888. #ifndef PPI_CHG2_CH2_Msk
  889. #define PPI_CHG2_CH2_Msk PPI_CHG_CH2_Msk
  890. #endif
  891. #ifndef PPI_CHG2_CH2_Excluded
  892. #define PPI_CHG2_CH2_Excluded PPI_CHG_CH2_Excluded
  893. #endif
  894. #ifndef PPI_CHG2_CH2_Included
  895. #define PPI_CHG2_CH2_Included PPI_CHG_CH2_Included
  896. #endif
  897. #ifndef PPI_CHG2_CH1_Pos
  898. #define PPI_CHG2_CH1_Pos PPI_CHG_CH1_Pos
  899. #endif
  900. #ifndef PPI_CHG2_CH1_Msk
  901. #define PPI_CHG2_CH1_Msk PPI_CHG_CH1_Msk
  902. #endif
  903. #ifndef PPI_CHG2_CH1_Excluded
  904. #define PPI_CHG2_CH1_Excluded PPI_CHG_CH1_Excluded
  905. #endif
  906. #ifndef PPI_CHG2_CH1_Included
  907. #define PPI_CHG2_CH1_Included PPI_CHG_CH1_Included
  908. #endif
  909. #ifndef PPI_CHG2_CH0_Pos
  910. #define PPI_CHG2_CH0_Pos PPI_CHG_CH0_Pos
  911. #endif
  912. #ifndef PPI_CHG2_CH0_Msk
  913. #define PPI_CHG2_CH0_Msk PPI_CHG_CH0_Msk
  914. #endif
  915. #ifndef PPI_CHG2_CH0_Excluded
  916. #define PPI_CHG2_CH0_Excluded PPI_CHG_CH0_Excluded
  917. #endif
  918. #ifndef PPI_CHG2_CH0_Included
  919. #define PPI_CHG2_CH0_Included PPI_CHG_CH0_Included
  920. #endif
  921. #ifndef PPI_CHG3_CH15_Pos
  922. #define PPI_CHG3_CH15_Pos PPI_CHG_CH15_Pos
  923. #endif
  924. #ifndef PPI_CHG3_CH15_Msk
  925. #define PPI_CHG3_CH15_Msk PPI_CHG_CH15_Msk
  926. #endif
  927. #ifndef PPI_CHG3_CH15_Excluded
  928. #define PPI_CHG3_CH15_Excluded PPI_CHG_CH15_Excluded
  929. #endif
  930. #ifndef PPI_CHG3_CH15_Included
  931. #define PPI_CHG3_CH15_Included PPI_CHG_CH15_Included
  932. #endif
  933. #ifndef PPI_CHG3_CH14_Pos
  934. #define PPI_CHG3_CH14_Pos PPI_CHG_CH14_Pos
  935. #endif
  936. #ifndef PPI_CHG3_CH14_Msk
  937. #define PPI_CHG3_CH14_Msk PPI_CHG_CH14_Msk
  938. #endif
  939. #ifndef PPI_CHG3_CH14_Excluded
  940. #define PPI_CHG3_CH14_Excluded PPI_CHG_CH14_Excluded
  941. #endif
  942. #ifndef PPI_CHG3_CH14_Included
  943. #define PPI_CHG3_CH14_Included PPI_CHG_CH14_Included
  944. #endif
  945. #ifndef PPI_CHG3_CH13_Pos
  946. #define PPI_CHG3_CH13_Pos PPI_CHG_CH13_Pos
  947. #endif
  948. #ifndef PPI_CHG3_CH13_Msk
  949. #define PPI_CHG3_CH13_Msk PPI_CHG_CH13_Msk
  950. #endif
  951. #ifndef PPI_CHG3_CH13_Excluded
  952. #define PPI_CHG3_CH13_Excluded PPI_CHG_CH13_Excluded
  953. #endif
  954. #ifndef PPI_CHG3_CH13_Included
  955. #define PPI_CHG3_CH13_Included PPI_CHG_CH13_Included
  956. #endif
  957. #ifndef PPI_CHG3_CH12_Pos
  958. #define PPI_CHG3_CH12_Pos PPI_CHG_CH12_Pos
  959. #endif
  960. #ifndef PPI_CHG3_CH12_Msk
  961. #define PPI_CHG3_CH12_Msk PPI_CHG_CH12_Msk
  962. #endif
  963. #ifndef PPI_CHG3_CH12_Excluded
  964. #define PPI_CHG3_CH12_Excluded PPI_CHG_CH12_Excluded
  965. #endif
  966. #ifndef PPI_CHG3_CH12_Included
  967. #define PPI_CHG3_CH12_Included PPI_CHG_CH12_Included
  968. #endif
  969. #ifndef PPI_CHG3_CH11_Pos
  970. #define PPI_CHG3_CH11_Pos PPI_CHG_CH11_Pos
  971. #endif
  972. #ifndef PPI_CHG3_CH11_Msk
  973. #define PPI_CHG3_CH11_Msk PPI_CHG_CH11_Msk
  974. #endif
  975. #ifndef PPI_CHG3_CH11_Excluded
  976. #define PPI_CHG3_CH11_Excluded PPI_CHG_CH11_Excluded
  977. #endif
  978. #ifndef PPI_CHG3_CH11_Included
  979. #define PPI_CHG3_CH11_Included PPI_CHG_CH11_Included
  980. #endif
  981. #ifndef PPI_CHG3_CH10_Pos
  982. #define PPI_CHG3_CH10_Pos PPI_CHG_CH10_Pos
  983. #endif
  984. #ifndef PPI_CHG3_CH10_Msk
  985. #define PPI_CHG3_CH10_Msk PPI_CHG_CH10_Msk
  986. #endif
  987. #ifndef PPI_CHG3_CH10_Excluded
  988. #define PPI_CHG3_CH10_Excluded PPI_CHG_CH10_Excluded
  989. #endif
  990. #ifndef PPI_CHG3_CH10_Included
  991. #define PPI_CHG3_CH10_Included PPI_CHG_CH10_Included
  992. #endif
  993. #ifndef PPI_CHG3_CH9_Pos
  994. #define PPI_CHG3_CH9_Pos PPI_CHG_CH9_Pos
  995. #endif
  996. #ifndef PPI_CHG3_CH9_Msk
  997. #define PPI_CHG3_CH9_Msk PPI_CHG_CH9_Msk
  998. #endif
  999. #ifndef PPI_CHG3_CH9_Excluded
  1000. #define PPI_CHG3_CH9_Excluded PPI_CHG_CH9_Excluded
  1001. #endif
  1002. #ifndef PPI_CHG3_CH9_Included
  1003. #define PPI_CHG3_CH9_Included PPI_CHG_CH9_Included
  1004. #endif
  1005. #ifndef PPI_CHG3_CH8_Pos
  1006. #define PPI_CHG3_CH8_Pos PPI_CHG_CH8_Pos
  1007. #endif
  1008. #ifndef PPI_CHG3_CH8_Msk
  1009. #define PPI_CHG3_CH8_Msk PPI_CHG_CH8_Msk
  1010. #endif
  1011. #ifndef PPI_CHG3_CH8_Excluded
  1012. #define PPI_CHG3_CH8_Excluded PPI_CHG_CH8_Excluded
  1013. #endif
  1014. #ifndef PPI_CHG3_CH8_Included
  1015. #define PPI_CHG3_CH8_Included PPI_CHG_CH8_Included
  1016. #endif
  1017. #ifndef PPI_CHG3_CH7_Pos
  1018. #define PPI_CHG3_CH7_Pos PPI_CHG_CH7_Pos
  1019. #endif
  1020. #ifndef PPI_CHG3_CH7_Msk
  1021. #define PPI_CHG3_CH7_Msk PPI_CHG_CH7_Msk
  1022. #endif
  1023. #ifndef PPI_CHG3_CH7_Excluded
  1024. #define PPI_CHG3_CH7_Excluded PPI_CHG_CH7_Excluded
  1025. #endif
  1026. #ifndef PPI_CHG3_CH7_Included
  1027. #define PPI_CHG3_CH7_Included PPI_CHG_CH7_Included
  1028. #endif
  1029. #ifndef PPI_CHG3_CH6_Pos
  1030. #define PPI_CHG3_CH6_Pos PPI_CHG_CH6_Pos
  1031. #endif
  1032. #ifndef PPI_CHG3_CH6_Msk
  1033. #define PPI_CHG3_CH6_Msk PPI_CHG_CH6_Msk
  1034. #endif
  1035. #ifndef PPI_CHG3_CH6_Excluded
  1036. #define PPI_CHG3_CH6_Excluded PPI_CHG_CH6_Excluded
  1037. #endif
  1038. #ifndef PPI_CHG3_CH6_Included
  1039. #define PPI_CHG3_CH6_Included PPI_CHG_CH6_Included
  1040. #endif
  1041. #ifndef PPI_CHG3_CH5_Pos
  1042. #define PPI_CHG3_CH5_Pos PPI_CHG_CH5_Pos
  1043. #endif
  1044. #ifndef PPI_CHG3_CH5_Msk
  1045. #define PPI_CHG3_CH5_Msk PPI_CHG_CH5_Msk
  1046. #endif
  1047. #ifndef PPI_CHG3_CH5_Excluded
  1048. #define PPI_CHG3_CH5_Excluded PPI_CHG_CH5_Excluded
  1049. #endif
  1050. #ifndef PPI_CHG3_CH5_Included
  1051. #define PPI_CHG3_CH5_Included PPI_CHG_CH5_Included
  1052. #endif
  1053. #ifndef PPI_CHG3_CH4_Pos
  1054. #define PPI_CHG3_CH4_Pos PPI_CHG_CH4_Pos
  1055. #endif
  1056. #ifndef PPI_CHG3_CH4_Msk
  1057. #define PPI_CHG3_CH4_Msk PPI_CHG_CH4_Msk
  1058. #endif
  1059. #ifndef PPI_CHG3_CH4_Excluded
  1060. #define PPI_CHG3_CH4_Excluded PPI_CHG_CH4_Excluded
  1061. #endif
  1062. #ifndef PPI_CHG3_CH4_Included
  1063. #define PPI_CHG3_CH4_Included PPI_CHG_CH4_Included
  1064. #endif
  1065. #ifndef PPI_CHG3_CH3_Pos
  1066. #define PPI_CHG3_CH3_Pos PPI_CHG_CH3_Pos
  1067. #endif
  1068. #ifndef PPI_CHG3_CH3_Msk
  1069. #define PPI_CHG3_CH3_Msk PPI_CHG_CH3_Msk
  1070. #endif
  1071. #ifndef PPI_CHG3_CH3_Excluded
  1072. #define PPI_CHG3_CH3_Excluded PPI_CHG_CH3_Excluded
  1073. #endif
  1074. #ifndef PPI_CHG3_CH3_Included
  1075. #define PPI_CHG3_CH3_Included PPI_CHG_CH3_Included
  1076. #endif
  1077. #ifndef PPI_CHG3_CH2_Pos
  1078. #define PPI_CHG3_CH2_Pos PPI_CHG_CH2_Pos
  1079. #endif
  1080. #ifndef PPI_CHG3_CH2_Msk
  1081. #define PPI_CHG3_CH2_Msk PPI_CHG_CH2_Msk
  1082. #endif
  1083. #ifndef PPI_CHG3_CH2_Excluded
  1084. #define PPI_CHG3_CH2_Excluded PPI_CHG_CH2_Excluded
  1085. #endif
  1086. #ifndef PPI_CHG3_CH2_Included
  1087. #define PPI_CHG3_CH2_Included PPI_CHG_CH2_Included
  1088. #endif
  1089. #ifndef PPI_CHG3_CH1_Pos
  1090. #define PPI_CHG3_CH1_Pos PPI_CHG_CH1_Pos
  1091. #endif
  1092. #ifndef PPI_CHG3_CH1_Msk
  1093. #define PPI_CHG3_CH1_Msk PPI_CHG_CH1_Msk
  1094. #endif
  1095. #ifndef PPI_CHG3_CH1_Excluded
  1096. #define PPI_CHG3_CH1_Excluded PPI_CHG_CH1_Excluded
  1097. #endif
  1098. #ifndef PPI_CHG3_CH1_Included
  1099. #define PPI_CHG3_CH1_Included PPI_CHG_CH1_Included
  1100. #endif
  1101. #ifndef PPI_CHG3_CH0_Pos
  1102. #define PPI_CHG3_CH0_Pos PPI_CHG_CH0_Pos
  1103. #endif
  1104. #ifndef PPI_CHG3_CH0_Msk
  1105. #define PPI_CHG3_CH0_Msk PPI_CHG_CH0_Msk
  1106. #endif
  1107. #ifndef PPI_CHG3_CH0_Excluded
  1108. #define PPI_CHG3_CH0_Excluded PPI_CHG_CH0_Excluded
  1109. #endif
  1110. #ifndef PPI_CHG3_CH0_Included
  1111. #define PPI_CHG3_CH0_Included PPI_CHG_CH0_Included
  1112. #endif
  1113. /*lint --flb "Leave library region" */
  1114. #endif /* NRF51_TO_NRF52810_H */