1 /** 2 * \file 3 * 4 * \brief Instance description for EVSYS 5 * 6 * Copyright (c) 2016 Atmel Corporation, 7 * a wholly owned subsidiary of Microchip Technology Inc. 8 * 9 * \asf_license_start 10 * 11 * \page License 12 * 13 * Licensed under the Apache License, Version 2.0 (the "License"); 14 * you may not use this file except in compliance with the License. 15 * You may obtain a copy of the Licence at 16 * 17 * http://www.apache.org/licenses/LICENSE-2.0 18 * 19 * Unless required by applicable law or agreed to in writing, software 20 * distributed under the License is distributed on an "AS IS" BASIS, 21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 22 * See the License for the specific language governing permissions and 23 * limitations under the License. 24 * 25 * \asf_license_stop 26 * 27 */ 28 29 #ifndef _SAML21_EVSYS_INSTANCE_ 30 #define _SAML21_EVSYS_INSTANCE_ 31 32 /* ========== Register definition for EVSYS peripheral ========== */ 33 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 34 #define REG_EVSYS_CTRLA (0x43000000) /**< \brief (EVSYS) Control */ 35 #define REG_EVSYS_CHSTATUS (0x4300000C) /**< \brief (EVSYS) Channel Status */ 36 #define REG_EVSYS_INTENCLR (0x43000010) /**< \brief (EVSYS) Interrupt Enable Clear */ 37 #define REG_EVSYS_INTENSET (0x43000014) /**< \brief (EVSYS) Interrupt Enable Set */ 38 #define REG_EVSYS_INTFLAG (0x43000018) /**< \brief (EVSYS) Interrupt Flag Status and Clear */ 39 #define REG_EVSYS_SWEVT (0x4300001C) /**< \brief (EVSYS) Software Event */ 40 #define REG_EVSYS_CHANNEL0 (0x43000020) /**< \brief (EVSYS) Channel 0 */ 41 #define REG_EVSYS_CHANNEL1 (0x43000024) /**< \brief (EVSYS) Channel 1 */ 42 #define REG_EVSYS_CHANNEL2 (0x43000028) /**< \brief (EVSYS) Channel 2 */ 43 #define REG_EVSYS_CHANNEL3 (0x4300002C) /**< \brief (EVSYS) Channel 3 */ 44 #define REG_EVSYS_CHANNEL4 (0x43000030) /**< \brief (EVSYS) Channel 4 */ 45 #define REG_EVSYS_CHANNEL5 (0x43000034) /**< \brief (EVSYS) Channel 5 */ 46 #define REG_EVSYS_CHANNEL6 (0x43000038) /**< \brief (EVSYS) Channel 6 */ 47 #define REG_EVSYS_CHANNEL7 (0x4300003C) /**< \brief (EVSYS) Channel 7 */ 48 #define REG_EVSYS_CHANNEL8 (0x43000040) /**< \brief (EVSYS) Channel 8 */ 49 #define REG_EVSYS_CHANNEL9 (0x43000044) /**< \brief (EVSYS) Channel 9 */ 50 #define REG_EVSYS_CHANNEL10 (0x43000048) /**< \brief (EVSYS) Channel 10 */ 51 #define REG_EVSYS_CHANNEL11 (0x4300004C) /**< \brief (EVSYS) Channel 11 */ 52 #define REG_EVSYS_USER0 (0x43000080) /**< \brief (EVSYS) User Multiplexer 0 */ 53 #define REG_EVSYS_USER1 (0x43000084) /**< \brief (EVSYS) User Multiplexer 1 */ 54 #define REG_EVSYS_USER2 (0x43000088) /**< \brief (EVSYS) User Multiplexer 2 */ 55 #define REG_EVSYS_USER3 (0x4300008C) /**< \brief (EVSYS) User Multiplexer 3 */ 56 #define REG_EVSYS_USER4 (0x43000090) /**< \brief (EVSYS) User Multiplexer 4 */ 57 #define REG_EVSYS_USER5 (0x43000094) /**< \brief (EVSYS) User Multiplexer 5 */ 58 #define REG_EVSYS_USER6 (0x43000098) /**< \brief (EVSYS) User Multiplexer 6 */ 59 #define REG_EVSYS_USER7 (0x4300009C) /**< \brief (EVSYS) User Multiplexer 7 */ 60 #define REG_EVSYS_USER8 (0x430000A0) /**< \brief (EVSYS) User Multiplexer 8 */ 61 #define REG_EVSYS_USER9 (0x430000A4) /**< \brief (EVSYS) User Multiplexer 9 */ 62 #define REG_EVSYS_USER10 (0x430000A8) /**< \brief (EVSYS) User Multiplexer 10 */ 63 #define REG_EVSYS_USER11 (0x430000AC) /**< \brief (EVSYS) User Multiplexer 11 */ 64 #define REG_EVSYS_USER12 (0x430000B0) /**< \brief (EVSYS) User Multiplexer 12 */ 65 #define REG_EVSYS_USER13 (0x430000B4) /**< \brief (EVSYS) User Multiplexer 13 */ 66 #define REG_EVSYS_USER14 (0x430000B8) /**< \brief (EVSYS) User Multiplexer 14 */ 67 #define REG_EVSYS_USER15 (0x430000BC) /**< \brief (EVSYS) User Multiplexer 15 */ 68 #define REG_EVSYS_USER16 (0x430000C0) /**< \brief (EVSYS) User Multiplexer 16 */ 69 #define REG_EVSYS_USER17 (0x430000C4) /**< \brief (EVSYS) User Multiplexer 17 */ 70 #define REG_EVSYS_USER18 (0x430000C8) /**< \brief (EVSYS) User Multiplexer 18 */ 71 #define REG_EVSYS_USER19 (0x430000CC) /**< \brief (EVSYS) User Multiplexer 19 */ 72 #define REG_EVSYS_USER20 (0x430000D0) /**< \brief (EVSYS) User Multiplexer 20 */ 73 #define REG_EVSYS_USER21 (0x430000D4) /**< \brief (EVSYS) User Multiplexer 21 */ 74 #define REG_EVSYS_USER22 (0x430000D8) /**< \brief (EVSYS) User Multiplexer 22 */ 75 #define REG_EVSYS_USER23 (0x430000DC) /**< \brief (EVSYS) User Multiplexer 23 */ 76 #define REG_EVSYS_USER24 (0x430000E0) /**< \brief (EVSYS) User Multiplexer 24 */ 77 #define REG_EVSYS_USER25 (0x430000E4) /**< \brief (EVSYS) User Multiplexer 25 */ 78 #define REG_EVSYS_USER26 (0x430000E8) /**< \brief (EVSYS) User Multiplexer 26 */ 79 #define REG_EVSYS_USER27 (0x430000EC) /**< \brief (EVSYS) User Multiplexer 27 */ 80 #define REG_EVSYS_USER28 (0x430000F0) /**< \brief (EVSYS) User Multiplexer 28 */ 81 #define REG_EVSYS_USER29 (0x430000F4) /**< \brief (EVSYS) User Multiplexer 29 */ 82 #define REG_EVSYS_USER30 (0x430000F8) /**< \brief (EVSYS) User Multiplexer 30 */ 83 #define REG_EVSYS_USER31 (0x430000FC) /**< \brief (EVSYS) User Multiplexer 31 */ 84 #define REG_EVSYS_USER32 (0x43000100) /**< \brief (EVSYS) User Multiplexer 32 */ 85 #define REG_EVSYS_USER33 (0x43000104) /**< \brief (EVSYS) User Multiplexer 33 */ 86 #define REG_EVSYS_USER34 (0x43000108) /**< \brief (EVSYS) User Multiplexer 34 */ 87 #define REG_EVSYS_USER35 (0x4300010C) /**< \brief (EVSYS) User Multiplexer 35 */ 88 #define REG_EVSYS_USER36 (0x43000110) /**< \brief (EVSYS) User Multiplexer 36 */ 89 #define REG_EVSYS_USER37 (0x43000114) /**< \brief (EVSYS) User Multiplexer 37 */ 90 #define REG_EVSYS_USER38 (0x43000118) /**< \brief (EVSYS) User Multiplexer 38 */ 91 #define REG_EVSYS_USER39 (0x4300011C) /**< \brief (EVSYS) User Multiplexer 39 */ 92 #define REG_EVSYS_USER40 (0x43000120) /**< \brief (EVSYS) User Multiplexer 40 */ 93 #define REG_EVSYS_USER41 (0x43000124) /**< \brief (EVSYS) User Multiplexer 41 */ 94 #define REG_EVSYS_USER42 (0x43000128) /**< \brief (EVSYS) User Multiplexer 42 */ 95 #define REG_EVSYS_USER43 (0x4300012C) /**< \brief (EVSYS) User Multiplexer 43 */ 96 #define REG_EVSYS_USER44 (0x43000130) /**< \brief (EVSYS) User Multiplexer 44 */ 97 #else 98 #define REG_EVSYS_CTRLA (*(RwReg8 *)0x43000000UL) /**< \brief (EVSYS) Control */ 99 #define REG_EVSYS_CHSTATUS (*(RoReg *)0x4300000CUL) /**< \brief (EVSYS) Channel Status */ 100 #define REG_EVSYS_INTENCLR (*(RwReg *)0x43000010UL) /**< \brief (EVSYS) Interrupt Enable Clear */ 101 #define REG_EVSYS_INTENSET (*(RwReg *)0x43000014UL) /**< \brief (EVSYS) Interrupt Enable Set */ 102 #define REG_EVSYS_INTFLAG (*(RwReg *)0x43000018UL) /**< \brief (EVSYS) Interrupt Flag Status and Clear */ 103 #define REG_EVSYS_SWEVT (*(WoReg *)0x4300001CUL) /**< \brief (EVSYS) Software Event */ 104 #define REG_EVSYS_CHANNEL0 (*(RwReg *)0x43000020UL) /**< \brief (EVSYS) Channel 0 */ 105 #define REG_EVSYS_CHANNEL1 (*(RwReg *)0x43000024UL) /**< \brief (EVSYS) Channel 1 */ 106 #define REG_EVSYS_CHANNEL2 (*(RwReg *)0x43000028UL) /**< \brief (EVSYS) Channel 2 */ 107 #define REG_EVSYS_CHANNEL3 (*(RwReg *)0x4300002CUL) /**< \brief (EVSYS) Channel 3 */ 108 #define REG_EVSYS_CHANNEL4 (*(RwReg *)0x43000030UL) /**< \brief (EVSYS) Channel 4 */ 109 #define REG_EVSYS_CHANNEL5 (*(RwReg *)0x43000034UL) /**< \brief (EVSYS) Channel 5 */ 110 #define REG_EVSYS_CHANNEL6 (*(RwReg *)0x43000038UL) /**< \brief (EVSYS) Channel 6 */ 111 #define REG_EVSYS_CHANNEL7 (*(RwReg *)0x4300003CUL) /**< \brief (EVSYS) Channel 7 */ 112 #define REG_EVSYS_CHANNEL8 (*(RwReg *)0x43000040UL) /**< \brief (EVSYS) Channel 8 */ 113 #define REG_EVSYS_CHANNEL9 (*(RwReg *)0x43000044UL) /**< \brief (EVSYS) Channel 9 */ 114 #define REG_EVSYS_CHANNEL10 (*(RwReg *)0x43000048UL) /**< \brief (EVSYS) Channel 10 */ 115 #define REG_EVSYS_CHANNEL11 (*(RwReg *)0x4300004CUL) /**< \brief (EVSYS) Channel 11 */ 116 #define REG_EVSYS_USER0 (*(RwReg *)0x43000080UL) /**< \brief (EVSYS) User Multiplexer 0 */ 117 #define REG_EVSYS_USER1 (*(RwReg *)0x43000084UL) /**< \brief (EVSYS) User Multiplexer 1 */ 118 #define REG_EVSYS_USER2 (*(RwReg *)0x43000088UL) /**< \brief (EVSYS) User Multiplexer 2 */ 119 #define REG_EVSYS_USER3 (*(RwReg *)0x4300008CUL) /**< \brief (EVSYS) User Multiplexer 3 */ 120 #define REG_EVSYS_USER4 (*(RwReg *)0x43000090UL) /**< \brief (EVSYS) User Multiplexer 4 */ 121 #define REG_EVSYS_USER5 (*(RwReg *)0x43000094UL) /**< \brief (EVSYS) User Multiplexer 5 */ 122 #define REG_EVSYS_USER6 (*(RwReg *)0x43000098UL) /**< \brief (EVSYS) User Multiplexer 6 */ 123 #define REG_EVSYS_USER7 (*(RwReg *)0x4300009CUL) /**< \brief (EVSYS) User Multiplexer 7 */ 124 #define REG_EVSYS_USER8 (*(RwReg *)0x430000A0UL) /**< \brief (EVSYS) User Multiplexer 8 */ 125 #define REG_EVSYS_USER9 (*(RwReg *)0x430000A4UL) /**< \brief (EVSYS) User Multiplexer 9 */ 126 #define REG_EVSYS_USER10 (*(RwReg *)0x430000A8UL) /**< \brief (EVSYS) User Multiplexer 10 */ 127 #define REG_EVSYS_USER11 (*(RwReg *)0x430000ACUL) /**< \brief (EVSYS) User Multiplexer 11 */ 128 #define REG_EVSYS_USER12 (*(RwReg *)0x430000B0UL) /**< \brief (EVSYS) User Multiplexer 12 */ 129 #define REG_EVSYS_USER13 (*(RwReg *)0x430000B4UL) /**< \brief (EVSYS) User Multiplexer 13 */ 130 #define REG_EVSYS_USER14 (*(RwReg *)0x430000B8UL) /**< \brief (EVSYS) User Multiplexer 14 */ 131 #define REG_EVSYS_USER15 (*(RwReg *)0x430000BCUL) /**< \brief (EVSYS) User Multiplexer 15 */ 132 #define REG_EVSYS_USER16 (*(RwReg *)0x430000C0UL) /**< \brief (EVSYS) User Multiplexer 16 */ 133 #define REG_EVSYS_USER17 (*(RwReg *)0x430000C4UL) /**< \brief (EVSYS) User Multiplexer 17 */ 134 #define REG_EVSYS_USER18 (*(RwReg *)0x430000C8UL) /**< \brief (EVSYS) User Multiplexer 18 */ 135 #define REG_EVSYS_USER19 (*(RwReg *)0x430000CCUL) /**< \brief (EVSYS) User Multiplexer 19 */ 136 #define REG_EVSYS_USER20 (*(RwReg *)0x430000D0UL) /**< \brief (EVSYS) User Multiplexer 20 */ 137 #define REG_EVSYS_USER21 (*(RwReg *)0x430000D4UL) /**< \brief (EVSYS) User Multiplexer 21 */ 138 #define REG_EVSYS_USER22 (*(RwReg *)0x430000D8UL) /**< \brief (EVSYS) User Multiplexer 22 */ 139 #define REG_EVSYS_USER23 (*(RwReg *)0x430000DCUL) /**< \brief (EVSYS) User Multiplexer 23 */ 140 #define REG_EVSYS_USER24 (*(RwReg *)0x430000E0UL) /**< \brief (EVSYS) User Multiplexer 24 */ 141 #define REG_EVSYS_USER25 (*(RwReg *)0x430000E4UL) /**< \brief (EVSYS) User Multiplexer 25 */ 142 #define REG_EVSYS_USER26 (*(RwReg *)0x430000E8UL) /**< \brief (EVSYS) User Multiplexer 26 */ 143 #define REG_EVSYS_USER27 (*(RwReg *)0x430000ECUL) /**< \brief (EVSYS) User Multiplexer 27 */ 144 #define REG_EVSYS_USER28 (*(RwReg *)0x430000F0UL) /**< \brief (EVSYS) User Multiplexer 28 */ 145 #define REG_EVSYS_USER29 (*(RwReg *)0x430000F4UL) /**< \brief (EVSYS) User Multiplexer 29 */ 146 #define REG_EVSYS_USER30 (*(RwReg *)0x430000F8UL) /**< \brief (EVSYS) User Multiplexer 30 */ 147 #define REG_EVSYS_USER31 (*(RwReg *)0x430000FCUL) /**< \brief (EVSYS) User Multiplexer 31 */ 148 #define REG_EVSYS_USER32 (*(RwReg *)0x43000100UL) /**< \brief (EVSYS) User Multiplexer 32 */ 149 #define REG_EVSYS_USER33 (*(RwReg *)0x43000104UL) /**< \brief (EVSYS) User Multiplexer 33 */ 150 #define REG_EVSYS_USER34 (*(RwReg *)0x43000108UL) /**< \brief (EVSYS) User Multiplexer 34 */ 151 #define REG_EVSYS_USER35 (*(RwReg *)0x4300010CUL) /**< \brief (EVSYS) User Multiplexer 35 */ 152 #define REG_EVSYS_USER36 (*(RwReg *)0x43000110UL) /**< \brief (EVSYS) User Multiplexer 36 */ 153 #define REG_EVSYS_USER37 (*(RwReg *)0x43000114UL) /**< \brief (EVSYS) User Multiplexer 37 */ 154 #define REG_EVSYS_USER38 (*(RwReg *)0x43000118UL) /**< \brief (EVSYS) User Multiplexer 38 */ 155 #define REG_EVSYS_USER39 (*(RwReg *)0x4300011CUL) /**< \brief (EVSYS) User Multiplexer 39 */ 156 #define REG_EVSYS_USER40 (*(RwReg *)0x43000120UL) /**< \brief (EVSYS) User Multiplexer 40 */ 157 #define REG_EVSYS_USER41 (*(RwReg *)0x43000124UL) /**< \brief (EVSYS) User Multiplexer 41 */ 158 #define REG_EVSYS_USER42 (*(RwReg *)0x43000128UL) /**< \brief (EVSYS) User Multiplexer 42 */ 159 #define REG_EVSYS_USER43 (*(RwReg *)0x4300012CUL) /**< \brief (EVSYS) User Multiplexer 43 */ 160 #define REG_EVSYS_USER44 (*(RwReg *)0x43000130UL) /**< \brief (EVSYS) User Multiplexer 44 */ 161 #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */ 162 163 /* ========== Instance parameters for EVSYS peripheral ========== */ 164 #define EVSYS_CHANNELS 12 // Number of Channels 165 #define EVSYS_CHANNELS_BITS 4 // Number of bits to select Channel 166 #define EVSYS_CHANNELS_MSB 11 // Number of Channels - 1 167 #define EVSYS_EXTEVT_NUM 0 // Number of External Event Generators 168 #define EVSYS_GCLK_ID_0 5 169 #define EVSYS_GCLK_ID_1 6 170 #define EVSYS_GCLK_ID_2 7 171 #define EVSYS_GCLK_ID_3 8 172 #define EVSYS_GCLK_ID_4 9 173 #define EVSYS_GCLK_ID_5 10 174 #define EVSYS_GCLK_ID_6 11 175 #define EVSYS_GCLK_ID_7 12 176 #define EVSYS_GCLK_ID_8 13 177 #define EVSYS_GCLK_ID_9 14 178 #define EVSYS_GCLK_ID_10 15 179 #define EVSYS_GCLK_ID_11 16 180 #define EVSYS_GCLK_ID_LSB 5 181 #define EVSYS_GCLK_ID_MSB 16 182 #define EVSYS_GCLK_ID_SIZE 12 183 #define EVSYS_GENERATORS 83 // Total Number of Event Generators 184 #define EVSYS_GENERATORS_BITS 7 // Number of bits to select Event Generator 185 #define EVSYS_USERS 45 // Total Number of Event Users 186 #define EVSYS_USERS_BITS 6 // Number of bits to select Event User 187 188 // GENERATORS 189 #define EVSYS_ID_GEN_RTC_CMP_0 1 190 #define EVSYS_ID_GEN_RTC_CMP_1 2 191 #define EVSYS_ID_GEN_RTC_OVF 3 192 #define EVSYS_ID_GEN_RTC_PER_0 4 193 #define EVSYS_ID_GEN_RTC_PER_1 5 194 #define EVSYS_ID_GEN_RTC_PER_2 6 195 #define EVSYS_ID_GEN_RTC_PER_3 7 196 #define EVSYS_ID_GEN_RTC_PER_4 8 197 #define EVSYS_ID_GEN_RTC_PER_5 9 198 #define EVSYS_ID_GEN_RTC_PER_6 10 199 #define EVSYS_ID_GEN_RTC_PER_7 11 200 #define EVSYS_ID_GEN_EIC_EXTINT_0 12 201 #define EVSYS_ID_GEN_EIC_EXTINT_1 13 202 #define EVSYS_ID_GEN_EIC_EXTINT_2 14 203 #define EVSYS_ID_GEN_EIC_EXTINT_3 15 204 #define EVSYS_ID_GEN_EIC_EXTINT_4 16 205 #define EVSYS_ID_GEN_EIC_EXTINT_5 17 206 #define EVSYS_ID_GEN_EIC_EXTINT_6 18 207 #define EVSYS_ID_GEN_EIC_EXTINT_7 19 208 #define EVSYS_ID_GEN_EIC_EXTINT_8 20 209 #define EVSYS_ID_GEN_EIC_EXTINT_9 21 210 #define EVSYS_ID_GEN_EIC_EXTINT_10 22 211 #define EVSYS_ID_GEN_EIC_EXTINT_11 23 212 #define EVSYS_ID_GEN_EIC_EXTINT_12 24 213 #define EVSYS_ID_GEN_EIC_EXTINT_13 25 214 #define EVSYS_ID_GEN_EIC_EXTINT_14 26 215 #define EVSYS_ID_GEN_EIC_EXTINT_15 27 216 #define EVSYS_ID_GEN_DMAC_CH_0 28 217 #define EVSYS_ID_GEN_DMAC_CH_1 29 218 #define EVSYS_ID_GEN_DMAC_CH_2 30 219 #define EVSYS_ID_GEN_DMAC_CH_3 31 220 #define EVSYS_ID_GEN_DMAC_CH_4 32 221 #define EVSYS_ID_GEN_DMAC_CH_5 33 222 #define EVSYS_ID_GEN_DMAC_CH_6 34 223 #define EVSYS_ID_GEN_DMAC_CH_7 35 224 #define EVSYS_ID_GEN_TCC0_OVF 36 225 #define EVSYS_ID_GEN_TCC0_TRG 37 226 #define EVSYS_ID_GEN_TCC0_CNT 38 227 #define EVSYS_ID_GEN_TCC0_MCX_0 39 228 #define EVSYS_ID_GEN_TCC0_MCX_1 40 229 #define EVSYS_ID_GEN_TCC0_MCX_2 41 230 #define EVSYS_ID_GEN_TCC0_MCX_3 42 231 #define EVSYS_ID_GEN_TCC1_OVF 43 232 #define EVSYS_ID_GEN_TCC1_TRG 44 233 #define EVSYS_ID_GEN_TCC1_CNT 45 234 #define EVSYS_ID_GEN_TCC1_MCX_0 46 235 #define EVSYS_ID_GEN_TCC1_MCX_1 47 236 #define EVSYS_ID_GEN_TCC2_OVF 48 237 #define EVSYS_ID_GEN_TCC2_TRG 49 238 #define EVSYS_ID_GEN_TCC2_CNT 50 239 #define EVSYS_ID_GEN_TCC2_MCX_0 51 240 #define EVSYS_ID_GEN_TCC2_MCX_1 52 241 #define EVSYS_ID_GEN_TC0_OVF 53 242 #define EVSYS_ID_GEN_TC0_MCX_0 54 243 #define EVSYS_ID_GEN_TC0_MCX_1 55 244 #define EVSYS_ID_GEN_TC1_OVF 56 245 #define EVSYS_ID_GEN_TC1_MCX_0 57 246 #define EVSYS_ID_GEN_TC1_MCX_1 58 247 #define EVSYS_ID_GEN_TC2_OVF 59 248 #define EVSYS_ID_GEN_TC2_MCX_0 60 249 #define EVSYS_ID_GEN_TC2_MCX_1 61 250 #define EVSYS_ID_GEN_TC3_OVF 62 251 #define EVSYS_ID_GEN_TC3_MCX_0 63 252 #define EVSYS_ID_GEN_TC3_MCX_1 64 253 #define EVSYS_ID_GEN_TC4_OVF 65 254 #define EVSYS_ID_GEN_TC4_MCX_0 66 255 #define EVSYS_ID_GEN_TC4_MCX_1 67 256 #define EVSYS_ID_GEN_ADC_RESRDY 68 257 #define EVSYS_ID_GEN_ADC_WINMON 69 258 #define EVSYS_ID_GEN_AC_COMP_0 70 259 #define EVSYS_ID_GEN_AC_COMP_1 71 260 #define EVSYS_ID_GEN_AC_WIN_0 72 261 #define EVSYS_ID_GEN_DAC_EMPTY_0 73 262 #define EVSYS_ID_GEN_DAC_EMPTY_1 74 263 #define EVSYS_ID_GEN_TRNG_READY 77 264 #define EVSYS_ID_GEN_CCL_LUTOUT_0 78 265 #define EVSYS_ID_GEN_CCL_LUTOUT_1 79 266 #define EVSYS_ID_GEN_CCL_LUTOUT_2 80 267 #define EVSYS_ID_GEN_CCL_LUTOUT_3 81 268 #define EVSYS_ID_GEN_PAC_ACCERR 82 269 #define EVSYS_ID_GEN_TAL_BRK 83 270 271 // USERS 272 #define EVSYS_ID_USER_PORT_EV_0 0 273 #define EVSYS_ID_USER_PORT_EV_1 1 274 #define EVSYS_ID_USER_PORT_EV_2 2 275 #define EVSYS_ID_USER_PORT_EV_3 3 276 #define EVSYS_ID_USER_DMAC_CH_0 4 277 #define EVSYS_ID_USER_DMAC_CH_1 5 278 #define EVSYS_ID_USER_DMAC_CH_2 6 279 #define EVSYS_ID_USER_DMAC_CH_3 7 280 #define EVSYS_ID_USER_DMAC_CH_4 8 281 #define EVSYS_ID_USER_DMAC_CH_5 9 282 #define EVSYS_ID_USER_DMAC_CH_6 10 283 #define EVSYS_ID_USER_DMAC_CH_7 11 284 #define EVSYS_ID_USER_TCC0_EV_0 12 285 #define EVSYS_ID_USER_TCC0_EV_1 13 286 #define EVSYS_ID_USER_TCC0_MC_0 14 287 #define EVSYS_ID_USER_TCC0_MC_1 15 288 #define EVSYS_ID_USER_TCC0_MC_2 16 289 #define EVSYS_ID_USER_TCC0_MC_3 17 290 #define EVSYS_ID_USER_TCC1_EV_0 18 291 #define EVSYS_ID_USER_TCC1_EV_1 19 292 #define EVSYS_ID_USER_TCC1_MC_0 20 293 #define EVSYS_ID_USER_TCC1_MC_1 21 294 #define EVSYS_ID_USER_TCC2_EV_0 22 295 #define EVSYS_ID_USER_TCC2_EV_1 23 296 #define EVSYS_ID_USER_TCC2_MC_0 24 297 #define EVSYS_ID_USER_TCC2_MC_1 25 298 #define EVSYS_ID_USER_TC0_EVU 26 299 #define EVSYS_ID_USER_TC1_EVU 27 300 #define EVSYS_ID_USER_TC2_EVU 28 301 #define EVSYS_ID_USER_TC3_EVU 29 302 #define EVSYS_ID_USER_TC4_EVU 30 303 #define EVSYS_ID_USER_ADC_START 31 304 #define EVSYS_ID_USER_ADC_SYNC 32 305 #define EVSYS_ID_USER_AC_SOC_0 33 306 #define EVSYS_ID_USER_AC_SOC_1 34 307 #define EVSYS_ID_USER_DAC_START_0 35 308 #define EVSYS_ID_USER_DAC_START_1 36 309 #define EVSYS_ID_USER_CCL_LUTIN_0 38 310 #define EVSYS_ID_USER_CCL_LUTIN_1 39 311 #define EVSYS_ID_USER_CCL_LUTIN_2 40 312 #define EVSYS_ID_USER_CCL_LUTIN_3 41 313 #define EVSYS_ID_USER_TAL_BRK 42 314 #define EVSYS_ID_USER_MTB_START 43 315 #define EVSYS_ID_USER_MTB_STOP 44 316 317 #endif /* _SAML21_EVSYS_INSTANCE_ */ 318