diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-08-25 12:08:49 -0600 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-08-25 12:10:40 -0600 |
commit | df94a83bf5d4a72519849660a1a58b850ab9823c (patch) | |
tree | 0d97f910f6c4eb1e85843f33e0fe8812d53b6c3e | |
parent | 9a5f6c0de0920390d34dae6aeff5a5c1dbd1e3cd (diff) | |
download | Sensor-Watch-df94a83bf5d4a72519849660a1a58b850ab9823c.tar.gz Sensor-Watch-df94a83bf5d4a72519849660a1a58b850ab9823c.tar.bz2 Sensor-Watch-df94a83bf5d4a72519849660a1a58b850ab9823c.zip |
add majority-vote filtering to all external interrupt pins
-rw-r--r-- | watch-library/config/hpl_eic_config.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/watch-library/config/hpl_eic_config.h b/watch-library/config/hpl_eic_config.h index 5066be66..ca3ff672 100644 --- a/watch-library/config/hpl_eic_config.h +++ b/watch-library/config/hpl_eic_config.h @@ -61,7 +61,7 @@ // <i> Indicates whether the external interrupt 0 filter is enabled or not // <id> eic_arch_filten0 #ifndef CONF_EIC_FILTEN0 -#define CONF_EIC_FILTEN0 0 +#define CONF_EIC_FILTEN0 1 #endif // <q> External Interrupt 0 Event Output Enable @@ -103,7 +103,7 @@ // <i> Indicates whether the external interrupt 1 filter is enabled or not // <id> eic_arch_filten1 #ifndef CONF_EIC_FILTEN1 -#define CONF_EIC_FILTEN1 0 +#define CONF_EIC_FILTEN1 1 #endif // <q> External Interrupt 1 Event Output Enable @@ -187,7 +187,7 @@ // <i> Indicates whether the external interrupt 3 filter is enabled or not // <id> eic_arch_filten3 #ifndef CONF_EIC_FILTEN3 -#define CONF_EIC_FILTEN3 0 +#define CONF_EIC_FILTEN3 1 #endif // <q> External Interrupt 3 Event Output Enable @@ -229,7 +229,7 @@ // <i> Indicates whether the external interrupt 4 filter is enabled or not // <id> eic_arch_filten4 #ifndef CONF_EIC_FILTEN4 -#define CONF_EIC_FILTEN4 0 +#define CONF_EIC_FILTEN4 1 #endif // <q> External Interrupt 4 Event Output Enable |