diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-08-03 18:00:07 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-08-03 18:09:58 -0400 |
commit | fc31739eb6fdf230a26930e8d42de7a26558aeae (patch) | |
tree | dcd629420799cba11304d0d4184f15c5f12f3e6e /watch-library/config/hpl_eic_config.h | |
parent | 8a06636833e007675c150532035588bc1bf7749a (diff) | |
download | Sensor-Watch-fc31739eb6fdf230a26930e8d42de7a26558aeae.tar.gz Sensor-Watch-fc31739eb6fdf230a26930e8d42de7a26558aeae.tar.bz2 Sensor-Watch-fc31739eb6fdf230a26930e8d42de7a26558aeae.zip |
WIP deep sleep mode
Diffstat (limited to 'watch-library/config/hpl_eic_config.h')
-rw-r--r-- | watch-library/config/hpl_eic_config.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/watch-library/config/hpl_eic_config.h b/watch-library/config/hpl_eic_config.h index 3b268a10..5066be66 100644 --- a/watch-library/config/hpl_eic_config.h +++ b/watch-library/config/hpl_eic_config.h @@ -138,14 +138,14 @@ // <e> Interrupt 2 Settings // <id> eic_arch_enable_irq_setting2 #ifndef CONF_EIC_ENABLE_IRQ_SETTING2 -#define CONF_EIC_ENABLE_IRQ_SETTING2 0 +#define CONF_EIC_ENABLE_IRQ_SETTING2 1 #endif // <q> External Interrupt 2 Filter Enable // <i> Indicates whether the external interrupt 2 filter is enabled or not // <id> eic_arch_filten2 #ifndef CONF_EIC_FILTEN2 -#define CONF_EIC_FILTEN2 0 +#define CONF_EIC_FILTEN2 1 #endif // <q> External Interrupt 2 Event Output Enable @@ -165,7 +165,7 @@ // <i> This defines input sense trigger // <id> eic_arch_sense2 #ifndef CONF_EIC_SENSE2 -#define CONF_EIC_SENSE2 EIC_NMICTRL_NMISENSE_NONE_Val +#define CONF_EIC_SENSE2 EIC_NMICTRL_NMISENSE_RISE_Val #endif // <q> External Interrupt 2 Asynchronous Edge Detection Mode @@ -264,7 +264,7 @@ // <e> Interrupt 5 Settings // <id> eic_arch_enable_irq_setting5 #ifndef CONF_EIC_ENABLE_IRQ_SETTING5 -#define CONF_EIC_ENABLE_IRQ_SETTING5 1 +#define CONF_EIC_ENABLE_IRQ_SETTING5 0 #endif // <q> External Interrupt 5 Filter Enable @@ -291,7 +291,7 @@ // <i> This defines input sense trigger // <id> eic_arch_sense5 #ifndef CONF_EIC_SENSE5 -#define CONF_EIC_SENSE5 EIC_NMICTRL_NMISENSE_RISE_Val +#define CONF_EIC_SENSE5 EIC_NMICTRL_NMISENSE_NONE_Val #endif // <q> External Interrupt 5 Asynchronous Edge Detection Mode @@ -313,7 +313,7 @@ // <i> Indicates whether the external interrupt 6 filter is enabled or not // <id> eic_arch_filten6 #ifndef CONF_EIC_FILTEN6 -#define CONF_EIC_FILTEN6 0 +#define CONF_EIC_FILTEN6 1 #endif // <q> External Interrupt 6 Event Output Enable @@ -355,7 +355,7 @@ // <i> Indicates whether the external interrupt 7 filter is enabled or not // <id> eic_arch_filten7 #ifndef CONF_EIC_FILTEN7 -#define CONF_EIC_FILTEN7 0 +#define CONF_EIC_FILTEN7 1 #endif // <q> External Interrupt 7 Event Output Enable @@ -723,7 +723,7 @@ // </e> -#define CONFIG_EIC_EXTINT_MAP {5, PIN_PB05}, {6, PIN_PA22}, {7, PIN_PA23}, +#define CONFIG_EIC_EXTINT_MAP {2, PIN_PA02}, {6, PIN_PA22}, {7, PIN_PA23}, // <<< end of configuration section >>> |