evsys.h 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. /**
  2. * \file
  3. *
  4. * \brief Instance description for EVSYS
  5. *
  6. * Copyright (c) 2018 Microchip Technology Inc.
  7. *
  8. * \license_start
  9. *
  10. * \page License
  11. *
  12. * SPDX-License-Identifier: Apache-2.0
  13. *
  14. * Licensed under the Apache License, Version 2.0 (the "License");
  15. * you may not use this file except in compliance with the License.
  16. * You may obtain a copy of the License at
  17. *
  18. * http://www.apache.org/licenses/LICENSE-2.0
  19. *
  20. * Unless required by applicable law or agreed to in writing, software
  21. * distributed under the License is distributed on an "AS IS" BASIS,
  22. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  23. * See the License for the specific language governing permissions and
  24. * limitations under the License.
  25. *
  26. * \license_stop
  27. *
  28. */
  29. /* file generated from device description version 2018-05-30T11:07:17Z */
  30. #ifndef _SAML11_EVSYS_INSTANCE_H_
  31. #define _SAML11_EVSYS_INSTANCE_H_
  32. /* ========== Register definition for EVSYS peripheral ========== */
  33. #if (defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  34. #define REG_EVSYS_CHANNEL0 (0x42000020) /**< (EVSYS) Channel 0 Control */
  35. #define REG_EVSYS_CHINTENCLR0 (0x42000024) /**< (EVSYS) Channel 0 Interrupt Enable Clear */
  36. #define REG_EVSYS_CHINTENSET0 (0x42000025) /**< (EVSYS) Channel 0 Interrupt Enable Set */
  37. #define REG_EVSYS_CHINTFLAG0 (0x42000026) /**< (EVSYS) Channel 0 Interrupt Flag Status and Clear */
  38. #define REG_EVSYS_CHSTATUS0 (0x42000027) /**< (EVSYS) Channel 0 Status */
  39. #define REG_EVSYS_CHANNEL1 (0x42000021) /**< (EVSYS) Channel 1 Control */
  40. #define REG_EVSYS_CHINTENCLR1 (0x42000025) /**< (EVSYS) Channel 1 Interrupt Enable Clear */
  41. #define REG_EVSYS_CHINTENSET1 (0x42000026) /**< (EVSYS) Channel 1 Interrupt Enable Set */
  42. #define REG_EVSYS_CHINTFLAG1 (0x42000027) /**< (EVSYS) Channel 1 Interrupt Flag Status and Clear */
  43. #define REG_EVSYS_CHSTATUS1 (0x42000028) /**< (EVSYS) Channel 1 Status */
  44. #define REG_EVSYS_CHANNEL2 (0x42000022) /**< (EVSYS) Channel 2 Control */
  45. #define REG_EVSYS_CHINTENCLR2 (0x42000026) /**< (EVSYS) Channel 2 Interrupt Enable Clear */
  46. #define REG_EVSYS_CHINTENSET2 (0x42000027) /**< (EVSYS) Channel 2 Interrupt Enable Set */
  47. #define REG_EVSYS_CHINTFLAG2 (0x42000028) /**< (EVSYS) Channel 2 Interrupt Flag Status and Clear */
  48. #define REG_EVSYS_CHSTATUS2 (0x42000029) /**< (EVSYS) Channel 2 Status */
  49. #define REG_EVSYS_CHANNEL3 (0x42000023) /**< (EVSYS) Channel 3 Control */
  50. #define REG_EVSYS_CHINTENCLR3 (0x42000027) /**< (EVSYS) Channel 3 Interrupt Enable Clear */
  51. #define REG_EVSYS_CHINTENSET3 (0x42000028) /**< (EVSYS) Channel 3 Interrupt Enable Set */
  52. #define REG_EVSYS_CHINTFLAG3 (0x42000029) /**< (EVSYS) Channel 3 Interrupt Flag Status and Clear */
  53. #define REG_EVSYS_CHSTATUS3 (0x4200002A) /**< (EVSYS) Channel 3 Status */
  54. #define REG_EVSYS_CHANNEL4 (0x42000024) /**< (EVSYS) Channel 4 Control */
  55. #define REG_EVSYS_CHINTENCLR4 (0x42000028) /**< (EVSYS) Channel 4 Interrupt Enable Clear */
  56. #define REG_EVSYS_CHINTENSET4 (0x42000029) /**< (EVSYS) Channel 4 Interrupt Enable Set */
  57. #define REG_EVSYS_CHINTFLAG4 (0x4200002A) /**< (EVSYS) Channel 4 Interrupt Flag Status and Clear */
  58. #define REG_EVSYS_CHSTATUS4 (0x4200002B) /**< (EVSYS) Channel 4 Status */
  59. #define REG_EVSYS_CHANNEL5 (0x42000025) /**< (EVSYS) Channel 5 Control */
  60. #define REG_EVSYS_CHINTENCLR5 (0x42000029) /**< (EVSYS) Channel 5 Interrupt Enable Clear */
  61. #define REG_EVSYS_CHINTENSET5 (0x4200002A) /**< (EVSYS) Channel 5 Interrupt Enable Set */
  62. #define REG_EVSYS_CHINTFLAG5 (0x4200002B) /**< (EVSYS) Channel 5 Interrupt Flag Status and Clear */
  63. #define REG_EVSYS_CHSTATUS5 (0x4200002C) /**< (EVSYS) Channel 5 Status */
  64. #define REG_EVSYS_CHANNEL6 (0x42000026) /**< (EVSYS) Channel 6 Control */
  65. #define REG_EVSYS_CHINTENCLR6 (0x4200002A) /**< (EVSYS) Channel 6 Interrupt Enable Clear */
  66. #define REG_EVSYS_CHINTENSET6 (0x4200002B) /**< (EVSYS) Channel 6 Interrupt Enable Set */
  67. #define REG_EVSYS_CHINTFLAG6 (0x4200002C) /**< (EVSYS) Channel 6 Interrupt Flag Status and Clear */
  68. #define REG_EVSYS_CHSTATUS6 (0x4200002D) /**< (EVSYS) Channel 6 Status */
  69. #define REG_EVSYS_CHANNEL7 (0x42000027) /**< (EVSYS) Channel 7 Control */
  70. #define REG_EVSYS_CHINTENCLR7 (0x4200002B) /**< (EVSYS) Channel 7 Interrupt Enable Clear */
  71. #define REG_EVSYS_CHINTENSET7 (0x4200002C) /**< (EVSYS) Channel 7 Interrupt Enable Set */
  72. #define REG_EVSYS_CHINTFLAG7 (0x4200002D) /**< (EVSYS) Channel 7 Interrupt Flag Status and Clear */
  73. #define REG_EVSYS_CHSTATUS7 (0x4200002E) /**< (EVSYS) Channel 7 Status */
  74. #define REG_EVSYS_CTRLA (0x42000000) /**< (EVSYS) Control */
  75. #define REG_EVSYS_SWEVT (0x42000004) /**< (EVSYS) Software Event */
  76. #define REG_EVSYS_PRICTRL (0x42000008) /**< (EVSYS) Priority Control */
  77. #define REG_EVSYS_INTPEND (0x42000010) /**< (EVSYS) Channel Pending Interrupt */
  78. #define REG_EVSYS_INTSTATUS (0x42000014) /**< (EVSYS) Interrupt Status */
  79. #define REG_EVSYS_BUSYCH (0x42000018) /**< (EVSYS) Busy Channels */
  80. #define REG_EVSYS_READYUSR (0x4200001C) /**< (EVSYS) Ready Users */
  81. #define REG_EVSYS_USER (0x42000120) /**< (EVSYS) User Multiplexer n */
  82. #define REG_EVSYS_USER0 (0x42000120) /**< (EVSYS) User Multiplexer 0 */
  83. #define REG_EVSYS_USER1 (0x42000121) /**< (EVSYS) User Multiplexer 1 */
  84. #define REG_EVSYS_USER2 (0x42000122) /**< (EVSYS) User Multiplexer 2 */
  85. #define REG_EVSYS_USER3 (0x42000123) /**< (EVSYS) User Multiplexer 3 */
  86. #define REG_EVSYS_USER4 (0x42000124) /**< (EVSYS) User Multiplexer 4 */
  87. #define REG_EVSYS_USER5 (0x42000125) /**< (EVSYS) User Multiplexer 5 */
  88. #define REG_EVSYS_USER6 (0x42000126) /**< (EVSYS) User Multiplexer 6 */
  89. #define REG_EVSYS_USER7 (0x42000127) /**< (EVSYS) User Multiplexer 7 */
  90. #define REG_EVSYS_USER8 (0x42000128) /**< (EVSYS) User Multiplexer 8 */
  91. #define REG_EVSYS_USER9 (0x42000129) /**< (EVSYS) User Multiplexer 9 */
  92. #define REG_EVSYS_USER10 (0x4200012A) /**< (EVSYS) User Multiplexer 10 */
  93. #define REG_EVSYS_USER11 (0x4200012B) /**< (EVSYS) User Multiplexer 11 */
  94. #define REG_EVSYS_USER12 (0x4200012C) /**< (EVSYS) User Multiplexer 12 */
  95. #define REG_EVSYS_USER13 (0x4200012D) /**< (EVSYS) User Multiplexer 13 */
  96. #define REG_EVSYS_USER14 (0x4200012E) /**< (EVSYS) User Multiplexer 14 */
  97. #define REG_EVSYS_USER15 (0x4200012F) /**< (EVSYS) User Multiplexer 15 */
  98. #define REG_EVSYS_USER16 (0x42000130) /**< (EVSYS) User Multiplexer 16 */
  99. #define REG_EVSYS_USER17 (0x42000131) /**< (EVSYS) User Multiplexer 17 */
  100. #define REG_EVSYS_USER18 (0x42000132) /**< (EVSYS) User Multiplexer 18 */
  101. #define REG_EVSYS_USER19 (0x42000133) /**< (EVSYS) User Multiplexer 19 */
  102. #define REG_EVSYS_USER20 (0x42000134) /**< (EVSYS) User Multiplexer 20 */
  103. #define REG_EVSYS_USER21 (0x42000135) /**< (EVSYS) User Multiplexer 21 */
  104. #define REG_EVSYS_USER22 (0x42000136) /**< (EVSYS) User Multiplexer 22 */
  105. #define REG_EVSYS_INTENCLR (0x420001D4) /**< (EVSYS) Interrupt Enable Clear */
  106. #define REG_EVSYS_INTENSET (0x420001D5) /**< (EVSYS) Interrupt Enable Set */
  107. #define REG_EVSYS_INTFLAG (0x420001D6) /**< (EVSYS) Interrupt Flag Status and Clear */
  108. #define REG_EVSYS_NONSECCHAN (0x420001D8) /**< (EVSYS) Channels Security Attribution */
  109. #define REG_EVSYS_NSCHKCHAN (0x420001DC) /**< (EVSYS) Non-Secure Channels Check */
  110. #define REG_EVSYS_NONSECUSER (0x420001E0) /**< (EVSYS) Users Security Attribution */
  111. #define REG_EVSYS_NONSECUSER0 (0x420001E0) /**< (EVSYS) Users Security Attribution 0 */
  112. #define REG_EVSYS_NSCHKUSER (0x420001F0) /**< (EVSYS) Non-Secure Users Check */
  113. #define REG_EVSYS_NSCHKUSER0 (0x420001F0) /**< (EVSYS) Non-Secure Users Check 0 */
  114. #else
  115. #define REG_EVSYS_CHANNEL0 (*(__IO uint32_t*)0x42000020U) /**< (EVSYS) Channel 0 Control */
  116. #define REG_EVSYS_CHINTENCLR0 (*(__IO uint8_t*)0x42000024U) /**< (EVSYS) Channel 0 Interrupt Enable Clear */
  117. #define REG_EVSYS_CHINTENSET0 (*(__IO uint8_t*)0x42000025U) /**< (EVSYS) Channel 0 Interrupt Enable Set */
  118. #define REG_EVSYS_CHINTFLAG0 (*(__IO uint8_t*)0x42000026U) /**< (EVSYS) Channel 0 Interrupt Flag Status and Clear */
  119. #define REG_EVSYS_CHSTATUS0 (*(__I uint8_t*)0x42000027U) /**< (EVSYS) Channel 0 Status */
  120. #define REG_EVSYS_CHANNEL1 (*(__IO uint32_t*)0x42000021U) /**< (EVSYS) Channel 1 Control */
  121. #define REG_EVSYS_CHINTENCLR1 (*(__IO uint8_t*)0x42000025U) /**< (EVSYS) Channel 1 Interrupt Enable Clear */
  122. #define REG_EVSYS_CHINTENSET1 (*(__IO uint8_t*)0x42000026U) /**< (EVSYS) Channel 1 Interrupt Enable Set */
  123. #define REG_EVSYS_CHINTFLAG1 (*(__IO uint8_t*)0x42000027U) /**< (EVSYS) Channel 1 Interrupt Flag Status and Clear */
  124. #define REG_EVSYS_CHSTATUS1 (*(__I uint8_t*)0x42000028U) /**< (EVSYS) Channel 1 Status */
  125. #define REG_EVSYS_CHANNEL2 (*(__IO uint32_t*)0x42000022U) /**< (EVSYS) Channel 2 Control */
  126. #define REG_EVSYS_CHINTENCLR2 (*(__IO uint8_t*)0x42000026U) /**< (EVSYS) Channel 2 Interrupt Enable Clear */
  127. #define REG_EVSYS_CHINTENSET2 (*(__IO uint8_t*)0x42000027U) /**< (EVSYS) Channel 2 Interrupt Enable Set */
  128. #define REG_EVSYS_CHINTFLAG2 (*(__IO uint8_t*)0x42000028U) /**< (EVSYS) Channel 2 Interrupt Flag Status and Clear */
  129. #define REG_EVSYS_CHSTATUS2 (*(__I uint8_t*)0x42000029U) /**< (EVSYS) Channel 2 Status */
  130. #define REG_EVSYS_CHANNEL3 (*(__IO uint32_t*)0x42000023U) /**< (EVSYS) Channel 3 Control */
  131. #define REG_EVSYS_CHINTENCLR3 (*(__IO uint8_t*)0x42000027U) /**< (EVSYS) Channel 3 Interrupt Enable Clear */
  132. #define REG_EVSYS_CHINTENSET3 (*(__IO uint8_t*)0x42000028U) /**< (EVSYS) Channel 3 Interrupt Enable Set */
  133. #define REG_EVSYS_CHINTFLAG3 (*(__IO uint8_t*)0x42000029U) /**< (EVSYS) Channel 3 Interrupt Flag Status and Clear */
  134. #define REG_EVSYS_CHSTATUS3 (*(__I uint8_t*)0x4200002AU) /**< (EVSYS) Channel 3 Status */
  135. #define REG_EVSYS_CHANNEL4 (*(__IO uint32_t*)0x42000024U) /**< (EVSYS) Channel 4 Control */
  136. #define REG_EVSYS_CHINTENCLR4 (*(__IO uint8_t*)0x42000028U) /**< (EVSYS) Channel 4 Interrupt Enable Clear */
  137. #define REG_EVSYS_CHINTENSET4 (*(__IO uint8_t*)0x42000029U) /**< (EVSYS) Channel 4 Interrupt Enable Set */
  138. #define REG_EVSYS_CHINTFLAG4 (*(__IO uint8_t*)0x4200002AU) /**< (EVSYS) Channel 4 Interrupt Flag Status and Clear */
  139. #define REG_EVSYS_CHSTATUS4 (*(__I uint8_t*)0x4200002BU) /**< (EVSYS) Channel 4 Status */
  140. #define REG_EVSYS_CHANNEL5 (*(__IO uint32_t*)0x42000025U) /**< (EVSYS) Channel 5 Control */
  141. #define REG_EVSYS_CHINTENCLR5 (*(__IO uint8_t*)0x42000029U) /**< (EVSYS) Channel 5 Interrupt Enable Clear */
  142. #define REG_EVSYS_CHINTENSET5 (*(__IO uint8_t*)0x4200002AU) /**< (EVSYS) Channel 5 Interrupt Enable Set */
  143. #define REG_EVSYS_CHINTFLAG5 (*(__IO uint8_t*)0x4200002BU) /**< (EVSYS) Channel 5 Interrupt Flag Status and Clear */
  144. #define REG_EVSYS_CHSTATUS5 (*(__I uint8_t*)0x4200002CU) /**< (EVSYS) Channel 5 Status */
  145. #define REG_EVSYS_CHANNEL6 (*(__IO uint32_t*)0x42000026U) /**< (EVSYS) Channel 6 Control */
  146. #define REG_EVSYS_CHINTENCLR6 (*(__IO uint8_t*)0x4200002AU) /**< (EVSYS) Channel 6 Interrupt Enable Clear */
  147. #define REG_EVSYS_CHINTENSET6 (*(__IO uint8_t*)0x4200002BU) /**< (EVSYS) Channel 6 Interrupt Enable Set */
  148. #define REG_EVSYS_CHINTFLAG6 (*(__IO uint8_t*)0x4200002CU) /**< (EVSYS) Channel 6 Interrupt Flag Status and Clear */
  149. #define REG_EVSYS_CHSTATUS6 (*(__I uint8_t*)0x4200002DU) /**< (EVSYS) Channel 6 Status */
  150. #define REG_EVSYS_CHANNEL7 (*(__IO uint32_t*)0x42000027U) /**< (EVSYS) Channel 7 Control */
  151. #define REG_EVSYS_CHINTENCLR7 (*(__IO uint8_t*)0x4200002BU) /**< (EVSYS) Channel 7 Interrupt Enable Clear */
  152. #define REG_EVSYS_CHINTENSET7 (*(__IO uint8_t*)0x4200002CU) /**< (EVSYS) Channel 7 Interrupt Enable Set */
  153. #define REG_EVSYS_CHINTFLAG7 (*(__IO uint8_t*)0x4200002DU) /**< (EVSYS) Channel 7 Interrupt Flag Status and Clear */
  154. #define REG_EVSYS_CHSTATUS7 (*(__I uint8_t*)0x4200002EU) /**< (EVSYS) Channel 7 Status */
  155. #define REG_EVSYS_CTRLA (*(__O uint8_t*)0x42000000U) /**< (EVSYS) Control */
  156. #define REG_EVSYS_SWEVT (*(__O uint32_t*)0x42000004U) /**< (EVSYS) Software Event */
  157. #define REG_EVSYS_PRICTRL (*(__IO uint8_t*)0x42000008U) /**< (EVSYS) Priority Control */
  158. #define REG_EVSYS_INTPEND (*(__IO uint16_t*)0x42000010U) /**< (EVSYS) Channel Pending Interrupt */
  159. #define REG_EVSYS_INTSTATUS (*(__I uint32_t*)0x42000014U) /**< (EVSYS) Interrupt Status */
  160. #define REG_EVSYS_BUSYCH (*(__I uint32_t*)0x42000018U) /**< (EVSYS) Busy Channels */
  161. #define REG_EVSYS_READYUSR (*(__I uint32_t*)0x4200001CU) /**< (EVSYS) Ready Users */
  162. #define REG_EVSYS_USER (*(__IO uint8_t*)0x42000120U) /**< (EVSYS) User Multiplexer n */
  163. #define REG_EVSYS_USER0 (*(__IO uint8_t*)0x42000120U) /**< (EVSYS) User Multiplexer 0 */
  164. #define REG_EVSYS_USER1 (*(__IO uint8_t*)0x42000121U) /**< (EVSYS) User Multiplexer 1 */
  165. #define REG_EVSYS_USER2 (*(__IO uint8_t*)0x42000122U) /**< (EVSYS) User Multiplexer 2 */
  166. #define REG_EVSYS_USER3 (*(__IO uint8_t*)0x42000123U) /**< (EVSYS) User Multiplexer 3 */
  167. #define REG_EVSYS_USER4 (*(__IO uint8_t*)0x42000124U) /**< (EVSYS) User Multiplexer 4 */
  168. #define REG_EVSYS_USER5 (*(__IO uint8_t*)0x42000125U) /**< (EVSYS) User Multiplexer 5 */
  169. #define REG_EVSYS_USER6 (*(__IO uint8_t*)0x42000126U) /**< (EVSYS) User Multiplexer 6 */
  170. #define REG_EVSYS_USER7 (*(__IO uint8_t*)0x42000127U) /**< (EVSYS) User Multiplexer 7 */
  171. #define REG_EVSYS_USER8 (*(__IO uint8_t*)0x42000128U) /**< (EVSYS) User Multiplexer 8 */
  172. #define REG_EVSYS_USER9 (*(__IO uint8_t*)0x42000129U) /**< (EVSYS) User Multiplexer 9 */
  173. #define REG_EVSYS_USER10 (*(__IO uint8_t*)0x4200012AU) /**< (EVSYS) User Multiplexer 10 */
  174. #define REG_EVSYS_USER11 (*(__IO uint8_t*)0x4200012BU) /**< (EVSYS) User Multiplexer 11 */
  175. #define REG_EVSYS_USER12 (*(__IO uint8_t*)0x4200012CU) /**< (EVSYS) User Multiplexer 12 */
  176. #define REG_EVSYS_USER13 (*(__IO uint8_t*)0x4200012DU) /**< (EVSYS) User Multiplexer 13 */
  177. #define REG_EVSYS_USER14 (*(__IO uint8_t*)0x4200012EU) /**< (EVSYS) User Multiplexer 14 */
  178. #define REG_EVSYS_USER15 (*(__IO uint8_t*)0x4200012FU) /**< (EVSYS) User Multiplexer 15 */
  179. #define REG_EVSYS_USER16 (*(__IO uint8_t*)0x42000130U) /**< (EVSYS) User Multiplexer 16 */
  180. #define REG_EVSYS_USER17 (*(__IO uint8_t*)0x42000131U) /**< (EVSYS) User Multiplexer 17 */
  181. #define REG_EVSYS_USER18 (*(__IO uint8_t*)0x42000132U) /**< (EVSYS) User Multiplexer 18 */
  182. #define REG_EVSYS_USER19 (*(__IO uint8_t*)0x42000133U) /**< (EVSYS) User Multiplexer 19 */
  183. #define REG_EVSYS_USER20 (*(__IO uint8_t*)0x42000134U) /**< (EVSYS) User Multiplexer 20 */
  184. #define REG_EVSYS_USER21 (*(__IO uint8_t*)0x42000135U) /**< (EVSYS) User Multiplexer 21 */
  185. #define REG_EVSYS_USER22 (*(__IO uint8_t*)0x42000136U) /**< (EVSYS) User Multiplexer 22 */
  186. #define REG_EVSYS_INTENCLR (*(__IO uint8_t*)0x420001D4U) /**< (EVSYS) Interrupt Enable Clear */
  187. #define REG_EVSYS_INTENSET (*(__IO uint8_t*)0x420001D5U) /**< (EVSYS) Interrupt Enable Set */
  188. #define REG_EVSYS_INTFLAG (*(__IO uint8_t*)0x420001D6U) /**< (EVSYS) Interrupt Flag Status and Clear */
  189. #define REG_EVSYS_NONSECCHAN (*(__IO uint32_t*)0x420001D8U) /**< (EVSYS) Channels Security Attribution */
  190. #define REG_EVSYS_NSCHKCHAN (*(__IO uint32_t*)0x420001DCU) /**< (EVSYS) Non-Secure Channels Check */
  191. #define REG_EVSYS_NONSECUSER (*(__IO uint32_t*)0x420001E0U) /**< (EVSYS) Users Security Attribution */
  192. #define REG_EVSYS_NONSECUSER0 (*(__IO uint32_t*)0x420001E0U) /**< (EVSYS) Users Security Attribution 0 */
  193. #define REG_EVSYS_NSCHKUSER (*(__IO uint32_t*)0x420001F0U) /**< (EVSYS) Non-Secure Users Check */
  194. #define REG_EVSYS_NSCHKUSER0 (*(__IO uint32_t*)0x420001F0U) /**< (EVSYS) Non-Secure Users Check 0 */
  195. #endif /* (defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  196. /* ========== Instance Parameter definitions for EVSYS peripheral ========== */
  197. #define EVSYS_ASYNCHRONOUS_CHANNELS 0x000000F0 /* Mask of Only Asynchronous Channels */
  198. #define EVSYS_CHANNELS 8 /* Number of Channels */
  199. #define EVSYS_CHANNELS_BITS 3 /* Number of bits to select Channel */
  200. #define EVSYS_GCLK_ID_0 6 /* Index of Generic Clock 0 */
  201. #define EVSYS_GCLK_ID_1 7 /* Index of Generic Clock 1 */
  202. #define EVSYS_GCLK_ID_2 8 /* Index of Generic Clock 2 */
  203. #define EVSYS_GCLK_ID_3 9 /* Index of Generic Clock 3 */
  204. #define EVSYS_GENERATORS 49 /* Total Number of Event Generators */
  205. #define EVSYS_GENERATORS_BITS 6 /* Number of bits to select Event Generator */
  206. #define EVSYS_SECURE_IMPLEMENTED 1 /* Secure Channels/Users supported? */
  207. #define EVSYS_SYNCH_NUM 4 /* Number of Synchronous Channels */
  208. #define EVSYS_SYNCH_NUM_BITS 2 /* Number of bits to select Synchronous Channels */
  209. #define EVSYS_USERS 23 /* Total Number of Event Users */
  210. #define EVSYS_USERS_BITS 5 /* Number of bits to select Event User */
  211. #define EVSYS_USERS_GROUPS 1 /* Number of 32-user groups */
  212. #define EVSYS_INSTANCE_ID 64
  213. #endif /* _SAML11_EVSYS_INSTANCE_ */