1 /* Auto-generated config file hpl_eic_config.h */ 2 #ifndef HPL_EIC_CONFIG_H 3 #define HPL_EIC_CONFIG_H 4 5 // <<< Use Configuration Wizard in Context Menu >>> 6 7 // <h> Basic Settings 8 // <o> Clock Selection 9 // <i> Indicates which clock used, The EIC can be clocked either by GCLK_EIC when higher frequency than 32KHz is required for filtering or 10 // <i> either by CLK_ULP32K when power consumption is the priority. 11 // <0x0=> Clocked by GCLK 12 // <0x1=> Clocked by ULPOSC32K 13 // <id> eic_arch_cksel 14 #ifndef CONF_EIC_CKSEL 15 #define CONF_EIC_CKSEL 0 16 #endif 17 18 // </h> 19 20 // <e> Non-Maskable Interrupt Control 21 // <id> eic_arch_nmi_ctrl 22 #ifndef CONF_EIC_ENABLE_NMI_CTRL 23 #define CONF_EIC_ENABLE_NMI_CTRL 0 24 #endif 25 26 // <q> Non-Maskable Interrupt Filter Enable 27 // <i> Indicates whether the mon-maskable interrupt filter is enabled or not 28 // <id> eic_arch_nmifilten 29 #ifndef CONF_EIC_NMIFILTEN 30 #define CONF_EIC_NMIFILTEN 0 31 #endif 32 33 // <y> Non-Maskable Interrupt Sense 34 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 35 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 36 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 37 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 38 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 39 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 40 // <i> This defines non-maskable interrupt sense 41 // <id> eic_arch_nmisense 42 #ifndef CONF_EIC_NMISENSE 43 #define CONF_EIC_NMISENSE EIC_NMICTRL_NMISENSE_NONE_Val 44 #endif 45 46 // <q> Asynchronous Edge Detection Mode 47 // <i> Indicates the interrupt detection mode operated synchronously or asynchronousl 48 // <id> eic_arch_nmiasynch 49 #ifndef CONF_EIC_NMIASYNCH 50 #define CONF_EIC_NMIASYNCH 0 51 #endif 52 // </e> 53 54 // <e> Interrupt 0 Settings 55 // <id> eic_arch_enable_irq_setting0 56 #ifndef CONF_EIC_ENABLE_IRQ_SETTING0 57 #define CONF_EIC_ENABLE_IRQ_SETTING0 1 58 #endif 59 60 // <q> External Interrupt 0 Filter Enable 61 // <i> Indicates whether the external interrupt 0 filter is enabled or not 62 // <id> eic_arch_filten0 63 #ifndef CONF_EIC_FILTEN0 64 #define CONF_EIC_FILTEN0 0 65 #endif 66 67 // <q> External Interrupt 0 Event Output Enable 68 // <i> Indicates whether the external interrupt 0 event output is enabled or not 69 // <id> eic_arch_extinteo0 70 #ifndef CONF_EIC_EXTINTEO0 71 #define CONF_EIC_EXTINTEO0 0 72 #endif 73 74 // <y> Input 0 Sense Configuration 75 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 76 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 77 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 78 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 79 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 80 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 81 // <i> This defines input sense trigger 82 // <id> eic_arch_sense0 83 #ifndef CONF_EIC_SENSE0 84 #define CONF_EIC_SENSE0 EIC_NMICTRL_NMISENSE_RISE_Val 85 #endif 86 87 // <q> External Interrupt 0 Asynchronous Edge Detection Mode 88 // <i> Indicates the external interrupt 0 detection mode operated synchronously or asynchronousl 89 // <id> eic_arch_asynch0 90 #ifndef CONF_EIC_ASYNCH0 91 #define CONF_EIC_ASYNCH0 1 92 #endif 93 94 // </e> 95 96 // <e> Interrupt 1 Settings 97 // <id> eic_arch_enable_irq_setting1 98 #ifndef CONF_EIC_ENABLE_IRQ_SETTING1 99 #define CONF_EIC_ENABLE_IRQ_SETTING1 1 100 #endif 101 102 // <q> External Interrupt 1 Filter Enable 103 // <i> Indicates whether the external interrupt 1 filter is enabled or not 104 // <id> eic_arch_filten1 105 #ifndef CONF_EIC_FILTEN1 106 #define CONF_EIC_FILTEN1 0 107 #endif 108 109 // <q> External Interrupt 1 Event Output Enable 110 // <i> Indicates whether the external interrupt 1 event output is enabled or not 111 // <id> eic_arch_extinteo1 112 #ifndef CONF_EIC_EXTINTEO1 113 #define CONF_EIC_EXTINTEO1 0 114 #endif 115 116 // <y> Input 1 Sense Configuration 117 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 118 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 119 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 120 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 121 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 122 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 123 // <i> This defines input sense trigger 124 // <id> eic_arch_sense1 125 #ifndef CONF_EIC_SENSE1 126 #define CONF_EIC_SENSE1 EIC_NMICTRL_NMISENSE_RISE_Val 127 #endif 128 129 // <q> External Interrupt 1 Asynchronous Edge Detection Mode 130 // <i> Indicates the external interrupt 1 detection mode operated synchronously or asynchronousl 131 // <id> eic_arch_asynch1 132 #ifndef CONF_EIC_ASYNCH1 133 #define CONF_EIC_ASYNCH1 1 134 #endif 135 136 // </e> 137 138 // <e> Interrupt 2 Settings 139 // <id> eic_arch_enable_irq_setting2 140 #ifndef CONF_EIC_ENABLE_IRQ_SETTING2 141 #define CONF_EIC_ENABLE_IRQ_SETTING2 0 142 #endif 143 144 // <q> External Interrupt 2 Filter Enable 145 // <i> Indicates whether the external interrupt 2 filter is enabled or not 146 // <id> eic_arch_filten2 147 #ifndef CONF_EIC_FILTEN2 148 #define CONF_EIC_FILTEN2 0 149 #endif 150 151 // <q> External Interrupt 2 Event Output Enable 152 // <i> Indicates whether the external interrupt 2 event output is enabled or not 153 // <id> eic_arch_extinteo2 154 #ifndef CONF_EIC_EXTINTEO2 155 #define CONF_EIC_EXTINTEO2 0 156 #endif 157 158 // <y> Input 2 Sense Configuration 159 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 160 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 161 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 162 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 163 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 164 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 165 // <i> This defines input sense trigger 166 // <id> eic_arch_sense2 167 #ifndef CONF_EIC_SENSE2 168 #define CONF_EIC_SENSE2 EIC_NMICTRL_NMISENSE_NONE_Val 169 #endif 170 171 // <q> External Interrupt 2 Asynchronous Edge Detection Mode 172 // <i> Indicates the external interrupt 2 detection mode operated synchronously or asynchronousl 173 // <id> eic_arch_asynch2 174 #ifndef CONF_EIC_ASYNCH2 175 #define CONF_EIC_ASYNCH2 0 176 #endif 177 178 // </e> 179 180 // <e> Interrupt 3 Settings 181 // <id> eic_arch_enable_irq_setting3 182 #ifndef CONF_EIC_ENABLE_IRQ_SETTING3 183 #define CONF_EIC_ENABLE_IRQ_SETTING3 0 184 #endif 185 186 // <q> External Interrupt 3 Filter Enable 187 // <i> Indicates whether the external interrupt 3 filter is enabled or not 188 // <id> eic_arch_filten3 189 #ifndef CONF_EIC_FILTEN3 190 #define CONF_EIC_FILTEN3 0 191 #endif 192 193 // <q> External Interrupt 3 Event Output Enable 194 // <i> Indicates whether the external interrupt 3 event output is enabled or not 195 // <id> eic_arch_extinteo3 196 #ifndef CONF_EIC_EXTINTEO3 197 #define CONF_EIC_EXTINTEO3 0 198 #endif 199 200 // <y> Input 3 Sense Configuration 201 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 202 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 203 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 204 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 205 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 206 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 207 // <i> This defines input sense trigger 208 // <id> eic_arch_sense3 209 #ifndef CONF_EIC_SENSE3 210 #define CONF_EIC_SENSE3 EIC_NMICTRL_NMISENSE_NONE_Val 211 #endif 212 213 // <q> External Interrupt 3 Asynchronous Edge Detection Mode 214 // <i> Indicates the external interrupt 3 detection mode operated synchronously or asynchronousl 215 // <id> eic_arch_asynch3 216 #ifndef CONF_EIC_ASYNCH3 217 #define CONF_EIC_ASYNCH3 0 218 #endif 219 220 // </e> 221 222 // <e> Interrupt 4 Settings 223 // <id> eic_arch_enable_irq_setting4 224 #ifndef CONF_EIC_ENABLE_IRQ_SETTING4 225 #define CONF_EIC_ENABLE_IRQ_SETTING4 0 226 #endif 227 228 // <q> External Interrupt 4 Filter Enable 229 // <i> Indicates whether the external interrupt 4 filter is enabled or not 230 // <id> eic_arch_filten4 231 #ifndef CONF_EIC_FILTEN4 232 #define CONF_EIC_FILTEN4 0 233 #endif 234 235 // <q> External Interrupt 4 Event Output Enable 236 // <i> Indicates whether the external interrupt 4 event output is enabled or not 237 // <id> eic_arch_extinteo4 238 #ifndef CONF_EIC_EXTINTEO4 239 #define CONF_EIC_EXTINTEO4 0 240 #endif 241 242 // <y> Input 4 Sense Configuration 243 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 244 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 245 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 246 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 247 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 248 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 249 // <i> This defines input sense trigger 250 // <id> eic_arch_sense4 251 #ifndef CONF_EIC_SENSE4 252 #define CONF_EIC_SENSE4 EIC_NMICTRL_NMISENSE_NONE_Val 253 #endif 254 255 // <q> External Interrupt 4 Asynchronous Edge Detection Mode 256 // <i> Indicates the external interrupt 4 detection mode operated synchronously or asynchronousl 257 // <id> eic_arch_asynch4 258 #ifndef CONF_EIC_ASYNCH4 259 #define CONF_EIC_ASYNCH4 0 260 #endif 261 262 // </e> 263 264 // <e> Interrupt 5 Settings 265 // <id> eic_arch_enable_irq_setting5 266 #ifndef CONF_EIC_ENABLE_IRQ_SETTING5 267 #define CONF_EIC_ENABLE_IRQ_SETTING5 0 268 #endif 269 270 // <q> External Interrupt 5 Filter Enable 271 // <i> Indicates whether the external interrupt 5 filter is enabled or not 272 // <id> eic_arch_filten5 273 #ifndef CONF_EIC_FILTEN5 274 #define CONF_EIC_FILTEN5 0 275 #endif 276 277 // <q> External Interrupt 5 Event Output Enable 278 // <i> Indicates whether the external interrupt 5 event output is enabled or not 279 // <id> eic_arch_extinteo5 280 #ifndef CONF_EIC_EXTINTEO5 281 #define CONF_EIC_EXTINTEO5 0 282 #endif 283 284 // <y> Input 5 Sense Configuration 285 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 286 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 287 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 288 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 289 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 290 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 291 // <i> This defines input sense trigger 292 // <id> eic_arch_sense5 293 #ifndef CONF_EIC_SENSE5 294 #define CONF_EIC_SENSE5 EIC_NMICTRL_NMISENSE_NONE_Val 295 #endif 296 297 // <q> External Interrupt 5 Asynchronous Edge Detection Mode 298 // <i> Indicates the external interrupt 5 detection mode operated synchronously or asynchronousl 299 // <id> eic_arch_asynch5 300 #ifndef CONF_EIC_ASYNCH5 301 #define CONF_EIC_ASYNCH5 0 302 #endif 303 304 // </e> 305 306 // <e> Interrupt 6 Settings 307 // <id> eic_arch_enable_irq_setting6 308 #ifndef CONF_EIC_ENABLE_IRQ_SETTING6 309 #define CONF_EIC_ENABLE_IRQ_SETTING6 0 310 #endif 311 312 // <q> External Interrupt 6 Filter Enable 313 // <i> Indicates whether the external interrupt 6 filter is enabled or not 314 // <id> eic_arch_filten6 315 #ifndef CONF_EIC_FILTEN6 316 #define CONF_EIC_FILTEN6 0 317 #endif 318 319 // <q> External Interrupt 6 Event Output Enable 320 // <i> Indicates whether the external interrupt 6 event output is enabled or not 321 // <id> eic_arch_extinteo6 322 #ifndef CONF_EIC_EXTINTEO6 323 #define CONF_EIC_EXTINTEO6 0 324 #endif 325 326 // <y> Input 6 Sense Configuration 327 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 328 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 329 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 330 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 331 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 332 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 333 // <i> This defines input sense trigger 334 // <id> eic_arch_sense6 335 #ifndef CONF_EIC_SENSE6 336 #define CONF_EIC_SENSE6 EIC_NMICTRL_NMISENSE_NONE_Val 337 #endif 338 339 // <q> External Interrupt 6 Asynchronous Edge Detection Mode 340 // <i> Indicates the external interrupt 6 detection mode operated synchronously or asynchronousl 341 // <id> eic_arch_asynch6 342 #ifndef CONF_EIC_ASYNCH6 343 #define CONF_EIC_ASYNCH6 0 344 #endif 345 346 // </e> 347 348 // <e> Interrupt 7 Settings 349 // <id> eic_arch_enable_irq_setting7 350 #ifndef CONF_EIC_ENABLE_IRQ_SETTING7 351 #define CONF_EIC_ENABLE_IRQ_SETTING7 0 352 #endif 353 354 // <q> External Interrupt 7 Filter Enable 355 // <i> Indicates whether the external interrupt 7 filter is enabled or not 356 // <id> eic_arch_filten7 357 #ifndef CONF_EIC_FILTEN7 358 #define CONF_EIC_FILTEN7 0 359 #endif 360 361 // <q> External Interrupt 7 Event Output Enable 362 // <i> Indicates whether the external interrupt 7 event output is enabled or not 363 // <id> eic_arch_extinteo7 364 #ifndef CONF_EIC_EXTINTEO7 365 #define CONF_EIC_EXTINTEO7 0 366 #endif 367 368 // <y> Input 7 Sense Configuration 369 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 370 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 371 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 372 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 373 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 374 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 375 // <i> This defines input sense trigger 376 // <id> eic_arch_sense7 377 #ifndef CONF_EIC_SENSE7 378 #define CONF_EIC_SENSE7 EIC_NMICTRL_NMISENSE_NONE_Val 379 #endif 380 381 // <q> External Interrupt 7 Asynchronous Edge Detection Mode 382 // <i> Indicates the external interrupt 7 detection mode operated synchronously or asynchronousl 383 // <id> eic_arch_asynch7 384 #ifndef CONF_EIC_ASYNCH7 385 #define CONF_EIC_ASYNCH7 0 386 #endif 387 388 // </e> 389 390 // <e> Interrupt 8 Settings 391 // <id> eic_arch_enable_irq_setting8 392 #ifndef CONF_EIC_ENABLE_IRQ_SETTING8 393 #define CONF_EIC_ENABLE_IRQ_SETTING8 0 394 #endif 395 396 // <q> External Interrupt 8 Filter Enable 397 // <i> Indicates whether the external interrupt 8 filter is enabled or not 398 // <id> eic_arch_filten8 399 #ifndef CONF_EIC_FILTEN8 400 #define CONF_EIC_FILTEN8 0 401 #endif 402 403 // <q> External Interrupt 8 Event Output Enable 404 // <i> Indicates whether the external interrupt 8 event output is enabled or not 405 // <id> eic_arch_extinteo8 406 #ifndef CONF_EIC_EXTINTEO8 407 #define CONF_EIC_EXTINTEO8 0 408 #endif 409 410 // <y> Input 8 Sense Configuration 411 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 412 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 413 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 414 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 415 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 416 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 417 // <i> This defines input sense trigger 418 // <id> eic_arch_sense8 419 #ifndef CONF_EIC_SENSE8 420 #define CONF_EIC_SENSE8 EIC_NMICTRL_NMISENSE_NONE_Val 421 #endif 422 423 // <q> External Interrupt 8 Asynchronous Edge Detection Mode 424 // <i> Indicates the external interrupt 8 detection mode operated synchronously or asynchronousl 425 // <id> eic_arch_asynch8 426 #ifndef CONF_EIC_ASYNCH8 427 #define CONF_EIC_ASYNCH8 0 428 #endif 429 430 // </e> 431 432 // <e> Interrupt 9 Settings 433 // <id> eic_arch_enable_irq_setting9 434 #ifndef CONF_EIC_ENABLE_IRQ_SETTING9 435 #define CONF_EIC_ENABLE_IRQ_SETTING9 0 436 #endif 437 438 // <q> External Interrupt 9 Filter Enable 439 // <i> Indicates whether the external interrupt 9 filter is enabled or not 440 // <id> eic_arch_filten9 441 #ifndef CONF_EIC_FILTEN9 442 #define CONF_EIC_FILTEN9 0 443 #endif 444 445 // <q> External Interrupt 9 Event Output Enable 446 // <i> Indicates whether the external interrupt 9 event output is enabled or not 447 // <id> eic_arch_extinteo9 448 #ifndef CONF_EIC_EXTINTEO9 449 #define CONF_EIC_EXTINTEO9 0 450 #endif 451 452 // <y> Input 9 Sense Configuration 453 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 454 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 455 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 456 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 457 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 458 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 459 // <i> This defines input sense trigger 460 // <id> eic_arch_sense9 461 #ifndef CONF_EIC_SENSE9 462 #define CONF_EIC_SENSE9 EIC_NMICTRL_NMISENSE_NONE_Val 463 #endif 464 465 // <q> External Interrupt 9 Asynchronous Edge Detection Mode 466 // <i> Indicates the external interrupt 9 detection mode operated synchronously or asynchronousl 467 // <id> eic_arch_asynch9 468 #ifndef CONF_EIC_ASYNCH9 469 #define CONF_EIC_ASYNCH9 0 470 #endif 471 472 // </e> 473 474 // <e> Interrupt 10 Settings 475 // <id> eic_arch_enable_irq_setting10 476 #ifndef CONF_EIC_ENABLE_IRQ_SETTING10 477 #define CONF_EIC_ENABLE_IRQ_SETTING10 0 478 #endif 479 480 // <q> External Interrupt 10 Filter Enable 481 // <i> Indicates whether the external interrupt 10 filter is enabled or not 482 // <id> eic_arch_filten10 483 #ifndef CONF_EIC_FILTEN10 484 #define CONF_EIC_FILTEN10 0 485 #endif 486 487 // <q> External Interrupt 10 Event Output Enable 488 // <i> Indicates whether the external interrupt 10 event output is enabled or not 489 // <id> eic_arch_extinteo10 490 #ifndef CONF_EIC_EXTINTEO10 491 #define CONF_EIC_EXTINTEO10 0 492 #endif 493 494 // <y> Input 10 Sense Configuration 495 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 496 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 497 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 498 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 499 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 500 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 501 // <i> This defines input sense trigger 502 // <id> eic_arch_sense10 503 #ifndef CONF_EIC_SENSE10 504 #define CONF_EIC_SENSE10 EIC_NMICTRL_NMISENSE_NONE_Val 505 #endif 506 507 // <q> External Interrupt 10 Asynchronous Edge Detection Mode 508 // <i> Indicates the external interrupt 10 detection mode operated synchronously or asynchronousl 509 // <id> eic_arch_asynch10 510 #ifndef CONF_EIC_ASYNCH10 511 #define CONF_EIC_ASYNCH10 0 512 #endif 513 514 // </e> 515 516 // <e> Interrupt 11 Settings 517 // <id> eic_arch_enable_irq_setting11 518 #ifndef CONF_EIC_ENABLE_IRQ_SETTING11 519 #define CONF_EIC_ENABLE_IRQ_SETTING11 1 520 #endif 521 522 // <q> External Interrupt 11 Filter Enable 523 // <i> Indicates whether the external interrupt 11 filter is enabled or not 524 // <id> eic_arch_filten11 525 #ifndef CONF_EIC_FILTEN11 526 #define CONF_EIC_FILTEN11 0 527 #endif 528 529 // <q> External Interrupt 11 Event Output Enable 530 // <i> Indicates whether the external interrupt 11 event output is enabled or not 531 // <id> eic_arch_extinteo11 532 #ifndef CONF_EIC_EXTINTEO11 533 #define CONF_EIC_EXTINTEO11 0 534 #endif 535 536 // <y> Input 11 Sense Configuration 537 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 538 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 539 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 540 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 541 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 542 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 543 // <i> This defines input sense trigger 544 // <id> eic_arch_sense11 545 #ifndef CONF_EIC_SENSE11 546 #define CONF_EIC_SENSE11 EIC_NMICTRL_NMISENSE_BOTH_Val 547 #endif 548 549 // <q> External Interrupt 11 Asynchronous Edge Detection Mode 550 // <i> Indicates the external interrupt 11 detection mode operated synchronously or asynchronousl 551 // <id> eic_arch_asynch11 552 #ifndef CONF_EIC_ASYNCH11 553 #define CONF_EIC_ASYNCH11 1 554 #endif 555 556 // </e> 557 558 // <e> Interrupt 12 Settings 559 // <id> eic_arch_enable_irq_setting12 560 #ifndef CONF_EIC_ENABLE_IRQ_SETTING12 561 #define CONF_EIC_ENABLE_IRQ_SETTING12 1 562 #endif 563 564 // <q> External Interrupt 12 Filter Enable 565 // <i> Indicates whether the external interrupt 12 filter is enabled or not 566 // <id> eic_arch_filten12 567 #ifndef CONF_EIC_FILTEN12 568 #define CONF_EIC_FILTEN12 0 569 #endif 570 571 // <q> External Interrupt 12 Event Output Enable 572 // <i> Indicates whether the external interrupt 12 event output is enabled or not 573 // <id> eic_arch_extinteo12 574 #ifndef CONF_EIC_EXTINTEO12 575 #define CONF_EIC_EXTINTEO12 0 576 #endif 577 578 // <y> Input 12 Sense Configuration 579 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 580 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 581 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 582 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 583 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 584 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 585 // <i> This defines input sense trigger 586 // <id> eic_arch_sense12 587 #ifndef CONF_EIC_SENSE12 588 #define CONF_EIC_SENSE12 EIC_NMICTRL_NMISENSE_RISE_Val 589 #endif 590 591 // <q> External Interrupt 12 Asynchronous Edge Detection Mode 592 // <i> Indicates the external interrupt 12 detection mode operated synchronously or asynchronousl 593 // <id> eic_arch_asynch12 594 #ifndef CONF_EIC_ASYNCH12 595 #define CONF_EIC_ASYNCH12 1 596 #endif 597 598 // </e> 599 600 // <e> Interrupt 13 Settings 601 // <id> eic_arch_enable_irq_setting13 602 #ifndef CONF_EIC_ENABLE_IRQ_SETTING13 603 #define CONF_EIC_ENABLE_IRQ_SETTING13 0 604 #endif 605 606 // <q> External Interrupt 13 Filter Enable 607 // <i> Indicates whether the external interrupt 13 filter is enabled or not 608 // <id> eic_arch_filten13 609 #ifndef CONF_EIC_FILTEN13 610 #define CONF_EIC_FILTEN13 0 611 #endif 612 613 // <q> External Interrupt 13 Event Output Enable 614 // <i> Indicates whether the external interrupt 13 event output is enabled or not 615 // <id> eic_arch_extinteo13 616 #ifndef CONF_EIC_EXTINTEO13 617 #define CONF_EIC_EXTINTEO13 0 618 #endif 619 620 // <y> Input 13 Sense Configuration 621 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 622 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 623 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 624 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 625 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 626 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 627 // <i> This defines input sense trigger 628 // <id> eic_arch_sense13 629 #ifndef CONF_EIC_SENSE13 630 #define CONF_EIC_SENSE13 EIC_NMICTRL_NMISENSE_NONE_Val 631 #endif 632 633 // <q> External Interrupt 13 Asynchronous Edge Detection Mode 634 // <i> Indicates the external interrupt 13 detection mode operated synchronously or asynchronousl 635 // <id> eic_arch_asynch13 636 #ifndef CONF_EIC_ASYNCH13 637 #define CONF_EIC_ASYNCH13 0 638 #endif 639 640 // </e> 641 642 // <e> Interrupt 14 Settings 643 // <id> eic_arch_enable_irq_setting14 644 #ifndef CONF_EIC_ENABLE_IRQ_SETTING14 645 #define CONF_EIC_ENABLE_IRQ_SETTING14 0 646 #endif 647 648 // <q> External Interrupt 14 Filter Enable 649 // <i> Indicates whether the external interrupt 14 filter is enabled or not 650 // <id> eic_arch_filten14 651 #ifndef CONF_EIC_FILTEN14 652 #define CONF_EIC_FILTEN14 0 653 #endif 654 655 // <q> External Interrupt 14 Event Output Enable 656 // <i> Indicates whether the external interrupt 14 event output is enabled or not 657 // <id> eic_arch_extinteo14 658 #ifndef CONF_EIC_EXTINTEO14 659 #define CONF_EIC_EXTINTEO14 0 660 #endif 661 662 // <y> Input 14 Sense Configuration 663 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 664 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 665 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 666 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 667 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 668 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 669 // <i> This defines input sense trigger 670 // <id> eic_arch_sense14 671 #ifndef CONF_EIC_SENSE14 672 #define CONF_EIC_SENSE14 EIC_NMICTRL_NMISENSE_NONE_Val 673 #endif 674 675 // <q> External Interrupt 14 Asynchronous Edge Detection Mode 676 // <i> Indicates the external interrupt 14 detection mode operated synchronously or asynchronousl 677 // <id> eic_arch_asynch14 678 #ifndef CONF_EIC_ASYNCH14 679 #define CONF_EIC_ASYNCH14 0 680 #endif 681 682 // </e> 683 684 // <e> Interrupt 15 Settings 685 // <id> eic_arch_enable_irq_setting15 686 #ifndef CONF_EIC_ENABLE_IRQ_SETTING15 687 #define CONF_EIC_ENABLE_IRQ_SETTING15 0 688 #endif 689 690 // <q> External Interrupt 15 Filter Enable 691 // <i> Indicates whether the external interrupt 15 filter is enabled or not 692 // <id> eic_arch_filten15 693 #ifndef CONF_EIC_FILTEN15 694 #define CONF_EIC_FILTEN15 0 695 #endif 696 697 // <q> External Interrupt 15 Event Output Enable 698 // <i> Indicates whether the external interrupt 15 event output is enabled or not 699 // <id> eic_arch_extinteo15 700 #ifndef CONF_EIC_EXTINTEO15 701 #define CONF_EIC_EXTINTEO15 0 702 #endif 703 704 // <y> Input 15 Sense Configuration 705 // <EIC_NMICTRL_NMISENSE_NONE_Val"> No detection 706 // <EIC_NMICTRL_NMISENSE_RISE_Val"> Rising-edge detection 707 // <EIC_NMICTRL_NMISENSE_FALL_Val"> Falling-edge detection 708 // <EIC_NMICTRL_NMISENSE_BOTH_Val"> Both-edges detection 709 // <EIC_NMICTRL_NMISENSE_HIGH_Val"> High-level detection 710 // <EIC_NMICTRL_NMISENSE_LOW_Val"> Low-level detection 711 // <i> This defines input sense trigger 712 // <id> eic_arch_sense15 713 #ifndef CONF_EIC_SENSE15 714 #define CONF_EIC_SENSE15 EIC_NMICTRL_NMISENSE_NONE_Val 715 #endif 716 717 // <q> External Interrupt 15 Asynchronous Edge Detection Mode 718 // <i> Indicates the external interrupt 15 detection mode operated synchronously or asynchronousl 719 // <id> eic_arch_asynch15 720 #ifndef CONF_EIC_ASYNCH15 721 #define CONF_EIC_ASYNCH15 0 722 #endif 723 724 // </e> 725 726 #define CONFIG_EIC_EXTINT_MAP \ 727 {0, PIN_PB16}, {11, PIN_PA11}, {12, PIN_PA12}, {1, PIN_PB17}, 728 729 // <<< end of configuration section >>> 730 731 #endif // HPL_EIC_CONFIG_H 732