]> git.earman.xyz Git - sensor-watch.git/commitdiff
add majority-vote filtering to all external interrupt pins
authorJoey Castillo <jose.castillo@gmail.com>
Wed, 25 Aug 2021 18:08:49 +0000 (12:08 -0600)
committerJoey Castillo <jose.castillo@gmail.com>
Wed, 25 Aug 2021 18:10:40 +0000 (12:10 -0600)
watch-library/config/hpl_eic_config.h

index 5066be662c58d90d0b7e6d83bde4b27953d8218f..ca3ff672074c4fa2b20ff291d70c9da0a56663bf 100644 (file)
@@ -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
 // <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
 // <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
 // <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