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 | |
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')
-rw-r--r-- | watch-library/config/hpl_eic_config.h | 16 | ||||
-rw-r--r-- | watch-library/config/hpl_rtc_config.h | 6 |
2 files changed, 11 insertions, 11 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 >>> diff --git a/watch-library/config/hpl_rtc_config.h b/watch-library/config/hpl_rtc_config.h index 9085ca37..582a1c23 100644 --- a/watch-library/config/hpl_rtc_config.h +++ b/watch-library/config/hpl_rtc_config.h @@ -114,14 +114,14 @@ // <e> RTC Tamper Input 2 settings // <id> tamper_input_2_settings #ifndef CONF_TAMPER_INPUT_2_SETTINGS -#define CONF_TAMPER_INPUT_2_SETTINGS 0 +#define CONF_TAMPER_INPUT_2_SETTINGS 1 #endif // <q> Tamper Level Settings // <i> Indicates Tamper input 2 level // <id> tamper_level_2 #ifndef CONF_RTC_TAMP_LVL_2 -#define CONF_RTC_TAMP_LVL_2 0 +#define CONF_RTC_TAMP_LVL_2 1 #endif // <o> RTC Tamper Input Action @@ -132,7 +132,7 @@ // <i> These bits define the RTC Tamper Input Action to be performed // <id> rtc_tamper_input_action_2 #ifndef CONF_RTC_TAMPER_INACT_2 -#define CONF_RTC_TAMPER_INACT_2 0 +#define CONF_RTC_TAMPER_INACT_2 1 #endif // <q> Debounce Enable for Tamper Input |