/* Auto-generated config file hpl_eic_config.h */
#ifndef HPL_EIC_CONFIG_H
#define HPL_EIC_CONFIG_H
// <<< Use Configuration Wizard in Context Menu >>>
// Basic Settings
// Clock Selection
// Indicates which clock used, The EIC can be clocked either by GCLK_EIC when higher frequency than 32KHz is required for filtering or
// either by CLK_ULP32K when power consumption is the priority.
// <0x0=> Clocked by GCLK
// <0x1=> Clocked by ULPOSC32K
// eic_arch_cksel
#ifndef CONF_EIC_CKSEL
#define CONF_EIC_CKSEL 0
#endif
//
// Non-Maskable Interrupt Control
// eic_arch_nmi_ctrl
#ifndef CONF_EIC_ENABLE_NMI_CTRL
#define CONF_EIC_ENABLE_NMI_CTRL 0
#endif
// Non-Maskable Interrupt Filter Enable
// Indicates whether the mon-maskable interrupt filter is enabled or not
// eic_arch_nmifilten
#ifndef CONF_EIC_NMIFILTEN
#define CONF_EIC_NMIFILTEN 0
#endif
// Non-Maskable Interrupt Sense
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines non-maskable interrupt sense
// eic_arch_nmisense
#ifndef CONF_EIC_NMISENSE
#define CONF_EIC_NMISENSE EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// Asynchronous Edge Detection Mode
// Indicates the interrupt detection mode operated synchronously or asynchronousl
// eic_arch_nmiasynch
#ifndef CONF_EIC_NMIASYNCH
#define CONF_EIC_NMIASYNCH 0
#endif
//
// Interrupt 0 Settings
// eic_arch_enable_irq_setting0
#ifndef CONF_EIC_ENABLE_IRQ_SETTING0
#define CONF_EIC_ENABLE_IRQ_SETTING0 0
#endif
// External Interrupt 0 Filter Enable
// Indicates whether the external interrupt 0 filter is enabled or not
// eic_arch_filten0
#ifndef CONF_EIC_FILTEN0
#define CONF_EIC_FILTEN0 0
#endif
// External Interrupt 0 Event Output Enable
// Indicates whether the external interrupt 0 event output is enabled or not
// eic_arch_extinteo0
#ifndef CONF_EIC_EXTINTEO0
#define CONF_EIC_EXTINTEO0 0
#endif
// Input 0 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense0
#ifndef CONF_EIC_SENSE0
#define CONF_EIC_SENSE0 EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// External Interrupt 0 Asynchronous Edge Detection Mode
// Indicates the external interrupt 0 detection mode operated synchronously or asynchronousl
// eic_arch_asynch0
#ifndef CONF_EIC_ASYNCH0
#define CONF_EIC_ASYNCH0 0
#endif
//
// Interrupt 1 Settings
// eic_arch_enable_irq_setting1
#ifndef CONF_EIC_ENABLE_IRQ_SETTING1
#define CONF_EIC_ENABLE_IRQ_SETTING1 0
#endif
// External Interrupt 1 Filter Enable
// Indicates whether the external interrupt 1 filter is enabled or not
// eic_arch_filten1
#ifndef CONF_EIC_FILTEN1
#define CONF_EIC_FILTEN1 0
#endif
// External Interrupt 1 Event Output Enable
// Indicates whether the external interrupt 1 event output is enabled or not
// eic_arch_extinteo1
#ifndef CONF_EIC_EXTINTEO1
#define CONF_EIC_EXTINTEO1 0
#endif
// Input 1 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense1
#ifndef CONF_EIC_SENSE1
#define CONF_EIC_SENSE1 EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// External Interrupt 1 Asynchronous Edge Detection Mode
// Indicates the external interrupt 1 detection mode operated synchronously or asynchronousl
// eic_arch_asynch1
#ifndef CONF_EIC_ASYNCH1
#define CONF_EIC_ASYNCH1 0
#endif
//
// Interrupt 2 Settings
// eic_arch_enable_irq_setting2
#ifndef CONF_EIC_ENABLE_IRQ_SETTING2
#define CONF_EIC_ENABLE_IRQ_SETTING2 1
#endif
// External Interrupt 2 Filter Enable
// Indicates whether the external interrupt 2 filter is enabled or not
// eic_arch_filten2
#ifndef CONF_EIC_FILTEN2
#define CONF_EIC_FILTEN2 1
#endif
// External Interrupt 2 Event Output Enable
// Indicates whether the external interrupt 2 event output is enabled or not
// eic_arch_extinteo2
#ifndef CONF_EIC_EXTINTEO2
#define CONF_EIC_EXTINTEO2 0
#endif
// Input 2 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense2
#ifndef CONF_EIC_SENSE2
#define CONF_EIC_SENSE2 EIC_NMICTRL_NMISENSE_RISE_Val
#endif
// External Interrupt 2 Asynchronous Edge Detection Mode
// Indicates the external interrupt 2 detection mode operated synchronously or asynchronousl
// eic_arch_asynch2
#ifndef CONF_EIC_ASYNCH2
#define CONF_EIC_ASYNCH2 0
#endif
//
// Interrupt 3 Settings
// eic_arch_enable_irq_setting3
#ifndef CONF_EIC_ENABLE_IRQ_SETTING3
#define CONF_EIC_ENABLE_IRQ_SETTING3 0
#endif
// External Interrupt 3 Filter Enable
// Indicates whether the external interrupt 3 filter is enabled or not
// eic_arch_filten3
#ifndef CONF_EIC_FILTEN3
#define CONF_EIC_FILTEN3 0
#endif
// External Interrupt 3 Event Output Enable
// Indicates whether the external interrupt 3 event output is enabled or not
// eic_arch_extinteo3
#ifndef CONF_EIC_EXTINTEO3
#define CONF_EIC_EXTINTEO3 0
#endif
// Input 3 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense3
#ifndef CONF_EIC_SENSE3
#define CONF_EIC_SENSE3 EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// External Interrupt 3 Asynchronous Edge Detection Mode
// Indicates the external interrupt 3 detection mode operated synchronously or asynchronousl
// eic_arch_asynch3
#ifndef CONF_EIC_ASYNCH3
#define CONF_EIC_ASYNCH3 0
#endif
//
// Interrupt 4 Settings
// eic_arch_enable_irq_setting4
#ifndef CONF_EIC_ENABLE_IRQ_SETTING4
#define CONF_EIC_ENABLE_IRQ_SETTING4 0
#endif
// External Interrupt 4 Filter Enable
// Indicates whether the external interrupt 4 filter is enabled or not
// eic_arch_filten4
#ifndef CONF_EIC_FILTEN4
#define CONF_EIC_FILTEN4 0
#endif
// External Interrupt 4 Event Output Enable
// Indicates whether the external interrupt 4 event output is enabled or not
// eic_arch_extinteo4
#ifndef CONF_EIC_EXTINTEO4
#define CONF_EIC_EXTINTEO4 0
#endif
// Input 4 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense4
#ifndef CONF_EIC_SENSE4
#define CONF_EIC_SENSE4 EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// External Interrupt 4 Asynchronous Edge Detection Mode
// Indicates the external interrupt 4 detection mode operated synchronously or asynchronousl
// eic_arch_asynch4
#ifndef CONF_EIC_ASYNCH4
#define CONF_EIC_ASYNCH4 0
#endif
//
// Interrupt 5 Settings
// eic_arch_enable_irq_setting5
#ifndef CONF_EIC_ENABLE_IRQ_SETTING5
#define CONF_EIC_ENABLE_IRQ_SETTING5 0
#endif
// External Interrupt 5 Filter Enable
// Indicates whether the external interrupt 5 filter is enabled or not
// eic_arch_filten5
#ifndef CONF_EIC_FILTEN5
#define CONF_EIC_FILTEN5 0
#endif
// External Interrupt 5 Event Output Enable
// Indicates whether the external interrupt 5 event output is enabled or not
// eic_arch_extinteo5
#ifndef CONF_EIC_EXTINTEO5
#define CONF_EIC_EXTINTEO5 0
#endif
// Input 5 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense5
#ifndef CONF_EIC_SENSE5
#define CONF_EIC_SENSE5 EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// External Interrupt 5 Asynchronous Edge Detection Mode
// Indicates the external interrupt 5 detection mode operated synchronously or asynchronousl
// eic_arch_asynch5
#ifndef CONF_EIC_ASYNCH5
#define CONF_EIC_ASYNCH5 0
#endif
//
// Interrupt 6 Settings
// eic_arch_enable_irq_setting6
#ifndef CONF_EIC_ENABLE_IRQ_SETTING6
#define CONF_EIC_ENABLE_IRQ_SETTING6 1
#endif
// External Interrupt 6 Filter Enable
// Indicates whether the external interrupt 6 filter is enabled or not
// eic_arch_filten6
#ifndef CONF_EIC_FILTEN6
#define CONF_EIC_FILTEN6 1
#endif
// External Interrupt 6 Event Output Enable
// Indicates whether the external interrupt 6 event output is enabled or not
// eic_arch_extinteo6
#ifndef CONF_EIC_EXTINTEO6
#define CONF_EIC_EXTINTEO6 0
#endif
// Input 6 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense6
#ifndef CONF_EIC_SENSE6
#define CONF_EIC_SENSE6 EIC_NMICTRL_NMISENSE_RISE_Val
#endif
// External Interrupt 6 Asynchronous Edge Detection Mode
// Indicates the external interrupt 6 detection mode operated synchronously or asynchronousl
// eic_arch_asynch6
#ifndef CONF_EIC_ASYNCH6
#define CONF_EIC_ASYNCH6 0
#endif
//
// Interrupt 7 Settings
// eic_arch_enable_irq_setting7
#ifndef CONF_EIC_ENABLE_IRQ_SETTING7
#define CONF_EIC_ENABLE_IRQ_SETTING7 1
#endif
// External Interrupt 7 Filter Enable
// Indicates whether the external interrupt 7 filter is enabled or not
// eic_arch_filten7
#ifndef CONF_EIC_FILTEN7
#define CONF_EIC_FILTEN7 1
#endif
// External Interrupt 7 Event Output Enable
// Indicates whether the external interrupt 7 event output is enabled or not
// eic_arch_extinteo7
#ifndef CONF_EIC_EXTINTEO7
#define CONF_EIC_EXTINTEO7 0
#endif
// Input 7 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense7
#ifndef CONF_EIC_SENSE7
#define CONF_EIC_SENSE7 EIC_NMICTRL_NMISENSE_RISE_Val
#endif
// External Interrupt 7 Asynchronous Edge Detection Mode
// Indicates the external interrupt 7 detection mode operated synchronously or asynchronousl
// eic_arch_asynch7
#ifndef CONF_EIC_ASYNCH7
#define CONF_EIC_ASYNCH7 0
#endif
//
// Interrupt 8 Settings
// eic_arch_enable_irq_setting8
#ifndef CONF_EIC_ENABLE_IRQ_SETTING8
#define CONF_EIC_ENABLE_IRQ_SETTING8 0
#endif
// External Interrupt 8 Filter Enable
// Indicates whether the external interrupt 8 filter is enabled or not
// eic_arch_filten8
#ifndef CONF_EIC_FILTEN8
#define CONF_EIC_FILTEN8 0
#endif
// External Interrupt 8 Event Output Enable
// Indicates whether the external interrupt 8 event output is enabled or not
// eic_arch_extinteo8
#ifndef CONF_EIC_EXTINTEO8
#define CONF_EIC_EXTINTEO8 0
#endif
// Input 8 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense8
#ifndef CONF_EIC_SENSE8
#define CONF_EIC_SENSE8 EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// External Interrupt 8 Asynchronous Edge Detection Mode
// Indicates the external interrupt 8 detection mode operated synchronously or asynchronousl
// eic_arch_asynch8
#ifndef CONF_EIC_ASYNCH8
#define CONF_EIC_ASYNCH8 0
#endif
//
// Interrupt 9 Settings
// eic_arch_enable_irq_setting9
#ifndef CONF_EIC_ENABLE_IRQ_SETTING9
#define CONF_EIC_ENABLE_IRQ_SETTING9 0
#endif
// External Interrupt 9 Filter Enable
// Indicates whether the external interrupt 9 filter is enabled or not
// eic_arch_filten9
#ifndef CONF_EIC_FILTEN9
#define CONF_EIC_FILTEN9 0
#endif
// External Interrupt 9 Event Output Enable
// Indicates whether the external interrupt 9 event output is enabled or not
// eic_arch_extinteo9
#ifndef CONF_EIC_EXTINTEO9
#define CONF_EIC_EXTINTEO9 0
#endif
// Input 9 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense9
#ifndef CONF_EIC_SENSE9
#define CONF_EIC_SENSE9 EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// External Interrupt 9 Asynchronous Edge Detection Mode
// Indicates the external interrupt 9 detection mode operated synchronously or asynchronousl
// eic_arch_asynch9
#ifndef CONF_EIC_ASYNCH9
#define CONF_EIC_ASYNCH9 0
#endif
//
// Interrupt 10 Settings
// eic_arch_enable_irq_setting10
#ifndef CONF_EIC_ENABLE_IRQ_SETTING10
#define CONF_EIC_ENABLE_IRQ_SETTING10 0
#endif
// External Interrupt 10 Filter Enable
// Indicates whether the external interrupt 10 filter is enabled or not
// eic_arch_filten10
#ifndef CONF_EIC_FILTEN10
#define CONF_EIC_FILTEN10 0
#endif
// External Interrupt 10 Event Output Enable
// Indicates whether the external interrupt 10 event output is enabled or not
// eic_arch_extinteo10
#ifndef CONF_EIC_EXTINTEO10
#define CONF_EIC_EXTINTEO10 0
#endif
// Input 10 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense10
#ifndef CONF_EIC_SENSE10
#define CONF_EIC_SENSE10 EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// External Interrupt 10 Asynchronous Edge Detection Mode
// Indicates the external interrupt 10 detection mode operated synchronously or asynchronousl
// eic_arch_asynch10
#ifndef CONF_EIC_ASYNCH10
#define CONF_EIC_ASYNCH10 0
#endif
//
// Interrupt 11 Settings
// eic_arch_enable_irq_setting11
#ifndef CONF_EIC_ENABLE_IRQ_SETTING11
#define CONF_EIC_ENABLE_IRQ_SETTING11 0
#endif
// External Interrupt 11 Filter Enable
// Indicates whether the external interrupt 11 filter is enabled or not
// eic_arch_filten11
#ifndef CONF_EIC_FILTEN11
#define CONF_EIC_FILTEN11 0
#endif
// External Interrupt 11 Event Output Enable
// Indicates whether the external interrupt 11 event output is enabled or not
// eic_arch_extinteo11
#ifndef CONF_EIC_EXTINTEO11
#define CONF_EIC_EXTINTEO11 0
#endif
// Input 11 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense11
#ifndef CONF_EIC_SENSE11
#define CONF_EIC_SENSE11 EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// External Interrupt 11 Asynchronous Edge Detection Mode
// Indicates the external interrupt 11 detection mode operated synchronously or asynchronousl
// eic_arch_asynch11
#ifndef CONF_EIC_ASYNCH11
#define CONF_EIC_ASYNCH11 0
#endif
//
// Interrupt 12 Settings
// eic_arch_enable_irq_setting12
#ifndef CONF_EIC_ENABLE_IRQ_SETTING12
#define CONF_EIC_ENABLE_IRQ_SETTING12 0
#endif
// External Interrupt 12 Filter Enable
// Indicates whether the external interrupt 12 filter is enabled or not
// eic_arch_filten12
#ifndef CONF_EIC_FILTEN12
#define CONF_EIC_FILTEN12 0
#endif
// External Interrupt 12 Event Output Enable
// Indicates whether the external interrupt 12 event output is enabled or not
// eic_arch_extinteo12
#ifndef CONF_EIC_EXTINTEO12
#define CONF_EIC_EXTINTEO12 0
#endif
// Input 12 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense12
#ifndef CONF_EIC_SENSE12
#define CONF_EIC_SENSE12 EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// External Interrupt 12 Asynchronous Edge Detection Mode
// Indicates the external interrupt 12 detection mode operated synchronously or asynchronousl
// eic_arch_asynch12
#ifndef CONF_EIC_ASYNCH12
#define CONF_EIC_ASYNCH12 0
#endif
//
// Interrupt 13 Settings
// eic_arch_enable_irq_setting13
#ifndef CONF_EIC_ENABLE_IRQ_SETTING13
#define CONF_EIC_ENABLE_IRQ_SETTING13 0
#endif
// External Interrupt 13 Filter Enable
// Indicates whether the external interrupt 13 filter is enabled or not
// eic_arch_filten13
#ifndef CONF_EIC_FILTEN13
#define CONF_EIC_FILTEN13 0
#endif
// External Interrupt 13 Event Output Enable
// Indicates whether the external interrupt 13 event output is enabled or not
// eic_arch_extinteo13
#ifndef CONF_EIC_EXTINTEO13
#define CONF_EIC_EXTINTEO13 0
#endif
// Input 13 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense13
#ifndef CONF_EIC_SENSE13
#define CONF_EIC_SENSE13 EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// External Interrupt 13 Asynchronous Edge Detection Mode
// Indicates the external interrupt 13 detection mode operated synchronously or asynchronousl
// eic_arch_asynch13
#ifndef CONF_EIC_ASYNCH13
#define CONF_EIC_ASYNCH13 0
#endif
//
// Interrupt 14 Settings
// eic_arch_enable_irq_setting14
#ifndef CONF_EIC_ENABLE_IRQ_SETTING14
#define CONF_EIC_ENABLE_IRQ_SETTING14 0
#endif
// External Interrupt 14 Filter Enable
// Indicates whether the external interrupt 14 filter is enabled or not
// eic_arch_filten14
#ifndef CONF_EIC_FILTEN14
#define CONF_EIC_FILTEN14 0
#endif
// External Interrupt 14 Event Output Enable
// Indicates whether the external interrupt 14 event output is enabled or not
// eic_arch_extinteo14
#ifndef CONF_EIC_EXTINTEO14
#define CONF_EIC_EXTINTEO14 0
#endif
// Input 14 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense14
#ifndef CONF_EIC_SENSE14
#define CONF_EIC_SENSE14 EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// External Interrupt 14 Asynchronous Edge Detection Mode
// Indicates the external interrupt 14 detection mode operated synchronously or asynchronousl
// eic_arch_asynch14
#ifndef CONF_EIC_ASYNCH14
#define CONF_EIC_ASYNCH14 0
#endif
//
// Interrupt 15 Settings
// eic_arch_enable_irq_setting15
#ifndef CONF_EIC_ENABLE_IRQ_SETTING15
#define CONF_EIC_ENABLE_IRQ_SETTING15 0
#endif
// External Interrupt 15 Filter Enable
// Indicates whether the external interrupt 15 filter is enabled or not
// eic_arch_filten15
#ifndef CONF_EIC_FILTEN15
#define CONF_EIC_FILTEN15 0
#endif
// External Interrupt 15 Event Output Enable
// Indicates whether the external interrupt 15 event output is enabled or not
// eic_arch_extinteo15
#ifndef CONF_EIC_EXTINTEO15
#define CONF_EIC_EXTINTEO15 0
#endif
// Input 15 Sense Configuration
// No detection
// Rising-edge detection
// Falling-edge detection
// Both-edges detection
// High-level detection
// Low-level detection
// This defines input sense trigger
// eic_arch_sense15
#ifndef CONF_EIC_SENSE15
#define CONF_EIC_SENSE15 EIC_NMICTRL_NMISENSE_NONE_Val
#endif
// External Interrupt 15 Asynchronous Edge Detection Mode
// Indicates the external interrupt 15 detection mode operated synchronously or asynchronousl
// eic_arch_asynch15
#ifndef CONF_EIC_ASYNCH15
#define CONF_EIC_ASYNCH15 0
#endif
//
#define CONFIG_EIC_EXTINT_MAP {2, PIN_PA02}, {6, PIN_PA22}, {7, PIN_PA23},
// <<< end of configuration section >>>
#endif // HPL_EIC_CONFIG_H